Daniel-Constantin Mierla
2021-06-07 13:17:36 UTC
Content preview: Module: kamailio Branch: master Commit: 4168d7c55955a01c3a30c67d5e8a510be52120ff
URL: https://github.com/kamailio/kamailio/commit/4168d7c55955a01c3a30c67d5e8a510be52120ff
Author: Sergey Safarov <***@gmail.com> Committer: Daniel-Constantin
Mierla <***@gmail.com> Date: 2021-06-07T15:17:32+02:00
Content analysis details: (-2.4 points, 5.5 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is
CUSTOM_MED
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (miconda[at]gmail.com)
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
EnvelopeFrom freemail headers are
different
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager
Module: kamailio
Branch: master
Commit: 4168d7c55955a01c3a30c67d5e8a510be52120ff
URL: https://github.com/kamailio/kamailio/commit/4168d7c55955a01c3a30c67d5e8a510be52120ff
Author: Sergey Safarov <***@gmail.com>
Committer: Daniel-Constantin Mierla <***@gmail.com>
Date: 2021-06-07T15:17:32+02:00
sl: disabled SREV_NET_DATA_SENT for HTTP respones
more details at GH #2767
---
Modified: src/modules/sl/sl_funcs.c
---
Diff: https://github.com/kamailio/kamailio/commit/4168d7c55955a01c3a30c67d5e8a510be52120ff.diff
Patch: https://github.com/kamailio/kamailio/commit/4168d7c55955a01c3a30c67d5e8a510be52120ff.patch
---
diff --git a/src/modules/sl/sl_funcs.c b/src/modules/sl/sl_funcs.c
index 86ad65c5e8..e80259d61d 100644
--- a/src/modules/sl/sl_funcs.c
+++ b/src/modules/sl/sl_funcs.c
@@ -210,7 +210,11 @@ int sl_reply_helper(struct sip_msg *msg, int code, char *reason, str *tag)
dst.comp=msg->via1->comp_no;
#endif
dst.send_flags=msg->rpl_send_flags;
- ret = msg_send(&dst, buf.s, buf.len);
+ if(sip_check_fline(buf.s, buf.len) == 0)
+ ret = msg_send_buffer(&dst, buf.s, buf.len, 0);
+ else
+ ret = msg_send_buffer(&dst, buf.s, buf.len, 1);
+
mhomed=backup_mhomed;
keng = sr_kemi_eng_get();
URL: https://github.com/kamailio/kamailio/commit/4168d7c55955a01c3a30c67d5e8a510be52120ff
Author: Sergey Safarov <***@gmail.com> Committer: Daniel-Constantin
Mierla <***@gmail.com> Date: 2021-06-07T15:17:32+02:00
Content analysis details: (-2.4 points, 5.5 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
0.0 DKIM_ADSP_CUSTOM_MED No valid author signature, adsp_override is
CUSTOM_MED
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider (miconda[at]gmail.com)
1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received'
headers
0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
mail domains are different
0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
EnvelopeFrom freemail headers are
different
-1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list
manager
Module: kamailio
Branch: master
Commit: 4168d7c55955a01c3a30c67d5e8a510be52120ff
URL: https://github.com/kamailio/kamailio/commit/4168d7c55955a01c3a30c67d5e8a510be52120ff
Author: Sergey Safarov <***@gmail.com>
Committer: Daniel-Constantin Mierla <***@gmail.com>
Date: 2021-06-07T15:17:32+02:00
sl: disabled SREV_NET_DATA_SENT for HTTP respones
more details at GH #2767
---
Modified: src/modules/sl/sl_funcs.c
---
Diff: https://github.com/kamailio/kamailio/commit/4168d7c55955a01c3a30c67d5e8a510be52120ff.diff
Patch: https://github.com/kamailio/kamailio/commit/4168d7c55955a01c3a30c67d5e8a510be52120ff.patch
---
diff --git a/src/modules/sl/sl_funcs.c b/src/modules/sl/sl_funcs.c
index 86ad65c5e8..e80259d61d 100644
--- a/src/modules/sl/sl_funcs.c
+++ b/src/modules/sl/sl_funcs.c
@@ -210,7 +210,11 @@ int sl_reply_helper(struct sip_msg *msg, int code, char *reason, str *tag)
dst.comp=msg->via1->comp_no;
#endif
dst.send_flags=msg->rpl_send_flags;
- ret = msg_send(&dst, buf.s, buf.len);
+ if(sip_check_fline(buf.s, buf.len) == 0)
+ ret = msg_send_buffer(&dst, buf.s, buf.len, 0);
+ else
+ ret = msg_send_buffer(&dst, buf.s, buf.len, 1);
+
mhomed=backup_mhomed;
keng = sr_kemi_eng_get();