Thanh Tra LUU wrote:
You can use PF_PACKET sockets, and build the entire IP/[tcp|udp]/etc headers in user space.Dear all,
Tell me if there is a way to send a packet whose IP address is chosen (by us, for example ipspoofing) that does not use the IP_HDRINCL option.
It is quite strange to me when I read the source code of RSVP ISI, they don't use the IP_HDRINCL for sending Path messages whose source address must be the sender's address. I found that the source address is the interface address through which Path message is sent. Maybe I mistook.
Thanks,
Nary Tra
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Neil
-- /*************************************************** *Neil Horman *Software Engineer *Red Hat, Inc. *nhorman@redhat.com *gpg keyid: 1024D / 0x92A74FA1 *http://pgp.mit.edu ***************************************************/
- : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html