cvs commit: src/lib/libpcap Makefile src/lib/libpcap/patches gencode.c.patch gencode.h.patch grammar.y.patch scanner.l.patch src/usr.sbin/tcpdump/tcpdump Makefile tcpdump.1.no_obj.patch src/sys/netproto/802_11 ieee80211.h src/sys/netproto/802_11/wlan ...
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Mar 16 05:59:31 PDT 2007
sephe 2007/03/16 05:59:10 PDT
DragonFly src repository
Modified files:
lib/libpcap Makefile
usr.sbin/tcpdump/tcpdump Makefile
sys/netproto/802_11 ieee80211.h
sys/netproto/802_11/wlan ieee80211_proto.c
Added files:
lib/libpcap/patches gencode.c.patch gencode.h.patch
grammar.y.patch scanner.l.patch
usr.sbin/tcpdump/tcpdump tcpdump.1.no_obj.patch
Log:
Make libpcap parse following expressions, so tcpdump can filter 802.11 frames
based on frame types and/or subtypes:
tcpdump -ni wifi_iface -y ieee802_11 wlan type TYPE
tcpdump -ni wifi_iface -y ieee802_11 wlan type TYPE subtype SUBTYPE
tcpdump -ni wifi_iface -y ieee802_11 wlan subtype SUBTYPE
Thank Sam Leffer to point out that libpcap supports dynamic link layer headers.
# This commit has been merged into main stream code, so local patches can
# be nuked upon next vendor release updating.
Revision Changes Path
1.10 +7 -1 src/lib/libpcap/Makefile
1.8 +1 -1 src/usr.sbin/tcpdump/tcpdump/Makefile
1.5 +35 -0 src/sys/netproto/802_11/ieee80211.h
1.10 +2 -12 src/sys/netproto/802_11/wlan/ieee80211_proto.c
http://www.dragonflybsd.org/cvsweb/src/lib/libpcap/Makefile.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/tcpdump/tcpdump/Makefile.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/ieee80211.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/netproto/802_11/wlan/ieee80211_proto.c.diff?r1=1.9&r2=1.10&f=u
More information about the Commits
mailing list