<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/libexec/ftpd/ftpd.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/libexec/ftpd/ftpd.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/libexec/ftpd/ftpd.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-01-15T22:06:59Z</updated>
<entry>
<title>Simplify globbing of ftpd(8)s list and nlst commands.</title>
<updated>2020-01-15T22:06:59Z</updated>
<author>
<name>jan</name>
<email>jan@openbsd.org</email>
</author>
<published>2020-01-15T22:06:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bca58876ab75dac2c1d9bcdb8606b47fd008950f'/>
<id>urn:sha1:bca58876ab75dac2c1d9bcdb8606b47fd008950f</id>
<content type='text'>
Also avoid command option injection for ls(1).

OK martijn@
</content>
</entry>
<entry>
<title>snprintf/vsnprintf return &lt; 0 on error, rather than -1.</title>
<updated>2019-07-03T03:24:01Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-07-03T03:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=515e489c3d599b9cfcdf9cf6842ac49f92e154d6'/>
<id>urn:sha1:515e489c3d599b9cfcdf9cf6842ac49f92e154d6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>When system calls indicate an error they return -1, not some arbitrary</title>
<updated>2019-06-28T13:32:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df69c215c7c66baf660f3f65414fd34796c96152'/>
<id>urn:sha1:df69c215c7c66baf660f3f65414fd34796c96152</id>
<content type='text'>
value &lt; 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
</content>
</entry>
<entry>
<title>rm dead code and simplify ftpd_popen. this code has only called</title>
<updated>2019-05-08T23:56:48Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-05-08T23:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7a7d71fb506b7dfd4a8cb5bad7d02efd611d2b2d'/>
<id>urn:sha1:7a7d71fb506b7dfd4a8cb5bad7d02efd611d2b2d</id>
<content type='text'>
its statically linked ls_main for some time now.
from Jan Klemkow
ok deraadt
</content>
</entry>
<entry>
<title>Flip snprintf(3) error check to align it with the man page example.</title>
<updated>2018-12-11T18:19:55Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2018-12-11T18:19:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=89807220d2eb1aef949925fef2584c2661e324ca'/>
<id>urn:sha1:89807220d2eb1aef949925fef2584c2661e324ca</id>
<content type='text'>
No functional change.
suggested by tb@; from Jan Klemkow
</content>
</entry>
<entry>
<title>Convert some variables with non-negative values to unsigned type</title>
<updated>2018-12-11T18:03:11Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2018-12-11T18:03:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=83b130e1e09b9efa8bdd93d34b6360c72612dcf0'/>
<id>urn:sha1:83b130e1e09b9efa8bdd93d34b6360c72612dcf0</id>
<content type='text'>
to avoid comparison of integers of different signs.
from Jan Klemkow; OK tb@
</content>
</entry>
<entry>
<title>Use a single "opt" variable for all setsockopt calls in getdatasock().</title>
<updated>2016-09-03T15:00:48Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2016-09-03T15:00:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b68c787b3741168423abc715a0f89d917d082219'/>
<id>urn:sha1:b68c787b3741168423abc715a0f89d917d082219</id>
<content type='text'>
on = 65536;
if (setsockopt(... &amp;on ...)

is slightly misleading.
</content>
</entry>
<entry>
<title>Set "lowdelay" and "throughput" Traffic Class on command &amp; data IPv6 sockets.</title>
<updated>2016-09-03T14:53:20Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2016-09-03T14:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7ef737bdf9953add041d9ad941c05ca44cbe6ee1'/>
<id>urn:sha1:7ef737bdf9953add041d9ad941c05ca44cbe6ee1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't attempt to support IPv4-mapped IPv6 addresses.</title>
<updated>2016-08-31T13:43:36Z</updated>
<author>
<name>jca</name>
<email>jca@openbsd.org</email>
</author>
<published>2016-08-31T13:43:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0f94fb0570c59b77f2a063d5b3dd2b09722af7f4'/>
<id>urn:sha1:0f94fb0570c59b77f2a063d5b3dd2b09722af7f4</id>
<content type='text'>
We don't consider support for those addreses as desirable, so let's not
give a bad example by keeping application code to handle them.  This is
dead code on OpenBSD anyway since we do not support IPv4-mapped stuff.
But let's keep the check to log and warn the admin if the code gets
ported elsewhere.  Porters of this code should ensure that IPv6 sockets
can't see IPv4-mapped addresses by using the IPV6_V6ONLY sockopt.

Discussed with &amp; ok tedu@

For a rationale, see https://tools.ietf.org/html/draft-itojun-v6ops-v4mapped-harmful-02
</content>
</entry>
<entry>
<title>remove ifdef for all the features we have.</title>
<updated>2016-08-30T14:56:39Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2016-08-30T14:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=40e1458953e8616e6c0cce8de8d396c537182a46'/>
<id>urn:sha1:40e1458953e8616e6c0cce8de8d396c537182a46</id>
<content type='text'>
retain disabled ip4in6 code until its future is decided.
ok deraadt jca
</content>
</entry>
</feed>
