| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
to match that.
MFC after: 3 days
|
|
|
|
|
|
| |
applies to UDP and UDP-Lite.
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
number of words in host byte order. Also remove a stray 'x'.
MFC after: 3 days
|
|
|
|
|
|
|
| |
correctly and use 40 as the default (if the minumum allows it), as
specified in the man page.
MFC after: 3 days
|
|
|
|
|
|
|
| |
of only 4. This is guaranteed by RFC 792 and the verification of GRE, ICMP
and TCP packets use 8 bytes.
MFC after: 3 days
|
| |
|
|
|
|
|
| |
Reviewed by: brueffer
No objection: ru, uqs
|
|
|
|
|
|
| |
incoming packets. So all packets seemed to be lost.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
is defined, but then proceeds to use a hardcoded maximum hostname length
of 64 anyway. Fix this by checking against MAXHOSTNAMELEN instead.
PR: bin/157732
MFC after: 3 days
|
|
|
|
|
|
|
| |
While it will not fail in normal circumstances, better safe than sorry.
Reported by: LLVM's clang static analyzer
MFC after: 3 days
|
|
|
|
| |
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
|