On 10/03/2005 04:56 PM, rh wrote: > I'm using libnet 1.1.1 and pcaplib 0.8.3 (I believe). > > Linux 2.4.20 / 2.6.11 (and later, FreeBSD 5.2). > > GCC 3.3 > > Apologies if this is too off-topic an application for this list. > > I'm attempting to use libnet and pcap together to write a client using raw > sockets so that I can gain explicit control over the ip_p value in the IP > header. I need to test application-sensitive router configurations. > > I'm failing at connection establishment. I can squirt the packet out using > libnet and get a reply using pcap, but the connection-initiating TCP seems > to be generating a RST on my behalf before I can transmit the third packet > of the handshake.
Is there some reason you don't simply synthesize packets using an IP address that doesn't belong to a box on the network (but use a little proxy arp glue)? -- Jefferson Ogata <[EMAIL PROTECTED]> NOAA Computer Incident Response Team (N-CIRT) <[EMAIL PROTECTED]> - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.