| Age | Commit message (Collapse) | Author |
|
While there are some open issues, particulary wrt support of old
NetBSD-specific interfaces, it is better to get the code some public
testing before NetBSD-4 is branched.
|
|
Don't believe Coverity blindly!
|
|
|
|
headers have been included. Fixes compile problem for vax.
|
|
|
|
Remove some extraneous files.
|
|
Peter Postma
|
|
Built after libpcap-0.7 from tcpdump-3.7.1.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
|
|
* When opening a live pcap, obtain the list of supported DLTs from
the BPF.
* Add pcap_list_datalinks() to obtain a list of supported DLTs
supported by the interface associated with the pcap descriptor.
* Add pcap_set_datalink() to set the current DLT of the pcap.
* Bump shlib 1.2 -> 1.3; new functions added.
From David Young <dyoung@ojctech.com>, with some minor changes by me.
|
|
patches #454 from yamt@mwd.biglobe.ne.jp
- avoid optimization involving subtract operations
- correct optimization of bitwise operations
TODO: re-introduce subtract optimization
|
|
|
|
|
|
now. This needs to be fixed when a generic PPP sheme is implemented.
|
|
|
|
|
|
|
|
from tcpdump.org, although with a slightly different signature.
The tcpdump.org version has no way to report an error string back
to the caller. This version takes an additional "errbuf" argument
(similar to pcap_open_*()).
|
|
or "ip6 host ip4only-host". (sync with tcpdump.org)
|
|
both A and AAAA. fix from Bill Fenner, FreeBSD PR: 17083.
|
|
don't use s6_addr{8,16,32} directly, they are not in standard.
hide not-supposed-to-be-visible functions as static.
increase shlib minor.
|
|
ARCnet link level addresses are encoded as :HH (``:'' followed by a
byte encoded in hexadecimal notation).
|
|
- oldstyle and PHDS IPv4+ARP; RARP, IPv6, Appletalk are matched now.
- in case this is an unfragmented or first-fragment IPv4, IPv6, ARP, RARP or
Appletalk packet, matching inside the payload is possible to the extent
already supported by tcpdump/libpcap. For 2nd and next fragments, this
won't work; it also won't work for oldstyle (RFC1051) IPv4 and ARP.
|
|
Matching for anything won't work (as we need to teach the stuff about
variable length link level headers), but printing is fine.
|
|
add DLT_PPP_SERIAL case into link type recognition,
hoping this to fix ppp packet recognition problem.
|
|
|
|
|
|
|
|
"tcp" will match both IPv4 TCP and IPv6 TCP.
"ip6" will match IPv6.
you can chase header chain by using "protochain" instead of "proto"
(but bpf code is not optimizable in this case)
commit to tcpdump will follow.
I've sent this fix to LBL guys to get no response. I wonder why it was.
|
|
qualifiers are DLT_SLIP and DLT_PPP (i.e. old-style serial encap PPP).
If an attempt to use these qualifiers is used for any other link type,
cause a BPF program compilation error.
|
|
|
|
|
|
|
|
|
|
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
|
|
- some KNF.
|
|
Includes numerous improvements (see CHANGES), fixes PR bin/2031.
|
|
|
|
works on NetBSD/Alpha for non-trivial filters.
|
|
|
|
|