Build spoofed IP packets

Eric Nieuwland eric.nieuwland at xs4all.nl
Wed Oct 5 18:29:35 EDT 2005


billie wrote:
> Traceback (most recent call last):
>   File "C:\test\client.py", line 156, in ?
>     send_pkt()
>   File "C:\test\client.py", line 96, in send_pkt
>     s.sendto(ip.get_packet(), (dst, 0)) # send packet to server
> socket.error: (10004, 'Interrupted system call')
>
> Note: this only happens on Windows XP prof SP2. On Linux I got no 
> problems.
> I run the program as Administrator.

It's SP2. Microsoft decided allowing raw socket access is a security 
threat and disabled it in SP2.

--eric




More information about the Python-list mailing list