<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netinet6/ipsec.h, branch stable/5</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F5</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=stable%2F5'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2005-01-31T23:27:04Z</updated>
<entry>
<title>MFC: /*- and related license changes</title>
<updated>2005-01-31T23:27:04Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-31T23:27:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c9769f3ab5327a99909391e070c143e92ddc43ec'/>
<id>urn:sha1:c9769f3ab5327a99909391e070c143e92ddc43ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nuke unused functions.</title>
<updated>2004-02-16T17:02:44Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2004-02-16T17:02:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=06a72d12d153841a2084e7a580d8fbd4c8fc29d9'/>
<id>urn:sha1:06a72d12d153841a2084e7a580d8fbd4c8fc29d9</id>
<content type='text'>
Submitted by:	"Bjoern A. Zeeb" &lt;bzeeb+freebsd@zabbadoz.net&gt;
</content>
</entry>
<entry>
<title>Initial import of RFC 2385 (TCP-MD5) digest support.</title>
<updated>2004-02-11T04:26:04Z</updated>
<author>
<name>Bruce M Simpson</name>
<email>bms@FreeBSD.org</email>
</author>
<published>2004-02-11T04:26:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1cfd4b5326854e594bfcd5f31dec0f2b52ccaa71'/>
<id>urn:sha1:1cfd4b5326854e594bfcd5f31dec0f2b52ccaa71</id>
<content type='text'>
This is the first of two commits; bringing in the kernel support first.
This can be enabled by compiling a kernel with options TCP_SIGNATURE
and FAST_IPSEC.

For the uninitiated, this is a TCP option which provides for a means of
authenticating TCP sessions which came into being before IPSEC. It is
still relevant today, however, as it is used by many commercial router
vendors, particularly with BGP, and as such has become a requirement for
interconnect at many major Internet points of presence.

Several parts of the TCP and IP headers, including the segment payload,
are digested with MD5, including a shared secret. The PF_KEY interface
is used to manage the secrets using security associations in the SADB.

There is a limitation here in that as there is no way to map a TCP flow
per-port back to an SPI without polluting tcpcb or using the SPD; the
code to do the latter is unstable at this time. Therefore this code only
supports per-host keying granularity.

Whilst FAST_IPSEC is mutually exclusive with KAME IPSEC (and thus IPv6),
TCP_SIGNATURE applies only to IPv4. For the vast majority of prospective
users of this feature, this will not pose any problem.

This implementation is output-only; that is, the option is honoured when
responding to a host initiating a TCP session, but no effort is made
[yet] to authenticate inbound traffic. This is, however, sufficient to
interwork with Cisco equipment.

Tested with a Cisco 2501 running IOS 12.0(27), and Quagga 0.96.4 with
local patches. Patches for tcpdump to validate TCP-MD5 sessions are also
available from me upon request.

Sponsored by:	sentex.net
</content>
</entry>
<entry>
<title>pass pcb rather than so. it is expected that per socket policy</title>
<updated>2004-02-03T18:20:55Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2004-02-03T18:20:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f073c60f73b0212a7c2cdde142b0e79e8a3981fa'/>
<id>urn:sha1:f073c60f73b0212a7c2cdde142b0e79e8a3981fa</id>
<content type='text'>
works again.
</content>
</entry>
<entry>
<title>nuke obsoleted ipsec_gethist().  it just did panic to notify user</title>
<updated>2003-11-07T20:38:45Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-11-07T20:38:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ba3484d9435b92c9229049532d73ff22b9441ae4'/>
<id>urn:sha1:ba3484d9435b92c9229049532d73ff22b9441ae4</id>
<content type='text'>
that it was obsoleted.  it is better to fail than just hiding use
of ipsec_gethist() at build.

Sugessted by:	"Bjoern A. Zeeb" &lt;bzeeb-lists@lists.zabbadoz.net&gt;
</content>
</entry>
<entry>
<title>- cleanup SP refcnt issue.</title>
<updated>2003-11-04T16:02:05Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-11-04T16:02:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=0f9ade718da4248226297bed41f3e9e372fd5f4d'/>
<id>urn:sha1:0f9ade718da4248226297bed41f3e9e372fd5f4d</id>
<content type='text'>
- share policy-on-socket for listening socket.
- don't copy policy-on-socket at all.  secpolicy no longer contain
  spidx, which saves a lot of memory.
- deep-copy pcb policy if it is an ipsec policy.  assign ID field to
  all SPD entries.  make it possible for racoon to grab SPD entry on
  pcb.
- fixed the order of searching SA table for packets.
- fixed to get a security association header.  a mode is always needed
  to compare them.
- fixed that the incorrect time was set to
  sadb_comb_{hard|soft}_usetime.
- disallow port spec for tunnel mode policy (as we don't reassemble).
- an user can define a policy-id.
- clear enc/auth key before freeing.
- fixed that the kernel crashed when key_spdacquire() was called
  because key_spdacquire() had been implemented imcopletely.
- preparation for 64bit sequence number.
- maintain ordered list of SA, based on SA id.
- cleanup secasvar management; refcnt is key.c responsibility;
  alloc/free is keydb.c responsibility.
- cleanup, avoid double-loop.
- use hash for spi-based lookup.
- mark persistent SP "persistent".
  XXX in theory refcnt should do the right thing, however, we have
  "spdflush" which would touch all SPs.  another solution would be to
  de-register persistent SPs from sptree.
- u_short -&gt; u_int16_t
- reduce kernel stack usage by auto variable secasindex.
- clarify function name confusion.  ipsec_*_policy -&gt;
  ipsec_*_pcbpolicy.
- avoid variable name confusion.
  (struct inpcbpolicy *)pcb_sp, spp (struct secpolicy **), sp (struct
  secpolicy *)
- count number of ipsec encapsulations on ipsec4_output, so that we
  can tell ip_output() how to handle the packet further.
- When the value of the ul_proto is ICMP or ICMPV6, the port field in
  "src" of the spidx specifies ICMP type, and the port field in "dst"
  of the spidx specifies ICMP code.
- avoid from applying IPsec transport mode to the packets when the
  kernel forwards the packets.

Tested by:	nork
Obtained from:	KAME
</content>
</entry>
<entry>
<title>- fix typo in comments.</title>
<updated>2003-10-08T18:26:08Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-10-08T18:26:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=7efe5d92ab7a750e3bf86485f873b332800b1cbb'/>
<id>urn:sha1:7efe5d92ab7a750e3bf86485f873b332800b1cbb</id>
<content type='text'>
- style.
- NULL is not 0.
- some variables were renamed.
- nuke unused logic.
(there is no functional change.)

Obtained from:	KAME
</content>
</entry>
<entry>
<title>Add a TCP TIMEWAIT state which uses less space than a fullblown TCP</title>
<updated>2003-02-19T22:32:43Z</updated>
<author>
<name>Jonathan Lemon</name>
<email>jlemon@FreeBSD.org</email>
</author>
<published>2003-02-19T22:32:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=340c35de6a249d9dd8b4f72f7c75c851a158db09'/>
<id>urn:sha1:340c35de6a249d9dd8b4f72f7c75c851a158db09</id>
<content type='text'>
control block.  Allow the socket and tcpcb structures to be freed
earlier than inpcb.  Update code to understand an inp w/o a socket.

Reviewed by: hsu, silby, jayanth
Sponsored by: DARPA, NAI Labs
</content>
</entry>
<entry>
<title>Replace aux mbufs with packet tags:</title>
<updated>2002-10-16T01:54:46Z</updated>
<author>
<name>Sam Leffler</name>
<email>sam@FreeBSD.org</email>
</author>
<published>2002-10-16T01:54:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=5d846453059191a77d5a696064b702aca7dc4760'/>
<id>urn:sha1:5d846453059191a77d5a696064b702aca7dc4760</id>
<content type='text'>
o instead of a list of mbufs use a list of m_tag structures a la openbsd
o for netgraph et. al. extend the stock openbsd m_tag to include a 32-bit
  ABI/module number cookie
o for openbsd compatibility define a well-known cookie MTAG_ABI_COMPAT and
  use this in defining openbsd-compatible m_tag_find and m_tag_get routines
o rewrite KAME use of aux mbufs in terms of packet tags
o eliminate the most heavily used aux mbufs by adding an additional struct
  inpcb parameter to ip_output and ip6_output to allow the IPsec code to
  locate the security policy to apply to outbound packets
o bump __FreeBSD_version so code can be conditionalized
o fixup ipfilter's call to ip_output based on __FreeBSD_version

Reviewed by:	julian, luigi (silent), -arch, -net, darren
Approved by:	julian, silence from everyone else
Obtained from:	openbsd (mostly)
MFC after:	1 month
</content>
</entry>
<entry>
<title>just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.</title>
<updated>2002-04-19T04:46:24Z</updated>
<author>
<name>SUZUKI Shinsuke</name>
<email>suz@FreeBSD.org</email>
</author>
<published>2002-04-19T04:46:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=88ff5695c1e53c3398142ea10e3f041ff4b5a03f'/>
<id>urn:sha1:88ff5695c1e53c3398142ea10e3f041ff4b5a03f</id>
<content type='text'>
(based on freebsd4-snap-20020128)

Reviewed by:	ume
MFC after:	1 week
</content>
</entry>
</feed>
