risso
3d932490b8
Added support for Win32, based on WinPcap.
2002-08-01 08:52:55 +00:00
guy
86cfeae8ab
From Kazushi Sugyo <sugyo@pb.jp.nec.com>:
...
Here is a patch for draft-ietf-mobileip-ipv6-17.
- print-mobility.c: Mobility header(MIPv6 defines a new IPv6 protocol)
printing
- added Routing header type 2
- ICMPv6 Home Agent Address Discovery and Mobile Prefix Sol., Adv.
message update
2002-06-27 08:21:39 +00:00
itojun
111ff8a61d
whitespace cleanup
2002-06-11 17:08:37 +00:00
itojun
2f3fdf1a15
typo, from openbsd
2002-05-30 22:01:34 +00:00
itojun
f0bcafc716
-Wunused
2002-04-02 02:57:39 +00:00
guy
88937a62d9
Updates from Kazushi Sugyo <sugyo@pb.jp.nec.com> for
...
draft-ietf-mobileip-ipv6-15.
2002-03-28 10:02:34 +00:00
guy
670490dedc
Support for Home Agent Information in ICMPv6, from Kazushi Sugyo
...
<sugyo@pb.jp.nec.com>.
2001-12-09 05:22:27 +00:00
itojun
ac5533eb9e
need string.h
2001-06-27 02:48:43 +00:00
fenner
a11713da52
Remove #if 0 sections
...
Finish converting over to having the caller print the IP address
(except for UDP, TCP and SCTP). This consists mostly of removing
places where the IP address is printed, both in the big "case"
in ip_print() and in the individual printers.
Also fix a couple of spacing bugs.
2001-06-15 22:17:31 +00:00
itojun
8346a95c66
move router preference decls into icmp6.h
2001-06-01 23:01:04 +00:00
itojun
5d12078039
sync with 2292bis-02/ND_RA_FLAG_HOME_AGENT
2001-06-01 22:59:45 +00:00
itojun
cc7b519792
reject nd6 opts with bad length
2001-06-01 04:08:57 +00:00
itojun
28230fe9af
cleanup. do not use recurse for nd option priting.
2001-06-01 03:49:02 +00:00
itojun
ea3df106b5
decode draft-ietf-ipngwg-router-preference, specific route information.
...
(note: nd option type 9 is not officially assigned yet)
2001-06-01 03:32:27 +00:00
fenner
339f6a65b2
Don't print multiple lines for a single packet unless -vv
2001-05-10 05:30:20 +00:00
itojun
96920d5c73
support draft-draves-ipngwg-router-selection-01.txt router preference.
...
from jinmei
2001-05-09 02:43:40 +00:00
fenner
f968977edf
Quiet down gcc -Wall
2001-05-09 01:08:03 +00:00
itojun
9f850d29f7
typo in message. from netbsd-current
2001-02-20 01:13:56 +00:00
itojun
a85f215bc4
meet 2292bis-02 for RA option decls
2001-01-28 09:09:36 +00:00
itojun
64a0e95995
sync with 2292bis-02: ND_OPT_ADVINTERVAL
2001-01-28 09:02:14 +00:00
itojun
d10c8baa8b
sync RR flag bit name with draft-ietf-ipngwg-rfc2292bis-02.txt.
2001-01-22 02:31:18 +00:00
itojun
f3b1a28284
add mobile-ip6 option handling. patches@tcpdump.org #113
...
from Timo Koskiahde.
2000-12-13 07:57:04 +00:00
itojun
c237b80b77
simplify case statement
2000-11-12 15:16:16 +00:00
itojun
5243609316
always print router renumber sequence number, even without -v.
2000-11-08 13:03:12 +00:00
itojun
a620483952
print sequence number in router renumber message.
2000-11-08 13:01:37 +00:00
itojun
ce233ff12b
rrenum minor tweaks (endian conversion for reserved field printing)
2000-11-08 10:10:59 +00:00
itojun
f91a43ad6c
RFC2894 (router renumber) decoding. more to go.
2000-11-08 09:28:43 +00:00
itojun
e35056d284
remove #ifdef no longer necessary (due to inclusion of icmp6.h into tcpdump kit)
2000-11-08 07:03:04 +00:00
itojun
01ebeb4600
no need to check struct defs in netinet/icmp6.h
2000-10-07 05:58:06 +00:00
itojun
ce132b307b
put stripped-down version of ip6.h and icmp6.h into tcpdump tree.
...
ip6.h is almost normal RFC2292 header.
icmp6.h has couple of extensions (not covered by RFC2292),
like MLD, ICMPv6 nodeinfo, and router renumber.
XXX how to synchronize with future kame changes?
2000-10-07 05:53:09 +00:00
itojun
b0385536d7
move ah/esp struct declratiaon into separate header (ah.h and esp.h).
...
they are from KAME.
use ah.h and esp.h where necessary.
2000-10-06 11:32:17 +00:00
itojun
3b1019f08e
unused variable
2000-10-06 06:18:35 +00:00
itojun
061c146d5d
typo. from jinmei@kame.net
2000-10-03 02:55:39 +00:00
itojun
64b4695379
typo in comment. from jinmei@kame.net
2000-10-03 02:19:04 +00:00
itojun
bbb665b76f
grab upper layer protocol by chasing extension header chain.
...
from jinmei@kame.net
2000-10-03 02:17:50 +00:00
guy
8fed70e6bd
Get "udp.h" from the tcpdump source tree, not from a system header file.
2000-09-29 05:46:11 +00:00
guy
cf53dc05f1
Get rid of includes of <netinet/in_systm.h>, and replace "n_short",
...
"n_long", and "n_time", defined in that file, with other types.
2000-09-29 04:58:33 +00:00
itojun
0e59c1e8d3
need udp.h for handling port unreach
2000-09-28 11:27:35 +00:00
guy
8b67f77134
Get rid of unneeded includes of <net/if.h>.
2000-09-28 06:42:55 +00:00
guy
536f512583
Add an "ip.h" header, to declare the IP stuff needed by dissectors, and
...
have dissectors include them rather than <netinet/ip.h> or
<netinet/ip_var.h>, if they actually need that stuff.
Put the declarations of the ICMP stuff directly into "print-icmp.c".
Remove all unnecessary includes of <netinet/ip*.h> files.
Copy the byte-order stuff from "nameser.h" into "tcp.h".
2000-09-23 08:54:24 +00:00
guy
7b50febe28
Add "tcp.h" and "udp.h" headers, to declare the TCP and UDP stuff needed
...
by dissectors, and have dissectors include them rather than
<netinet/udp.h>, <netinet/udp_var.h>, or <netinet/tcp.h>, if they
actually need that stuff.
Remove all unnecessary includes of <netinet/udp*.h> or <netinet/tcp*.h>
files.
2000-09-23 08:26:30 +00:00
guy
e894092542
Add definitions of Ethernet types from
...
"linux-includes/netinet/if_ether.h" to "ethertype.h".
Move other stuff used by dissectors from <netinet/if_ether.h> to
"ether.h", along the lines of "fddi.h" and "token.h".
Move ARP declarations from BSD include files to "print-arp.c".
Remove from dissectors includes of <netinet/if_ether.h>, and add
includes of "ethertype.h" and/or "ether.h" as necessary.
Get rid of configuration options that test declarations now made in
"ether.h" or "print-arp.c", as those declarations are now under our
control, not the OS's control.
2000-09-23 08:03:27 +00:00
itojun
c25493a5b5
typo. query/reply mixup. from jinmei@kame.net
2000-08-30 14:28:44 +00:00
itojun
2ccbd10907
icmp6 nodeinfo printing; "node addresses" have TTL field with addresses.
...
repair boundary check, avoid overrun.
2000-08-29 16:04:55 +00:00
itojun
f99f9eef51
typo in ni query/reply. ICMP6_NI_SUCESS -> SUCCESS
2000-08-03 14:25:57 +00:00
itojun
5b55c55986
beautify node information query printing
2000-07-16 05:25:16 +00:00
assar
2b1907d4d8
handle the case of not having any mld6 struct at all. From Juergen
...
Schoenwaelder <schoenw@ibr.cs.tu-bs.de>
2000-06-26 20:04:53 +00:00
itojun
e44561cc48
avoid possible infinite loop in relts_print().
...
move safeputchar() and safeputs() into util.c for better code sharing.
some style.
2000-06-03 16:40:35 +00:00
itojun
abee15c4e9
do not attempt to telnet option chars directly - they usually include
...
binaries like \001 or \200, and damages screen output.
improve safeputc() - print 0x80 and beyond in \xxx.
2000-05-28 04:23:14 +00:00
itojun
f65f095f61
improve DNS name decoder (termination)
2000-05-17 14:54:03 +00:00
itojun
f411ba42d7
correct NI6 subject name printing (DNS).
2000-05-15 09:23:49 +00:00
itojun
0a222e15b7
more correction to NI6 FQDN printing.
2000-05-15 06:27:02 +00:00
itojun
a78d1e7ca6
correct termination processing for DNS payload decoding (NI6 FQDN).
...
maybe we should just call ns_nprint().
2000-05-15 06:22:16 +00:00
itojun
befd81a989
icmp6 nodeinfo; DNS decoder will emit "???" for malformed/compressed form
2000-05-10 09:24:15 +00:00
itojun
b341d45273
remove unused variable.
2000-05-10 08:57:22 +00:00
itojun
bb0457a5e2
revise ICMPv6 nodeinfo decoding. based on 03-05 drafts
...
(there are way too many protocol changes)
2000-05-10 08:20:52 +00:00
itojun
69eb95b8e3
random cleanups. add some parens for clarity.
2000-04-28 11:46:11 +00:00
itojun
c9c414df15
style. s/switch(/switch (/.
2000-04-24 12:59:39 +00:00
assar
a5c28d2bd6
handle both struct icmp6_mld and struct mld6_hdr we have.
...
fallback definitions for some constants
2000-04-09 19:14:52 +00:00
itojun
2debca7071
don't overrun packet buffer when decoding ICMPv6 FQDN/who-are-you packet.
2000-03-13 05:00:04 +00:00
fenner
34ff77ff43
Unify rcsid[]'s.
2000-01-09 21:34:14 +00:00
fenner
b9ac23ce92
Switch to config.h instead of passing defines in DEFS.
1999-11-21 09:36:43 +00:00
itojun
c9d84d15c5
Bring in KAME IPv6 tcpdump. replaces esp/ah/isakmp decoder.
...
Hope I did not break anything. Portability on IPv4-only node needs checking,
I'll do this very soon. (sorry for rather jumbo commit)
XXx what is _FAVOR_BSD?
1999-10-30 05:11:06 +00:00