libnet_write

[email protected] Wed, 23 Jun 2004 15:51:14 +0530
Newsgroups gmane.comp.security.libnet
Message-ID <[email protected]>



Hi,

   facing a problem using libnet_write ....

  I do a libnet_build_tcp then a libnet_build_ipv4 then write using
libnet_write() .... In one of these programs I am also using libipq library
function calls .. here when libnet_write is executed it returns an error
code of -1, (with the error string as Operation not permitted).
tried running only a simple libnet program that builds and sends a tcp
packet exactly as in the previous case, but this function didnt have any
libipq calls, here libnet_write succeeds, I get "written these many bytes
to wrire", but even in this case I am not able to catch the packet on
tcpdump
?????

Amit