Commit Graph

95 Commits

Author SHA1 Message Date
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
itojun 3d2b0dbc0e strncpy -> strlcpy 2003-05-17 18:13:55 +00:00
itojun 5818b97495 assume getifaddrs(3) 2003-05-15 14:47:49 +00:00
itojun e24f1908e1 byebye savestr. with savestr() we can't free(). 2003-05-15 14:34:39 +00:00
itojun 723a0d30ad just for safety 2003-05-15 00:08:10 +00:00
itojun f2bfdc2f65 traceroute.c doesn't use savestr() 2003-05-15 00:04:16 +00:00
wiz 1afb9ef148 NFSNET. From Igor Sobrado in PR 19691. 2003-04-06 20:14:41 +00:00
perry eafc4fe7d1 MERCHANTIBILITY->MERCHANTABILITY
4.4bsd->4.4BSD
PR misc/20747 from Igor Sobrado
Note he also asked for NSFNet -> NSFNET which I didn't do -- it seems
arbitrary and unneeded.
XXX Patch submitted back to traceroute@ee.lbl.gov -- are they still active?
XXX Should this be converted to mdoc?
2003-03-31 00:32:54 +00:00
wiz d59e6d5863 HP-UX, not HPUX. Igor Sobrado, PR 19678. 2003-03-30 21:37:52 +00:00
wiz 3425830569 Uppercase ULTRIX. Igor Sobrado in PR 19678. 2003-03-30 21:20:17 +00:00
perry 8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
wiz 0691bb2061 Fix order of letters in calculated, from Adrian Mrva. 2002-12-21 12:48:51 +00:00
itojun 07780ab297 die if strdup failure 2002-11-16 15:43:52 +00:00
itojun 240664d004 strto* audit. 2002-11-16 03:36:17 +00:00
itojun 901d58cdce poll.h, not sys/poll.h 2002-10-01 05:56:12 +00:00
mycroft 36b12b30ec select() -> poll() 2002-09-18 23:33:37 +00:00
itojun 072e5e6887 it is no use to do SO_DONTROUTE on receive socket. stevesk@openbsd 2002-08-12 02:51:07 +00:00
itojun d36c8b47de no need for struct timezone. From: Kevin Steves <kevin@atomicgears.com> 2002-08-09 02:57:09 +00:00
itojun f34e694103 correct in_cksum2 for odd length case 2002-08-01 09:03:50 +00:00
itojun 80964024a7 kill register variable decls, they are meaningless these days 2002-08-01 09:02:18 +00:00
itojun 518af973ec u_short cleansing (use u_int16_t where appropriate).
XXX in_cksum2 does not seem correct in odd length case
2002-08-01 08:41:32 +00:00
scw 4036c57dcb Work-around an internal compiler error on the SuperH sh5 toolchain. 2002-07-11 20:07:07 +00:00
wiz b73d58cd80 Remove __P(). 2002-07-06 21:52:05 +00:00
wiz 56b7e3b326 Remove some unnecessary cruft. 2002-07-06 21:51:49 +00:00
wiz f718edfc2a unifdef __STDC__ 2002-07-06 21:46:59 +00:00
itojun 1fd7b003fa it is highly unlikely that protocol # for ip/icmp to change. from deraadt. 2002-06-29 12:12:57 +00:00
itojun c264025d4e grab max hlim/ttl from kernel via sysctl. sync w/openbsd 2002-05-26 14:45:43 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
fair 38f90cfb28 Patch from PR 14724 to document the -q option. 2002-02-04 10:49:19 +00:00
wiz 253bbb63be Fix xref. 2002-02-02 02:03:13 +00:00
wiz a2d753e3ef Whitespace nits. 2002-01-19 11:44:57 +00:00
yamt 59998d6154 check if timeout already expired before select.
from OpenBSD/FreeBSD.
2002-01-12 02:42:58 +00:00
atatat f5d592cf44 Add support for printing the AS number associated with the address at
each hop.
2001-11-04 23:14:35 +00:00
yamt 76e9d7eb12 fix lsrr. 2001-10-09 12:43:37 +00:00
wiz ccfe29f3cf Symmetric has one s and two m's. 2001-06-18 11:23:00 +00:00
cgd 4edf8bff8e Don't forget the trailing newline. 2001-01-16 02:34:34 +00:00
itojun 48110adac6 correct fd_set allocation. from deraadt 2001-01-12 18:53:20 +00:00
wiz 341453a017 Remove duplicate entry for -d option, fixing misc/11414.
Sort options while I'm here.
2000-11-02 18:16:43 +00:00
itojun 6626345485 avoid fd_set overflow. see openbsd select(2).
XXX should we use poll(2)?
2000-10-07 06:53:41 +00:00
sommerfeld 802499fd1c Avoid using savestr() on something which will later be passed to
free().  Raised as a potential security issue on bugtraq.  No actual
exploits known.
2000-09-30 12:44:37 +00:00
itojun 9dea945457 nroff nit for SYNOPSIS section. should we translate it to mdoc format? 2000-06-12 16:26:13 +00:00
itojun 4e4447b130 use getifaddrs, not SIOCGIFCONF, to avoid complex alignment constraints. 2000-04-13 07:53:29 +00:00
itojun a58fc4d3b8 sync with latest libipsec/kernel. 2000-01-31 14:25:42 +00:00
sommerfeld 0cd03c86b4 Fix use of -I and -P at the same time by refactoring so there's only
one set of code which knows how to resize the packet.
Report when we shrink MTU because of an EMSGSIZE return; fix
formatting to let this not look ugly.
Add a few likely MTU's to the table (1480 and 1280).
2000-01-25 16:24:32 +00:00
itojun e33da94c5b configure IPsec policy on sending/receiving socket for bypassing IPsec.
If IPsec default policy is configured for destination
traceroute will never success (because encrypted icmp timexceeded
is unrecognizable).
1999-09-03 03:10:38 +00:00
kim 6f775308a6 Only require half of the responses to indicate that the destination is
unreachable.  This makes traceroute exit when it encounters a Cisco, which
typically does not respond to every other probe (or so) when either there
is no route to the destionation or an access list is blocking the probes.
1999-06-19 05:07:44 +00:00
is b5937495f5 Fix typo. 1999-06-16 20:47:57 +00:00
is 38f1211404 Add sanity check for MTU size in fragmentation required packets. 1999-06-16 20:43:48 +00:00
is 847d4766be Factor out common code in the fragmentation required branch. 1999-06-16 20:10:07 +00:00
is a11ec6ccb8 Don't forget to update the UDP length when changing the packet length.
Reported by Johan Danielsson in PR 7781; the fix is an updated version
(by the same person) of the patch in the PR.
1999-06-16 13:52:58 +00:00