summaryrefslogtreecommitdiffstats
path: root/usr.sbin/traceroute6/traceroute6.c
Commit message (Collapse)AuthorAgeFilesLines
* pfSense: Import patch from bugzilla 210286Renato Botelho2016-07-071-0/+4
|
* Add -a and -A option to the usage.ume2012-05-081-2/+3
| | | | MFC after: 1 week
* Remove the advertising clause from UCB copyrighted files in usr.sbin. Thisjoel2010-12-111-4/+0
| | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
* traceroute6(8): make WARNS=3 cleanuqs2010-12-041-14/+13
|
* - Add AS lookup functionality to traceroute6(8) as well.ume2009-08-231-1/+28
| | | | | | | | | - 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.
* Give traceroute6 the ability to traceroute with packets with nodwmalone2008-02-101-47/+104
| | | | | | upper layer header (IP PROTO = 59). Useful for testing firewalls. MFC after: 2 months
* Cleanup of userland __P usekevlo2007-11-071-12/+12
|
* When processing multi-path ip6 routers, place each router entry on itscsjp2007-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
* Commit IPv6 support for FAST_IPSEC to the tree.gnn2007-07-011-1/+1
| | | | | | | | This commit includes all remaining changes for the time being including user space updates. Submitted by: bz Approved by: re
* o I failed to find a suitable explanation why traceroute(8) andmaxim2007-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
* Use setresuid for simple privilege dropping.kevlo2007-03-081-2/+6
|
* Sync up with KAME. The main change is to try to avoid exposingdwmalone2004-06-131-56/+36
| | | | | | | exposing information about the endianness and alighment requirements in the packets sent by traceroute6. Obtained from: KAME
* - setsockopt/sysctl takes int, not u_long.ume2003-11-121-82/+137
| | | | | | | | | | | | | | - 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
* - styleume2003-10-231-145/+131
| | | | | | | - index() -> strchr() - stop use of MAXHOSTNAMELEN Obtained from: KAME
* stop use of NI_WITHSCOPEID. it was deprecated.ume2003-10-211-16/+7
| | | | Obtained from: KAME
* Quote from a Problem Report:maxim2003-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
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Back out previous commit. I was a bit overzealous: the fd_set size isnectar2002-09-091-2/+0
| | | | calculated dynamically here.
* Check for FD_SET overrun.nectar2002-09-091-0/+2
|
* Sync with recent KAME.ume2001-06-111-24/+66
| | | | | | | | | | | | | | | | | | 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
* Sync with KAME. Don't write past the end of the fd_set.kris2000-10-081-6/+27
| | | | Obtained from: KAME
* Don't call errx() without a format string, to protect against possiblekris2000-08-051-4/+4
| | | | | | localized error messages from ipsec_strerror(). Obtained from: OpenBSD
* Sync with latest KAME code.kris2000-07-051-130/+357
| | | | Obtained from: KAME
* Security fixes. (Just same as sbin/ping and usr.sbin/traceroute)shin2000-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>
* replace gethostbyname() with getaddrinfo(), and gethostbyaddr() withshin2000-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
* remove redundant ifdef's.shin2000-01-071-71/+0
| | | | some part is specified by: phantom
* Getaddrinfo(), getnameinfo(), and etc support in libc/net.shin1999-12-281-0/+1127
Several udp and raw apps IPv6 support. Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
OpenPOWER on IntegriCloud