fenner
83c61fd14f
Routing socket messages are padded to sizeof(long), not just
...
sizeof(u_int32_t).
2002-07-30 04:49:13 +00:00
fenner
b61bd3d174
Calculate checksums correctly when LSRR is in effect by passing the
...
IP header and protocol header seperately.
Also calculate TCP checksums.
Submitted by: orion
2002-07-28 02:34:39 +00:00
fenner
ee621bb64a
Merge 1.4a12
2002-07-28 02:26:31 +00:00
fenner
c8bf584e69
This commit was generated by cvs2svn to compensate for changes in r100784,
...
which included commits to RCS files with non-trunk default branches.
2002-07-28 02:24:33 +00:00
fenner
30e877e999
Virgin import of LBL traceroute v1.4a12
2002-07-28 02:24:33 +00:00
dcs
6045b837d6
s/ifdef/ifndef/.
...
Fenner got this inverted through a misunderstanding between us.
2002-07-23 12:25:34 +00:00
fenner
d5467bd904
Add '+FreeBSD' to the version string, to reflect that this program
...
bears little relationship to the one from LBL with the same
name and version number.
2002-07-23 00:56:52 +00:00
fenner
c9f6925854
Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .
...
Submitted by: dcs
2002-07-22 23:01:11 +00:00
fenner
818d4f6499
Actually use gen_prep() and gen_check(), instead of udp_prep() and
...
udp_check(), for unknown protocols.
2002-07-22 22:07:23 +00:00
robert
594ec288d5
Allocate and clear the correct number of bytes for a
...
struct fd_set that should be able to hold sock + 1 bits.
Before, it was apparently assumed that an fd_mask has
the same size as type char.
PR: bin/39617
Reported by: Peter N Lewis <peter@stairways.com.au>
2002-06-23 21:54:18 +00:00
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