--- - branch: MAIN date: Thu Feb 2 18:08:29 UTC 2017 files: - new: '1.43' old: '1.42' path: pkgsrc/net/tcpdump/Makefile pathrev: pkgsrc/net/tcpdump/Makefile@1.43 type: modified - new: '1.25' old: '1.24' path: pkgsrc/net/tcpdump/distinfo pathrev: pkgsrc/net/tcpdump/distinfo@1.25 type: modified id: 20170202T180829Z.8aa80f1d289e8fdb69ebd20dc85692f63ffc5223 log: "tcpdump: update to 4.9.0\n\nfixes the most crazy number of buffer overflow CVEs in printing\nfunctions (41 of them).\n\nchangelog\nWednesday January 18, 2017 devel.fx.lebail@orange.fr\n Summary for 4.9.0 tcpdump release\n General updates:\n Improve separation frontend/backend (tcpdump/libnetdissect)\n Don't require IPv6 library support in order to support IPv6 addresses\n Introduce data types to use for integral values in packet structures\n Fix display of timestamps with -tt, -ttt and -ttttt options\n Fix some heap overflows found with American Fuzzy Lop by Hanno Boeck and others\n (More information in the log with CVE-2016-* and CVE-2017-*)\n Change the way protocols print link-layer addresses (Fix heap overflows\n in CALM-FAST and GeoNetworking printers)\n \ Pass correct caplen value to ether_print() and some other functions\n Fix lookup_nsap() to match what isonsap_string() expects\n Clean up relative time stamp printing (Fix an array overflow)\n Fix some alignment issues with GCC on Solaris 10 SPARC\n Add some ND_TTEST_/ND_TCHECK_ macros to simplify writing bounds checks\n Add a fn_printztn() which returns the number of bytes processed\n \ Add nd_init() and nd_cleanup() functions. Improve libsmi support\n Add CONTRIBUTING file\n Add a summary comment in all printers\n Compile with more warning options in devel mode if supported (-Wcast-qual, ...)\n Fix some leaks found by Valgrind/Memcheck\n Fix a bunch of de-constifications\n Squelch some Coverity warnings and some compiler warnings\n Update Coverity and Travis-CI setup\n Update Visual Studio files\n\n Frontend:\n Fix capsicum support to work with zerocopy buffers in bpf\n Try opening interfaces by name first, then by name-as-index\n Work around pcap_create() failures fetching time stamp type lists\n Fix a segmentation fault with 'tcpdump -J'\n Improve addrtostr6() bounds checking\n Add exit_tcpdump() function\n Don't drop CAP_SYS_CHROOT before chrooting\n Fixes issue where statistics not reported when -G and -W options used\n\n New printers supporting:\n Generic Protocol Extension for VXLAN (VXLAN-GPE)\n Home Networking Control Protocol (HNCP), RFCs 7787 and 7788\n Locator/Identifier Separation Protocol (LISP), type 3 and type 4 packets\n \ Marvell Extended Distributed Switch Architecture header (MEDSA)\n Network Service Header (NSH)\n REdis Serialization Protocol (RESP)\n\n Updated printers:\n \ 802.11: Beginnings of 11ac radiotap support\n 802.11: Check the Protected bit for management frames\n 802.11: Do bounds checking on last_presentp before dereferencing it (Fix a heap overflow)\n 802.11: Fix the radiotap printer to handle the special bits correctly\n 802.11: If we have the MCS field, it's 11n\n 802.11: Only print unknown frame type or subtype messages once\n 802.11: Radiotap dBm values get printed as dB; Update a test output accordingly\n 802.11: Source and destination addresses were backwards\n AH: Add a bounds check\n \ AH: Report to our caller that dissection failed if a bounds check fails\n \ AP1394: Print src > dst, not dst > src\n ARP: Don't assume the target hardware address is <= 6 octets long (Fix a heap overflow)\n ATALK: Add bounds and length checks (Fix heap overflows)\n ATM: Add some bounds checks (Fix a heap overflow)\n \ ATM: Fix an incorrect bounds check\n BFD: Update specification from draft to RFC 5880\n BFD: Update to print optional authentication field\n BGP: Add decoding of ADD-PATH capability\n BGP: Add support for the AIGP attribute (RFC7311)\n BGP: Print LARGE_COMMUNITY Path Attribute\n BGP: Update BGP numbers from IANA; Print minor values for FSM notification\n BOOTP: Add a bounds check\n Babel: Add decoder for source-specific extension\n CDP: Filter out non-printable characters\n CFM: Fixes to match the IEEE standard, additional bounds and length checks\n CSLIP: Add more bounds checks (Fix a heap overflow)\n \ ClassicalIPoATM: Add a bounds check on LLC+SNAP header (Fix a heap overflow)\n \ DHCP: Fix MUDURL and TZ options\n DHCPv6: Process MUDURL and TZ options\n \ DHCPv6: Update Status Codes with RFCs/IANA names\n DNS: Represent the \"DNSSEC OK\" bit as \"DO\" instead of \"OK\". Add a test case\n DTP: Improve packet integrity checks\n EGP: Fix bounds checks\n ESP: Don't use OpenSSL_add_all_algorithms() in OpenSSL 1.1.0 or later\n ESP: Handle OpenSSL 1.1.x\n Ethernet: Add some bounds checking before calling isoclns_print (Fix a heap overflow)\n Ethernet: Print the Length/Type field as length when needed\n FDDI: Fix -e output for FDDI\n FR: Add some packet-length checks and improve Q.933 printing (Fix heap overflows)\n GRE: Add some bounds checks (Fix heap overflows)\n Geneve: Fix error message with invalid option length; Update list option classes\n HNCP: Fix incorrect time interval format. Fix handling of IPv4 prefixes\n ICMP6: Fetch a 32-bit big-endian quantity with EXTRACT_32BITS()\n ICMP6: dagid is always an IPv6 address, not an opaque 128-bit string\n IGMP: Add a length check\n \ IP: Add a bounds check (Fix a heap overflow)\n IP: Check before fetching the protocol version (Fix a heap overflow)\n IP: Don't try to dissect if IP version != 4 (Fix a heap overflow)\n IP: Stop processing IPPROTO_ values once we hit IPPROTO_IPCOMP\n IPComp: Check whether we have the CPI before we fetch it (Fix a heap overflow)\n IPoFC: Fix -e output (IP-over-Fibre Channel)\n IPv6: Don't overwrite the destination IPv6 address for routing headers\n IPv6: Fix header printing\n IPv6: Stop processing IPPROTO_ values once we hit IPPROTO_IPCOMP\n \ ISAKMP: Clean up parsing of IKEv2 Security Associations\n ISOCLNS/IS-IS: Add support for Purge Originator Identifier (RFC6232) and test cases\n ISOCLNS/IS-IS: Don't overwrite packet data when checking the signature\n ISOCLNS/IS-IS: Filter out non-printable characters\n ISOCLNS/IS-IS: Fix segmentation faults\n ISOCLNS/IS-IS: Have signature_verify() do the copying and clearing\n ISOCLNS: Add some bounds checks\n Juniper: Make sure a Juniper header TLV isn't bigger than what's left in the packet (Fix a heap overflow)\n LLC/SNAP: With -e, print the LLC header before the SNAP header; without it, cut the SNAP header\n LLC: Add a bounds check (Fix a heap overflow)\n LLC: Clean up printing of LLC packets\n LLC: Fix the printing of RFC 948-style IP packets\n LLC: Skip the LLC and SNAP headers with -x for 802.11 and some other protocols\n LLDP: Implement IANA OUI and LLDP MUD option\n MPLS LSP ping: Update printing for RFC 4379, bug fixes, more bounds checks\n MPLS: \"length\" is now the *remaining* packet length\n MPLS: Add bounds and length checks (Fix a heap overflow)\n NFS: Add a test that makes unaligned accesses\n NFS: Don't assume the ONC RPC header is nicely aligned\n \ NFS: Don't overflow the Opaque_Handle buffer (Fix a segmentation fault)\n \ NFS: Don't run past the end of an NFSv3 file handle\n OLSR: Add a test to cover a HNA sgw case\n OLSR: Fix 'Advertised networks' count\n OLSR: Fix printing of smart-gateway HNAs in IPv4\n OSPF: Add a bounds check for the Hello packet options\n OSPF: Do more bounds checking\n OSPF: Fix a segmentation fault\n OSPF: Fix printing 'ospf_topology_values' default\n OTV: Add missing bounds checks\n PGM: Print the formatted IP address, not the raw binary address, as a string\n PIM: Add some bounds checking (Fix a heap overflow)\n PIMv2: Fix checksumming of Register messages\n PPI: Pass an adjusted struct pcap_pkthdr to the sub-printer\n PPP: Add some bounds checks (Fix a heap overflow)\n PPP: Report invalid PAP AACK/ANAK packets\n Q.933: Add a missing bounds check\n \ RADIUS: Add Value 13 \"VLAN\" to Tunnel-Type attribute\n RADIUS: Filter out non-printable characters\n RADIUS: Translate UDP/1700 as RADIUS\n RESP: Do better checking of RESP packets\n RPKI-RTR: Add a return value check for \"fn_printn\" call\n RPKI-RTR: Remove printing when truncated condition already detected\n RPL: Fix 'Consistency Check' control code\n RPL: Fix suboption print\n RSVP: An INTEGRITY object in a submessage covers only the submessage\n \ RSVP: Fix an infinite loop; Add bounds and length checks\n RSVP: Fix some if statements missing brackets\n RSVP: Have signature_verify() do the copying and clearing\n RTCP: Add some bounds checks\n RTP: Add some bounds checks, fix two segmentation faults\n SCTP: Do more bounds checking\n SFLOW: Fix bounds checking\n SLOW: Fix bugs, add checks\n SMB: Before fetching the flags2 field, make sure we have it\n SMB: Do bounds checks on NBNS resource types and resource data lengths\n SNMP: Clean up the \"have libsmi but no modules loaded\" case\n SNMP: Clean up the object abbreviation list and fix the code to match them\n SNMP: Do bounds checks when printing character and octet strings\n \ SNMP: Improve ASN.1 bounds checks\n SNMP: More bounds and length checks\n \ STP: Add a bunch of bounds checks, and fix some printing (Fix heap overflows)\n \ STP: Filter out non-printable characters\n TCP: Add bounds and length checks for packets with TCP option 20\n TCP: Correct TCP option Kind value for TCP Auth and add SCPS-TP\n TCP: Fix two bounds checks (Fix heap overflows)\n TCP: Make sure we have the data offset field before fetching it (Fix a heap overflow)\n \ TCP: Put TCP-AO option decoding right\n TFTP: Don't use strchr() to scan packet data (Fix a heap overflow)\n Telnet: Add some bounds checks\n TokenRing: Fix -e output\n UDLD: Fix an infinite loop\n UDP: Add a bounds check (Fix a heap overflow)\n UDP: Check against the packet length first\n UDP: Don't do the DDP-over-UDP heuristic check up front\n VAT: Add some bounds checks\n \ VTP: Add a test on Mgmt Domain Name length\n VTP: Add bounds checks and filter out non-printable characters\n VXLAN: Add a bound check and a test case\n \ ZeroMQ: Fix an infinite loop\n\nTuesday October 25, 2016 mcr@sandelman.ca\n \ Summary for 4.8.1 tcpdump release\n\tFix \"-x\" for Apple PKTAP and PPI packets\n \ Use PRIx64 to print a 64-bit number in hex.\n Printer for HNCP (RFCs 7787 and 7788).\n dagid is always an IPv6 address, not an opaque 128-bit string, and other fixes to RPL printer.\n RSVP: Add bounds and length checks\n OSPF: Do more bounds checking\n Handle OpenSSL 1.1.x.\n \ Initial support for the REdis Serialization Protocol known as RESP.\n \ Add printing function for Generic Protocol Extension for VXLAN\n draft-ietf-nvo3-vxlan-gpe-01\n \ Network Service Header: draft-ietf-sfc-nsh-01\n Don't recompile the filter if the new file has the same DLT.\n Pass an adjusted struct pcap_pkthdr to the sub-printer.\n Add three test cases for already fixed CVEs\n CVE-2014-8767: OLSR\n CVE-2014-8768: Geonet\n CVE-2014-8769: AODV\n Don't do the DDP-over-UDP heuristic first: GitHub issue #499.\n \ Use the new debugging routines in libpcap.\n Harmonize TCP source or destination ports tests with UDP ones\n Introduce data types to use for integral values in packet structures.\n RSVP: Fix an infinite loop\n \ Support of Type 3 and Type 4 LISP packets.\n Don't require IPv6 library support in order to support IPv6 addresses.\n Many many changes to support libnetdissect usage.\n Add a test that makes unaligned accesses: GitHub issue #478.\n add a DNSSEC test case: GH #445 and GH #467.\n BGP: add decoding of ADD-PATH capability\n fixes to LLC header printing, and RFC948-style IP packets ----------------------------------------------------------------------\n" module: pkgsrc subject: 'CVS commit: pkgsrc/net/tcpdump' unixtime: '1486058909' user: maya