<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netkey/keydb.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2007-07-02T04:02:21Z</updated>
<entry>
<title>Removing old, dead, KAME IPsec files as part of the move to the</title>
<updated>2007-07-02T04:02:21Z</updated>
<author>
<name>George V. Neville-Neil</name>
<email>gnn@FreeBSD.org</email>
</author>
<published>2007-07-02T04:02:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e66ff7fc8e122c8bf9513decb7bf29dedd4430e5'/>
<id>urn:sha1:e66ff7fc8e122c8bf9513decb7bf29dedd4430e5</id>
<content type='text'>
new FAST_IPSEC based IPsec stack.

Approved by: re
Reviewed by: bz
</content>
</entry>
<entry>
<title>With exception of the if_name() macro, all definitions in net_osdep.h</title>
<updated>2006-08-04T21:27:40Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2006-08-04T21:27:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=43bc7a9c62fa28bfa59061b28ce0102862a0b224'/>
<id>urn:sha1:43bc7a9c62fa28bfa59061b28ce0102862a0b224</id>
<content type='text'>
were unused or already in if_var.h so add if_name() to if_var.h and
remove net_osdep.h along with all references to it.

Longer term we may want to kill off if_name() entierly since all modern
BSDs have if_xname variables rendering it unnecessicary.
</content>
</entry>
<entry>
<title>Normalize a significant number of kernel malloc type names:</title>
<updated>2005-10-31T15:41:29Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-10-31T15:41:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5bb84bc84b1d1f978dd93aa02acef9936e79abc0'/>
<id>urn:sha1:5bb84bc84b1d1f978dd93aa02acef9936e79abc0</id>
<content type='text'>
- Prefer '_' to ' ', as it results in more easily parsed results in
  memory monitoring tools such as vmstat.

- Remove punctuation that is incompatible with using memory type names
  as file names, such as '/' characters.

- Disambiguate some collisions by adding subsystem prefixes to some
  memory types.

- Generally prefer lower case to upper case.

- If the same type is defined in multiple architecture directories,
  attempt to use the same name in additional cases.

Not all instances were caught in this change, so more work is required to
finish this conversion.  Similar changes are required for UMA zone names.
</content>
</entry>
<entry>
<title>/* -&gt; /*- for license, minor formatting changes</title>
<updated>2005-01-07T01:45:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2005-01-07T01:45:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c398230b64aea809cb7c5cea8db580af7097920c'/>
<id>urn:sha1:c398230b64aea809cb7c5cea8db580af7097920c</id>
<content type='text'>
</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/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>cleanup secasvar management; refcnt is key.c responsibility;</title>
<updated>2003-11-02T10:49:47Z</updated>
<author>
<name>Hajimu UMEMOTO</name>
<email>ume@FreeBSD.org</email>
</author>
<published>2003-11-02T10:49:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9712142383d79449ae34fe9c26506af44f2b1a19'/>
<id>urn:sha1:9712142383d79449ae34fe9c26506af44f2b1a19</id>
<content type='text'>
alloc/free is keydb.c responsibility.

Obtained from:	KAME
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-06-11T05:37:42Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-06-11T05:37:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ab0de15baf7234734b1b64c3145cd36f867c98ea'/>
<id>urn:sha1:ab0de15baf7234734b1b64c3145cd36f867c98ea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove __P.</title>
<updated>2002-03-20T02:39:27Z</updated>
<author>
<name>Alfred Perlstein</name>
<email>alfred@FreeBSD.org</email>
</author>
<published>2002-03-20T02:39:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=96abb1618a1d3123e80a90f7324ab93bd625f6ac'/>
<id>urn:sha1:96abb1618a1d3123e80a90f7324ab93bd625f6ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sync with kame tree as of july00.  tons of bug fixes/improvements.</title>
<updated>2000-07-04T16:35:15Z</updated>
<author>
<name>Jun-ichiro itojun Hagino</name>
<email>itojun@FreeBSD.org</email>
</author>
<published>2000-07-04T16:35:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=686cdd19b1b182f2257bc158116e78c5fef84980'/>
<id>urn:sha1:686cdd19b1b182f2257bc158116e78c5fef84980</id>
<content type='text'>
API changes:
- additional IPv6 ioctls
- IPsec PF_KEY API was changed, it is mandatory to upgrade setkey(8).
  (also syntax change)
</content>
</entry>
</feed>
