Posted By:
filippo_barsotti
Posted On:
Tuesday, October 12, 2004 02:13 AM
Hi, I'm writing a program which sniffs IP packets from a network device, trying to recognize spoofed packets. Now I'm using Java and can't put it inside a TCP/IP stack, so it is a program which should act as a Proxy that shields underlying Network from DoS attacks. I need to send my underlying network packets I don't recognize as spoofed. I think I need RawSockets to write each Ip packet into the the LAN. But, How can I write raw Packets with JAVA? Can I do that? Is there a solution? (read each packet's destination and send it by a socket to the receiver host would make a tcp connection from proxy to the host and would make the proxy
More>>
Hi,
I'm writing a program which sniffs IP packets from a
network device, trying to recognize spoofed packets.
Now I'm using Java and can't put it inside a TCP/IP
stack, so it is a program which should act as a Proxy
that shields underlying Network from DoS attacks. I
need to send my underlying network packets I don't
recognize as spoofed. I think I need RawSockets to
write each Ip packet into the the LAN. But,
How can I write raw Packets with JAVA? Can I do that?
Is there a solution? (read each packet's destination and
send it by a socket to the receiver host would make a
tcp connection from proxy to the host and would make
the proxy the sender of the packet (not an invisible
proxy...), right? )
Thanks,
Bye
Filippo
<<Less