Commit Graph

22 Commits

Author SHA1 Message Date
ru
c4aabf68c9 Fetch the default maximum TTL value from the net.inet.ip.ttl MIB.
PR:		bin/19598
MFC after:	1 week
2001-06-06 16:12:59 +00:00
obrien
d5891b5ed0 Defining usage() "__dead" is just ridiculous. It also won't compile with
a June 2000 GCC 2.96 snapshot.

Reviewed by:	bde
2000-10-27 05:51:59 +00:00
kris
bf6b0f4463 Don't write past the end of our fd_set
Obtained from:	OpenBSD, via KAME
2000-10-08 07:58:32 +00:00
kris
c84667a83f Format string paranoia. 2000-10-08 07:54:43 +00:00
ghelmer
00ce755373 Document the -S flag (added in rev. 1.4) in the usage() function.
PR:		bin/18153
Prompted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-07-07 19:44:36 +00:00
shin
29f3da7a25 Correct FreeBSD id place. Also correct vendor rcsid.
Specified by: bde

Reviewed by: bde
2000-03-30 15:23:44 +00:00
shin
5bc92eac72 Bypass IPsec for traceroute invoked by root.
PR: bin/17606
Submitted by: Louis Mamakos <louie@TransSys.COM
2000-03-30 01:33:39 +00:00
phantom
fb59e40253 s/tcpdump/traceroute
PR:		docs/14523
Submitted by:	Adam Morrison <adam@xpert.com>
1999-12-20 16:07:53 +00:00
obrien
1d7ec327c1 Fully document -q.
Restore original $Header$.
1999-10-05 15:20:45 +00:00
archie
80148aaf33 Fix bug (introduced by me) where UDP port numbers were starting at 1 instead
of 33435 like before.

Reported by:	John Polstra <jdp@polstra.com>
1999-06-25 21:48:40 +00:00
archie
8520baa2ea Add a min TTL flag to go along with the max TTL flag. That is, this flag
allows you to start tracing at a hop number other than 1.

Submitted by:	Stefan `Sec` Zehl <sec@42.org>
1999-05-12 17:28:31 +00:00
archie
78c2183cb6 Add the capability for traceroute(8) to send packets of any IP protocol
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.
1999-05-06 03:23:24 +00:00
des
8b1e97ea4e Better fix for the traceroute flood bug.
Submitted by:	bde
1999-02-16 14:19:50 +00:00
des
ec96193302 If the user provided a large enough argument to the -w option, the sum
would overflow and you'd end up doing select() with a negative timeout.
1999-02-15 08:11:44 +00:00
jb
e886c0d520 Fix an alignment problem on alpha by doing a bytewise copy. 1998-06-06 23:33:28 +00:00
steve
d25208f22b Fix an anomaly in the option descriptions.
PR:		5469
Submitted by:	NOKUBI Hirotaka <h-nokubi@yyy.or.jp>
1998-01-09 18:46:53 +00:00
sef
5c2cf660b6 Fix a typo. Oops.
Submitted by:	asami
1996-10-08 19:16:24 +00:00
sef
c3ba3806b8 Paul objected to my previous change. This adds the same functionality
(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
1996-10-08 02:44:26 +00:00
sef
92a8c6e3f9 Print out a summary of the loss percentages for each hop. No manual changes
just yet, I know, evil of me.

Reviewed by:	jkh
1996-10-05 01:43:13 +00:00
fenner
4117177372 Instructions on upgrading traceroute 1996-10-01 06:17:16 +00:00
fenner
44721b732a Add FreeBSD modifications
- Move setuid(getuid()) much earlier
- Add "SANE_PRECISION" time printing code
1996-09-30 19:39:25 +00:00
fenner
a140d208b5 Virgin import of LBL traceroute version 1.3.2.
Obtained from: ftp://ftp.ee.lbl.gov/traceroute.tar.Z on 30-Sep-1996.
1996-09-30 19:09:55 +00:00