<feed xmlns='http://www.w3.org/2005/Atom'>
<title>tteras/strongswan/src/libipsec, branch master</title>
<subtitle>tteras' strongSwan tree
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/'/>
<entry>
<title>libipsec: Make sure to expire the right SA</title>
<updated>2017-09-18T08:51:39+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-08-14T14:03:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=6e861947a018e659a813f08214671d7da32a8463'/>
<id>6e861947a018e659a813f08214671d7da32a8463</id>
<content type='text'>
If an IPsec SA is actually replaced with a rekeying its entry in the
manager is freed. That means that when the hard expire is triggered a
new entry might be found at the cached pointer location.  So we have
to make sure we trigger the expire only if we found the right SA.

We could use SPI and addresses for the lookup, but this here requires
a bit less memory and is just a small change. Another option would be to
somehow cancel the queued job, but our scheduler doesn't allow that at
the moment.

Fixes #2399.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an IPsec SA is actually replaced with a rekeying its entry in the
manager is freed. That means that when the hard expire is triggered a
new entry might be found at the cached pointer location.  So we have
to make sure we trigger the expire only if we found the right SA.

We could use SPI and addresses for the lookup, but this here requires
a bit less memory and is just a small change. Another option would be to
somehow cancel the queued job, but our scheduler doesn't allow that at
the moment.

Fixes #2399.
</pre>
</div>
</content>
</entry>
<entry>
<title>ip-packet: Correctly determine protocol in fragmented IPv6 packets</title>
<updated>2017-09-18T08:28:54+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-09-01T07:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=bdcaca76c570f7c33908a9a0bc73ece40a3cfcee'/>
<id>bdcaca76c570f7c33908a9a0bc73ece40a3cfcee</id>
<content type='text'>
We don't attempt to parse the transport headers for fragments, not even
for the initial fragment (it's not guaranteed they contain the header,
depending on the number and type of extension headers).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't attempt to parse the transport headers for fragments, not even
for the initial fragment (it's not guaranteed they contain the header,
depending on the number and type of extension headers).
</pre>
</div>
</content>
</entry>
<entry>
<title>ip-packet: Fix "packet too short" error when parsing fragmented IPv4 packets</title>
<updated>2017-09-18T08:28:54+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-09-01T06:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=b3cc46381d7ddcb163f93064e81207cbff348834'/>
<id>b3cc46381d7ddcb163f93064e81207cbff348834</id>
<content type='text'>
Only attempt to parse the transport header of an IPv4 packet if it's
not fragmented or the first fragment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only attempt to parse the transport header of an IPv4 packet if it's
not fragmented or the first fragment.
</pre>
</div>
</content>
</entry>
<entry>
<title>linked-list: Change return value of find_first() and signature of its callback</title>
<updated>2017-05-26T11:56:44+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-05-16T10:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=2e4d110d1e94a3be9da06894832492ff469eec37'/>
<id>2e4d110d1e94a3be9da06894832492ff469eec37</id>
<content type='text'>
This avoids the unportable five pointer hack.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids the unportable five pointer hack.
</pre>
</div>
</content>
</entry>
<entry>
<title>libipsec: Enforce a minimum of 256 for SPIs</title>
<updated>2017-03-02T10:54:39+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-03-02T10:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=9d8192bfcd74912600abc9417e392a0cb469260e'/>
<id>9d8192bfcd74912600abc9417e392a0cb469260e</id>
<content type='text'>
RFC 4303 reserves the SPIs between 1 and 255 for future use.  This also
avoids an overflow and a division by zero if spi_min is 0 and spi_max is
0xffffffff.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC 4303 reserves the SPIs between 1 and 255 for future use.  This also
avoids an overflow and a division by zero if spi_min is 0 and spi_max is
0xffffffff.
</pre>
</div>
</content>
</entry>
<entry>
<title>libipsec: Fix min/max SPI</title>
<updated>2017-03-02T09:11:32+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-03-02T09:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=bb05b251b2ffbf97853796631319d61089926943'/>
<id>bb05b251b2ffbf97853796631319d61089926943</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Make range of SPIs for IPsec SAs configurable</title>
<updated>2017-03-02T07:52:56+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-02-21T18:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=6d86d0f51699612ad886b3f1b8773e81324e3b2a'/>
<id>6d86d0f51699612ad886b3f1b8773e81324e3b2a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libipsec: Log a packet's ports and protocol in case of a policy mismatch</title>
<updated>2017-03-02T07:27:31+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-02-17T11:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=6a8f1b8f2cb737011223f0d5b92249cad8e9728d'/>
<id>6a8f1b8f2cb737011223f0d5b92249cad8e9728d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libipsec: Match IPsec policies against ports of processed packets</title>
<updated>2017-03-02T07:27:21+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2017-02-15T14:33:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=d8e12fdb130a3b9413260ef74f646b3b243c6e1e'/>
<id>d8e12fdb130a3b9413260ef74f646b3b243c6e1e</id>
<content type='text'>
Fixes #2252.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2252.
</pre>
</div>
</content>
</entry>
<entry>
<title>libipsec: Add support for AES and Camellia in CCM mode</title>
<updated>2017-01-25T16:26:45+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2016-11-16T14:11:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/tteras/strongswan/commit/?id=896d729a6057c2f4fe4a74bbc4c942a939f27a7e'/>
<id>896d729a6057c2f4fe4a74bbc4c942a939f27a7e</id>
<content type='text'>
Fixes #2172.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #2172.
</pre>
</div>
</content>
</entry>
</feed>
