libnet_write
[email protected] Sat, 5 Jun 2004 11:18:07 +0530
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
Hi 1. can libnet_write write packets that were not built in the libnet context ? i dont think so. 2. that means if i capture a TCP packet and inject it back using libnet functions, say even without any changes at all(to headeror payload), I need to reconstruct the tcp header using the call libnet_build_tcp() and then build the ip_header using libnet_build_ip() and only then i can write it using libnet_write() ?? !!, is there no way of passing a pointer to a raw packet(one which we created, or caught and now want to reinject) without going through these build functions, because as you can see calling all these build functions for packets which were caught and are now being reinjected after a delay involves a lot of overhead ?? thanks Amit "DISCLAIMER: This message is proprietary to Hughes Software Systems Limited (HSS) and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. HSS accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."