aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute
Commit message (Collapse)AuthorAgeFilesLines
* Update Makefile.depend filesSimon J. Gerraty2019-12-111-3/+0
| | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* Add Makefile.depend.optionsSimon J. Gerraty2019-12-111-0/+8
| | | | | | | | | | | | | | | | | | | | Leaf directories that have dependencies impacted by options need a Makefile.depend.options file to avoid churn in Makefile.depend DIRDEPS for cases such as OPENSSL, TCP_WRAPPERS etc can be set in local.dirdeps-options.mk which can add to those set in Makefile.depend.options See share/mk/dirdeps-options.mk Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22469 Notes: svn path=/head/; revision=355616
* pkgbase: Put a lot of binaries and lib in FreeBSD-runtimeEmmanuel Vadot2019-09-051-0/+1
| | | | | | | | | | | | All of them are needed to be able to boot to single user and be able to repair a existing FreeBSD installation so put them directly into FreeBSD-runtime. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21503 Notes: svn path=/head/; revision=351855
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* We use a few different ifdef's names to check if we are using Casper or not,Mariusz Zaborski2017-09-211-1/+1
| | | | | | | | | | let's standardize this. Now we are always use WITH_CASPER name. Discussed with: emaste@ MFC after: 1 month Notes: svn path=/head/; revision=323866
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-05-091-0/+4
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=318000
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-03-011-1/+1
| | | | | | | | | | This simplifies pathing in make/displayed output. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314459
* Capsicumize traceroute.Mariusz Zaborski2017-02-201-0/+8
| | | | | | | | | | PR: 193973 Submitted by: Mikhail <mp39590@gmail.com> Reviewed by: pjd, bapt, emaste, AllanJude Differential Revision: https://reviews.freebsd.org/D9303 Notes: svn path=/head/; revision=314000
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-2/+0
| | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* Add META_MODE support.Simon J. Gerraty2015-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 Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-271-2/+1
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-191-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+23
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |/ |/| | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | Make SOCK_RAW sockets to be truly raw, not modifying received and sentGleb Smirnoff2014-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. Notes: svn path=/head/; revision=270929
* traceroute(8): make WARNS=3 cleanUlrich Spörlein2010-12-041-1/+1
| | | | | | | Also fixes an operator precedence bug for TCP tracerouting Notes: svn path=/head/; revision=216184
* Remove unused traceroute(8) contrib code from headUlrich Spörlein2010-11-271-1/+1
| | | | | | | It still lives on under vendor/traceroute. Notes: svn path=/head/; revision=215937
* 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