| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Also fixes an operator precedence bug for TCP tracerouting
|
|
|
|
| |
It still lives on under vendor/traceroute.
|
|
|
|
|
| |
Obtained from: NetBSD
Approved by: core
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
This commit includes all remaining changes for the time being including
user space updates.
Submitted by: bz
Approved by: re
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
the probe packet we sent and the packet quoted by the ICMP response.
Can be useful for spotting hops that change the packet in-flight
or have problems generating correct ICMP responses.
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in http://www.iana.org/assignments/icmp-parameters. Thankfully
IANA's list aggrees with <netinet/ip_icmp.h>.
I've tried to do this in a way which is mostly consistent with
tcptraceroute and Debian's version of traceroute. However, sometimes
a letter is used twice by these versions, so I've gone with:
LBL tcptr Debian (chosen)
ICMP_UNREACH_NET !N !N !N !N
ICMP_UNREACH_HOST !H !H !H !H
ICMP_UNREACH_PROTOCOL !P !P !P !P
ICMP_UNREACH_PORT ! !p ! !
ICMP_UNREACH_NEEDFRAG !F-%d !F !F-<%d> !F-<%d>
ICMP_UNREACH_SRCFAIL !S !S !S !S
ICMP_UNREACH_NET_UNKNOWN !<%d> !U !<%d> !U
ICMP_UNREACH_HOST_UNKNOWN !<%d> !U !<%d> !W
ICMP_UNREACH_ISOLATED !<%d> !I !I !I
ICMP_UNREACH_NET_PROHIB !<%d> !A !A !A
ICMP_UNREACH_HOST_PROHIB !<%d> !C !C !Z
ICMP_UNREACH_TOSNET !<%d> !T !T !Q
ICMP_UNREACH_TOSHOST !<%d> !T !T !T
ICMP_UNREACH_FILTER_PROHIB !X !A !A !X
ICMP_UNREACH_HOST_PRECEDENCE !V !<%d> !V !V
ICMP_UNREACH_PRECEDENCE_CUTOFF !C !<%d> !C !C
Graham Wilson is planning to use the same codes in Debian's version.
MFC after: 3 weeks
|
|
|
|
| |
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
| |
to a host behind a firewall where only specific services are allowed.
For example, to trace the hops to an HTTP server behind a firewall,
$ traceroute -e -P tcp -p 80 www-firewalled.example.com
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
probe
Before:
5 *
freebsd (195.250.137.134) 19.086 ms 24.694 ms
After:
5 * freebsd (195.250.137.134) 19.086 ms 24.694 ms
Fixes: bin/90098
Reported by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Approved by: andre
MFC after: 1 day
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before (backslash in c syntax meaning):
6 p16-2-0-0.r21.sttlwa01.us.bb.verio.net (129.250.2.180) 71.027 ms \
p16-1-1-3.r20.sttlwa01.us.bb.verio.net (129.250.2.6) 66.730 ms 66.535 ms
7 xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.092 ms \
xe-3-1.r00.sttlwa01.us.bb.verio.net (129.250.2.205) 66.598 ms \
xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.024 ms
After:
6 p16-2-0-0.r21.sttlwa01.us.bb.verio.net (129.250.2.180) 71.027 ms
p16-1-1-3.r20.sttlwa01.us.bb.verio.net (129.250.2.6) 66.730 ms 66.535 ms
7 xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.092 ms
xe-3-1.r00.sttlwa01.us.bb.verio.net (129.250.2.205) 66.598 ms
xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.024 ms
Submitted by: Richard A Steenbergen <ras at e-gerbil.net>
MFC after: 3 days
|
|
|
|
|
|
| |
destination port is incremented for each packet sent to the same hop.
MFC after: 1 week
|
| |
|
|
|
|
|
| |
PR: bin/29026
MFC after: 1 week
|
|
|
|
|
|
| |
PR: misc/61336
Submitted by: Mike Hibler <mike@cs.utah.edu>
Approved by: rwatson (mentor)
|
|
|
|
|
| |
PR: docs/44930
Submitted by: Michael McGoldrick <mmcgoldrick@linuxdriven.net>
|
|
|
|
| |
sizeof(u_int32_t).
|
|
|
|
|
|
|
| |
IP header and protocol header seperately.
Also calculate TCP checksums.
Submitted by: orion
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| | |
Fenner got this inverted through a misunderstanding between us.
|
| |
| |
| |
| |
| | |
bears little relationship to the one from LBL with the same
name and version number.
|
| |
| |
| |
| | |
Submitted by: dcs
|
| |
| |
| |
| | |
udp_check(), for unknown protocols.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
struct fd_set that should be able to hold sock + 1 bits.
Before, it was apparently assumed that an fd_mask has
the same size as type char.
PR: bin/39617
Reported by: Peter N Lewis <peter@stairways.com.au>
|
| |
| |
| |
| |
| | |
PR: bin/19598
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
a June 2000 GCC 2.96 snapshot.
Reviewed by: bde
|
| |
| |
| |
| | |
Obtained from: OpenBSD, via KAME
|
| | |
|
| |
| |
| |
| |
| | |
PR: bin/18153
Prompted by: Nathan Ahlstrom <nrahlstr@winternet.com>
|
| |
| |
| |
| |
| |
| | |
Specified by: bde
Reviewed by: bde
|
| |
| |
| |
| |
| | |
PR: bin/17606
Submitted by: Louis Mamakos <louie@TransSys.COM
|
| |
| |
| |
| |
| | |
PR: docs/14523
Submitted by: Adam Morrison <adam@xpert.com>
|
| |
| |
| |
| | |
Restore original $Header$.
|
| |
| |
| |
| |
| |
| | |
of 33435 like before.
Reported by: John Polstra <jdp@polstra.com>
|
| |
| |
| |
| |
| |
| | |
allows you to start tracing at a hop number other than 1.
Submitted by: Stefan `Sec` Zehl <sec@42.org>
|
| |
| |
| |
| |
| |
| |
| | |
instead of just UDP; an alternate protocol is specified by '-P proto'.
This is useful for finding routers that are blocking packets based on
IP protocol. New handlers can be added fairly easily to do protocol-
specific things.
|
| |
| |
| |
| | |
Submitted by: bde
|
| |
| |
| |
| | |
would overflow and you'd end up doing select() with a negative timeout.
|
| | |
|
| |
| |
| |
| |
| | |
PR: 5469
Submitted by: NOKUBI Hirotaka <h-nokubi@yyy.or.jp>
|
| |
| |
| |
| | |
Submitted by: asami
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(implemented better, admittedly) with a new option, '-S'. If the
maintainers of traceroute (Van?) add a -S option, we will then be in
conflict.
Also added a too-brief description of the option in the man page. Someone
with a better command of English than I at the moment should probably look
over it and rephrase it.
Reviewed by: pst, jkh
|
| |
| |
| |
| |
| |
| | |
just yet, I know, evil of me.
Reviewed by: jkh
|
| | |
|