summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute/traceroute.c
AgeCommit message (Collapse)Author
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-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
* 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.
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-02-17re-enable the bind() for non-superusers so normal users cannot set the ↵Todd C. Miller
source address to be a non-local address
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
Always send timestamp as 32 bit values. Perturb the timestamp by a small random amount. Move $OpenBSD$ first (heh).
1997-06-11update usageTheo de Raadt
1997-06-09oopsTheo de Raadt
1997-06-09permit changing protocol, useful for debugging sipp-esp/sipp-ah/ipencap; ↵Theo de Raadt
angelos/niklas/me
1997-06-09Handle additional icmp codes, and a default case for the rest.denny
Clean up inetname to use inet_ntoa().
1997-02-22add "-l" flag see NetBSD PR #3227kstailey
1997-02-04Changed ICMP "unreachable" code #defines to match the ones inkstailey
tcpdump/print-icmp.c since they were in BSD first.
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
1996-10-12Stop if the sum of unreachables and timeouts are >= number of probes, butThorsten Lockert
only if we have at least one unreachable
1996-08-16if time expired, cc = 0 & break to *; Havard.Eidnes@runit.sintef.noTheo de Raadt
1996-08-16inet_ntoa*2 botch; netbsd pr#2701; he@runit.sintef.noTheo de Raadt
1996-08-05bigger bufferTheo de Raadt
1996-07-23other icmp traffic can cause a timeout to occur so must be more careful;Theo de Raadt
from freebsd pr#612; fenner@parc.xerox.com
1996-07-23open sockets then revoke privs; and a strdup() solution from freebsdTheo de Raadt
1996-06-29inet_ntoa backwards for -s; netbsd pr#2579; peter@wonderland.orgTheo de Raadt
1996-05-19Recognize "{net,host} access prohibited" icmp reply.Michael Shalayeff
1995-10-18initial import of NetBSD treeTheo de Raadt