[sr-dev] git:master:804d6b85: nathelper: Support for 192.0.0.0/29 as NATed source (pull request GH#1488)

Henning Westerholt hw at kamailio.org
Fri Mar 23 21:50:08 CET 2018


Module: kamailio
Branch: master
Commit: 804d6b85bdbe55b32edacdbd895b0ad763bf619f
URL: https://github.com/kamailio/kamailio/commit/804d6b85bdbe55b32edacdbd895b0ad763bf619f

Author: Henning Westerholt <hw at kamailio.org>
Committer: Henning Westerholt <hw at kamailio.org>
Date: 2018-03-23T21:49:17+01:00

nathelper: Support for 192.0.0.0/29 as NATed source (pull request GH#1488)

---

Modified: src/modules/nathelper/nathelper.c

---

Diff:  https://github.com/kamailio/kamailio/commit/804d6b85bdbe55b32edacdbd895b0ad763bf619f.diff
Patch: https://github.com/kamailio/kamailio/commit/804d6b85bdbe55b32edacdbd895b0ad763bf619f.patch

---

diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c
index a45588a50d..935c981ee8 100644
--- a/src/modules/nathelper/nathelper.c
+++ b/src/modules/nathelper/nathelper.c
@@ -148,6 +148,7 @@ static struct {
 	{"172.16.0.0",  0, 0xffffffffu << 20},
 	{"192.168.0.0", 0, 0xffffffffu << 16},
 	{"100.64.0.0",  0, 0xffffffffu << 22}, /* rfc6598 - cg-nat */
+	{"192.0.0.0",   0, 0xffffffffu <<  3}, /* rfc7335 - IPv4 Service Continuity Prefix */
 	{NULL, 0, 0}
 };
 /* clang-format on */




More information about the sr-dev mailing list