Closed jelu closed 4 years ago
I don't know what's wrong, but:
dnscap:/usr/lib/libc.so.96.0: /usr/local/lib/libbind.so.6.1 : WARNING: symbol(_res) size mismatch, relink your program dnscap:/usr/lib/libc.so.96.0: /usr/local/lib/libbind.so.6.1 : WARNING: symbol(__p_type_syms) size mismatch, relink your program
This concerns me.
) at ./gencode.c:6805 6805 if ((a[0] & ~m[0]) || (a[1] & ~m[1])
This occurs after some calls to DNS resolver routines. The a[] here points at results from the resolver outputs.
addr = &((struct sockaddr_in6 *)res->ai_addr)->sin6_addr;
a = (uint32_t *)addr;
Maybe struct addrinfo has changed?
-- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works | IoT architect [ ] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [
I don't know what's wrong, but:
dnscap:/usr/lib/libc.so.96.0: /usr/local/lib/libbind.so.6.1 : WARNING: symbol(_res) size mismatch, relink your program dnscap:/usr/lib/libc.so.96.0: /usr/local/lib/libbind.so.6.1 : WARNING: symbol(__p_type_syms) size mismatch, relink your program
This concerns me.
Hmm, yeah that might be it actually. _res
is a symbol on OpenBSD but a #define
on all my other platforms.
Will look more at this next week, old software, old dependency :/
I don't know when I will have time to look at this, but once I do and if it's still an issue I'll reopen then. Sorry for the noise!
libpcap v1.9.1 on OpenBSD 6.7 amd64, no special compile flag just
./configure && make && make install
, full log at bottom.While adding tests to dnscap (https://github.com/DNS-OARC/dnscap/pull/231) I ran into a segfault when using IPv6 addresses to filter host, this happened only on OpenBSD (https://dev.dns-oarc.net/buildbot/#/builders/22/builds/10).
Using the same filter with tcpdump v4.9.3 does not produce a segfault:
Full libpcap 1.9.1 compile and install log: