Module: kamailio
Branch: master
Commit: 32f1671bee21d5f8d52b5febf50ddc7b26f6919a
URL:
https://github.com/kamailio/kamailio/commit/32f1671bee21d5f8d52b5febf50ddc7…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-03-23T21:48:55+01:00
nat_traversal: Support for 192.0.0.0/29 as NATed source (pull request GH#1488)
---
Modified: src/modules/nat_traversal/nat_traversal.c
---
Diff:
https://github.com/kamailio/kamailio/commit/32f1671bee21d5f8d52b5febf50ddc7…
Patch:
https://github.com/kamailio/kamailio/commit/32f1671bee21d5f8d52b5febf50ddc7…
---
diff --git a/src/modules/nat_traversal/nat_traversal.c
b/src/modules/nat_traversal/nat_traversal.c
index ead4c696fe..3b2924b575 100644
--- a/src/modules/nat_traversal/nat_traversal.c
+++ b/src/modules/nat_traversal/nat_traversal.c
@@ -258,6 +258,7 @@ static NetInfo rfc1918nets[] = {
{"172.16.0.0", 0xac100000UL, 0xfff00000UL},
{"192.168.0.0", 0xc0a80000UL, 0xffff0000UL},
{"100.64.0.0", 0x64400000UL, 0xffc00000UL}, // include rfc6598 shared address
space as technically the same for our purpose
+ {"192.0.0.0", 0xc0000000UL, 0xfffffff8UL}, // include rfc7335 IPv4 Service
Continuity Prefix
{NULL, 0UL, 0UL}
};