summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute/traceroute.c
AgeCommit message (Expand)Author
2003-06-11some ansification, some de-registerTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-04-25Compile with -ansi -pedantic. Replace one ugly lvalue cast with a memcpy.Chad Loder
2003-04-25ICMP types are u_int8_t. Use u_int8_t and %u for ICMP types instead ofChad Loder
2003-04-25TTL is defined as u_int8_t in both <netinet/ip.h> andChad Loder
2003-04-24Validation of command line argument for packet data length was comparingChad Loder
2002-11-18atoi -> strto*. correct -p parsing (don't allow 65536). deraadt okJun-ichiro itojun Hagino
2002-09-06socklen_tTheo de Raadt
2002-08-31warn if multiple addresses are returned from DNS; suggestedKevin Steves
2002-08-12!X for 3/13 (administratively prohibited); ok itojun@Kevin Steves
2002-08-12SO_DONTROUTE on receive socket is not needed; ok itojun@Kevin Steves
2002-08-08remove unused struct timezone; ok itojun@Kevin Steves
2002-07-03ansiTheo de Raadt
2002-06-29IPPROTO_ICMP will not change in our life; itojun okTheo de Raadt
2002-06-29make -I and -P exclusive; constrain -p and -P to their respective maximums;Theo de Raadt
2002-06-02minor KNFTheo de Raadt
2002-05-26use sysctl to get ttl from the kernel; itojun okTheo de Raadt
2002-05-21KNFTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
2001-06-10KNFTheo de Raadt
2001-06-10Sprintf/sprintf no longer used, remove itTheo de Raadt
2001-06-09* Implement -S option to print the data loss in each hop in percents; freebsdPeter Valchev
2001-06-01rcsidPeter Valchev
2001-03-15do not permit traceroute -s 127.0.0.1 non-127-net-address; solarTheo de Raadt
2000-08-28indentTheo de Raadt
2000-04-20Change the flag to -f, similar to Solaris.Angelos D. Keromytis
2000-04-20Add a "minimum ttl" option (starting point). Useful for skipping overAngelos D. Keromytis
1999-12-23Add -I flag for compatibility.Angelos D. Keromytis
1999-12-18If the protocol specified via the -P flag is 1 (IPPROTO_ICMP), useAngelos D. Keromytis
1999-12-18Fix error message.Angelos D. Keromytis
1999-02-17re-enable the bind() for non-superusers so normal users cannot set the source...Todd C. Miller
1998-07-11change default ttl to IPDEFTTL; matthieuTheo de Raadt
1998-07-09MAXHOSTNAMELEN, and no need to terminateTheo de Raadt
1997-06-28Repair breakage in 1.17. Oops.denny
1997-06-23long vs intTheo de Raadt
1997-06-12-freduce-math-strength manually (double, bye-bye)Michael Shalayeff
1997-06-11dynamic fd_setTheo de Raadt
1997-06-11Always send timestamp in network byte order.denny
1997-06-11update usageTheo de Raadt
1997-06-09oopsTheo de Raadt
1997-06-09permit changing protocol, useful for debugging sipp-esp/sipp-ah/ipencap; ange...Theo de Raadt
1997-06-09Handle additional icmp codes, and a default case for the rest.denny
1997-02-22add "-l" flag see NetBSD PR #3227kstailey
1997-02-04Changed ICMP "unreachable" code #defines to match the ones inkstailey
1997-01-30deal with IP_HDRINCL option network byte order change; lidl@va.pubnix.comTheo de Raadt
1997-01-30print !A on ICMP_UNREACH_ADM_PROHIB tookstailey
1997-01-17r?index -> strr?chrTodd C. Miller
1996-12-22Deal with _POSIX_SAVED_IDS when relinquishing privilegesTheo de Raadt
1996-10-16check strdup ret val.Todd C. Miller