summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute
AgeCommit message (Collapse)Author
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).
1999-12-18Fix error message.Angelos D. Keromytis
1999-09-23Typo fixes.Alex Feldman
1999-05-23remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonAaron Campbell
is used instead; kwesterback@home.com
1999-05-12grammar police: do not hyphenate compound words that act as adjectives if theAaron Campbell
first word ends in -ly i.e., fully-qualified, newly-created, globally-visible, etc. are wrong
1999-04-02all .Nm macros should have an argument in SYNOPSIS; also misc cleanupAaron Campbell
1999-03-01insert a missing .Ar; d@Aaron Campbell