<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libpcap/shlib_version, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libpcap/shlib_version?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libpcap/shlib_version?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-08-03T03:47:12Z</updated>
<entry>
<title>crank the major cos grammar.c has grown.</title>
<updated>2020-08-03T03:47:12Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-08-03T03:47:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6b2850a6aefad9f1b3eebff6c5ecf79c204e7a7e'/>
<id>urn:sha1:6b2850a6aefad9f1b3eebff6c5ecf79c204e7a7e</id>
<content type='text'>
pointed out by tb@, who also provided the diff.

maybe someone should/could add a Symbols.list here?

ok tb@ deraadt@
</content>
</entry>
<entry>
<title>Import pcap_set_immediate_mode() from mainline libpcap which allows a</title>
<updated>2018-04-05T03:47:27Z</updated>
<author>
<name>lteo</name>
<email>lteo@openbsd.org</email>
</author>
<published>2018-04-05T03:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=346f594f33ee3e8eaab18406f620d914faf99259'/>
<id>urn:sha1:346f594f33ee3e8eaab18406f620d914faf99259</id>
<content type='text'>
libpcap-based program to process packets as soon as they arrive.

feedback from jasper@
ok jca@
(a long time ago)
</content>
</entry>
<entry>
<title>Stop exporting the eproto_db array, export a pointer to it instead.</title>
<updated>2016-11-29T18:37:02Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2016-11-29T18:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6b22954c9592090bc121f26d4e8a5ccf85b5e68f'/>
<id>urn:sha1:6b22954c9592090bc121f26d4e8a5ccf85b5e68f</id>
<content type='text'>
tcpdump directly uses eproto_db even though it is not part of the
libpcap API.  This means that we can't freely add members to this array,
else ld.so complains about size mismatches.  Keep the data in a static
array instead and make it usable by tcpdump through a pointer whose size
won't change in the future.  A minor bump is enough here for ld.so to
stop complaining.

While here, mark _eproto_db and llc_db as const, as they are meant to
be.

Suggested by and ok deraadt@
</content>
</entry>
<entry>
<title>Add new DLT_OPENFLOW link-type to allow using tcpdump to debug switch(4),</title>
<updated>2016-11-16T13:47:27Z</updated>
<author>
<name>reyk</name>
<email>reyk@openbsd.org</email>
</author>
<published>2016-11-16T13:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7a61d4b0b602572c95a5b96f09678a2dda2ae243'/>
<id>urn:sha1:7a61d4b0b602572c95a5b96f09678a2dda2ae243</id>
<content type='text'>
eg. tcpdump -y openflow -i switch0

Includes a minor bump for libpcap.

Feedback and OK rzalamena@
</content>
</entry>
<entry>
<title>add two functions from libpcap-1.7.4 which are required by at least gopacket</title>
<updated>2016-04-06T08:02:56Z</updated>
<author>
<name>jasper</name>
<email>jasper@openbsd.org</email>
</author>
<published>2016-04-06T08:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1f92dbfe5a38a2eadf576107d632c69c09705def'/>
<id>urn:sha1:1f92dbfe5a38a2eadf576107d632c69c09705def</id>
<content type='text'>
ok lteo@ "go for it" dlg@
</content>
</entry>
<entry>
<title>Switch time_t, ino_t, clock_t, and struct kevent's ident and data</title>
<updated>2013-08-13T05:52:02Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2013-08-13T05:52:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=91a535ff42f6347677741774730dc5ddcf7d5b93'/>
<id>urn:sha1:91a535ff42f6347677741774730dc5ddcf7d5b93</id>
<content type='text'>
members to 64bit types.  Assign new syscall numbers for (almost
all) the syscalls that involve the affected types, including anything
with time_t, timeval, itimerval, timespec, rusage, dirent, stat,
or kevent arguments.  Add a d_off member to struct dirent and replace
getdirentries() with getdents(), thus immensely simplifying and
accelerating telldir/seekdir.  Build perl with -DBIG_TIME.

Bump the major on every single base library: the compat bits included
here are only good enough to make the transition; the T32 compat
option will be burned as soon as we've reached the new world are
are happy with the snapshots for all architectures.

DANGER: ABI incompatibility.  Updating to this kernel requires extra
work or you won't be able to login: install a snapshot instead.

Much assistance in fixing userland issues from deraadt@ and tedu@
and build assistance from todd@ and otto@
</content>
</entry>
<entry>
<title>Import a number of core functions from libpcap-1.2.0 while preserving</title>
<updated>2012-05-25T01:58:08Z</updated>
<author>
<name>lteo</name>
<email>lteo@openbsd.org</email>
</author>
<published>2012-05-25T01:58:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1129793556fad272189655666c6f2b2527cc9692'/>
<id>urn:sha1:1129793556fad272189655666c6f2b2527cc9692</id>
<content type='text'>
local changes: strncpy() -&gt; strlcpy(), malloc(x * y) -&gt; calloc(x, y),
exclude cross-platform cruft, etc.

The new functions are pcap_create(), pcap_set_snaplen(),
pcap_set_promisc(), pcap_can_set_rfmon(), pcap_set_rfmon(),
pcap_set_timeout(), pcap_set_buffer_size(), pcap_activate(), and
pcap_statustostr().

This diff was tested on amd64, i386, macppc, and sparc64, where
regression tests were done on various pcap-based ports (especially amd64
and i386 where regression tests were run on all pcap-based ports).
Testers also tried running pcap-based ports that they are familiar with
to ensure that there is no behavioral change.  tcpdump and pflogd in
base were also tested by different testers.  The new pcap_* functions
were tested with a proof-of-concept Snort 2.9 port for many months.

Thank you to everyone who helped test this diff and provided feedback:
haesbaert@, sthen@, matthew@, gonzalo@, brett@, Rodolfo Gouveia,
Aaron Bieber, Markus Lude, and Ray Percival.

ok haesbaert sthen henning
</content>
</entry>
<entry>
<title>Import vlan support from upstream libpcap.  This allows, eg, "tcpdump vla 3"</title>
<updated>2008-06-11T15:02:21Z</updated>
<author>
<name>dtucker</name>
<email>dtucker@openbsd.org</email>
</author>
<published>2008-06-11T15:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=febc6dcdbc785ecf817d6ec866f1c13fb3e92cac'/>
<id>urn:sha1:febc6dcdbc785ecf817d6ec866f1c13fb3e92cac</id>
<content type='text'>
to work on a vlan parent interface.  ok mcbride@, "commit it" deraadt@
</content>
</entry>
<entry>
<title>add remaining tcpdump.org libpcap 0.9 APIs, most notably</title>
<updated>2006-03-26T20:58:50Z</updated>
<author>
<name>djm</name>
<email>djm@openbsd.org</email>
</author>
<published>2006-03-26T20:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c1bf12094404ebc3b7ccf06bb14f4f887336dff8'/>
<id>urn:sha1:c1bf12094404ebc3b7ccf06bb14f4f887336dff8</id>
<content type='text'>
pcap_setdirection() (which depends on the kernel-side bpf changes
committed yesterday); ok canacar@
</content>
</entry>
<entry>
<title>pull in the good bits of libpcap-0.9.4's API without the cross-platform</title>
<updated>2005-11-18T11:05:38Z</updated>
<author>
<name>djm</name>
<email>djm@openbsd.org</email>
</author>
<published>2005-11-18T11:05:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a878b8190bd951d272b5ce5df54b7a46fd7a9b0d'/>
<id>urn:sha1:a878b8190bd951d272b5ce5df54b7a46fd7a9b0d</id>
<content type='text'>
cruft. help from deraadt@, mpf@, jmc@; ok mpf@a

nb. this will break tcpdump unless it updated too
</content>
</entry>
</feed>
