Re: [tcpdump-workers] libpcap: raw write to ethernet header not working

2005-09-08 Thread ???
[EMAIL PROTECTED]> To: Sent: Thursday, September 08, 2005 4:19 AM Subject: Re: [tcpdump-workers] libpcap: raw write to ethernet header not working > > On Sep 7, 2005, at 5:27 AM, fanci wrote: > > > That's really complicated @_@ > > Yes, that's what happens if you

Re: [tcpdump-workers] libpcap: raw write to ethernet header not working

2005-09-07 Thread Guy Harris
On Sep 7, 2005, at 5:27 AM, fanci wrote: That's really complicated @_@ Yes, that's what happens if you have more than one e-mail address. One thing to remind... actually you don't have to quote "Broadcom"'s name in the manpage if you're to indicate the SAP- overwriting problem... I

Re: [tcpdump-workers] libpcap: raw write to ethernet header not working

2005-09-07 Thread fanci
this information is really essential, and the method to retrieve this information under different OSes varies widely... What do think of it Guy? :-) - Original Message - From: "Guy Harris" <[EMAIL PROTECTED]> To: Sent: Wednesday, September 07, 2005 4:22 PM Subject: R

Re: [tcpdump-workers] libpcap: raw write to ethernet header not working

2005-09-07 Thread Guy Harris
fanci wrote: As for my workaround, I didn't really hardcoded 88-8e in libpcap; instead I modified a bit in pcap_open_live() to let it parse the "char *ebuf" parameter in "$SAP=%d" format. If the parse succeeds, then libpcap would take the user-supplied number for SAP. Otherwise, it uses 0 for th

Re: [tcpdump-workers] libpcap: raw write to ethernet header not working under Solaris?

2005-09-07 Thread fanci
t address blah blah blah.) Anyway this is the first time I use a mailing list so please excuse me if I did anything wrong :-P - Original Message - From: "Guy Harris" <[EMAIL PROTECTED]> To: "tcpdump workers" Sent: Wednesday, September 07, 2005 5:41 AM Subje

Re: [tcpdump-workers] libpcap: raw write to ethernet header not working under Solaris?

2005-09-06 Thread Guy Harris
(Blah blah blah wrong From: address bounce blah blah blah fool the duplicate message detector into not bouncing this retransmission from the right address blah blah blah.) On Sep 6, 2005, at 1:45 AM, fanci wrote: So, libpcap is passing "0" for the "sap" parameter to invoke a DLPI_BIND_REQ.

Re: [tcpdump-workers] libpcap: raw write to ethernet header not working under Solaris?

2005-09-06 Thread fanci
rnet drivers, too. Best regards, [EMAIL PROTECTED] - Original Message - From: "fanci" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 06, 2005 1:18 AM Subject: [tcpdump-workers] libpcap: raw write to ethernet header not working under Solaris? > Hi, everybody~~ > >

[tcpdump-workers] libpcap: raw write to ethernet header not working under Solaris?

2005-09-05 Thread fanci
Hi, everybody~~ I am writing a program under Solaris 10 (x86) using libpcap-0.9.3, but found out that I couldn't pcap_inject() raw bytes to my ethernet interface. I am trying to construct a raw packet consisting of: 6-byte-mac-dst 6-byte-mac-src 2-byte-ether-type variable-length-body-content