Warn about some broken drivers *cough* Broadcom *cough* ignoring
DLIOCRAW and overwriting the Ethertype with the SAP we happened to bind to (the fact that we requested SAP promiscuity nonwithstanding).
This commit is contained in:
parent
5fe3c66fc0
commit
a1e758a03d
8
pcap.3
8
pcap.3
|
@ -1,4 +1,4 @@
|
||||||
.\" @(#) $Header: /tcpdump/master/libpcap/Attic/pcap.3,v 1.71 2005-07-07 01:57:01 guy Exp $
|
.\" @(#) $Header: /tcpdump/master/libpcap/Attic/pcap.3,v 1.72 2005-09-07 08:28:56 guy Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1994, 1996, 1997
|
.\" Copyright (c) 1994, 1996, 1997
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
|
@ -689,7 +689,11 @@ supplied to
|
||||||
as the source link-layer address, if the header contains such an
|
as the source link-layer address, if the header contains such an
|
||||||
address, might be changed to be the address assigned to the interface on
|
address, might be changed to be the address assigned to the interface on
|
||||||
which the packet it sent, if the platform doesn't support sending
|
which the packet it sent, if the platform doesn't support sending
|
||||||
completely raw and unchanged packets.
|
completely raw and unchanged packets. Even worse, some drivers on some
|
||||||
|
platforms might change the link-layer type field to whatever value
|
||||||
|
libpcap used when attaching to the device, even on platforms that
|
||||||
|
.I do
|
||||||
|
nominally support sending completely raw and unchanged packets.
|
||||||
.PP
|
.PP
|
||||||
.B pcap_sendpacket()
|
.B pcap_sendpacket()
|
||||||
is like
|
is like
|
||||||
|
|
Reference in New Issue