On Wed, 27 Jun 2001, Zachary Uram wrote:
> How does one do this?
look up land.c ...
http://bart.us.es/~roman/ircutils/land.html
> Could someone please send me some C source. I always hear about
> "creating packet" and "forging packets" and "sending packets" but
> never seen code that actually DOES: create a forged packet and send it
> to a host.
look up the package 'libnet' and the associated code. simple to use, its a
bunch of packet creation routines in C. its IPv4 only, right now, and
certainly not threadsafe (ie its not multithreaded yet).
http://www.packetfactory.net/Projects/libnet/
study stevens' TCP/IP illustrated (really required reading for anyone
working with firewalls), too, for a great description of IP networking.
____________________________
jose nazario [EMAIL PROTECTED]
PGP: 89 B0 81 DA 5B FD 7E 00 99 C3 B2 CD 48 A0 07 80
PGP key ID 0xFD37F4E5 (pgp.mit.edu)
_______________________________________________
Firewalls mailing list
[EMAIL PROTECTED]
http://lists.gnac.net/mailman/listinfo/firewalls