Re: checksums calculated by libnet
Frédéric Raynal <[email protected]> Fri, 25 Jun 2004 08:42:08 +0200
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
Yes, currently the packet is coalesced just before the writing, and then the checksums are computed. Fred Raynal On Thu, Jun 24, 2004 at 07:53:22PM +0530, [email protected] wrote: > > > > > Hi, > > suppose i set the checksum field to 0 in libnet_build_tcp and also 0 in > libnet_build_ipv4. now i call libnet_build_tcp first and then i call libnet > build ipv4, here is the checksum calculated properly, i ask this because > when libnet_build_tcp is called it does not have the pseudo header and > hence cant calculate the checksum properly , so does it wait and adds the > checksum just before doing a write for all protocols ?? > > 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." >