assar
93a233db65
link bpf_filter.c to make it work with all makes. problem reported by Rick Jones <raj@cup.hp.com>
2000-03-31 16:59:43 +00:00
assar
3417c26e0c
add %n 2000 to make it acceptable to lex. From Rick Jones <raj@cup.hp.com>
2000-03-31 16:59:07 +00:00
itojun
e3ddb0ce0f
improve message on ip{,6} host foo failure
2000-03-01 14:07:02 +00:00
itojun
d27ad07fae
fix "ip host foo" or "ip6 host foo" where foo has both A and AAAA records.
...
FreeBSD PR: 17083
2000-03-01 03:37:24 +00:00
itojun
47cea61df3
* use getifaddrs(3) whenever possible. this avoids use of SIOCGIFCONF.
...
SIOCGIFCONF is hard-to-use API since (1) it does not tell us amount
of buffer beforehand, (2) it is not friendly with alignment issues
due to use of packed struct.
2000-02-23 11:41:35 +00:00
itojun
03cc04a438
use getifaddrs whenever available.
...
SIOCGIFCONF is very complex API, so it would be good to avoid it whenever
possible.
2000-02-23 11:39:44 +00:00
kenh
b52c6e13ff
Support ATM LANE emulated devices.
2000-02-08 20:46:45 +00:00
fenner
b04bc7d664
Eliminate duplicated word in comment.
2000-01-29 21:01:27 +00:00
mcr
dd89824a8b
patch to compile on AIX
2000-01-25 03:21:29 +00:00
mcr
06865e0f1e
bumped version to 0.5
2000-01-25 02:25:04 +00:00
mcr
3271bef083
updated docs
2000-01-24 23:57:55 +00:00
mcr
dba6e9e734
fix to problem with buf being referenced after it is freed.
2000-01-14 23:55:31 +00:00
itojun
f1456fa8f9
change warning message on SIOCGIFADDR failure.
...
tcpdump: WARNING: gif0: no IPv4 address assigned
2000-01-13 17:08:59 +00:00
fenner
b45abf5566
Unify rcsid's
2000-01-10 18:42:59 +00:00
assar
ad3aa3abc6
regen
2000-01-08 06:39:17 +00:00
assar
c080e23470
(AC_REVISION): add
2000-01-08 06:08:49 +00:00
mcr
e660fb6947
This adds a new function that allows using the bpf compiler without
...
having a pcap open. One could argue that this and the existing
compiler should be factored in common routines, but I was trying to
make it clear that this wouldn't break the existing code.
from Greg Troxel <gdt@ir.bbn.com>
1999-12-08 19:54:03 +00:00
itojun
45ac9150b7
restrict result from getaddrinfo() by specifying hints.ai_socktype.
...
otherwise, multiple answer may be returned for single numeric address
(for SOCK_STREAM and SOCK_DGRAM, for example).
1999-11-25 08:25:35 +00:00
fenner
bd8f1d4a95
Switch to config.h instead of passing defines in DEFS.
1999-11-21 09:36:44 +00:00
assar
56c33c01be
(sf_next_packet, pcap_dump): convert between `pcap_pkthdr' and
...
`pcap_sf_pkthdr'
1999-11-21 01:11:58 +00:00
assar
44a0e923bd
(pcap_tinmeval): a new struct with the timeval as it's stored on disk
...
(pcap_sf_pkthdr): the packet header stored on disk
1999-11-21 01:10:20 +00:00
assar
f6b3da8cbc
(pcap_lookupdev): fix stupid bug in previous commit
1999-11-17 06:10:06 +00:00
assar
58b8bd4a26
(pcap_lookupdev): rewrite the SIOCGIFCONF to dynamically allocate
...
memory
1999-11-17 06:06:25 +00:00
assar
3c8d26ffc4
add some parameters to help old lexes in handling this file
1999-11-17 04:09:58 +00:00
itojun
03464b3109
* libpcap/scanner.l: make IPv6 parsing more strict.
...
this makes arp[0:1] to work again ("0:1" was mistakingly
considered as IPv6 address). Uses very ugly regex...
1999-11-09 12:19:22 +00:00
itojun
5b7ead9173
add configure option --disable-protochain, to make Arne happier.
1999-11-01 15:56:40 +00:00
itojun
a1c72596a3
fix protochain operator on IPv4/v6.
1999-11-01 13:47:51 +00:00
itojun
2680dd0bab
* bring in KAME IPv6/IPsec bpf compiler.
...
* tcpdump.org imported LBL 0.4
1999-10-30 23:50:43 +00:00
itojun
78ba595629
fix bpf_filter.c lookup path for build outside of source code tree.
...
http://www.sics.se/~assar/tcpdump_patches/4
From: Assar Westerlund <assar@sics.se>
1999-10-30 05:33:45 +00:00
itojun
e66d344350
last-resort def for IPPROTO_NONE.
1999-10-30 05:16:35 +00:00
itojun
51732590be
backout 1.64 -> 1.65. (I'm not sure which is right)
1999-10-30 04:41:48 +00:00
itojun
3c03d42af2
libpcap fix for non-IPv6 build.
...
<http://www.sics.se/~assar/tcpdump_patches/1 >
From: Assar Westerlund <assar@sics.se>
1999-10-30 04:30:13 +00:00
itojun
3ebf39d355
ignore dynamically generated files.
1999-10-19 15:20:43 +00:00
itojun
7fe3c1111a
IPv6 packet filtering code.
...
./configure --enable-ipv6 (requires getaddrinfo(3) and getnameinfo(3)).
TODO: make it work even without getaddrinfo(3) or getnameinfo(3)
(or, tcpdump/configure.in should provide alternative version by
AC_REPLACE_FUNCS)
TODO: make IPv6 filtering code work by default
TODO: make "protochain" friendly with optimization
1999-10-19 15:18:28 +00:00
mcr
db0e314c6d
removed prototype to permit building on NetBSD
1999-10-17 21:29:18 +00:00
mcr
e01084ceef
patches from Assar Westerlund <assar@sics.se>
1999-10-10 01:47:05 +00:00
mcr
b11ddf8a9b
Initial revision
1999-10-07 23:46:40 +00:00