Patches item #3035808, was opened at 2010-07-28 11:13
Message generated for change (Comment added) made by miconda
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=3035808&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
>Group: ver devel
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Alex Hermann (axlh)
>Assigned to: Daniel-Constantin Mierla (miconda)
Summary: Add rfc1918 test for source ip to nat_uac_test
Initial Comment:
Expand nathelper function nat_uac_test with function to test for rfc1918 address in source ip of SIP message.
Move some code to helper functions to prevent duplication of code.
----------------------------------------------------------------------
>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2010-09-24 12:20
Message:
I committed the patch on git master, slightly modified to keep the for
loops going up to null filed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743022&aid=3035808&group_…
Module: sip-router
Branch: master
Commit: 7de84b2d4e988114b9b0d71aa689f808acf4e46e
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=7de84b2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Sep 24 11:09:29 2010 +0200
nathelper(k): added test for src_ip in rfc1918
- new flag for nat_uac_test() to detect if source ip is in a rfc1918
network
- adapted from patch by Alex Hermann, SF#3035808
---
modules_k/nathelper/README | 217 ++++++++++++++++++---------
modules_k/nathelper/doc/nathelper_admin.xml | 6 +-
modules_k/nathelper/nathelper.c | 49 +++++--
3 files changed, 190 insertions(+), 82 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=7de…