summaryrefslogtreecommitdiffstats
path: root/contrib/traceroute/traceroute.8
Commit message (Collapse)AuthorAgeFilesLines
* MFC r283784:tuexen2015-06-031-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove trailing whitespaces. MFC r283785: Require the embedded packet to contain 8 bytes after the IP header instead of only 4. This is guaranteed by RFC 792 and the verification of GRE, ICMP and TCP packets use 8 bytes. MFC r283786: There is no payload anymore. So compute the minimum packet length correctly and use 40 as the default (if the minumum allows it), as specified in the man page. MFC r283806: When the packet verification fails in verbose mode, print the correct number of words in host byte order. Also remove a stray 'x'. MFC r283808: Don't send malformed SCTP probe packets. MFC r283813: Use an empty string for field descriptions of unknown protocols. MFC r283817: Don't send illegal packets when using UDP-Lite. MFC r283819: A TCP checksum of 0 is completely valid. Mapping 0 to 0xffff only applies to UDP and UDP-Lite. MFC r283820: The code starts with base + 1 as the first port. Fix to documentation to match that.
* mdocify and update the traceroute(8) manual page.joel2012-06-271-224/+160
| | | | | Reviewed by: brueffer No objection: ru, uqs
* Add AS lookup functionality. On each hop we query a whois server torpaulo2008-02-201-2/+16
| | | | | | | | | | find the corresponding AS for that IP (-a switch). We can also choose a different whois server with the -A switch. The default is whois.radb.net. Obtained from: NetBSD Reviewed by: bms, njl (mentor) Approved by: njl (mentor)
* Make it so that the synopsis and usage message almost agree.dwmalone2006-10-151-1/+1
| | | | MFC after: 3 weeks
* Add a -D option to traceroute that prints the differences betweendwmalone2006-10-151-2/+18
| | | | | | | | the probe packet we sent and the packet quoted by the ICMP response. Can be useful for spotting hops that change the packet in-flight or have problems generating correct ICMP responses. MFC after: 3 weeks
* Make traceroute decode all the ICMP unreachable messages defineddwmalone2006-06-131-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in http://www.iana.org/assignments/icmp-parameters. Thankfully IANA's list aggrees with <netinet/ip_icmp.h>. I've tried to do this in a way which is mostly consistent with tcptraceroute and Debian's version of traceroute. However, sometimes a letter is used twice by these versions, so I've gone with: LBL tcptr Debian (chosen) ICMP_UNREACH_NET !N !N !N !N ICMP_UNREACH_HOST !H !H !H !H ICMP_UNREACH_PROTOCOL !P !P !P !P ICMP_UNREACH_PORT ! !p ! ! ICMP_UNREACH_NEEDFRAG !F-%d !F !F-<%d> !F-<%d> ICMP_UNREACH_SRCFAIL !S !S !S !S ICMP_UNREACH_NET_UNKNOWN !<%d> !U !<%d> !U ICMP_UNREACH_HOST_UNKNOWN !<%d> !U !<%d> !W ICMP_UNREACH_ISOLATED !<%d> !I !I !I ICMP_UNREACH_NET_PROHIB !<%d> !A !A !A ICMP_UNREACH_HOST_PROHIB !<%d> !C !C !Z ICMP_UNREACH_TOSNET !<%d> !T !T !Q ICMP_UNREACH_TOSHOST !<%d> !T !T !T ICMP_UNREACH_FILTER_PROHIB !X !A !A !X ICMP_UNREACH_HOST_PRECEDENCE !V !<%d> !V !V ICMP_UNREACH_PRECEDENCE_CUTOFF !C !<%d> !C !C Graham Wilson is planning to use the same codes in Debian's version. MFC after: 3 weeks
* o It's lilac-dmc.Berkeley.EDU, not lbl-csam.arpa.maxim2006-06-071-1/+1
| | | | Obtained from: NetBSD
* Option for setting a fixed destination port. This is useful for tracingcjc2006-05-111-1/+6
| | | | | | | | | to a host behind a firewall where only specific services are allowed. For example, to trace the hops to an HTTP server behind a firewall, $ traceroute -e -P tcp -p 80 www-firewalled.example.com MFC after: 1 week
* Fix minor discrepancy between documentation and implementation: thethomas2005-04-121-1/+1
| | | | | | destination port is incremented for each packet sent to the same hop. MFC after: 1 week
* Fix misspelling.fenner2002-12-131-1/+1
| | | | | PR: docs/44930 Submitted by: Michael McGoldrick <mmcgoldrick@linuxdriven.net>
* Merge 1.4a12fenner2002-07-281-27/+96
|
* Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .fenner2002-07-221-1/+1
| | | | Submitted by: dcs
* Fetch the default maximum TTL value from the net.inet.ip.ttl MIB.ru2001-06-061-4/+8
| | | | | PR: bin/19598 MFC after: 1 week
* Fully document -q.obrien1999-10-051-1/+5
| | | | Restore original $Header$.
* Add a min TTL flag to go along with the max TTL flag. That is, this flagarchie1999-05-121-11/+19
| | | | | | allows you to start tracing at a hop number other than 1. Submitted by: Stefan `Sec` Zehl <sec@42.org>
* Add the capability for traceroute(8) to send packets of any IP protocolarchie1999-05-061-5/+29
| | | | | | | instead of just UDP; an alternate protocol is specified by '-P proto'. This is useful for finding routers that are blocking packets based on IP protocol. New handlers can be added fairly easily to do protocol- specific things.
* Fix an anomaly in the option descriptions.steve1998-01-091-1/+2
| | | | | PR: 5469 Submitted by: NOKUBI Hirotaka <h-nokubi@yyy.or.jp>
* Paul objected to my previous change. This adds the same functionalitysef1996-10-081-2/+4
| | | | | | | | | | | | (implemented better, admittedly) with a new option, '-S'. If the maintainers of traceroute (Van?) add a -S option, we will then be in conflict. Also added a too-brief description of the option in the man page. Someone with a better command of English than I at the moment should probably look over it and rephrase it. Reviewed by: pst, jkh
* Virgin import of LBL traceroute version 1.3.2.fenner1996-09-301-0/+298
Obtained from: ftp://ftp.ee.lbl.gov/traceroute.tar.Z on 30-Sep-1996.
OpenPOWER on IntegriCloud