Patches item #1823593, was opened at 2007-10-31 18:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=637566&aid=1823593&group_id=104305

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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Klaus Darilion (klaus_darilion)
Assigned to: Nobody/Anonymous (nobody)
Summary: raw sockets for spoofing source IP address/port

Initial Comment:
Hi!

This patch adds support for sending UDP messages with spoofed IP address and 
UDP port (please review the code):

regarding the patch for call.cpp: the first 2 chunks are only indent fixes


description:

source_ip parameter:

If given, SIPp will send UDP packets with the given source IP address. For 
this, SIPp will open
a raw socket and creates the IP and UDP header manually. This can be used to 
send UPD messages with
spoofed source IP address (e.g. for NAT tests). For using this feature you have 
to start SIPp with
root privileges. Of course this works only when using UDP. When using other 
transport protocols this
parameter will be ignored. Use the <strong>source_port</strong> parameter to 
specify a source port.</td>

source_port parameter:

When spoofing src IP address with the <strong>source_ip</strong> parameter, 
this port will be used as
UDP source port. If not present the default setting is port 5060. If the 
<strong>source_ip</strong> parameter
is not present, this parameter will be ignored.</td>

example:
<send source_ip="192.168.1.100" source_port="1234">: Send SIP message using UDP
with spoofed source IP address 192.168.1.100 und source port 1234.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=637566&aid=1823593&group_id=104305

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to