RE: [WinPcap-users] Checksum of a TCP packets

2003-03-05 Thread Dries Decock
Hey, you will have to extract the packet, set the checksum to zero, calculate the checksum and put it in his place. If you need a function for calculating a 16-bit checksum, here you go: /* int CheckSum16 * * Helper function whitch calculates a 16 bit checksum of the data. */ int

RE: Re[2]: [WinPcap-users] Send a TCP packet already intercepted

2003-02-28 Thread Dries Decock
It could also be possible that the server has already seen the packet (identifier) and so it just drops the packet. Tcp has an identifier in it, so if you use a TCP socket, it could be that the stack just drops it and answers, not the server. This is the time-window in TCP... -Original

RE: [WinPcap-users] Announce: WinPcap MP Support

2003-01-27 Thread Dries Decock
Fantastic, this probably fixes the problems with new CPU's supporting hyperthreading! Hopefully this will be included in the next version of WinPCap. Thanks a lot, Dries Decock -Original Message- From: Luca Deri [mailto:[EMAIL PROTECTED]] Sent: vrijdag 24 januari 2003 9:50 To: [EMAIL

RE: [WinPcap-users] Help with ping request

2003-01-17 Thread Dries Decock
ICMP specifies fields to set the process id and the id for the packet. The last you increase for each request. Because you just send the same, the router can think it's a duplicate. Just look at the icmp specifications to see which field you have to increase eacht time. -Original Message-

[WinPcap-users] WinPCap version 3

2002-12-11 Thread Dries Decock
Thanks, Dries Decock == This is the WinPcap users list. It is archived at http://www.mail-archive.com/winpcap-users@winpcap.polito.it/ To unsubscribe use mailto: [EMAIL PROTECTED]?body=unsubscribe ==