[Kamailio-Devel] [ openser-Bugs-2706141 ] [LCR] from_gw() doesn't check source port (just IP)

SourceForge.net noreply at sourceforge.net
Mon Mar 23 14:53:46 CET 2009


Bugs item #2706141, was opened at 2009-03-23 14:53
Message generated for change (Tracker Item Submitted) made by ibc_sf
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2706141&group_id=139143

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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Iñaki Baz Castillo (ibc_sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: [LCR] from_gw() doesn't check source port (just IP)

Initial Comment:
from_gw() function in LCR modules just checks if the request comes from an IP matching a defined gw (in "gw" table) but it doesn't check the source port.

With it, having a gw in the same machine as Kamailio produces a confusing result for example in self generated requests (as those generated by pua module).

Shouldn't "from_gw()" check also the port?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2706141&group_id=139143



More information about the Devel mailing list