summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute
AgeCommit message (Collapse)Author
2012-08-15use Lk for links;Jason McIntyre
2012-02-10bail on AS translation in impossible condition; ok sthenTheo de Raadt
2012-02-10Use MAXDNAME not MAXDNAME+1 and remove unnecessary return.Stuart Henderson
Pointed out by deraadt@
2012-01-12Mention the information source used for the ASN lookup.Stuart Henderson
2012-01-12Zap unused var in asn_lookup; from Michael W. BombardieriStuart Henderson
2011-11-08lookup (n.) -> look up (v.) (i.e. to look sth up);Jason McIntyre
2011-11-08Add -A option to display AS for each hop address, using origin.asn.cymru.comStuart Henderson
DNS lookups. ok deraadt@, henning likes it but would like some changes which can be done after commit.
2011-09-17tweak previous;Jason McIntyre
2011-09-17Standarize the ToS option across nc/ping/traceroute so that they'llChristiano F. Haesbaert
accept the same values as pf.conf. It accepts decimal, hexadecimal and the dscp/tos keywords. The ping option was ripped of in SMALL. ok mcbride@ sthen@
2011-06-21Convert SO_RTABLE's protocol level to the SOL_SOCKET; ok claudioMike Belopuhov
2011-04-23Only print changed TOS in returned packets when -t is set (last commit wasStuart Henderson
supposed to do this but I missed a piece). ok phessler@
2011-04-06When specifying tos with -t, display a message if the returned packetStuart Henderson
has a different tos type. ok claudio@ phessler@
2011-03-22use timerclear macroOkan Demirmen
ok miod@
2010-09-13Reduce the output of MPLS information without removing information.Claudio Jeker
This gives a more compact output.
2010-07-09inetname is only called when !nflag. There is no need to again check forDavid Hill
!nflag within inetname(). from Alexandr Shadchin ok claudio@
2010-07-08Let traceroute parse extended ICMP messages as defined by RFC 4884.Claudio Jeker
Currently only the MPLS label can be shown (RFC 4950). The extended information is only printed if either -x or -v was used. Initialy based on a port from NetBSD done by dhill@ but mostly rewritten now. OK deraadt@, dhill@
2010-07-05Change SO_RDOMAIN to SO_RTABLE in err() after the recent "rename".Robert Nagy
It seems this one was missed.
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-07-06default waittime is 5, not 3;Jason McIntyre
from Paul Stoeber
2009-06-05tweak -V;Jason McIntyre
2009-06-05Use -V to specify an alternate routing domain.Claudio Jeker
2008-10-04explicitly pad & pack the packetdata structure thrown around on the wire,Theo de Raadt
just like in traceroute6.
2007-05-31convert to new .Dd format;Jason McIntyre
2006-03-31lintTheo de Raadt
2005-12-23adjust the description of -r to that in freebsd's traceroute6(8),Jason McIntyre
since it's more informative; ok djm claudio
2005-11-02- sort options and sync usage()Jason McIntyre
- new sentence, new line - a few other minor tweaks
2005-05-03more setres[ug]id; ok deraadt@Damien Miller
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