aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling.Bjoern A. Zeeb2010-01-091-1/+1
| | | | | | | | | Submitted by: (pluknet gmail.com) MFC after: 4 days X-MFC with: r201806 Notes: svn path=/head/; revision=201897
* Switch traceroute over to make use of proper in-kernel sourceBjoern A. Zeeb2010-01-082-2/+96
| | | | | | | | | | | | | address selection. Reviewed by: rwatson, fenner MFC after: 1 week X-MFCable to: stable/8, stable/7 (after r183571). PR: kern/139454 Tested by: Frank Steinborn (steinex nognu.de) Notes: svn path=/head/; revision=201806
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | Notes: svn path=/head/; revision=201390
* Add AS lookup functionality. On each hop we query a whois server toRui Paulo2008-02-201-1/+1
| | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=176428
* Remove alpha left-overs.Ruslan Ermilov2006-08-221-5/+0
| | | | Notes: svn path=/head/; revision=161526
* NOIPSEC -> TRACEROUTE_NO_IPSECRuslan Ermilov2004-12-211-2/+2
| | | | Notes: svn path=/head/; revision=139125
* Update for traceroute 1.4a12Bill Fenner2002-07-281-3/+6
| | | | Notes: svn path=/head/; revision=100788
* Add '+FreeBSD' to the version string, to reflect that this programBill Fenner2002-07-231-1/+2
| | | | | | | | bears little relationship to the one from LBL with the same name and version number. Notes: svn path=/head/; revision=100540
* Set BINOWN=root explicitly for setuid root binaries.Ruslan Ermilov2001-09-131-0/+1
| | | | | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case. Notes: svn path=/head/; revision=83391
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-13/+15
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Fetch the default maximum TTL value from the net.inet.ip.ttl MIB.Ruslan Ermilov2001-06-061-1/+2
| | | | | | | | PR: bin/19598 MFC after: 1 week Notes: svn path=/head/; revision=77816
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74532
* Don't compile in IPsec support when NOIPSEC is defined.Yoshinobu Inoue2000-04-011-1/+6
| | | | | | | | PR: bin/17739 Submitted by: Omachonu Ogali <oogali@intranova.net> Notes: svn path=/head/; revision=58904
* Bypass IPsec for traceroute invoked by root.Yoshinobu Inoue2000-03-301-1/+3
| | | | | | | | PR: bin/17606 Submitted by: Louis Mamakos <louie@TransSys.COM Notes: svn path=/head/; revision=58804
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50479
* Add '-fno-builtin' to CFLAGS for alpha.Hidetoshi Shimokawa1999-01-131-1/+7
| | | | | | | | | Builtin memcpy is not align-aware. Approved by: jkh Notes: svn path=/head/; revision=42624
* Remove useless `BINOWN=root' now that it is the default.David E. O'Brien1998-09-191-2/+1
| | | | Notes: svn path=/head/; revision=39496
* $@ is deprecated, use longer forms of single char macrosWarner Losh1998-06-091-3/+3
| | | | Notes: svn path=/head/; revision=36799
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Grab traceroute out of src/contrib/tracerouteBill Fenner1996-09-307-1429/+14
| | | | Notes: svn path=/head/; revision=18584
* Change strcpy() to strncpy() in several places, and give gethostname()Bill Fenner1996-09-101-5/+5
| | | | | | | | | | | | | the real buffer size. Note that the strncpy(domain, ...) doesn't need to be a strncpy(), since it is copying from itself to itself, but belts and suspenders don't hurt and this is not time-critical code. Fixes the half of PR bin/1581 that wasn't fixed in rev 1.7 Submitted by: Karl <karl@codebase.mcs.net> Notes: svn path=/head/; revision=18197
* Decode ICMP_UNREACH_FILTER_PROHIB responses as !F, from RFC1812.Peter Wemm1996-08-211-1/+10
| | | | | | | | | | Suggested by: Bill Fenner <fenner@parc.xerox.com> Additionally, print unrecognised ICMP_UNREACH codes numerically. eg, code 15 would show up as !<15>. Notes: svn path=/head/; revision=17737
* Back out part of my previous commit. The bug was fixed over 12 monthsPeter Wemm1996-08-211-11/+1
| | | | | | | ago in FreeBSD more cleanly. Notes: svn path=/head/; revision=17736
* Fixes from NetBSD:Peter Wemm1996-08-172-4/+40
| | | | | | | | | | | - inet_ntoa() returns a pointer to a static buffer, dont use it twice in the same printf(). - prevent the possibility of never timing out - Report two more ICMP error types (prohibited nets etc) And some (commented out) enhancements that I use, but some don't like. Notes: svn path=/head/; revision=17637
* Fix last commit (and PR bin/1489) by creating both sockets beforeBill Fenner1996-08-131-4/+7
| | | | | | | setuid(). Notes: svn path=/head/; revision=17582
* Drop setuid ASAP, to minimize code executed as root.Bill Fenner1996-08-091-3/+18
| | | | | | | Reviewed by: pst Notes: svn path=/head/; revision=17474
* Bring in LBL traceroute, which has the '-g' option. This is a bugfixed andPaul Traina1996-03-135-341/+297
| | | | | | | | modified version of Leres' latest work. No FreeBSD changes have been spammed. Notes: svn path=/head/; revision=14612
* Hostname points to static area which overrides with each gethost*Andrey A. Chernov1996-01-191-1/+1
| | | | | | | call, strdup() it. Notes: svn path=/head/; revision=13489
* bugfix: traceroute hangs forever, if another ICMP traffics exists andAndrey A. Chernov1995-07-231-5/+14
| | | | | | | | timeout occurse, close PR 612 Submitted by: Bill Fenner <fenner@parc.xerox.com> Notes: svn path=/head/; revision=9648
* Changed output formatting to correctly represent the precision - it'sDavid Greenman1994-08-291-1/+1
| | | | | | | not cool to truncate trailing zeros.. Notes: svn path=/head/; revision=2393
* Get rid of update. Make man page installation work with our schemeGarrett Wollman1994-08-051-1/+1
| | | | | | | (and rename a few in the process). Notes: svn path=/head/; revision=1863
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-266-0/+1422
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553