[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
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
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
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
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
(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.
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~~
>
>
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