UDP packet spoofed LAN source address?

CyberLeo Kitsana cyberleo at cyberleo.net
Mon Oct 18 02:52:57 UTC 2010


On 10/17/2010 06:37 PM, Brandon Gooch wrote:
> On Sun, Oct 17, 2010 at 4:59 PM, Nerius Landys <nlandys at gmail.com> wrote:
>>>
>>>
>>>> Maybe, is there a simple 10 line C program that I can run and compile to
>>>> check if this scenario is possible on _my_ server?
>>>
>>> 'netcat' has the capability built in.
>>>
>>>
>> root# echo "hi" | nc -u -w 1 -p 30002 -s 64.156.193.115 daffy 30001
>> nc: bind failed: Can't assign requested address
>>
>> I don't seem to be able to spoof a source address using netcat, unless I'm
>> missing something in the man page.
> 
> I think you need to have the IP address you wish to spoof bound to an interface.

Or use Nemesis as root.

[0] http://nemesis.sourceforge.net/

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<CyberLeo at CyberLeo.Net>

Furry Peace! - http://wwww.fur.com/peace/


More information about the freebsd-questions mailing list