summaryrefslogtreecommitdiffstats
path: root/usr.sbin/traceroute
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+22
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+1
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-1/+1
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+23
| | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| |/ |/| | | | | Reduce overlinking
* | Make SOCK_RAW sockets to be truly raw, not modifying received and sentglebius2014-09-011-1/+1
|/ | | | | | | | | | | | | | packets at all. Swapping byte order on SOCK_RAW was actually a bug, an artifact from the BSD network stack, that used to convert a packet to native byte order once it is received by kernel. Other operating systems didn't follow this, and later other BSD descendants fixed this, leaving us alone with the bug. Now it is clear that we should fix the bug. In collaboration with: Olivier Cochard-Labbé <olivier cochard.me> See also: https://wiki.freebsd.org/SOCK_RAW Sponsored by: Nginx, Inc.
* traceroute(8): make WARNS=3 cleanuqs2010-12-041-1/+1
| | | | Also fixes an operator precedence bug for TCP tracerouting
* Remove unused traceroute(8) contrib code from headuqs2010-11-271-1/+1
| | | | It still lives on under vendor/traceroute.
* Correct spelling.bz2010-01-091-1/+1
| | | | | | Submitted by: (pluknet gmail.com) MFC after: 4 days X-MFC with: r201806
* Switch traceroute over to make use of proper in-kernel sourcebz2010-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)
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* Add AS lookup functionality. On each hop we query a whois server torpaulo2008-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)
* Remove alpha left-overs.ru2006-08-221-5/+0
|
* NOIPSEC -> TRACEROUTE_NO_IPSECru2004-12-211-2/+2
|
* Update for traceroute 1.4a12fenner2002-07-281-3/+6
|
* Add '+FreeBSD' to the version string, to reflect that this programfenner2002-07-231-1/+2
| | | | | bears little relationship to the one from LBL with the same name and version number.
* Set BINOWN=root explicitly for setuid root binaries.ru2001-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.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-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.
* Fetch the default maximum TTL value from the net.inet.ip.ttl MIB.ru2001-06-061-1/+2
| | | | | PR: bin/19598 MFC after: 1 week
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* Don't compile in IPsec support when NOIPSEC is defined.shin2000-04-011-1/+6
| | | | | PR: bin/17739 Submitted by: Omachonu Ogali <oogali@intranova.net>
* Bypass IPsec for traceroute invoked by root.shin2000-03-301-1/+3
| | | | | PR: bin/17606 Submitted by: Louis Mamakos <louie@TransSys.COM
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add '-fno-builtin' to CFLAGS for alpha.simokawa1999-01-131-1/+7
| | | | | | Builtin memcpy is not align-aware. Approved by: jkh
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-2/+1
|
* $@ is deprecated, use longer forms of single char macrosimp1998-06-091-3/+3
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Grab traceroute out of src/contrib/traceroutefenner1996-09-307-1429/+14
|
* Change strcpy() to strncpy() in several places, and give gethostname()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>
* Decode ICMP_UNREACH_FILTER_PROHIB responses as !F, from RFC1812.peter1996-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>.
* Back out part of my previous commit. The bug was fixed over 12 monthspeter1996-08-211-11/+1
| | | | ago in FreeBSD more cleanly.
* Fixes from NetBSD:peter1996-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.
* Fix last commit (and PR bin/1489) by creating both sockets beforefenner1996-08-131-4/+7
| | | | setuid().
* Drop setuid ASAP, to minimize code executed as root.fenner1996-08-091-3/+18
| | | | Reviewed by: pst
* Bring in LBL traceroute, which has the '-g' option. This is a bugfixed andpst1996-03-135-341/+297
| | | | | modified version of Leres' latest work. No FreeBSD changes have been spammed.
* Hostname points to static area which overrides with each gethost*ache1996-01-191-1/+1
| | | | call, strdup() it.
* bugfix: traceroute hangs forever, if another ICMP traffics exists andache1995-07-231-5/+14
| | | | | timeout occurse, close PR 612 Submitted by: Bill Fenner <fenner@parc.xerox.com>
* Changed output formatting to correctly represent the precision - it'sdg1994-08-291-1/+1
| | | | not cool to truncate trailing zeros..
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-1/+1
| | | | (and rename a few in the process).
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-266-0/+1422
OpenPOWER on IntegriCloud