1*bd1f8aebSAndroid Build Coastguard Worker[s20121221] 2*bd1f8aebSAndroid Build Coastguard Worker 3*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (14): 4*bd1f8aebSAndroid Build Coastguard Worker ninfod: Use unsigned int for digest. 5*bd1f8aebSAndroid Build Coastguard Worker ninfod: nanosleep(3) needs <time.h>. 6*bd1f8aebSAndroid Build Coastguard Worker ninfod: Too many arguments for syslog(3)/fprintf(3) via DEBUG(). 7*bd1f8aebSAndroid Build Coastguard Worker ninfod: Fix several warnings on ununsed variables. 8*bd1f8aebSAndroid Build Coastguard Worker ping6: Print unknown ICMP type. 9*bd1f8aebSAndroid Build Coastguard Worker ping6: Fix flowlabel switch (-F option). 10*bd1f8aebSAndroid Build Coastguard Worker arping: Fix sysfs decimal/hexadecimal parser for libsysfs support. 11*bd1f8aebSAndroid Build Coastguard Worker ping6: Use GNU TLS by default. 12*bd1f8aebSAndroid Build Coastguard Worker ninfod: Fix memory leakage in error path. 13*bd1f8aebSAndroid Build Coastguard Worker ninfod: Fix off-by-one error to check possible programming error (again). 14*bd1f8aebSAndroid Build Coastguard Worker ninfod: Do not expose freed buffer to caller. 15*bd1f8aebSAndroid Build Coastguard Worker ping6: Ensure to initialize msghdr. 16*bd1f8aebSAndroid Build Coastguard Worker ninfod: Support GNU TLS. 17*bd1f8aebSAndroid Build Coastguard Worker ninfod: Allow printing usage without permission errors. 18*bd1f8aebSAndroid Build Coastguard Worker 19*bd1f8aebSAndroid Build Coastguard Worker 20*bd1f8aebSAndroid Build Coastguard Worker[s20121207] 21*bd1f8aebSAndroid Build Coastguard Worker 22*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (2): 23*bd1f8aebSAndroid Build Coastguard Worker RELNOTES: Typos. 24*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Check outgoing device only if specified. 25*bd1f8aebSAndroid Build Coastguard Worker 26*bd1f8aebSAndroid Build Coastguard Worker 27*bd1f8aebSAndroid Build Coastguard Worker[s20121205] 28*bd1f8aebSAndroid Build Coastguard Worker 29*bd1f8aebSAndroid Build Coastguard WorkerJan Synacek (1): 30*bd1f8aebSAndroid Build Coastguard Worker ping,tracepath doc: Fix missing end tags. 31*bd1f8aebSAndroid Build Coastguard Worker 32*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (35): 33*bd1f8aebSAndroid Build Coastguard Worker tracepath6: packet length option (-l) did not have any effect. 34*bd1f8aebSAndroid Build Coastguard Worker tracepath,tracepath6: Fix pktlen message. 35*bd1f8aebSAndroid Build Coastguard Worker tracepath,tracepath6: Use calloc(3) instead of using stack. 36*bd1f8aebSAndroid Build Coastguard Worker tracepath6: Ignore families other than IPv4 and IPv6. 37*bd1f8aebSAndroid Build Coastguard Worker ping6: Improve randomness of NI Nonce. 38*bd1f8aebSAndroid Build Coastguard Worker tracepath,tracepath6 doc: Fix default pktlen. 39*bd1f8aebSAndroid Build Coastguard Worker ping,rdisc: Optimize checksumming. 40*bd1f8aebSAndroid Build Coastguard Worker makefile: Static link support for crypto, resolv, cap and sysfs. 41*bd1f8aebSAndroid Build Coastguard Worker doc: Ajdust spaces around sqare brackets. 42*bd1f8aebSAndroid Build Coastguard Worker ping,rdisc: Use macro to get odd byte when checksumming. 43*bd1f8aebSAndroid Build Coastguard Worker ping6: Do not try to free memory pointed by uninitialized variable on error path. 44*bd1f8aebSAndroid Build Coastguard Worker arping: Allow building without default interface. 45*bd1f8aebSAndroid Build Coastguard Worker arping: No default interface by default. 46*bd1f8aebSAndroid Build Coastguard Worker arping: Allow printing usage without permission errors. 47*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Allow printing usage without permission errors. 48*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Fix cap_t leakage. 49*bd1f8aebSAndroid Build Coastguard Worker arping,ping,ping6: Do not ideologically check return value from cap_free,cap_{set,get}_flag(). 50*bd1f8aebSAndroid Build Coastguard Worker arping: Fix sysfs_class leakage on error path. 51*bd1f8aebSAndroid Build Coastguard Worker arping: Some comments for new functions for finding devices support. 52*bd1f8aebSAndroid Build Coastguard Worker arping: Typo in type declaration. 53*bd1f8aebSAndroid Build Coastguard Worker makefile: Use call function for external libraries. 54*bd1f8aebSAndroid Build Coastguard Worker makefile: Add more comments. 55*bd1f8aebSAndroid Build Coastguard Worker arping: Ensure to fail if no appropriate device found with sysfs. 56*bd1f8aebSAndroid Build Coastguard Worker arping: Enforce user to specify device (-I) if multiple devices found. 57*bd1f8aebSAndroid Build Coastguard Worker Makefile: parameterize options for linking libraries. 58*bd1f8aebSAndroid Build Coastguard Worker Makefile: Use shell function instead if backquotes. 59*bd1f8aebSAndroid Build Coastguard Worker Makefile: Ensure to have same date when making snapshot. 60*bd1f8aebSAndroid Build Coastguard Worker spec: Maintainer does not use ipsec.spec. 61*bd1f8aebSAndroid Build Coastguard Worker spec: partially sync with fedora. 62*bd1f8aebSAndroid Build Coastguard Worker Makefile: Bump date in iputils.spec as well. 63*bd1f8aebSAndroid Build Coastguard Worker spec: Add exmple lines for suid-root installation 64*bd1f8aebSAndroid Build Coastguard Worker spec: Sort changelog. 65*bd1f8aebSAndroid Build Coastguard Worker ping: Exit on SO_BINDTODEVICE failure. 66*bd1f8aebSAndroid Build Coastguard Worker ping: Warn if kernel has selected source address from other interface. 67*bd1f8aebSAndroid Build Coastguard Worker ping: Clarify difference between -I device and -I addr. 68*bd1f8aebSAndroid Build Coastguard Worker 69*bd1f8aebSAndroid Build Coastguard Worker 70*bd1f8aebSAndroid Build Coastguard Worker[s20121126] 71*bd1f8aebSAndroid Build Coastguard Worker 72*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (5): 73*bd1f8aebSAndroid Build Coastguard Worker tracepath: Repair tracepath without -p option. 74*bd1f8aebSAndroid Build Coastguard Worker tracepath,tracepath6: -p option in usage. 75*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Use MAX_DUP_CHK directly, not using mx_dup_chk variable. 76*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Abstract received bitmap macros/definitions. 77*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Use __u64 or __u32 for bitmap. 78*bd1f8aebSAndroid Build Coastguard Worker 79*bd1f8aebSAndroid Build Coastguard Worker 80*bd1f8aebSAndroid Build Coastguard Worker[s20121125] 81*bd1f8aebSAndroid Build Coastguard Worker 82*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (30): 83*bd1f8aebSAndroid Build Coastguard Worker ping6: Use IN6_IS_ADDR_UNSPECIFIED() instead of our own helper function. 84*bd1f8aebSAndroid Build Coastguard Worker ping6 doc: Explicitly describe ping6 is IPv6 version if ping. 85*bd1f8aebSAndroid Build Coastguard Worker ping6: Deprecate source routing by default (RFC5095). 86*bd1f8aebSAndroid Build Coastguard Worker ping6: Use RFC3542 functions and definition for source routing. 87*bd1f8aebSAndroid Build Coastguard Worker ping6: Introduce niquery_is_enabled() for readability. 88*bd1f8aebSAndroid Build Coastguard Worker arping doc: interface is optional (-I option). 89*bd1f8aebSAndroid Build Coastguard Worker ping: Eliminate dirty hack to cope with ancient egcs bug. 90*bd1f8aebSAndroid Build Coastguard Worker Makefile: Fix missing right parenthes in comment. 91*bd1f8aebSAndroid Build Coastguard Worker arping: Fix build failure with USE_SYSFS=yes and/or WITHOUT_IFADDRS=yes 92*bd1f8aebSAndroid Build Coastguard Worker arping: Unify source files. 93*bd1f8aebSAndroid Build Coastguard Worker arping: Reorder functions and comment out unsued code. 94*bd1f8aebSAndroid Build Coastguard Worker arping,ping,ping6,tracepath,traceroute6 Makefile: Support static link of libidn by USE_IDN=static. 95*bd1f8aebSAndroid Build Coastguard Worker Makefile: Minimize statically linked libraries. 96*bd1f8aebSAndroid Build Coastguard Worker ping6: Do not clear seq check array twice for NI. 97*bd1f8aebSAndroid Build Coastguard Worker ping6: Use MD5_DIGEST_LENGTH instead of magic value 16. 98*bd1f8aebSAndroid Build Coastguard Worker ping6: Introduce helper functions for nonce in NI. 99*bd1f8aebSAndroid Build Coastguard Worker ping6: Introduce NI_NONCE_SIZE macro instead of magic value 8. 100*bd1f8aebSAndroid Build Coastguard Worker ping6: Ensure to call srand() to get some randomness in NI Nonce. 101*bd1f8aebSAndroid Build Coastguard Worker ping6: Generate different NI Nonce in each NI Query (Memory version). 102*bd1f8aebSAndroid Build Coastguard Worker ping6: Generate different NI Nonce in each NI Query (MD5 version). 103*bd1f8aebSAndroid Build Coastguard Worker ping6: Cache NI Nonce. 104*bd1f8aebSAndroid Build Coastguard Worker ping6: Print 'sequence number' embedded in NI Nonce. 105*bd1f8aebSAndroid Build Coastguard Worker ninfod: Do noy try to memcpy to self. 106*bd1f8aebSAndroid Build Coastguard Worker ninfod Makefile: More precise dependencies. 107*bd1f8aebSAndroid Build Coastguard Worker ninfod: Discard multicat packet outside linklocal scope. 108*bd1f8aebSAndroid Build Coastguard Worker ninfod: Apply default policy to refuse queries from global addresses. 109*bd1f8aebSAndroid Build Coastguard Worker ninfod: Normalize timespec for delay. 110*bd1f8aebSAndroid Build Coastguard Worker ninfod: Fix double-free without pthreads. 111*bd1f8aebSAndroid Build Coastguard Worker ninfod: Do not mix output from multiple threads. 112*bd1f8aebSAndroid Build Coastguard Worker ninfod: Employ internal buffer in stderrlog() for common case. 113*bd1f8aebSAndroid Build Coastguard Worker 114*bd1f8aebSAndroid Build Coastguard Worker 115*bd1f8aebSAndroid Build Coastguard Worker[s20121121] 116*bd1f8aebSAndroid Build Coastguard Worker 117*bd1f8aebSAndroid Build Coastguard WorkerJan Synacek (2): 118*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Add newline to error message. 119*bd1f8aebSAndroid Build Coastguard Worker ping: Don't free an unintialized value. 120*bd1f8aebSAndroid Build Coastguard Worker 121*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (31): 122*bd1f8aebSAndroid Build Coastguard Worker arping,clockdiff,ping,rarpd,rdisc,traceroute6 doc: s/CAP_NET_RAWIO/CAP_NET_RAW/. 123*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Do not assume radix point is denoted by '.' (-i option). 124*bd1f8aebSAndroid Build Coastguard Worker arping,ping,ping6,rdisc,traceroute6: Fix version string. 125*bd1f8aebSAndroid Build Coastguard Worker makefile: Give -fno-strict-aliasing to compiler by default. 126*bd1f8aebSAndroid Build Coastguard Worker ping6: Use SCOPE_DELIMITER. 127*bd1f8aebSAndroid Build Coastguard Worker Makefile: Remove -lm from ADDLIB. 128*bd1f8aebSAndroid Build Coastguard Worker rdisc_srv,Makefile: Fix build. 129*bd1f8aebSAndroid Build Coastguard Worker rdisc_srv,Makefile: Build rdisc_srv with make all. 130*bd1f8aebSAndroid Build Coastguard Worker arping: set_device_broadcast() does not need to store return value of sub-functions. 131*bd1f8aebSAndroid Build Coastguard Worker arping,Makefile: Make default interface configurable. 132*bd1f8aebSAndroid Build Coastguard Worker arping: Do not allow empty device name (-I option). 133*bd1f8aebSAndroid Build Coastguard Worker arping: Introduce check_ifflags() helper function. 134*bd1f8aebSAndroid Build Coastguard Worker arping: Introduce device structure to hold output device information. 135*bd1f8aebSAndroid Build Coastguard Worker arping: ALlow no default interface and select one by getifaddrs(). 136*bd1f8aebSAndroid Build Coastguard Worker arping: Introduce 2nd (legacy) method to select interface by ioctls. 137*bd1f8aebSAndroid Build Coastguard Worker arping,Makefile: Allow build without getifaddrs() with WITHOUT_IFADDRS=yes. 138*bd1f8aebSAndroid Build Coastguard Worker Makefile: Use $< instead of $^ to complile C source code. 139*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Reorder command-line options in alphabetical order. 140*bd1f8aebSAndroid Build Coastguard Worker ping6: Show suboptions for Node Information Queries if -N suboption is invalid. 141*bd1f8aebSAndroid Build Coastguard Worker ping,ping6 doc: Readability for TOS (-Q) option. 142*bd1f8aebSAndroid Build Coastguard Worker rdisc: Missing new line after usage. 143*bd1f8aebSAndroid Build Coastguard Worker rdisc: Make rdisc with responder support if configured. 144*bd1f8aebSAndroid Build Coastguard Worker Makefile: distclean depends on clean. 145*bd1f8aebSAndroid Build Coastguard Worker Makefile: Default to -O3. 146*bd1f8aebSAndroid Build Coastguard Worker Makefile: Minimize options to gcc. 147*bd1f8aebSAndroid Build Coastguard Worker Makefile: Add rule to build assembly files. 148*bd1f8aebSAndroid Build Coastguard Worker arping,Makefile: 3rd legacy implementation to check network devices. 149*bd1f8aebSAndroid Build Coastguard Worker arping: Less ifdefs. 150*bd1f8aebSAndroid Build Coastguard Worker rdisc doc: Document -r, -p and -T options. 151*bd1f8aebSAndroid Build Coastguard Worker ping6: NI Subjecet address did not work (-N subject-{ipv6,ipv4] suboptions). 152*bd1f8aebSAndroid Build Coastguard Worker ping6: Ensure to detect subject type conflicts. 153*bd1f8aebSAndroid Build Coastguard Worker 154*bd1f8aebSAndroid Build Coastguard Worker 155*bd1f8aebSAndroid Build Coastguard Worker[s20121114] 156*bd1f8aebSAndroid Build Coastguard Worker 157*bd1f8aebSAndroid Build Coastguard WorkerJan Synacek (2): 158*bd1f8aebSAndroid Build Coastguard Worker clockdiff: remove unused variable 159*bd1f8aebSAndroid Build Coastguard Worker ping: Wrap SO_BINDTODEVICE with the correct capability. 160*bd1f8aebSAndroid Build Coastguard Worker 161*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (13): 162*bd1f8aebSAndroid Build Coastguard Worker ping: IP_MULTICAST_IF does not need CAP_NET_RAW. 163*bd1f8aebSAndroid Build Coastguard Worker ping6: Check ranges of flowlabel (-F option) and tclass (-Q option) arguments. 164*bd1f8aebSAndroid Build Coastguard Worker ping6: Accept 0x-notation for flowlabel (-F option) and tclass (-Q option) arguments. 165*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Manual update regarding -F, -Q and -N option. 166*bd1f8aebSAndroid Build Coastguard Worker arping,ping,ping6: Defer exitting to allow users to see usage. 167*bd1f8aebSAndroid Build Coastguard Worker arping,ping,ping6,ninfod: Change euid to uid (non-root) even if capabiliy is enabled. 168*bd1f8aebSAndroid Build Coastguard Worker ninfod: Add configure. 169*bd1f8aebSAndroid Build Coastguard Worker ninfod: libcap support to drop capabilities. 170*bd1f8aebSAndroid Build Coastguard Worker ninfod: Add run as user (-u user) option. 171*bd1f8aebSAndroid Build Coastguard Worker ninfod: Fix usage message. 172*bd1f8aebSAndroid Build Coastguard Worker arping,clockdiff,rarpd,rdisc,tftpd: Change RFC source to tools.ietf.org. 173*bd1f8aebSAndroid Build Coastguard Worker ninfod: Add ninfod(8) manpage. 174*bd1f8aebSAndroid Build Coastguard Worker makefile: Add ninfod, distclean targets. 175*bd1f8aebSAndroid Build Coastguard Worker 176*bd1f8aebSAndroid Build Coastguard Worker 177*bd1f8aebSAndroid Build Coastguard Worker[s20121112] 178*bd1f8aebSAndroid Build Coastguard Worker 179*bd1f8aebSAndroid Build Coastguard WorkerSergey Fionov (1): 180*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Fallback to numeric addresses while exiting 181*bd1f8aebSAndroid Build Coastguard Worker 182*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (18): 183*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Rework capability support and Make sure -m and -I options work. 184*bd1f8aebSAndroid Build Coastguard Worker ping,tracepath: Spelling fixes in manpages. 185*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Fix integer overflow with large interval value (-i option). 186*bd1f8aebSAndroid Build Coastguard Worker clockdiff: Make it work with large pid. 187*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Make in_pr_addr volatile. 188*bd1f8aebSAndroid Build Coastguard Worker arping: Do not quit too early with large deadline value (-w option). 189*bd1f8aebSAndroid Build Coastguard Worker arping: Maintain minimum capabilities for SO_BINDTODEVICE(-I option). 190*bd1f8aebSAndroid Build Coastguard Worker ping: Fix recorded route comparison. 191*bd1f8aebSAndroid Build Coastguard Worker arping: Use getifaddrs() to get broadcast address. 192*bd1f8aebSAndroid Build Coastguard Worker ping6: Fix typo in error message. 193*bd1f8aebSAndroid Build Coastguard Worker ping6: Generate NI Group Address and Subject Name at once. 194*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Unmask signals on start-up. 195*bd1f8aebSAndroid Build Coastguard Worker arping: Build with USE_CAP=no. 196*bd1f8aebSAndroid Build Coastguard Worker arping,ping,ping6,tracepath,tracepath6,traceroute6: Experimental IDN support. 197*bd1f8aebSAndroid Build Coastguard Worker ping6: IDN support for the Subject Name in NI Query. 198*bd1f8aebSAndroid Build Coastguard Worker tracepath,tracepath6: Introduce -p option for port. 199*bd1f8aebSAndroid Build Coastguard Worker ping6: Add missing definitions/declarations for flowlabel management (-F option). 200*bd1f8aebSAndroid Build Coastguard Worker makefile: Do not include merge commits in RELNOTES. 201*bd1f8aebSAndroid Build Coastguard Worker 202*bd1f8aebSAndroid Build Coastguard Worker 203*bd1f8aebSAndroid Build Coastguard Worker[s20121106] 204*bd1f8aebSAndroid Build Coastguard Worker 205*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (5): 206*bd1f8aebSAndroid Build Coastguard Worker ninfod: Attatch configure and renew config.h.in. 207*bd1f8aebSAndroid Build Coastguard Worker makefile: clean-up 208*bd1f8aebSAndroid Build Coastguard Worker tracepath6: Print reason on getadrinfo() failure. 209*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Fix hang with -f option. 210*bd1f8aebSAndroid Build Coastguard Worker ping: Make sure to print C if checksum failed with -f option. 211*bd1f8aebSAndroid Build Coastguard Worker 212*bd1f8aebSAndroid Build Coastguard Worker 213*bd1f8aebSAndroid Build Coastguard Worker[s20121011] 214*bd1f8aebSAndroid Build Coastguard Worker 215*bd1f8aebSAndroid Build Coastguard WorkerJan Synacek (2): 216*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Defer the dropping if the "-m" is specified and correct capability is set. 217*bd1f8aebSAndroid Build Coastguard Worker ping: Fix typo in echo reply 218*bd1f8aebSAndroid Build Coastguard Worker 219*bd1f8aebSAndroid Build Coastguard WorkerOle Bjorn Hessen (1): 220*bd1f8aebSAndroid Build Coastguard Worker ping: report outstanding packets before sending next packet 221*bd1f8aebSAndroid Build Coastguard Worker 222*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (32): 223*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Add -D to synopsis. 224*bd1f8aebSAndroid Build Coastguard Worker ping: More icmp code descriptions. 225*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Hide ipg/ewma info without packets received. 226*bd1f8aebSAndroid Build Coastguard Worker ping6: Remove unused variable. 227*bd1f8aebSAndroid Build Coastguard Worker ping6: Help for -N suboptions. 228*bd1f8aebSAndroid Build Coastguard Worker tracepath,tracepath6: Use argument type of int for field width specifier. 229*bd1f8aebSAndroid Build Coastguard Worker clockdiff: Call nice() before changing effective uid. 230*bd1f8aebSAndroid Build Coastguard Worker rdisc: Use fputs() instead of fprintf() to shut up gcc warning. 231*bd1f8aebSAndroid Build Coastguard Worker rarpd: Check return value of chdir(). 232*bd1f8aebSAndroid Build Coastguard Worker makefile: Introduce new variable for capability support. 233*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Check return value of write(2) for stdout. 234*bd1f8aebSAndroid Build Coastguard Worker ping6,tracepath,tracepath6: Do not dereference type-punned pointer directly. 235*bd1f8aebSAndroid Build Coastguard Worker Makefile: host changed from takos to pleiades. 236*bd1f8aebSAndroid Build Coastguard Worker ping6: Provide enough buffer for dn_comp() and make NI Query with Name subject work. 237*bd1f8aebSAndroid Build Coastguard Worker ping6: Consolidate error path of niquery_option_subject_name_handler(). 238*bd1f8aebSAndroid Build Coastguard Worker ninfod: Node Information Query (RFC4620) daemon from USAGI Project. 239*bd1f8aebSAndroid Build Coastguard Worker ninfod: struct in6_pktinfo requires -D_GNU_SOURCE. 240*bd1f8aebSAndroid Build Coastguard Worker ninfod: Use %zu format string for size_t variable. 241*bd1f8aebSAndroid Build Coastguard Worker ninfod: Add missing entry for ENABLE_SUPTYPES in config.h.in. 242*bd1f8aebSAndroid Build Coastguard Worker ninfod: Support newer environment supporting RFC3542. 243*bd1f8aebSAndroid Build Coastguard Worker ninfod: Fix format string for string returned from strerror(3). 244*bd1f8aebSAndroid Build Coastguard Worker ninfod: Check return value of fscanf(3). 245*bd1f8aebSAndroid Build Coastguard Worker ninfod: Fix off-by-one error to check possible programming error. 246*bd1f8aebSAndroid Build Coastguard Worker ninfod: Add datarootdir. 247*bd1f8aebSAndroid Build Coastguard Worker ninfod: Use __func__ instead of __FUNCTION__. 248*bd1f8aebSAndroid Build Coastguard Worker ninfod: Introduce ARRAY_SIZE macro for counting number of elements in an array. 249*bd1f8aebSAndroid Build Coastguard Worker ninfod: Delete ninfod.sh by make distclean, not by make clean. 250*bd1f8aebSAndroid Build Coastguard Worker ping6: Do not try to use result buffer when dn_comp(3) failed. 251*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: ifdef guard for inline function for capability support and fix build with USE_CAP=no. 252*bd1f8aebSAndroid Build Coastguard Worker makefile: Do not use "-llib" dependency. 253*bd1f8aebSAndroid Build Coastguard Worker arping: build without sysfs support (USE_SYSFS=no). 254*bd1f8aebSAndroid Build Coastguard Worker 255*bd1f8aebSAndroid Build Coastguard WorkerÁngel González (1): 256*bd1f8aebSAndroid Build Coastguard Worker iputils: Add capability dropping 257*bd1f8aebSAndroid Build Coastguard Worker 258*bd1f8aebSAndroid Build Coastguard Worker 259*bd1f8aebSAndroid Build Coastguard Worker[s20101006] 260*bd1f8aebSAndroid Build Coastguard Worker 261*bd1f8aebSAndroid Build Coastguard WorkerChris Caputo (1): 262*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: avoid gethostbyaddr during ping flood. 263*bd1f8aebSAndroid Build Coastguard Worker 264*bd1f8aebSAndroid Build Coastguard WorkerPaul Martin (1): 265*bd1f8aebSAndroid Build Coastguard Worker arping: Set correct broadcast address. 266*bd1f8aebSAndroid Build Coastguard Worker 267*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (4): 268*bd1f8aebSAndroid Build Coastguard Worker tracepath: Fix some small typos in tracepath.sgml. 269*bd1f8aebSAndroid Build Coastguard Worker ping: Fix resource consumption triggered by specially crafted ICMP Echo Reply (CVE-2010-2529) 270*bd1f8aebSAndroid Build Coastguard Worker Makefile: migrate main machine from beatrice to takos. 271*bd1f8aebSAndroid Build Coastguard Worker Makefile: Use newer git subcommand style instead of git-subcommand. 272*bd1f8aebSAndroid Build Coastguard Worker 273*bd1f8aebSAndroid Build Coastguard Worker 274*bd1f8aebSAndroid Build Coastguard Worker[s20100418] 275*bd1f8aebSAndroid Build Coastguard Worker 276*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (28): 277*bd1f8aebSAndroid Build Coastguard Worker ping6: Use IPV6_TCLASS to set outgoing traffic class if available. 278*bd1f8aebSAndroid Build Coastguard Worker ping: Make build_echo(), gather_statistics() more generic. 279*bd1f8aebSAndroid Build Coastguard Worker ping6: Experimental support for Node Information Queries (RFC4620). 280*bd1f8aebSAndroid Build Coastguard Worker ping: simplify usage hint. 281*bd1f8aebSAndroid Build Coastguard Worker ping: Rename constant names 282*bd1f8aebSAndroid Build Coastguard Worker Extend -N option for NI Query options. 283*bd1f8aebSAndroid Build Coastguard Worker ping6: Make length-check qtype-specific. 284*bd1f8aebSAndroid Build Coastguard Worker ping6: Remove too many spaces between names. 285*bd1f8aebSAndroid Build Coastguard Worker ping6: ping6_niquery.h needs asm/byteorder.h. 286*bd1f8aebSAndroid Build Coastguard Worker ping6: Support Qtypes for IPv6/IPv4 Addresses. 287*bd1f8aebSAndroid Build Coastguard Worker ping6: Split pr_niquery_reply(). 288*bd1f8aebSAndroid Build Coastguard Worker ping6: Handle ICMPv6 code in NI Reply. 289*bd1f8aebSAndroid Build Coastguard Worker ping6: Add subject-ipv6 and subject-ipv4 NI sub-option for subject address. 290*bd1f8aebSAndroid Build Coastguard Worker ping6: Support subject name. 291*bd1f8aebSAndroid Build Coastguard Worker ping6: Free old memory when reassign pointers. 292*bd1f8aebSAndroid Build Coastguard Worker ping6: Always enable IPv6 Node Information Queries. 293*bd1f8aebSAndroid Build Coastguard Worker makefile: Do not always link libresolv and libcrypto. 294*bd1f8aebSAndroid Build Coastguard Worker ping,traceroute6,clockdiff: Enlarge hostname buffer. 295*bd1f8aebSAndroid Build Coastguard Worker ping6: do not allow too large packet size by -s option. 296*bd1f8aebSAndroid Build Coastguard Worker ping: needless space when printing usage. 297*bd1f8aebSAndroid Build Coastguard Worker rdisc: Fix typo in error message. 298*bd1f8aebSAndroid Build Coastguard Worker rdisc: Allow multiple addresses on one interface. 299*bd1f8aebSAndroid Build Coastguard Worker arping: Support link-layer type with larger link-layer address. 300*bd1f8aebSAndroid Build Coastguard Worker tracepath6: resolve target even if -n option is supplied. 301*bd1f8aebSAndroid Build Coastguard Worker tracepath,tracepath6: sync tracepath and tracepath6. 302*bd1f8aebSAndroid Build Coastguard Worker tracepath6: Make it more protocol independent. 303*bd1f8aebSAndroid Build Coastguard Worker 304*bd1f8aebSAndroid Build Coastguard Worker 305*bd1f8aebSAndroid Build Coastguard Worker[s20100214] 306*bd1f8aebSAndroid Build Coastguard Worker 307*bd1f8aebSAndroid Build Coastguard WorkerJamal Hadi Salim (2): 308*bd1f8aebSAndroid Build Coastguard Worker ping: ping by mark 309*bd1f8aebSAndroid Build Coastguard Worker ping: ping by mark doc update 310*bd1f8aebSAndroid Build Coastguard Worker 311*bd1f8aebSAndroid Build Coastguard WorkerJamie Le Tual (1): 312*bd1f8aebSAndroid Build Coastguard Worker ping: set un.echo.id to network byte order 313*bd1f8aebSAndroid Build Coastguard Worker 314*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (11): 315*bd1f8aebSAndroid Build Coastguard Worker [PING6,TRACEROUTE6]: Ignore error in setting IPV6_CHECKSUM socket option for ICMPv6 socket. 316*bd1f8aebSAndroid Build Coastguard Worker [PING6]: Use if_nametoindex() to convert ifname to ifindex. 317*bd1f8aebSAndroid Build Coastguard Worker [PING6]: Allow to specify source address with interface in a single -I option. 318*bd1f8aebSAndroid Build Coastguard Worker ping6: Try using IPV6_PKTINFO sticky option to specify outgoing interface. 319*bd1f8aebSAndroid Build Coastguard Worker rdisc: Use FOPEN_MAX if OPEN_MAX is undefined. 320*bd1f8aebSAndroid Build Coastguard Worker ping6: Fix source routing with source interface set. 321*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Don't print extra ', ' in finish(). 322*bd1f8aebSAndroid Build Coastguard Worker tracepath: Fix documentation typo. 323*bd1f8aebSAndroid Build Coastguard Worker Use sysconf(_SC_OPEN_MAX) instead of OPEN_MAX. 324*bd1f8aebSAndroid Build Coastguard Worker ping,ping6: Add -D option to print timestamp. 325*bd1f8aebSAndroid Build Coastguard Worker 326*bd1f8aebSAndroid Build Coastguard Worker 327*bd1f8aebSAndroid Build Coastguard Worker[s20071127] 328*bd1f8aebSAndroid Build Coastguard Worker 329*bd1f8aebSAndroid Build Coastguard WorkerJohn Heffner (6): 330*bd1f8aebSAndroid Build Coastguard Worker [iputils] tracepath: Add length flag to set initial MTU. 331*bd1f8aebSAndroid Build Coastguard Worker [iputils] tracepath: Add documentation for the -l flag. 332*bd1f8aebSAndroid Build Coastguard Worker [iputils] tracepath: Use PMTUDISC_PROBE mode if it exists. 333*bd1f8aebSAndroid Build Coastguard Worker [iputils] tracepath: Document -n flag. 334*bd1f8aebSAndroid Build Coastguard Worker [iputils] tracepath: Fix asymm messages. 335*bd1f8aebSAndroid Build Coastguard Worker [iputils] tracepath: Re-probe at same TTL after MTU reduction. 336*bd1f8aebSAndroid Build Coastguard Worker 337*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (8): 338*bd1f8aebSAndroid Build Coastguard Worker [DOC]: Delete duplicated lines in RELNOTES. 339*bd1f8aebSAndroid Build Coastguard Worker Fix white space errors. 340*bd1f8aebSAndroid Build Coastguard Worker [CLOCKDIFF,PING,RDISC,TRACEROUTE6]: Support uClibc. 341*bd1f8aebSAndroid Build Coastguard Worker [RARPD]: Fixed several signedness issues for char strings. 342*bd1f8aebSAndroid Build Coastguard Worker [PING]: Use inet_pton() instead of sscan(). 343*bd1f8aebSAndroid Build Coastguard Worker [PING6]: Use IN6_IS_ADDR_xxx() macro. 344*bd1f8aebSAndroid Build Coastguard Worker [MAKEFILE]: Change authorized host to push snapshots. 345*bd1f8aebSAndroid Build Coastguard Worker [MAKEFILE]: Use git-archive instead of git-tar-tree. 346*bd1f8aebSAndroid Build Coastguard Worker 347*bd1f8aebSAndroid Build Coastguard Worker 348*bd1f8aebSAndroid Build Coastguard Worker[s20070202] 349*bd1f8aebSAndroid Build Coastguard Worker 350*bd1f8aebSAndroid Build Coastguard WorkerMike Frysinger (2): 351*bd1f8aebSAndroid Build Coastguard Worker Use socklen_t in all the right places. 352*bd1f8aebSAndroid Build Coastguard Worker [IPG]: handle pktgen setup in newer kernels. 353*bd1f8aebSAndroid Build Coastguard Worker 354*bd1f8aebSAndroid Build Coastguard WorkerMitsuru Chinen (2): 355*bd1f8aebSAndroid Build Coastguard Worker [CLOCKDIFF]: Fix compilation errors about labels at end of compound statements. 356*bd1f8aebSAndroid Build Coastguard Worker [PING6]: Use getaddrinfo() for the name resolution of intermediate nodes. 357*bd1f8aebSAndroid Build Coastguard Worker 358*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki (9): 359*bd1f8aebSAndroid Build Coastguard Worker [MAKEFILE] Remove unused -I../include 360*bd1f8aebSAndroid Build Coastguard Worker [TRACEPATH] Print usage if we met incorrect option. 361*bd1f8aebSAndroid Build Coastguard Worker [PING6]: Fix compilation error with glibc-2.4 and later. 362*bd1f8aebSAndroid Build Coastguard Worker [PING6]: Use getaddrinfo() to allow scoped addresses 363*bd1f8aebSAndroid Build Coastguard Worker [PING6]: Ensure not to reverse-lookup if target is numeric address. 364*bd1f8aebSAndroid Build Coastguard Worker 365*bd1f8aebSAndroid Build Coastguard Worker 366*bd1f8aebSAndroid Build Coastguard Worker[s20060512] 367*bd1f8aebSAndroid Build Coastguard Worker 368*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki: 369*bd1f8aebSAndroid Build Coastguard Worker [BUILD] Build with standard headers. 370*bd1f8aebSAndroid Build Coastguard Worker [ARPING,PING6] Build fix for some old systems. 371*bd1f8aebSAndroid Build Coastguard Worker 372*bd1f8aebSAndroid Build Coastguard Worker 373*bd1f8aebSAndroid Build Coastguard Worker[s20060425] 374*bd1f8aebSAndroid Build Coastguard Worker 375*bd1f8aebSAndroid Build Coastguard WorkerYOSHIFUJI Hideaki: 376*bd1f8aebSAndroid Build Coastguard Worker [TRACEROUTE6] Fix ICMPv6 type printing with -v option 377*bd1f8aebSAndroid Build Coastguard Worker [TRACEROUTE6] Mark ICMPv6 messages as known 378*bd1f8aebSAndroid Build Coastguard Worker [DOC] Maintainer / Contact change 379*bd1f8aebSAndroid Build Coastguard Worker [PING6,TRACEPATH6,TRACEROUTE6] Define SOL_IPV6,SOL_ICMPV6 where needed 380*bd1f8aebSAndroid Build Coastguard Worker [TRACEROUTE6] Fix source/destination address with -v option 381*bd1f8aebSAndroid Build Coastguard Worker [PING6,TRACEPATH6,TRACEROUTE6] Use new RFC3542 advanced API if available 382*bd1f8aebSAndroid Build Coastguard Worker [RDISC] Use proper type for is_directly_connected() 383*bd1f8aebSAndroid Build Coastguard Worker [PING,PING6] Use proper type for printf() 384*bd1f8aebSAndroid Build Coastguard Worker [TRACEROUTE6] Fix inet_pton() error handling 385*bd1f8aebSAndroid Build Coastguard Worker [TRACEROUTE6] Use minimum format if 0 is specified for datalen 386*bd1f8aebSAndroid Build Coastguard Worker [TRACEROUTE6] Optimize datalen sanity checking code 387*bd1f8aebSAndroid Build Coastguard Worker [TRACEPATH6] Use getaddrinfo() to allow scoped addresses 388*bd1f8aebSAndroid Build Coastguard Worker [RDISC] Use strerror(errno) instead of sys_errlist[errno] 389*bd1f8aebSAndroid Build Coastguard Worker [PING,PING6] Avoid using __constant_htons() if it is really needed 390*bd1f8aebSAndroid Build Coastguard Worker [TRACEPATH6] Fix format for subseconds 391*bd1f8aebSAndroid Build Coastguard Worker [ARPING,CLOCKDIFF,PING,PING6,TRACEROUTE6] Check return value from setuid(). 392*bd1f8aebSAndroid Build Coastguard Worker [PING,PING6] ensure to initialize msg. 393*bd1f8aebSAndroid Build Coastguard Worker [MAKEFILE] Make snapshot using git 394*bd1f8aebSAndroid Build Coastguard Worker 395*bd1f8aebSAndroid Build Coastguard Worker 396*bd1f8aebSAndroid Build Coastguard Worker[020927] 397*bd1f8aebSAndroid Build Coastguard Worker* arping.sgml, some options were forgotten. 398*bd1f8aebSAndroid Build Coastguard Worker* send seqno in network byte order. Me. 399*bd1f8aebSAndroid Build Coastguard Worker* Mads Martin J�rgensen <[email protected]> Recursive citation: 400*bd1f8aebSAndroid Build Coastguard Worker"On request of Mads Martin J�rgensen <[email protected]> I've added manpages 401*bd1f8aebSAndroid Build Coastguard Workerpregenerated from the Docbook sources. One could argue it is redundant 402*bd1f8aebSAndroid Build Coastguard Workerwhen the Docbook sources are also there, but the argument of not having 403*bd1f8aebSAndroid Build Coastguard Workerto install Docbook on a very small system to get the man pages was 404*bd1f8aebSAndroid Build Coastguard Workerconvinving enough to me. To quote Mads Martin: "How would a system 405*bd1f8aebSAndroid Build Coastguard Workerbe without a man page for ping?" 406*bd1f8aebSAndroid Build Coastguard Worker As a chilidish revenge from my side enjoy with cyrillic date in these 407*bd1f8aebSAndroid Build Coastguard Worker man pages. :-) 408*bd1f8aebSAndroid Build Coastguard Worker* Ken Cox <[email protected]>. Bogus definition of SOCK_DRGAM&SOCK_STREAM on mips. 409*bd1f8aebSAndroid Build Coastguard Worker* Error returned from recvmsg() resulted in a bogus printout in traceroute6. Me. 410*bd1f8aebSAndroid Build Coastguard Worker* Use IPV6_CHECKSUM on icmp socket in traceroute6. Me. 411*bd1f8aebSAndroid Build Coastguard Worker* Noah L. Meyerhans <[email protected]> Fix to doc. 412*bd1f8aebSAndroid Build Coastguard Worker!* Noah L. Meyerhans <[email protected]> What is the problem with "long" triptime? 413*bd1f8aebSAndroid Build Coastguard Worker! Reporter does not respond. _Malignantly_. 414*bd1f8aebSAndroid Build Coastguard Worker* Thomas 'Dent' Mirlacher <[email protected]> Ping did not exit sometimes! 415*bd1f8aebSAndroid Build Coastguard Worker* Add option -W to override default 10 second linger timeout. Me. 416*bd1f8aebSAndroid Build Coastguard Worker* Mads Martin J�rgensen <[email protected]>: ping should not bind to autoselected 417*bd1f8aebSAndroid Build Coastguard Worker source address, it used to work when routing changes. Return classic 418*bd1f8aebSAndroid Build Coastguard Worker behaviour, option -B is added to enforce binding. 419*bd1f8aebSAndroid Build Coastguard Worker* Pekka Savola <[email protected]> Forgotten \n messing output of ping6. 420*bd1f8aebSAndroid Build Coastguard Worker* Noah L. Meyerhans <[email protected]> traceroute6 -q 1 did not work. 421*bd1f8aebSAndroid Build Coastguard Worker* Pekka Savola <[email protected]> various sizeof() cleanups in traceroute6.c 422*bd1f8aebSAndroid Build Coastguard Worker* "Dmitry V. Levin" <[email protected]> wrote: 423*bd1f8aebSAndroid Build Coastguard Worker > ping (as well as other utilities) may open raw socket with descriptor <=2; 424*bd1f8aebSAndroid Build Coastguard Worker > In case of suid-root, it can be used by malicious user to send data to 425*bd1f8aebSAndroid Build Coastguard Worker > this raw socket. 426*bd1f8aebSAndroid Build Coastguard Worker > 427*bd1f8aebSAndroid Build Coastguard Worker > Yes, modern glibc and some kernels have workaround for it, but 428*bd1f8aebSAndroid Build Coastguard Worker > IMHO iputils shouldn't rely on this feature. 429*bd1f8aebSAndroid Build Coastguard Worker Taken into account, but no changes made. 430*bd1f8aebSAndroid Build Coastguard Worker* "Tilman Heinrich" <[email protected]> said some scripts are broken 431*bd1f8aebSAndroid Build Coastguard Worker when word "packet" disappeared from "100% packet loss". Despite of 432*bd1f8aebSAndroid Build Coastguard Worker the inarguable fact that such scripts are truly mad and deserve breaking 433*bd1f8aebSAndroid Build Coastguard Worker (sigh... exit codes are too smart concept for script writers, I guess), 434*bd1f8aebSAndroid Build Coastguard Worker I have to recognize removing this word carrying zero information 435*bd1f8aebSAndroid Build Coastguard Worker was not enough motivated. Returned. 436*bd1f8aebSAndroid Build Coastguard Worker* ping used to retry forever when seeing ENOBUFS/ENOMEM without explicitly 437*bd1f8aebSAndroid Build Coastguard Worker given deadline. Being logically correct it is bad in practice f.e. when 438*bd1f8aebSAndroid Build Coastguard Worker pinging buggy device which locked up with some packets in queue. 439*bd1f8aebSAndroid Build Coastguard Worker So, retry for a finite time... let is be lingertime. Fair? Me. 440*bd1f8aebSAndroid Build Coastguard Worker* Two "messages" are sent to rpm maintainers to make their wrong patches 441*bd1f8aebSAndroid Build Coastguard Worker failed. 442*bd1f8aebSAndroid Build Coastguard Worker* Fix from RH iputils-20001007-deadline.patch. It was lost in the latest 443*bd1f8aebSAndroid Build Coastguard Worker rpms btw. 444*bd1f8aebSAndroid Build Coastguard Worker* Dax Kelson <[email protected]>: added _unsupported_ option to comppile 445*bd1f8aebSAndroid Build Coastguard Worker rdisc_srv. 446*bd1f8aebSAndroid Build Coastguard Worker 447*bd1f8aebSAndroid Build Coastguard Worker[020124] 448*bd1f8aebSAndroid Build Coastguard Worker* Michal Kochanowicz <[email protected]> typos in tracepath.8 449*bd1f8aebSAndroid Build Coastguard Worker* Michael Wardle <[email protected]>: undo silly change of ss000305 450*bd1f8aebSAndroid Build Coastguard Worker (printing rtt in some funny units). Michael noticed that "sec" is not 451*bd1f8aebSAndroid Build Coastguard Worker standard abbreviation for time units (bullshit, of course), but real concern 452*bd1f8aebSAndroid Build Coastguard Worker is that it is more difficult to interpret with a neglibible improvement 453*bd1f8aebSAndroid Build Coastguard Worker to appearance. So, do this as expected: in "ms". 454*bd1f8aebSAndroid Build Coastguard Worker* Documentation. Wow! I did it. man pages are disassembled to docbook, 455*bd1f8aebSAndroid Build Coastguard Worker audited wrt real state, edited... and promised to be maintained 456*bd1f8aebSAndroid Build Coastguard Worker in sync with the state of utilities. 457*bd1f8aebSAndroid Build Coastguard Worker 458*bd1f8aebSAndroid Build Coastguard Worker[011202] 459*bd1f8aebSAndroid Build Coastguard Worker* Utz Bacher <[email protected]> Bitops in ping6 were wrong 460*bd1f8aebSAndroid Build Coastguard Worker on bigendian machines. Wow, luckily I forgot to acknowledge that patch 461*bd1f8aebSAndroid Build Coastguard Worker of 010805 which has gotten rid of kernel bitops and did this so wrongly. 462*bd1f8aebSAndroid Build Coastguard Worker* Michael Bakunin <[email protected]> (:-)) 463*bd1f8aebSAndroid Build Coastguard Worker found mud in tftpd.c, it will crash when directory supplied in argument 464*bd1f8aebSAndroid Build Coastguard Worker is longer ~512 symbols. 465*bd1f8aebSAndroid Build Coastguard Worker* Alexandr D. Kanevskiy <[email protected]>: buffer overflow 466*bd1f8aebSAndroid Build Coastguard Worker in clockdiff. Very stupid one, the overflowed buffer even was not used. :-) 467*bd1f8aebSAndroid Build Coastguard Worker* Alexandr D. Kanevskiy <[email protected]>: shit! Code recognizing 468*bd1f8aebSAndroid Build Coastguard Worker kernels with broken IP_RECVERR for raw sockets depended on race 469*bd1f8aebSAndroid Build Coastguard Worker and accused even good kernel of being buggy. :-) 470*bd1f8aebSAndroid Build Coastguard Worker 471*bd1f8aebSAndroid Build Coastguard Worker[011002] 472*bd1f8aebSAndroid Build Coastguard Worker* Stepan Koltsov <[email protected]>, tracepath/tracepth6 segfaulted when 473*bd1f8aebSAndroid Build Coastguard Worker used without address. 474*bd1f8aebSAndroid Build Coastguard Worker* Alexandr D. Kanevskiy <[email protected]>: arping printed 475*bd1f8aebSAndroid Build Coastguard Worker "permission denied" instead of showing help page to non-superuser. 476*bd1f8aebSAndroid Build Coastguard Worker 477*bd1f8aebSAndroid Build Coastguard Worker[010824] 478*bd1f8aebSAndroid Build Coastguard Worker* Alexandr D. Kanevskiy <[email protected]>: ping compiled 479*bd1f8aebSAndroid Build Coastguard Worker for linux-2.4 forgot to send the second packet, when used with linux-2.2 480*bd1f8aebSAndroid Build Coastguard Worker* Chris Evans <[email protected]>: buffer overflow in traceroute6. 481*bd1f8aebSAndroid Build Coastguard Worker datalen was messed: counting header in half of places. 482*bd1f8aebSAndroid Build Coastguard Worker Funny, looking into LBL traceroute, it is even worse :-) 483*bd1f8aebSAndroid Build Coastguard Worker* Alexandr D. Kanevskiy <[email protected]>: relayed patches 484*bd1f8aebSAndroid Build Coastguard Worker by Solar_Diz. Only missing description of option -q is accepted. 485*bd1f8aebSAndroid Build Coastguard Worker* <[email protected]> ping6 printed wrong mtu. 486*bd1f8aebSAndroid Build Coastguard Worker* Alexandr D. Kanevskiy <[email protected]>: -Werror is removed. 487*bd1f8aebSAndroid Build Coastguard Worker Newer gcc are buggy and generates some wrong warnings about 488*bd1f8aebSAndroid Build Coastguard Worker uninitalized variables, which are evidently initialized. 489*bd1f8aebSAndroid Build Coastguard Worker 490*bd1f8aebSAndroid Build Coastguard Worker[010805] 491*bd1f8aebSAndroid Build Coastguard Worker* Some news from Pekka Savola <[email protected]> around setting tos bits. 492*bd1f8aebSAndroid Build Coastguard Worker* arping: broadcast-only mode by Ard van Breemen <[email protected]> 493*bd1f8aebSAndroid Build Coastguard Worker* ping6/traceroute6: parse ICMP errors with extension headers (me) 494*bd1f8aebSAndroid Build Coastguard Worker traceroute6 works with size > mtu now. Nice. 495*bd1f8aebSAndroid Build Coastguard Worker* ping: Erik Quanstrom <[email protected]>. Serious patch. 496*bd1f8aebSAndroid Build Coastguard Worker ping interval timer was not very broken, but very unintelligible. 497*bd1f8aebSAndroid Build Coastguard Worker Though I remade the code to use leaky bucket logic, which 498*bd1f8aebSAndroid Build Coastguard Worker is the most transparent one. Anyway, contribution by Eric is 499*bd1f8aebSAndroid Build Coastguard Worker the most important one since the previous release. 500*bd1f8aebSAndroid Build Coastguard Worker Short theory of operation: option -i (interval) sets rate r=1/interval pps, 501*bd1f8aebSAndroid Build Coastguard Worker option -l (preload) sets burst size of l packets. So, ping sends 502*bd1f8aebSAndroid Build Coastguard Worker at most r*t+l packets for an arbitrary interval t. 503*bd1f8aebSAndroid Build Coastguard Worker Default values: l=1 and for non-flood case: r=1pps, for flood r=infinity. 504*bd1f8aebSAndroid Build Coastguard Worker Nice? Exact algorithm is: 505*bd1f8aebSAndroid Build Coastguard Worker 506*bd1f8aebSAndroid Build Coastguard Worker Let N(t) be l/r=l*i initially and N(t) grow continuously with time as: 507*bd1f8aebSAndroid Build Coastguard Worker 508*bd1f8aebSAndroid Build Coastguard Worker N(t+delta) = min{l*i, N(t) + delta} 509*bd1f8aebSAndroid Build Coastguard Worker 510*bd1f8aebSAndroid Build Coastguard Worker Packet can be transmitted only at the time t_* when 1/r=i <= N(t_*) 511*bd1f8aebSAndroid Build Coastguard Worker and in this case N(t) jumps: 512*bd1f8aebSAndroid Build Coastguard Worker 513*bd1f8aebSAndroid Build Coastguard Worker N(t_* + 0) = N(t_* - 0) - i. 514*bd1f8aebSAndroid Build Coastguard Worker 515*bd1f8aebSAndroid Build Coastguard Worker When interval is zero, algo degenerates allowing to send any amount 516*bd1f8aebSAndroid Build Coastguard Worker of messages. In this case we modify it using l as limit on amount 517*bd1f8aebSAndroid Build Coastguard Worker of unanswered requests and waiting for 10msec, when something is not 518*bd1f8aebSAndroid Build Coastguard Worker answered. Note that the last thing (10msec) is just to be compatible with 519*bd1f8aebSAndroid Build Coastguard Worker BSD manual pages. BSD ping is simply not able to avoid delay technically, 520*bd1f8aebSAndroid Build Coastguard Worker we are able now. 521*bd1f8aebSAndroid Build Coastguard Worker 522*bd1f8aebSAndroid Build Coastguard Worker In result we got some new facilities: 523*bd1f8aebSAndroid Build Coastguard Worker * "-f -l 100" becomes very aggressive, in fact on good link 524*bd1f8aebSAndroid Build Coastguard Worker it holds permanently 100 packets in flight, which is very different 525*bd1f8aebSAndroid Build Coastguard Worker of earlier bevaviour (one packet in flight). 526*bd1f8aebSAndroid Build Coastguard Worker * -f and -i are not incompatible more. In fact, "-f -i 1" is equivalent 527*bd1f8aebSAndroid Build Coastguard Worker to plain ping, only output is different (dotted). Essentially, 528*bd1f8aebSAndroid Build Coastguard Worker change of output format is the only effect. "ping -i 0" is flood 529*bd1f8aebSAndroid Build Coastguard Worker printing output in normal format. 530*bd1f8aebSAndroid Build Coastguard Worker 531*bd1f8aebSAndroid Build Coastguard Worker Moved some parts of code to ping_common.c. Common part is not fully 532*bd1f8aebSAndroid Build Coastguard Worker trivial now. :-) 533*bd1f8aebSAndroid Build Coastguard Worker 534*bd1f8aebSAndroid Build Coastguard Worker* ping: Ian Lynagh <[email protected]>, larger and dynamic dup detector. 535*bd1f8aebSAndroid Build Coastguard Worker Also, Ian submitted two large patches, one fixing formatting, another 536*bd1f8aebSAndroid Build Coastguard Worker doing something with signedness/longness. Not now... 537*bd1f8aebSAndroid Build Coastguard Worker Later note: found not working. x + 7 / 8 :-). Sorry... dubious, withdrawn. 538*bd1f8aebSAndroid Build Coastguard Worker size of table increased to maximal value instead (8K of memory, 539*bd1f8aebSAndroid Build Coastguard Worker not a big deal). 540*bd1f8aebSAndroid Build Coastguard Worker* tftpd: an old misprint. [email protected] (Igor A. Lefterov) 541*bd1f8aebSAndroid Build Coastguard Worker* clockdiff: do not fail, if reversed resolution failed. 542*bd1f8aebSAndroid Build Coastguard Worker Tommy Lacroix <[email protected]> 543*bd1f8aebSAndroid Build Coastguard Worker* ping: audible ping by Patrik Schilt <[email protected]> 544*bd1f8aebSAndroid Build Coastguard Worker Patrick's option renamed to -a to align to freebsd. 545*bd1f8aebSAndroid Build Coastguard Worker* ping: react to device queue overflows using IP_RECVERR. me. 546*bd1f8aebSAndroid Build Coastguard Worker* ping: option -S allows to change sndbuf 547*bd1f8aebSAndroid Build Coastguard Worker* rarpd is moved from separate package here (people asked) 548*bd1f8aebSAndroid Build Coastguard Worker* ping6: kernel style bitops are not used more. 549*bd1f8aebSAndroid Build Coastguard Worker* Option -A to adapt to network rtt. 550*bd1f8aebSAndroid Build Coastguard Worker* Use BPF, when multiple pings are detected. 551*bd1f8aebSAndroid Build Coastguard Worker 552*bd1f8aebSAndroid Build Coastguard Worker[001110] 553*bd1f8aebSAndroid Build Coastguard Worker* ping is able to select TOS. By Pekka Savola <[email protected]> 554*bd1f8aebSAndroid Build Coastguard Worker* tracepath* DNS names. By Pawel Krawczyk <[email protected]> and 555*bd1f8aebSAndroid Build Coastguard Worker Arkadiusz Miskiewicz <[email protected]> 556*bd1f8aebSAndroid Build Coastguard Worker* ping6 is expected to be compiled with linux-2.2. 557*bd1f8aebSAndroid Build Coastguard Worker 558*bd1f8aebSAndroid Build Coastguard Worker[001011] 559*bd1f8aebSAndroid Build Coastguard Worker* RH bugid#16677: segfault, when ping is used by root and size 560*bd1f8aebSAndroid Build Coastguard Worker is large enough. Fix is to allow oversize by root (it is necessary 561*bd1f8aebSAndroid Build Coastguard Worker to check kernel side), but clamp it at some safe value. 562*bd1f8aebSAndroid Build Coastguard Worker 563*bd1f8aebSAndroid Build Coastguard Worker[001010] 564*bd1f8aebSAndroid Build Coastguard Worker* More bug fixes from Chris Evans <[email protected]> 565*bd1f8aebSAndroid Build Coastguard Worker - do not trust h_length returned by system resolver. 566*bd1f8aebSAndroid Build Coastguard Worker This value is meaningless in any case. 567*bd1f8aebSAndroid Build Coastguard Worker - ping: buffer overflow in fill()!!! Disgraceful bug. 568*bd1f8aebSAndroid Build Coastguard Worker 569*bd1f8aebSAndroid Build Coastguard Worker* ping: allow not-priviledged users to use broadcasts. It was paranoia. 570*bd1f8aebSAndroid Build Coastguard Worker Multicasts were allowed. 8) 571*bd1f8aebSAndroid Build Coastguard Worker* ping: but force broadcasts&multicasts not to fragment. BSD does 572*bd1f8aebSAndroid Build Coastguard Worker not allow to do this to anyone, we still allow this for superuser. 573*bd1f8aebSAndroid Build Coastguard Worker* Option -M to control path mtu discovery. 574*bd1f8aebSAndroid Build Coastguard Worker 575*bd1f8aebSAndroid Build Coastguard Worker[001007] 576*bd1f8aebSAndroid Build Coastguard Worker* By Pekka Savola <[email protected]> 577*bd1f8aebSAndroid Build Coastguard Worker - SIOCGSTAMP/SO_TIMESTAMP are sensitive to bug in kernel. 578*bd1f8aebSAndroid Build Coastguard Worker When get_fast_time != gettimeofday (f.e. timestampless x86), 579*bd1f8aebSAndroid Build Coastguard Worker returned stamp can be out of sync with gettimeofday. 580*bd1f8aebSAndroid Build Coastguard Worker Workaround is not to use SIOCGSTAMP/SO_TIMESTAMP on such systems. 581*bd1f8aebSAndroid Build Coastguard Worker - fixes in man pages 582*bd1f8aebSAndroid Build Coastguard Worker - compiles under rh-7.0 583*bd1f8aebSAndroid Build Coastguard Worker* Chris Evans <[email protected]> 584*bd1f8aebSAndroid Build Coastguard Worker - ping: possible buffer overflow in pr_addr(). 585*bd1f8aebSAndroid Build Coastguard Worker 586*bd1f8aebSAndroid Build Coastguard Worker[000928] 587*bd1f8aebSAndroid Build Coastguard Worker* Sorry. I have lost all the CVS with changes made since 000418. 588*bd1f8aebSAndroid Build Coastguard Worker If someone sent me a patch after this date, please, resubmit. 589*bd1f8aebSAndroid Build Coastguard Worker Restored from the last backup and mailboxes: 590*bd1f8aebSAndroid Build Coastguard Worker 591*bd1f8aebSAndroid Build Coastguard Worker* ping*, SO_TIMESTAMP support. 592*bd1f8aebSAndroid Build Coastguard Worker* ping*, allow zero data length (reported by Damjan Lango <[email protected]>) 593*bd1f8aebSAndroid Build Coastguard Worker* iputils man and help updates. Pekka Savola <[email protected]> 594*bd1f8aebSAndroid Build Coastguard Worker* ping.8, fix to ping man page. By Dadid Eisner <[email protected]> 595*bd1f8aebSAndroid Build Coastguard Worker* ping prints addresses in numeric, if destination is numeric. 596*bd1f8aebSAndroid Build Coastguard Worker Proposed by Tim Waugh <[email protected]> 597*bd1f8aebSAndroid Build Coastguard Worker 598*bd1f8aebSAndroid Build Coastguard WorkerNew: 599*bd1f8aebSAndroid Build Coastguard Worker* ping: strncpy bug <[email protected]> 600*bd1f8aebSAndroid Build Coastguard Worker* arping: improvements by Charles Howes <[email protected]> 601*bd1f8aebSAndroid Build Coastguard Worker - a feature to arping: quit as soon as a reply is received. 602*bd1f8aebSAndroid Build Coastguard Worker - default to eth0. 603*bd1f8aebSAndroid Build Coastguard Worker - spelling 604*bd1f8aebSAndroid Build Coastguard Worker 605*bd1f8aebSAndroid Build Coastguard Worker[000418] 606*bd1f8aebSAndroid Build Coastguard Worker* llsqrt() was buggy again! 607*bd1f8aebSAndroid Build Coastguard Worker (noticed by Sam Farin <[email protected]>) 608*bd1f8aebSAndroid Build Coastguard Worker 609*bd1f8aebSAndroid Build Coastguard Worker[000404] 610*bd1f8aebSAndroid Build Coastguard Worker* tracepath*, "NURDUnet-gw" bug workaround. 611*bd1f8aebSAndroid Build Coastguard Worker (noticed by Vitaly E.Lavrov <[email protected]>) 612*bd1f8aebSAndroid Build Coastguard Worker* tracepath*, handle case of routers initializing rtt to 128. 613*bd1f8aebSAndroid Build Coastguard Worker Vitaly E.Lavrov <[email protected]> 614*bd1f8aebSAndroid Build Coastguard Worker* shadowed icmp_sock in ping6. James Morris <jmorris@@intercode.com.au> 615*bd1f8aebSAndroid Build Coastguard Worker* Bug in ping -f, introduced with SO_RCVTIMEO. me. 616*bd1f8aebSAndroid Build Coastguard Worker* llsqrt() (ping, ping6) was wrong yet. me. 617*bd1f8aebSAndroid Build Coastguard Worker 618*bd1f8aebSAndroid Build Coastguard Worker[000310] 619*bd1f8aebSAndroid Build Coastguard Worker* Print mean deviation of RTT in ping/ping6. 620*bd1f8aebSAndroid Build Coastguard Worker* Use SIOCGSTAMP in ping/ping6. Old behaviour calculating 621*bd1f8aebSAndroid Build Coastguard Worker true user-to-user latency is restored with option -U. 622*bd1f8aebSAndroid Build Coastguard Worker Reason for this stupid change is mainly political; people 623*bd1f8aebSAndroid Build Coastguard Worker wonder why freebsd has twice less latency on loopback. 624*bd1f8aebSAndroid Build Coastguard Worker If to follow along this line, we have to print rtt equal to 0. 8) 625*bd1f8aebSAndroid Build Coastguard Worker [ LATER NOTE: actually, the change is _right_ without any doubts. 626*bd1f8aebSAndroid Build Coastguard Worker Ping has another bug: nameresolver is blocking, so that 627*bd1f8aebSAndroid Build Coastguard Worker when it dies not respond, ping shows evenly increasing by 1 sec 628*bd1f8aebSAndroid Build Coastguard Worker RTT. It is very confusing (look through linux-kernel maillists 629*bd1f8aebSAndroid Build Coastguard Worker to count number of people, who were cheated by misconfigured dns). ] 630*bd1f8aebSAndroid Build Coastguard Worker* Use SO_RCVTIMEO instead of poll() with ping/ping6 -f. 631*bd1f8aebSAndroid Build Coastguard Worker* Added -V option to arping/ping/ping6/traceroute6/rdisc 632*bd1f8aebSAndroid Build Coastguard Worker to print snapshot number. 633*bd1f8aebSAndroid Build Coastguard Worker 634*bd1f8aebSAndroid Build Coastguard Worker[000305] 635*bd1f8aebSAndroid Build Coastguard Worker* rdisc: ugly bug in getting interface list. me. 636*bd1f8aebSAndroid Build Coastguard Worker* ping/ping6: ping -i N, N>=3 did not work. Jeff Jonson <[email protected]> 637*bd1f8aebSAndroid Build Coastguard Worker* ping/ping6: microsecond rtt measurements. me. 638*bd1f8aebSAndroid Build Coastguard Worker 639*bd1f8aebSAndroid Build Coastguard Worker[000120] 640*bd1f8aebSAndroid Build Coastguard Worker* ping/ping6: non-zero exit code even without -w. 641*bd1f8aebSAndroid Build Coastguard Worker 642*bd1f8aebSAndroid Build Coastguard Worker[991024] 643*bd1f8aebSAndroid Build Coastguard Worker* Option "-i" to ping/ping6 takes fractional time now, so that 644*bd1f8aebSAndroid Build Coastguard Worker "ping -i 0.3 xxx" pings each 300 msec. The idea is by 645*bd1f8aebSAndroid Build Coastguard Worker Marc Boucher <[email protected]> 646*bd1f8aebSAndroid Build Coastguard Worker* alpha/glibc-2.1 alignment problems in ping are fixed (struct timeval 647*bd1f8aebSAndroid Build Coastguard Worker was wrongly aligned). 648*bd1f8aebSAndroid Build Coastguard Worker 649*bd1f8aebSAndroid Build Coastguard Worker[990915] 650*bd1f8aebSAndroid Build Coastguard Worker* ping/ping6 worked only with kernels 2.3.15+ in 990824. 651*bd1f8aebSAndroid Build Coastguard Worker 652*bd1f8aebSAndroid Build Coastguard Worker[990824] 653*bd1f8aebSAndroid Build Coastguard Worker* tftpd is added. It uses MSG_CONFIRM to confirm arp entries. 654*bd1f8aebSAndroid Build Coastguard Worker* ping6: workaround for bug in some egcs versions. 655*bd1f8aebSAndroid Build Coastguard Worker 656*bd1f8aebSAndroid Build Coastguard Worker[990610] 657*bd1f8aebSAndroid Build Coastguard Worker* ping: output buffer was too small for full sized ping. 658*bd1f8aebSAndroid Build Coastguard Worker* ping: silly restriction on ping size is removed. 659*bd1f8aebSAndroid Build Coastguard Worker 660*bd1f8aebSAndroid Build Coastguard Worker[990530] 661*bd1f8aebSAndroid Build Coastguard Worker* short man pages (Oleg M. Shumsky <[email protected]>) 662*bd1f8aebSAndroid Build Coastguard Worker* ping6: get and print hop limit of reply packets (ME) 663*bd1f8aebSAndroid Build Coastguard Worker* rdisc deletes routes before exit with -TERM 664*bd1f8aebSAndroid Build Coastguard Worker* ping/ping6: option -w TIMEOUT 665*bd1f8aebSAndroid Build Coastguard Worker* arping: exit with error, if received no replies in normal 666*bd1f8aebSAndroid Build Coastguard Worker (not DAD and not unsilicited ARP) mode. 667*bd1f8aebSAndroid Build Coastguard Worker 668