CHANGES 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916
  1. Sunday, June 24, 2018, by mcr@sandelman.ca
  2. Summary for 1.9.0 libpcap release
  3. Added testing system to libpcap, independent of tcpdump
  4. Changes to how pcap_t is activated
  5. Adding support for Large stream buffers on Endace DAG cards
  6. Changes to BSD 3-clause license to 2-clause licence
  7. Additions to TCP header parsing, per RFC3168
  8. Add CMake build process (extensive number of changes)
  9. Assign a value for OpenBSD DLT_OPENFLOW.
  10. Support setting non-blocking mode before activating.
  11. Extensive build support for Windows VS2010 and MINGW (many many changes, over many months)
  12. Added RPCAPD support when --enable-remote (default no)
  13. Add the rpcap daemon source and build instructions.
  14. Put back the greasy "save the capture filter string so we can tweak it"
  15. hack, that keeps libpcap from capturing rpcap traffic.
  16. Fixes for captures on MacOS, utun0
  17. fixes so that non-AF_INET addresses, are not ==AF_INET6 addresses.
  18. Add a linktype for IBM SDLC frames containing SNA PDUs.
  19. pcap_compile() in 1.8.0 and later is newly thread-safe.
  20. bound snaplen for linux tpacket_v2 to ~64k
  21. Make VLAN filter handle both metadata and inline tags
  22. D-Bus captures can now be up to 128MB in size
  23. Added LORATAP DLT value
  24. Added DLT_VSOCK for http://qemu-project.org/Features/VirtioVsock
  25. probe_devices() fixes not to overrun buffer for name of device
  26. Add linux-specific pcap_set_protocol_linux() to allow specifying a specific capture protocol.
  27. RDMA sniffing support for pcap
  28. Add Nordic Semiconductor Bluetooth LE sniffer link-layer header type.
  29. fixes for reading /etc/ethers
  30. Make it possible to build on Windows without packet.dll.
  31. Add tests for large file support on UN*X.
  32. Solaris fixes to work with 2.8.6
  33. configuration test now looks for header files, not capture devices present
  34. Fix to work with Berkeley YACC.
  35. fixes for DragonBSD compilation of pcap-netmap.c
  36. Clean up the ether_hostton() stuff.
  37. Add an option to disable Linux memory-mapped capture support.
  38. Add DAG API support checks.
  39. Add Septel, Myricom SNF, and Riverbed TurboCap checks.
  40. Add checks for Linux USB, Linux Bluetooth, D-Bus, and RDMA sniffing support.
  41. Add a check for hardware time stamping on Linux.
  42. Don't bother supporting pre-2005 Visual Studio.
  43. Increased minimum autoconf version requirement to 2.64
  44. Add DLT value 273 for XRA-31 sniffer
  45. Clean up handing of signal interrupts in pcap_read_nocb_remote().
  46. Use the XPG 4.2 versions of the networking APIs in Solaris.
  47. Fix, and better explain, the "IPv6 means IPv6, not IPv4" option setting.
  48. Explicitly warn that negative packet buffer timeouts should not be used.
  49. rpcapd: Add support inetd-likes, including xinetd.conf, and systemd units
  50. Rename DLT_IEEE802_15_4 to DLT_IEEE802_15_4_WITHFCS.
  51. Add DISPLAYPORT AUX link type
  52. Remove the sunos4 kernel modules and all references to them.
  53. Add more interface flags to pcap_findalldevs().
  54. Summary for 1.9.0 libpcap release (to 2017-01-25 by guy@alum.mit.edu)
  55. Man page improvements
  56. Fix Linux cooked mode userspace filtering (GitHub pull request #429)
  57. Fix compilation if IPv6 support not enabled
  58. Fix some Linux memory-mapped capture buffer size issues
  59. Don't fail if kernel filter can't be set on Linux (GitHub issue
  60. #549)
  61. Improve sorting of interfaces for pcap_findalldevs()
  62. Don't list Linux usbmon devices if usbmon module isn't loaded
  63. Report PCAP_ERROR_PERM_DENIED if no permission to open Linux usbmon
  64. devices
  65. Fix DLT_ type for Solaris IPNET devices
  66. Always return an error message for errors finding DAG or Myricom
  67. devices
  68. If possible, don't require that a device be openable when
  69. enumerating them for pcap_findalldevs()
  70. Don't put incompletely-initialized addresses in the address list for
  71. When finding Myricom devices, update description for regular
  72. interfaces that are Myricom devices and handle SNF_FLAGS=0x2(port
  73. aggregation enabled)
  74. Fix compilation error in DAG support
  75. Fix issues with CMake configuration
  76. Add support for stream buffers larger than 2GB on newer DAG cards
  77. Remove support for building against DAG versions without STREAMS
  78. support (before dag-3.0.0 2007)
  79. Tuesday, Oct. 25, 2016 mcr@sandelman.ca
  80. Summary for 1.8.1 libpcap release
  81. Add a target in Makefile.in for Exuberant Ctags use: 'extags'.
  82. Rename configure.in to configure.ac: autoconf 2.59
  83. Clean up the name-to-DLT mapping table.
  84. Add some newer DLT_ values: IPMI_HPM_2,ZWAVE_R1_R2,ZWAVE_R3,WATTSTOPPER_DLM,ISO_14443,RDS
  85. Clarify what the return values are for both success and failure.
  86. Many changes to build on windows
  87. Check for the "break the loop" condition in the inner loop for TPACKET_V3.
  88. Fix handling of packet count in the TPACKET_V3 inner loop: GitHub issue #493.
  89. Filter out duplicate looped back CAN frames.
  90. Fix the handling of loopback filters for IPv6 packets.
  91. Add a link-layer header type for RDS (IEC 62106) groups.
  92. Use different intermediate folders for x86 and x64 builds on Windows.
  93. On Linux, handle all CAN captures with pcap-linux.c, in cooked mode.
  94. Removes the need for the "host-endian" link-layer header type.
  95. Compile with '-Wused-but-marked-unused' in devel mode if supported
  96. Have separate DLTs for big-endian and host-endian SocketCAN headers.
  97. Reflect version.h being renamed to pcap_version.h.
  98. Require that version.h be generated: all build procedures we support generate version.h (autoconf, CMake, MSVC)!
  99. Properly check for sock_recv() errors.
  100. Re-impose some of Winsock's limitations on sock_recv().
  101. Replace sprintf() with pcap_snprintf().
  102. Fix signature of pcap_stats_ex_remote().
  103. Initial cmake support for remote packet capture.
  104. Have rpcap_remoteact_getsock() return a SOCKET and supply an "is active" flag.
  105. Clean up {DAG, Septel, Myricom SNF}-only builds.
  106. Do UTF-16-to-ASCII conversion into the right place.
  107. pcap_create_interface() needs the interface name on Linux.
  108. Clean up hardware time stamp support: the "any" device does not support any time stamp types.
  109. Add support for capturing on FreeBSD usbusN interfaces.
  110. Add a LINKTYPE/DLT_ value for FreeBSD USB.
  111. Go back to using PCAP_API on Windows.
  112. CMake support
  113. Add TurboCap support from WinPcap.
  114. Recognize 802.1ad nested VLAN tag in vlan filter.
  115. Thursday Sep. 3, 2015 guy@alum.mit.edu
  116. Summary for 1.7.5 libpcap release
  117. Man page cleanups.
  118. Add some allocation failure checks.
  119. Fix a number of Linux/ucLinux configure/build issues.
  120. Fix some memory leaks.
  121. Recognize 802.1ad nested VLAN tag in vlan filter.
  122. Fix building Bluetooth Linux Monitor support with BlueZ 5.1+
  123. Saturday Jun. 27, 2015 mcr@sandelman.ca
  124. Summary for 1.7.4 libpcap release
  125. Include fix for GitHub issue #424 -- out of tree builds.
  126. Friday Apr. 10, 2015 guy@alum.mit.edu
  127. Summary for 1.7.3 libpcap release
  128. Work around a Linux bonding driver bug.
  129. Thursday Feb. 12, 2015 guy@alum.mit.edu/mcr@sandelman.ca
  130. Summary for 1.7.2 libpcap release
  131. Support for filtering Geneve encapsulated packets.
  132. Generalize encapsulation handling, fixing some bugs.
  133. Don't add null addresses to address lists.
  134. Add pcap_dump_open_append() to open for appending.
  135. Fix the swapping of isochronous descriptors in Linux USB.
  136. Attempt to handle TPACKET_V1 with 32-bit userland and 64-bit kernel.
  137. Wednesday Nov. 12, 2014 guy@alum.mit.edu/mcr@sandelman.ca
  138. Summary for 1.7.0 libpcap release
  139. Fix handling of zones for BPF on Solaris
  140. new DLT for ZWAVE
  141. clarifications for read timeouts.
  142. Use BPF extensions in compiled filters, fixing VLAN filters
  143. some fixes to compilation without stdint.h
  144. EBUSY can now be returned by SNFv3 code.
  145. Fix the range checks in BPF loads
  146. Various DAG fixes.
  147. Various Linux fixes.
  148. Monday Aug. 12, 2014 guy@alum.mit.edu
  149. Summary for 1.6.2 libpcap release
  150. Don't crash on filters testing a non-existent link-layer type
  151. field.
  152. Fix sending in non-blocking mode on Linux with memory-mapped
  153. capture.
  154. Fix timestamps when reading pcap-ng files on big-endian
  155. machines.
  156. Saturday Jul. 19, 2014 mcr@sandelman.ca
  157. Summary for 1.6.1 libpcap release
  158. some fixes for the any device
  159. changes for how --enable-XXX (--enable-sniffing, --enable-can) works
  160. Wednesday Jul. 2, 2014 mcr@sandelman.ca
  161. Summary for 1.6.0 libpcap release
  162. Don't support D-Bus sniffing on OS X
  163. fixes for byte order issues with NFLOG captures
  164. Handle using cooked mode for DLT_NETLINK in activate_new().
  165. on platforms where you can not capture on down interfaces, do not list them
  166. but: do list interfaces which are down, if you can capture on them!
  167. Wednesday December 18, 2013 guy@alum.mit.edu
  168. Summary for 1.5.3 libpcap release
  169. Don't let packets that don't match the current filter get to the
  170. application when TPACKET_V3 is used. (GitHub issue #331)
  171. Fix handling of pcap_loop()/pcap_dispatch() with a packet count
  172. of 0 on some platforms (including Linux with TPACKET_V3).
  173. (GitHub issue #333)
  174. Work around TPACKET_V3 deficiency that causes packets to be lost
  175. when a timeout of 0 is specified. (GitHub issue #335)
  176. Man page formatting fixes.
  177. Wednesday December 4, 2013 guy@alum.mit.edu
  178. Summary for 1.5.2 libpcap release
  179. Fix libpcap to work when compiled with TPACKET_V3 support and
  180. running on a kernel without TPACKET_V3 support. (GitHub
  181. issue #329)
  182. Wednesday November 20, 2013 guy@alum.mit.edu
  183. Summary for 1.5.1 libpcap release
  184. Report an error, rather than crashing, if an IPv6 address is
  185. used for link-layer filtering. (Wireshark bug 9376)
  186. Wednesday October 30, 2013 guy@alum.mit.edu
  187. Summary for 1.5.0 libpcap release
  188. TPACKET_V3 support added for Linux
  189. Point users to the the-tcpdump-group repository on GitHub rather
  190. than the mcr repository
  191. Checks added for malloc()/realloc()/etc. failures
  192. Fixed build on Solaris 11
  193. Support filtering filtering E1 SS7 traffic on MTP2 layer Annex A
  194. Use "ln -s" to link man pages by default
  195. Add support for getting nanosecond-resolution time stamps when
  196. capturing and reading capture files
  197. Many changes to autoconf to deal better with non-GCC compilers
  198. added many new DLT types
  199. Saturday April 6, 2013 guy@alum.mit.edu
  200. Summary for 1.4.0 libpcap release
  201. Add netfilter/nfqueue interface.
  202. If we don't have support for IPv6 address resolution, support,
  203. in filter expressions, what IPv6 stuff we can.
  204. Fix pcap-config to include -lpthread if canusb support is
  205. present
  206. Try to fix "pcap_parse not defined" problems when --without-flex
  207. and --without-bison are used when you have Flex and Bison
  208. Fix some issues with the pcap_loop man page.
  209. Fix pcap_getnonblock() and pcap_setnonblock() to fill in the
  210. supplied error message buffer
  211. Fix typo that, it appeared, would cause pcap-libdlpi.c not to
  212. compile (perhaps systems with libdlpi also have BPF and use
  213. that instead)
  214. Catch attempts to call pcap_compile() on a non-activated pcap_t
  215. Fix crash on Linux with CAN-USB support without usbfs
  216. Fix addition of VLAN tags for Linux cooked captures
  217. Check for both EOPNOTSUPP and EINVAL after SIOCETHTOOL ioctl, so
  218. that the driver can report either one if it doesn't support
  219. SIOCETHTOOL
  220. Add DLT_INFINIBAND and DLT_SCTP
  221. Describe "proto XXX" and "protochain XXX" in the pcap-filter man
  222. page
  223. Handle either directories, or symlinks to directories, that
  224. correspond to interfaces in /sys/class/net
  225. Fix handling of VLAN tag insertion to check, on Linux 3.x
  226. kernels, for VLAN tag valid flag
  227. Clean up some man pages
  228. Support libnl3 as well as libnl1 and libnl2 on Linux
  229. Fix handling of Bluetooth devices on 3.x Linux kernels
  230. Friday March 30, 2012. mcr@sandelman.ca
  231. Summary for 1.3.0 libpcap release
  232. Handle DLT_PFSYNC in {FreeBSD, other *BSD+Mac OS X, other}.
  233. Linux: Don't fail if netfilter isn't enabled in the kernel.
  234. Add new link-layer type for NFC Forum LLCP.
  235. Put the CANUSB stuff into EXTRA_DIST, so it shows up in the release tarball.
  236. Add LINKTYPE_NG40/DLT_NG40.
  237. Add DLT_MPEG_2_TS/LINKTYPE_MPEG_2_TS for MPEG-2 transport streams.
  238. [PATCH] Fix AIX-3.5 crash with read failure during stress
  239. AIX fixes.
  240. Introduce --disable-shared configure option.
  241. Added initial support for canusb devices.
  242. Include the pcap(3PCAP) additions as 1.2.1 changes.
  243. many updates to documentation: pcap.3pcap.in
  244. Improve 'inbound'/'outbound' capture filters under Linux.
  245. Note the cleanup of handling of new DLT_/LINKTYPE_ values.
  246. On Lion, don't build for PPC.
  247. For mac80211 devices we need to clean up monitor mode on exit.
  248. Friday December 9, 2011. guy@alum.mit.edu.
  249. Summary for 1.2.1 libpcap release
  250. Update README file.
  251. Fix typoes in README.linux file.
  252. Clean up some compiler warnings.
  253. Fix Linux compile problems and tests for ethtool.h.
  254. Treat Debian/kFreeBSD and GNU/Hurd as systems with GNU
  255. toolchains.
  256. Support 802.1 QinQ as a form of VLAN in filters.
  257. Treat "carp" as equivalent to "vrrp" in filters.
  258. Fix code generated for "ip6 protochain".
  259. Add some new link-layer header types.
  260. Support capturing NetFilter log messages on Linux.
  261. Clean up some error messages.
  262. Turn off monitor mode on exit for mac80211 interfaces on Linux.
  263. Fix problems turning monitor mode on for non-mac80211 interfaces
  264. on Linux.
  265. Properly fail if /sys/class/net or /proc/net/dev exist but can't
  266. be opened.
  267. Fail if pcap_activate() is called on an already-activated
  268. pcap_t, and add a test program for that.
  269. Fix filtering in pcap-ng files.
  270. Don't build for PowerPC on Mac OS X Lion.
  271. Simplify handling of new DLT_/LINKTYPE_ values.
  272. Expand pcap(3PCAP) man page.
  273. Sunday July 24, 2011. mcr@sandelman.ca.
  274. Summary for 1.2 libpcap release
  275. All of the changes listed below for 1.1.1 and 1.1.2.
  276. Changes to error handling for pcap_findalldevs().
  277. Fix the calculation of the frame size in memory-mapped captures.
  278. Add a link-layer header type for STANAG 5066 D_PDUs.
  279. Add a link-layer type for a variant of 3GPP TS 27.010.
  280. Noted real nature of LINKTYPE_ARCNET.
  281. Add a link-layer type for DVB-CI.
  282. Fix configure-script discovery of VLAN acceleration support.
  283. see http://netoptimizer.blogspot.com/2010/09/tcpdump-vs-vlan-tags.html
  284. Linux, HP-UX, AIX, NetBSD and OpenBSD compilation/conflict fixes.
  285. Protect against including AIX 5.x's <net/bpf.h> having been included.
  286. Add DLT_DBUS, for raw D-Bus messages.
  287. Treat either EPERM or EACCES as "no soup for you".
  288. Changes to permissions on DLPI systems.
  289. Add DLT_IEEE802_15_4_NOFCS for 802.15.4 interfaces.
  290. Fri. August 6, 2010. guy@alum.mit.edu.
  291. Summary for 1.1.2 libpcap release
  292. Return DLT_ values, not raw LINKTYPE_ values from
  293. pcap_datalink() when reading pcap-ng files
  294. Add support for "wlan ra" and "wlan ta", to check the RA and TA
  295. of WLAN frames that have them
  296. Don't crash if "wlan addr{1,2,3,4}" are used without 802.11
  297. headers
  298. Do filtering on USB and Bluetooth capturing
  299. On FreeBSD/SPARC64, use -fPIC - it's apparently necessary
  300. Check for valid port numbers (fit in a 16-bit unsigned field) in
  301. "port" filters
  302. Reject attempts to put savefiles into non-blocking mode
  303. Check for "no such device" for the "get the media types" ioctl
  304. in *BSD
  305. Improve error messages from bpf_open(), and let it do the error
  306. handling
  307. Return more specific errors from pcap_can_set_rfmon(); fix
  308. documentation
  309. Update description fetching code for FreeBSD, fix code for
  310. OpenBSD
  311. Ignore /sys/net/dev files if we get ENODEV for them, not just
  312. ENXIO; fixes handling of bonding devices on Linux
  313. Fix check for a constant 0 argument to BPF_DIV
  314. Use the right version of ar when cross-building
  315. Free any filter set on a savefile when the savefile is closed
  316. Include the CFLAGS setting when configure was run in the
  317. compiler flags
  318. Add support for 802.15.4 interfaces on Linux
  319. Thu. April 1, 2010. guy@alum.mit.edu.
  320. Summary for 1.1.1 libpcap release
  321. Update CHANGES to reflect more of the changes in 1.1.0.
  322. Fix build on RHEL5.
  323. Fix shared library build on AIX.
  324. Thu. March 11, 2010. ken@netfunctional.ca/guy@alum.mit.edu.
  325. Summary for 1.1.0 libpcap release
  326. Add SocketCAN capture support
  327. Add Myricom SNF API support
  328. Update Endace DAG and ERF support
  329. Add support for shared libraries on Solaris, HP-UX, and AIX
  330. Build, install, and un-install shared libraries by default;
  331. don't build/install shared libraries on platforms we don't support
  332. Fix building from a directory other than the source directory
  333. Fix compiler warnings and builds on some platforms
  334. Update config.guess and config.sub
  335. Support monitor mode on mac80211 devices on Linux
  336. Fix USB memory-mapped capturing on Linux; it requires a new DLT_
  337. value
  338. On Linux, scan /sys/class/net for devices if we have it; scan
  339. it, or /proc/net/dev if we don't have /sys/class/net, even if
  340. we have getifaddrs(), as it'll find interfaces with no
  341. addresses
  342. Add limited support for reading pcap-ng files
  343. Fix BPF driver-loading error handling on AIX
  344. Support getting the full-length interface description on FreeBSD
  345. In the lexical analyzer, free up any addrinfo structure we got back
  346. from getaddrinfo().
  347. Add support for BPF and libdlpi in OpenSolaris (and SXCE)
  348. Hyphenate "link-layer" everywhere
  349. Add /sys/kernel/debug/usb/usbmon to the list of usbmon locations
  350. In pcap_read_linux_mmap(), if there are no frames available, call
  351. poll() even if we're in non-blocking mode, so we pick up
  352. errors, and check for the errors in question.
  353. Note that poll() works on BPF devices is Snow Leopard
  354. If an ENXIO or ENETDOWN is received, it may mean the device has
  355. gone away. Deal with it.
  356. For BPF, raise the default capture buffer size to from 32k to 512k
  357. Support ps_ifdrop on Linux
  358. Added a bunch of #ifdef directives to make wpcap.dll (WinPcap) compile
  359. under cygwin.
  360. Changes to Linux mmapped captures.
  361. Fix bug where create_ring would fail for particular snaplen and
  362. buffer size combinations
  363. Update pcap-config so that it handles libpcap requiring
  364. additional libraries
  365. Add workaround for threadsafeness on Windows
  366. Add missing mapping for DLT_ENC <-> LINKTYPE_ENC
  367. DLT: Add DLT_CAN_SOCKETCAN
  368. DLT: Add Solaris ipnet
  369. Don't check for DLT_IPNET if it's not defined
  370. Add link-layer types for Fibre Channel FC-2
  371. Add link-layer types for Wireless HART
  372. Add link-layer types for AOS
  373. Add link-layer types for DECT
  374. Autoconf fixes (AIX, HP-UX, OSF/1, Tru64 cleanups)
  375. Install headers unconditionally, and include vlan.h/bluetooth.h if
  376. enabled
  377. Autoconf fixes+cleanup
  378. Support enabling/disabling bluetooth (--{en,dis}able-bluetooth)
  379. Support disabling SITA support (--without-sita)
  380. Return -1 on failure to create packet ring (if supported but
  381. creation failed)
  382. Fix handling of 'any' device, so that it can be opened, and no longer
  383. attempt to open it in Monitor mode
  384. Add support for snapshot length for USB Memory-Mapped Interface
  385. Fix configure and build on recent Linux kernels
  386. Fix memory-mapped Linux capture to support pcap_next() and
  387. pcap_next_ex()
  388. Fixes for Linux USB capture
  389. DLT: Add DLT_LINUX_EVDEV
  390. DLT: Add DLT_GSMTAP_UM
  391. DLT: Add DLT_GSMTAP_ABIS
  392. Mon. October 27, 2008. ken@netfunctional.ca. Summary for 1.0.0 libpcap release
  393. Compile with IPv6 support by default
  394. Compile with large file support on by default
  395. Add pcap-config script, which deals with -I/-L flags for compiling
  396. DLT: Add IPMB
  397. DLT: Add LAPD
  398. DLT: Add AX25 (AX.25 w/KISS header)
  399. DLT: Add JUNIPER_ST
  400. 802.15.4 support
  401. Variable length 802.11 header support
  402. X2E data type support
  403. SITA ACN Interface support - see README.sita
  404. Support for memory-mapped capture on Linux
  405. Support for zerocopy BPF on platforms that support it
  406. Support for setting buffer size when opening devices
  407. Support for setting monitor mode when opening 802.11 devices
  408. Better support for dealing with VLAN tagging/stripping on Linux
  409. Fix dynamic library support on OSX
  410. Return PCAP_ERROR_IFACE_NOT_UP if the interface isn't 'UP', so applications
  411. can print better diagnostic information
  412. Return PCAP_ERROR_PERM_DENIED if we don't have permission to open a device, so
  413. applications can tell the user they need to go play with permissions
  414. On Linux, ignore ENETDOWN so we can continue to capture packets if the
  415. interface goes down and comes back up again.
  416. On Linux, support new tpacket frame headers (2.6.27+)
  417. On Mac OS X, add scripts for changing permissions on /dev/bpf* and launchd plist
  418. On Solaris, support 'passive mode' on systems that support it
  419. Fixes to autoconf and general build environment
  420. Man page reorganization + cleanup
  421. Autogenerate VERSION numbers better
  422. Mon. September 10, 2007. ken@xelerance.com. Summary for 0.9.8 libpcap release
  423. Change build process to put public libpcap headers into pcap subir
  424. DLT: Add value for IPMI IPMB packets
  425. DLT: Add value for u10 Networks boards
  426. Require <net/pfvar.h> for pf definitions - allows reading of pflog formatted
  427. libpcap files on an OS other than where the file was generated
  428. Wed. April 25, 2007. ken@xelerance.com. Summary for 0.9.6 libpcap release
  429. Put the public libpcap headers into a pcap subdirectory in both the
  430. source directory and the target include directory, and have include
  431. files at the top-level directory to include those headers, for
  432. backwards compatibility.
  433. Add Bluetooth support
  434. Add USB capturing support on Linux
  435. Add support for the binary USB sniffing interface in Linux
  436. Add support for new FreeBSD BIOCSDIRECTION ioctl
  437. Add additional filter operations for 802.11 frame types
  438. Add support for filtering on MTP2 frame types
  439. Propagate some changes from the main branch, so the x.9 branch has
  440. all the DLT_ and LINKTYPE_ values that the main branch does
  441. Reserved a DLT_ and SAVEFILE_ value for PPI (Per Packet Info)
  442. encapsulated packets
  443. Add LINKTYPE_ for IEEE 802.15.4, with address fields padded as done
  444. by Linux drivers
  445. Add LINKTYPE_ value corresponding to DLT_IEEE802_16_MAC_CPS.
  446. Add DLT for IEEE 802.16 (WiMAX) MAC Common Part Sublayer
  447. Add DLT for Bluetooth HCI UART transport layer
  448. When building a shared library, build with "-fPIC" on Linux to support x86_64
  449. Link with "$(CC) -shared" rather than "ld -shared" when building a
  450. ".so" shared library
  451. Add support for autoconf 2.60
  452. Fixes to discard unread packets when changing filters
  453. Changes to handle name changes in the DAG library resulting from
  454. switching to libtool.
  455. Add support for new DAG ERF types.
  456. Add an explicit "-ldag" when building the shared library, so the DAG
  457. library dependency is explicit.
  458. Mac OSX fixes for dealing with "wlt" devices
  459. Fixes in add_or_find_if() & pcap_findalldevs() to optimize generating
  460. device lists
  461. Fixed a bug in pcap_open_live(). The return value of PacketSetHwFilter
  462. was not checked.
  463. Tue. September 19, 2006. ken@xelerance.com. Summary for 0.9.5 libpcap release
  464. Support for LAPD frames with vISDN
  465. Support for ERF on channelized T1/E1 cards via DAG API
  466. Fix capitalization that caused issues crossc compiling on Linux
  467. Better failure detection on PacketGetAdapterNames()
  468. Fixes for MPLS packet generation (link layer)
  469. OP_PACKET now matches the beginning of the packet, instead of
  470. beginning+link-layer
  471. Add DLT/LINKTYPE for carrying FRF.16 Multi-link Frame Relay
  472. Fix allocation of buffer for list of link-layer types
  473. Added a new DLT and LINKTYPE value for ARINC 653 Interpartition Communcation Messages
  474. Fixed a typo in a DLT value: it should start with DLT_ and not LINKTYPE_
  475. Redefined DLT_CAN20B and LINKTYPE_CAN20B as #190 (as this is the right value for CAN).
  476. Added definition for DLT_A429 and LINKTYPE_A429 as #184.
  477. Added a new DLT and LINKTYPE value for CAN v2.0B frames.
  478. Add support for DLT_JUNIPER_VP.
  479. Don't double-count received packets on Linux systems that
  480. support the PACKET_STATISTICS getsockopt() argument on
  481. PF_PACKET sockets.
  482. Add support for DLT_IEEE802_11 and DLT_IEEE802_11_RADIO link
  483. layers in Windows
  484. Add support to build libpcap.lib and wpcap.dll under Cygnus and
  485. MingW32.
  486. Mon. September 5, 2005. ken@xelerance.com. Summary for 0.9.4 libpcap release
  487. Support for radiotap on Linux (Mike Kershaw)
  488. Fixes for HP-UX
  489. Support for additional Juniper link-layer types
  490. Fixes for filters on MPLS-encapsulated packets
  491. "vlan" filter fixed
  492. "pppoed" and "pppoes" filters added; the latter modifies later
  493. parts of the filter expression to look at the PPP headers and
  494. headers in the PPP payload
  495. Tue. July 5, 2005. ken@xelerance.com. Summary for 0.9.3 libpcap release
  496. Fixes for compiling on nearly every platform,
  497. including improved 64bit support
  498. MSDOS Support
  499. Add support for sending packets
  500. OpenBSD pf format support
  501. IrDA capture (Linux only)
  502. Tue. March 30, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.3 release
  503. Fixed minor problem in gencode.c that would appear on 64-bit
  504. platforms.
  505. Version number is now sane.
  506. Mon. March 29, 2004. mcr@sandelman.ottawa.on.ca. Summary for 3.8.2 release
  507. updates for autoconf 2.5
  508. fixes for ppp interfaces for freebsd 4.1
  509. pcap gencode can generate code for 802.11, IEEE1394, and pflog.
  510. Wed. November 12, 2003. mcr@sandelman.ottawa.on.ca. Summary for 0.8 release
  511. added pcap_findalldevs()
  512. Win32 patches from NetGroup, Politecnico di Torino (Italy)
  513. OpenBSD pf, DLT_PFLOG added
  514. Many changes to ATM support.
  515. lookup pcap_lookupnet()
  516. Added DLT_ARCNET_LINUX, DLT_ENC, DLT_IEEE802_11_RADIO, DLT_SUNATM,
  517. DLT_IP_OVER_FC, DLT_FRELAY, others.
  518. Sigh. More AIX wonderfulness.
  519. Document updates.
  520. Changes to API: pcap_next_ex(), pcap_breakloop(), pcap_dump_flush(),
  521. pcap_list_datalinks(), pcap_set_datalink(),
  522. pcap_lib_version(), pcap_datalink_val_to_name(),
  523. pcap_datalink_name_to_val(), new error returns.
  524. Tuesday, February 25, 2003. fenner@research.att.com. 0.7.2 release
  525. Support link types that use 802.2 always, never, and sometimes.
  526. Don't decrease the size of the BPF buffer from the default.
  527. Support frame relay.
  528. Handle 32-bit timestamps in DLPI, and pass the right buffer size.
  529. Handle Linux systems with modern kernel but without
  530. SOL_PACKET in the userland headers.
  531. Linux support for ARPHRD_RAWHDLC.
  532. Handle 32-bit timestamps in snoop.
  533. Support eg (Octane/O2xxx/O3xxx Gigabit) devices.
  534. Add new reserved DLT types.
  535. Monday October 23, 2001. mcr@sandelman.ottawa.on.ca. Summary for 0.7 release
  536. Added pcap_findalldevs() call to get list of interfaces in a MI way.
  537. pcap_stats() has been documented as to what its counters mean on
  538. each platform.
  539. Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
  540. New Linux libpcap implementation, which, in 2.2 and later
  541. kernels, uses PF_PACKET sockets and supports kernel packet
  542. filtering (if compiled into the kernel), and supports the "any"
  543. device for capturing on all interfaces. Cleans up promiscuous
  544. mode better on pre-2.2 kernels, and has various other fixes
  545. (handles 2.4 ARPHRD_IEEE802_TR, handles ISDN devices better,
  546. doesn't show duplicate packets on loopback interface, etc.).
  547. Fixed HP-UX libpcap implementation to correctly get the PPA for
  548. an interface, to allow interfaces to be opened by interface name.
  549. libpcap savefiles have system-independent link-layer type values
  550. in the header, rather than sometimes platform-dependent DLT_
  551. values, to make it easier to exchange capture files between
  552. different OSes.
  553. Non-standard capture files produced by some Linux tcpdumps, e.g.
  554. the one from Red Hat Linux 6.2 and later, can now be read.
  555. Updated autoconf stock files.
  556. Filter expressions can filter on VLAN IDs and various OSI
  557. protocols, and work on Token Ring (with non-source-routed
  558. packets).
  559. "pcap_open_dead()" added to allow compiling filter expressions
  560. to pcap code without opening a capture device or capture file.
  561. Header files fixed to allow use in C++ programs.
  562. Removed dependancy on native headers for packet layout.
  563. Removed Linux specific headers that were shipped.
  564. Security fixes: Strcpy replaced with strlcpy, sprintf replaced
  565. with snprintf.
  566. Fixed bug that could cause subsequent "pcap_compile()"s to fail
  567. erroneously after one compile failed.
  568. Assorted other bug fixes.
  569. README.aix and README.linux files added to describe
  570. platform-specific issues.
  571. "getifaddrs()" rather than SIOCGIFCONF used, if available.
  572. v0.5 Sat Jun 10 11:09:15 PDT 2000
  573. itojun@iijlab.net
  574. - Brought in KAME IPv6/IPsec bpf compiler.
  575. - Fixes for NetBSD.
  576. - Support added for OpenBSD DLT_LOOP and BSD/OS DLT_C_HDLC (Cisco HDLC),
  577. and changes to work around different BSDs having different DLT_ types
  578. with the same numeric value.
  579. Assar Westerlund <assar@sics.se>
  580. - Building outside the source code tree fixed.
  581. - Changed to write out time stamps with 32-bit seconds and microseconds
  582. fields, regardless of whether those fields are 32 bits or 64 bits in
  583. the OS's native "struct timeval".
  584. - Changed "pcap_lookupdev()" to dynamically grow the buffer into which
  585. the list of interfaces is read as necessary in order to hold the
  586. entire list.
  587. Greg Troxel <gdt@ir.bbn.com>
  588. - Added a new "pcap_compile_nopcap()", which lets you compile a filter
  589. expression into a BPF program without having an open live capture or
  590. capture file.
  591. v0.4 Sat Jul 25 12:40:09 PDT 1998
  592. - Fix endian problem with DLT_NULL devices. From FreeBSD via Bill
  593. Fenner (fenner@parc.xerox.com)
  594. - Fix alignment problem with FDDI under DLPI. This was causing core
  595. dumps under Solaris.
  596. - Added configure options to disable flex and bison. Resulted from a
  597. bug report by barnett@grymoire.crd.ge.com (Bruce Barnett). Also added
  598. options to disable gcc and to force a particular packet capture type.
  599. - Added support for Fore ATM interfaces (qaa and fa) under IRIX. Thanks
  600. to John Hawkinson (jhawk@mit.edu)
  601. - Change Linux PPP and SLIP to use DLT_RAW since the kernel does not
  602. supply any "link layer" data.
  603. - Change Linux to use SIOCGIFHWADDR ioctl to determine link layer type.
  604. Thanks to Thomas Sailer (sailer@ife.ee.ethz.ch)
  605. - Change IRIX PPP to use DLT_RAW since the kernel does not supply any
  606. "link layer" data.
  607. - Modified to support the new BSD/OS 2.1 PPP and SLIP link layer header
  608. formats.
  609. - Added some new SGI snoop interface types. Thanks to Steve Alexander
  610. (sca@refugee.engr.sgi.com)
  611. - Fixes for HP-UX 10.20 (which is similar to HP-UX 9). Thanks to
  612. Richard Allen (ra@hp.is) and Steinar Haug (sthaug@nethelp.no)
  613. - Fddi supports broadcast as reported by Jeff Macdonald
  614. (jeff@iacnet.com). Also correct ieee802 and arcnet.
  615. - Determine Linux pcap buffer size at run time or else it might not be
  616. big enough for some interface types (e.g. FDDI). Thanks to Jes
  617. Sorensen (Jes.Sorensen@cern.ch)
  618. - Fix some linux alignment problems.
  619. - Document promisc argument to pcap_open_live(). Reported by Ian Marsh
  620. (ianm@sics.se)
  621. - Support Metricom radio packets under Linux. Thanks to Kevin Lai
  622. (laik@gunpowder.stanford.edu)
  623. - Bind to interface name under Linux to avoid packets from multiple
  624. interfaces on multi-homed hosts. Thanks to Kevin Lai
  625. (laik@gunpowder.stanford.edu)
  626. - Change L_SET to SEEK_SET for HP-UX. Thanks to Roland Roberts
  627. (rroberts@muller.com)
  628. - Fixed an uninitialized memory reference found by Kent Vander Velden
  629. (graphix@iastate.edu)
  630. - Fixed lex pattern for IDs to allow leading digits. As reported by
  631. Theo de Raadt (deraadt@cvs.openbsd.org)
  632. - Fixed Linux include file problems when using GNU libc.
  633. - Ifdef ARPHRD_FDDI since not all versions of the Linux kernel have it.
  634. Reported reported by Eric Jacksch (jacksch@tenebris.ca)
  635. - Fixed bug in pcap_dispatch() that kept it from returning on packet
  636. timeouts.
  637. - Changed ISLOOPBACK() macro when IFF_LOOPBACK isn't available to check
  638. for "lo" followed by an eos or digit (newer versions of Linux
  639. apparently call the loopback "lo" instead of "lo0").
  640. - Fixed Linux networking include files to use ints instead of longs to
  641. avoid problems with 64 bit longs on the alpha. Thanks to Cristian
  642. Gafton (gafton@redhat.com)
  643. v0.3 Sat Nov 30 20:56:27 PST 1996
  644. - Added Linux support.
  645. - Fixed savefile bugs.
  646. - Solaris x86 fix from Tim Rylance (t.rylance@elsevier.nl)
  647. - Add support for bpf kernel port filters.
  648. - Remove duplicate atalk protocol table entry. Thanks to Christian
  649. Hopps (chopps@water.emich.edu)
  650. - Fixed pcap_lookupdev() to ignore nonexistent devices. This was
  651. reported to happen under BSD/OS by David Vincenzetti
  652. (vince@cryptonet.it)
  653. - Avoid solaris compiler warnings. Thanks to Bruce Barnett
  654. (barnett@grymoire.crd.ge.com)
  655. v0.2.1 Sun Jul 14 03:02:26 PDT 1996
  656. - Fixes for HP-UX 10. Thanks in part to to Thomas Wolfram
  657. (wolf@prz.tu-berlin.de) and Rick Jones (raj@hpisrdq.cup.hp.com)
  658. - Added support for SINIX. Thanks to Andrej Borsenkow
  659. (borsenkow.msk@sni.de)
  660. - Fixes for AIX (although this system is not yet supported). Thanks to
  661. John Hawkinson (jhawk@mit.edu)
  662. - Use autoconf's idea of the top level directory in install targets.
  663. Thanks to John Hawkinson.
  664. - Add missing autoconf packet capture result message. Thanks to Bill
  665. Fenner (fenner@parc.xerox.com)
  666. - Fixed padding problems in the pf module.
  667. - Fixed some more alignment problems on the alpha.
  668. - Added explicit netmask support. Thanks to Steve Nuchia
  669. (steve@research.oknet.com)
  670. - Fixed to handle raw ip addresses such as 0.0.0.1 without "left
  671. justifing"
  672. - Add "sca" keyword (for DEC cluster services) as suggested by Terry
  673. Kennedy (terry@spcvxa.spc.edu)
  674. - Add "atalk" keyword as suggested by John Hawkinson.
  675. - Add "igrp" keyword.
  676. - Fixed HID definition in grammar.y to be a string, not a value.
  677. - Use $CC when checking gcc version. Thanks to Carl Lindberg
  678. (carl_lindberg@blacksmith.com)
  679. - Removed obsolete reference to pcap_immediate() from the man page.
  680. Michael Stolarchuk (mts@terminator.rs.itd.umich.edu)
  681. - DLT_NULL has a 4 byte family header. Thanks to Jeffrey Honig
  682. (jch@bsdi.com)
  683. v0.2 Sun Jun 23 02:28:42 PDT 1996
  684. - Add support for HP-UX. Resulted from code contributed by Tom Murray
  685. (tmurray@hpindck.cup.hp.com) and Philippe-Andri Prindeville
  686. (philipp@res.enst.fr)
  687. - Update INSTALL with a reminder to install include files. Thanks to
  688. Mark Andrews (mandrews@aw.sgi.com)
  689. - Fix bpf compiler alignment bug on the alpha.
  690. - Use autoconf to detect architectures that can't handle misaligned
  691. accesses.
  692. - Added loopback support for snoop. Resulted from report Steve
  693. Alexander (sca@engr.sgi.com)
  694. v0.1 Fri Apr 28 18:11:03 PDT 1995
  695. - Fixed compiler and optimizer bugs. The BPF filter engine uses unsigned
  696. comparison operators, while the code generator and optimizer assumed
  697. signed semantics in several places. Thanks to Charlie Slater
  698. (cslater@imatek.com) for pointing this out.
  699. - Removed FDDI ifdef's, they aren't really needed. Resulted from report
  700. by Gary Veum (veum@boa.gsfc.nasa.gov).
  701. - Add pcap-null.c which allows offline use of libpcap on systems that
  702. don't support live package capture. This feature resulting from a
  703. request from Jan van Oorschot (j.p.m.voorschot@et.tudelft.nl).
  704. - Make bpf_compile() reentrant. Fix thanks to Pascal Hennequin
  705. (Pascal.Hennequin@hugo.int-evry.fr).
  706. - Port to GNU autoconf.
  707. - Fix pcap-dlpi.c to work with isdn. Resulted from report by Flemming
  708. Johansen (fsj@csd.cri.dk).
  709. - Handle multi-digit interface unit numbers (aka ppa's) under dlpi.
  710. Resulted from report by Daniel Ehrlich (ehrlich@cse.psu.edu).
  711. - Fix pcap-dlpi.c to work in non-promiscuous mode. Resulted from report
  712. by Jeff Murphy (jcmurphy@acsu.buffalo.edu).
  713. - Add support for "long jumps". Thanks to Jeffrey Mogul
  714. (mogul@pa.dec.com).
  715. - Fix minor problems when compiling with BDEBUG as noticed by Scott
  716. Bertilson (scott@unet.umn.edu).
  717. - Declare sys_errlist "const char *const" to avoid problems under
  718. FreeBSD. Resulted from report by jher@eden.com.
  719. v0.0.6 Fri Apr 28 04:07:13 PDT 1995
  720. - Add missing variable declaration missing from 0.0.6
  721. v0.0.5 Fri Apr 28 00:22:21 PDT 1995
  722. - Workaround for problems when pcap_read() returns 0 due to the timeout
  723. expiring.
  724. v0.0.4 Thu Apr 20 20:41:48 PDT 1995
  725. - Change configuration to not use gcc v2 flags with gcc v1.
  726. - Fixed a bug in pcap_next(); if pcap_dispatch() returns 0, pcap_next()
  727. should also return 0. Thanks to Richard Stevens (rstevens@noao.edu).
  728. - Fixed configure to test for snoop before dlpi to avoid problems under
  729. IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
  730. - Hack around deficiency in Ultrix's make.
  731. - Fix two bugs related to the Solaris pre-5.3.2 bufmod bug; handle
  732. savefiles that have more than snapshot bytes of data in them (so we
  733. can read old savefiles) and avoid writing such files.
  734. - Added checkioctl which is used with gcc to check that the
  735. "fixincludes" script has been run.
  736. v0.0.3 Tue Oct 18 18:13:46 PDT 1994
  737. - Fixed configure to test for snoop before dlpi to avoid problems under
  738. IRIX 5. Thanks to J. Eric Townsend (jet@abulafia.genmagic.com).
  739. v0.0.2 Wed Oct 12 20:56:37 PDT 1994
  740. - Implement timeout in the dlpi pcap_open_live(). Thanks to Richard
  741. Stevens.
  742. - Determine pcap link type from dlpi media type. Resulted from report
  743. by Mahesh Jethanandani (mahesh@npix.com).
  744. v0.0.1 Fri Jun 24 14:50:57 PDT 1994
  745. - Fixed bug in nit_setflags() in pcap-snit.c. The streams ioctl timeout
  746. wasn't being initialized sometimes resulting in an "NIOCSFLAGS:
  747. Invalid argument" error under OSF/1. Reported by Matt Day
  748. (mday@artisoft.com) and Danny Mitzel (dmitzel@whitney.hitc.com).
  749. - Turn on FDDI support by default.
  750. v0.0 Mon Jun 20 19:20:16 PDT 1994
  751. - Initial release.
  752. - Fixed bug with greater/less keywords, reported by Mark Andrews
  753. (mandrews@alias.com).
  754. - Fix bug where '|' was defined as BPF_AND instead of BPF_OR, reported
  755. by Elan Amir (elan@leeb.cs.berkeley.edu).
  756. - Machines with little-endian byte ordering are supported thanks to
  757. Jeff Mogul.
  758. - Add hack for version 2.3 savefiles which don't have caplen and len
  759. swapped thanks to Vern Paxson.
  760. - Added "&&" and "||" aliases for "and" and "or" thanks to Vern Paxson.
  761. - Added length, inbound and outbound keywords.