|
|||||||||||
|
(possible patch?) l->device is currently a "DON'T CARE" for raw interfaces...
From: alessandro salvatori <alessandrosalvatori(at)virgilio.it>
Date: Wed Jul 16 2003 - 09:48:41 EDT
l->device is currently a "DON'T CARE" for raw interfaces... and might be set to NULL... i'd really like it to be used everytime it's not NULL... this because maybe the user did want the packet to be injected through that particular interface if he decided not to say "NULL"... i suppose SO_BINDTODEVICE not only lets the raw socket listen on a particular interface, but also it should make it inject raw packets on that interface instead of the interface choosen by the routing tables... in fact some times we can bind a client socket to a port (such as in IPSEC if i'm not wrong...) then the same should be for raw socket... we should be able to bind them to any interface we want, even when we are sending and not receiving...
i cannot find this this stated anywere...
does anybody know if it's true?
thank you
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT |
||||||||||
|
|||||||||||