aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute6
Commit message (Collapse)AuthorAgeFilesLines
* Add -a and -A option to the usage.Hajimu UMEMOTO2012-05-081-2/+3
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=235138
* Remove the advertising clause from UCB copyrighted files in usr.sbin. ThisJoel Dahl2010-12-111-4/+0
| | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Notes: svn path=/head/; revision=216372
* traceroute6(8): make WARNS=3 cleanUlrich Spörlein2010-12-042-15/+14
| | | | Notes: svn path=/head/; revision=216185
* 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 to traceroute6(8) as well.Hajimu UMEMOTO2009-08-233-3/+42
| | | | | | | | | | | | - Support for IPv6 transport for AS lookup. - Introduce $RA_SERVER to set whois server. - Support for 4 byte ASN. - ANSIfy function declaration in as.c. Tested by: IHANet folks. Notes: svn path=/head/; revision=196475
* - rename the RETURN VALUES section to EXIT STATUSDaniel Gerzo2009-01-071-1/+1
| | | | | | | | | | - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days Notes: svn path=/head/; revision=186845
* Give traceroute6 the ability to traceroute with packets with noDavid Malone2008-02-102-48/+111
| | | | | | | | | upper layer header (IP PROTO = 59). Useful for testing firewalls. MFC after: 2 months Notes: svn path=/head/; revision=176154
* Cleanup of userland __P useKevin Lo2007-11-071-12/+12
| | | | Notes: svn path=/head/; revision=173412
* When processing multi-path ip6 routers, place each router entry on itsChristian S.J. Peron2007-10-241-0/+2
| | | | | | | | | | | | | own line. We made this change in traceroute(8) some time ago. This is particularly useful when you are not resolving hostnames since ip6 addresses can be quite long, and lines wrap fairly easily in the multi-path router case. Discussed with: bz MFC after: 1 month Notes: svn path=/head/; revision=172917
* Remove the -DFAST_IPSEC from Makefiles again.Bjoern A. Zeeb2007-07-051-1/+1
| | | | | | | | | | | | This was needed during the IPSEC->FAST_IPSEC->IPSEC transition period to not break the build after picking up netipsec header files. Now that the FAST_IPSEC kernel option is gone and the default is IPSEC again those defines are superfluous. Approved by: re (rwatson) Notes: svn path=/head/; revision=171246
* Commit IPv6 support for FAST_IPSEC to the tree.George V. Neville-Neil2007-07-012-2/+2
| | | | | | | | | | | This commit includes all remaining changes for the time being including user space updates. Submitted by: bz Approved by: re Notes: svn path=/head/; revision=171135
* o I failed to find a suitable explanation why traceroute(8) andMaxim Konovalov2007-04-301-2/+2
| | | | | | | | | | | | | traceroute6(8) force -w flag (wait time) to be > 1 sec. Make it possible to use 1 sec wait time. PR: bin/110933 Submitted by: Dmitry Marakasov Reviewed by: freebsd-net (silence) MFC after: 1 month Notes: svn path=/head/; revision=169144
* Use setresuid for simple privilege dropping.Kevin Lo2007-03-081-2/+6
| | | | Notes: svn path=/head/; revision=167314
* These IPv6-only tools have no explicit dependency on the INET6 macro.Yaroslav Tykhiy2006-07-271-1/+1
| | | | | | | Tested with: cmp(1) Notes: svn path=/head/; revision=160755
* - Fix: documentation for -m option was inserted halfway thru the text of -lPav Lucistnik2006-01-101-3/+3
| | | | | | | | | | | option. PR: docs/90359 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> MFC after: 3 days Notes: svn path=/head/; revision=154190
* Copy the description for the -r option from the traceroute(8) manDima Dorfman2005-12-221-0/+10
| | | | | | | | | page. I'm pretty sure that this description applies the same way to ipv6, and at least mentioning SO_DONTROUTE is better than having no description at all. Notes: svn path=/head/; revision=153638
* Fixed the misplaced $FreeBSD$.Ruslan Ermilov2005-02-091-1/+1
| | | | Notes: svn path=/head/; revision=141580
* mdoc(7) fixes.Ruslan Ermilov2004-07-071-11/+11
| | | | Notes: svn path=/head/; revision=131754
* Sync up with KAME. The main change is to try to avoid exposingDavid Malone2004-06-131-56/+36
| | | | | | | | | | exposing information about the endianness and alighment requirements in the packets sent by traceroute6. Obtained from: KAME Notes: svn path=/head/; revision=130422
* Add some more details about what traceroute6 does.David Malone2004-06-091-3/+40
| | | | | | | | | Submitted by: Orla McGann <orly@redbrick.dcu.ie> Obtained from: KAME MFC after: 2 weeks Notes: svn path=/head/; revision=130268
* Reapply traditionally lost fixes.Ruslan Ermilov2004-06-051-6/+4
| | | | Notes: svn path=/head/; revision=130135
* - setsockopt/sysctl takes int, not u_long.Hajimu UMEMOTO2003-11-122-90/+149
| | | | | | | | | | | | | | | | | - be more picky about argument parsing - like ERANGE. - use u_long for args, not to lose accuracy/prevent overflow. - socklen_t audit. - Add -I (use icmp) option. - warn if multiple addresses are present for dest. - no need to pass tz. - type pedant. check -p range. - grab hlim from sysctl. - typo in port number setting. Obtained from: KAME Notes: svn path=/head/; revision=122574
* Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542Hajimu UMEMOTO2003-10-241-1/+1
| | | | | | | | | | | | | (aka RFC2292bis). Though I believe this commit doesn't break backward compatibility againt existing binaries, it breaks backward compatibility of API. Now, the applications which use Advanced Sockets API such as telnet, ping6, mld6query and traceroute6 use RFC3542 API. Obtained from: KAME Notes: svn path=/head/; revision=121472
* - styleHajimu UMEMOTO2003-10-231-145/+131
| | | | | | | | | | - index() -> strchr() - stop use of MAXHOSTNAMELEN Obtained from: KAME Notes: svn path=/head/; revision=121435
* stop use of NI_WITHSCOPEID. it was deprecated.Hajimu UMEMOTO2003-10-211-16/+7
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=121316
* Quote from a Problem Report:Maxim Konovalov2003-07-211-1/+1
| | | | | | | | | | | | | | | The output format specifier for the round-trip time in ping6 should be changed to %.3f instead of %g since %g doesn't accurately represent the precision of the number being output. In particular, %g truncates trailing zeroes. 0.01 ms does not mean the same thing as 0.010 ms. Although they are numerically identical, they do not have the same precision. PR: bin/52324, bin/52750 Submitted by: dg MFC after: 1 week Notes: svn path=/head/; revision=117824
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,Jens Schweikhardt2003-01-011-1/+1
| | | | | | | especially in troff files. Notes: svn path=/head/; revision=108533
* Back out previous commit. I was a bit overzealous: the fd_set size isJacques Vidrine2002-09-091-2/+0
| | | | | | | calculated dynamically here. Notes: svn path=/head/; revision=103133
* Check for FD_SET overrun.Jacques Vidrine2002-09-091-0/+2
| | | | Notes: svn path=/head/; revision=103132
* The .Nm utilityPhilippe Charnier2002-07-141-2/+2
| | | | Notes: svn path=/head/; revision=99968
* Don't override BINGRP -- this binary is not ``setgid bin''.Ruslan Ermilov2001-09-131-1/+0
| | | | | | | | PR: bin/30538 Submitted by: Tony Finch <dot@dotat.at> Notes: svn path=/head/; revision=83393
* mdoc(7) police:Ruslan Ermilov2001-08-071-4/+2
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-5/+4
| | | | | | | | 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
* Sync with recent KAME.Hajimu UMEMOTO2001-06-112-24/+68
| | | | | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks Notes: svn path=/head/; revision=78064
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+2
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-2/+0
| | | | Notes: svn path=/head/; revision=74532
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68965
* Enable use of poll()Kris Kennaway2000-10-081-1/+1
| | | | Notes: svn path=/head/; revision=66812
* Sync with KAME. Don't write past the end of the fd_set.Kris Kennaway2000-10-081-6/+27
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=66808
* Don't call errx() without a format string, to protect against possibleKris Kennaway2000-08-051-4/+4
| | | | | | | | | localized error messages from ipsec_strerror(). Obtained from: OpenBSD Notes: svn path=/head/; revision=64276
* Sync with latest KAME code.Kris Kennaway2000-07-052-136/+388
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=62637
* Fix miscellaneous mdoc macro argument limit infringements.Sheldon Hearn2000-05-091-1/+1
| | | | | | | | PR: 18465 Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp> Notes: svn path=/head/; revision=60258
* Fix typoAlexey Zelkin2000-05-061-1/+2
| | | | | | | Noticed by: hoek Notes: svn path=/head/; revision=60096
* . clear `.Os' macro value since this tool is not KAME only anymoreAlexey Zelkin2000-05-011-6/+7
| | | | | | | | . add integration note . avoid `.Nm' value upper case usage Notes: svn path=/head/; revision=59849
* Security fixes. (Just same as sbin/ping and usr.sbin/traceroute)Yoshinobu Inoue2000-02-241-7/+9
| | | | | | | | | | | | -Open socket() at first and then setuid() to actual user. -Allow ping6 preload option only for root. Approved by: jkh Submitted by: Neil Blakey-Milner <nbm@mithrandr.moria.org> Notes: svn path=/head/; revision=57439
* replace gethostbyname() with getaddrinfo(), and gethostbyaddr() withYoshinobu Inoue2000-01-091-15/+24
| | | | | | | | | | getipnodebyaddr(). This resolve 2 problems. -can specify scope index(@ifname) for IPv6 link local addr -reverse lookup for IPv6 loopback addr(::1) was strange, but fixed Notes: svn path=/head/; revision=55658
* remove redundant ifdef's.Yoshinobu Inoue2000-01-071-71/+0
| | | | | | | some part is specified by: phantom Notes: svn path=/head/; revision=55543
* libipsec and IPsec related apps. (and some KAME related man pages)Yoshinobu Inoue2000-01-061-1/+3
| | | | | | | | Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55505
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.Yoshinobu Inoue1999-12-283-0/+1249
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project Notes: svn path=/head/; revision=55163