summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute
AgeCommit message (Collapse)Author
2005-03-01make sure the ttl does not wrap; pr 4093; ok JaredMarkus Friedl
2004-11-10Use ${STATIC} rather than -static (dont hardcode). ok miod@Dale Rahn
2004-01-26knf and cleanup; millert okTheo de Raadt
2003-08-27- sort SYNOPSIS and DESCRIPTIONJason McIntyre
- add -v to SYNOPSIS from Andrey Matveev; - indent examples - sync usage() with man page ok deraadt@
2003-06-12- section reorderJason McIntyre
- macro fixes - kill whitespace at EOL - new sentence, new line
2003-06-11some ansification, some de-registerTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-25Compile with -ansi -pedantic. Replace one ugly lvalue cast with a memcpy.Chad Loder
Replace some strtoul with strtol and additional < 0 checks where needed. OK millert
2003-04-25ICMP types are u_int8_t. Use u_int8_t and %u for ICMP types instead ofChad Loder
u_char and %d. OK millert
2003-04-25TTL is defined as u_int8_t in both <netinet/ip.h> andChad Loder
<netinet6/ip6_var.h>. Don't need to use int and %d for TTL in traceroute. OK millert
2003-04-24Validation of command line argument for packet data length was comparingChad Loder
to the wrong thing, which resulted in a confusing error message later on. Do validation on the user supplied parameter. ok millert
2003-04-03HPUX, HP/UX -> HP-UXJason McIntyre
ok mickey@
2003-03-18xon/xoff -> Xon/Xoff;Jason McIntyre
IETF ipng -> IETF IPng; NSFNet -> NSFNET; courtesy NetBSD (Igor Sobrado) ok miod@
2002-11-18atoi -> strto*. correct -p parsing (don't allow 65536). deraadt okJun-ichiro itojun Hagino
2002-11-14use $ or # before commands in examplesTheo de Raadt
2002-09-06socklen_tTheo de Raadt
2002-08-31warn if multiple addresses are returned from DNS; suggestedKevin Steves
by and ok itojun@
2002-08-30add some history regarding use of UDP probe packets vs. ICMP.Kevin Steves
from: http://www.kohala.com/start/papers.others/vanj.99feb08.txt ok deraadt@
2002-08-12missing periodKevin 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-11document other ICMP redirect code strings; ok millert@Kevin Steves
2002-08-11-m default from net.inet.ip.ttl MIB variable now; ok millert@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
itojun ok
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-05-12These small setuid programs allocate a resvport, and then immediately revokeTheo de Raadt
privs. Link them static, so that even less code is run before main does that job.
2002-03-31max_ttl default was changed to IPDEFTTL (64) several yearsKevin Steves
ago so catch up documentation; ok millert@
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-08-12#(endif|else) foo is incorrect, make it #endif /* foo */Heikki Korpela
deraadt@ ok
2001-08-02o) .Sh AUTHOR -> .Sh AUTHORS;Mike Pechkin
o) .Sh EXAMPLE -> .Sh EXAMPLES; o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION; millert@ ok
2001-06-10KNFTheo de Raadt
2001-06-10Sprintf/sprintf no longer used, remove itTheo de Raadt
2001-06-09Document -S option to print the data loss in each hop in percents; freebsdPeter Valchev
2001-06-09* Implement -S option to print the data loss in each hop in percents; freebsdPeter Valchev
* Use __progname in usage() * Use strlcpy vs strncpy+a[len-1]='\0' ok mickey@, jakob@, option list order per aaron@'s suggestion.
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
local-ISP routers that don't generate ICMP time exceeded.
2000-04-15Mostly punctuation fixes.Aaron Campbell
2000-04-11Fix HISTORY section; ian@darwinsys.comAaron Campbell
2000-03-23More pedantic man page formatting insanity, lalalaAaron Campbell
2000-03-19Remove hard sentence breaks. Add $OpenBSD$ tags where appropriate. Some otherAaron Campbell
cleanup along the way.
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
ICMP Echo Request packets (rather than UDP packets) for the traceroute (mlists@gizmo.kyrnet.kg) Also, if the -c flag is specified, the UDP destination port is not incremented; rather, the base port is used for all packets (33434 or as set via the -p flag).