Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-05 Thread rh
- Original Message - From: "Jefferson Ogata" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 04, 2005 7:40 PM Subject: Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client > On 10/03/2005 04:56 PM, rh wrote: > > I'm using libnet 1.1.

Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-04 Thread Jefferson Ogata
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 usi

Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-04 Thread Guy Harris
rh wrote: If you're going to be sending stuff *that* strange, you shouldn't expect a receiving machine to run an ordinary networking stack to handle them, so it seems a bit odd that you're running ttcp on the remote machine, unless you're trying to use that to test whether your code works if it'

Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-04 Thread rh
- Original Message - From: "Guy Harris" <[EMAIL PROTECTED]> To: Sent: Monday, October 03, 2005 10:49 PM Subject: Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client > rh wrote: > > > Sounds like it's unavoidable. libnet and libpcap see

Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-03 Thread Guy Harris
rh wrote: Sounds like it's unavoidable. libnet and libpcap seem like they'd complement each other so well. libpcap is a low-level library, in that 1) it works at the link layer and 2) it doesn't deal with dissecting or constructing packets. As of 0.9.x, it *does* deal with

Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-03 Thread rh
- Original Message - From: "Guy Harris" <[EMAIL PROTECTED]> To: Sent: Monday, October 03, 2005 6:49 PM Subject: Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client > rh wrote: > > I'm using libnet 1.1.1 and pcaplib 0.8.3 (I believe). >

Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-03 Thread Guy Harris
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 explic

Re: [tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-03 Thread Matthew Luckie
> 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. [ ... ] > The libnet code to transmit packets

[tcpdump-workers] pcap: prob w/libnet making raw socket client

2005-10-03 Thread rh
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 o