Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | when dumping policies, skip those attached to a socket. | 2005-06-01 | 1 | -1/+5 | ||
| | | | | ok ho | |||||
* | Only protect IDs by suser() | 2005-05-28 | 1 | -9/+6 | ||
| | | | | ok ho | |||||
* | Must convert back from IPPROTO_x to SADB_SATYPE_x. hshoexer@ ok | 2005-05-27 | 1 | -2/+7 | ||
| | ||||||
* | Use export_flow() to wrap policies retrieved via sysctl in pfkey message | 2005-05-27 | 1 | -23/+200 | ||
| | | | | ok ho markus | |||||
* | AESCTR support for ESP (RFC 3686); ok hshoexer | 2005-05-25 | 1 | -3/+9 | ||
| | ||||||
* | Make sure all fields in the SADB_DUMP header are zeroed properly. hshoexer@ ok. | 2005-05-24 | 1 | -3/+2 | ||
| | ||||||
* | support NULL encryption for ESP; ok hshoexer, ho | 2005-05-10 | 1 | -1/+2 | ||
| | ||||||
* | Add sysctl for dumping the SPD | 2005-04-04 | 1 | -4/+42 | ||
| | | | | ok deraadt, ok markus some time ago | |||||
* | protect pfkeyv2_dump_walker with spltdb(). Noticed by mpech@, thanks! | 2005-01-13 | 1 | -2/+6 | ||
| | | | | ok ho@ markus@ | |||||
* | SADB_X_EXT_LIFETIME_LASTUSE is always defined | 2004-12-11 | 1 | -5/+1 | ||
| | ||||||
* | pass out the correct lifetime type on expire | 2004-12-11 | 1 | -4/+3 | ||
| | ||||||
* | count SADB_REGISTER only once per socket | 2004-12-11 | 1 | -3/+5 | ||
| | ||||||
* | fix ipsec crash from pr 4025, Stefan Miltchev; ok hshoexer@ | 2004-12-10 | 1 | -2/+7 | ||
| | ||||||
* | tiny knf, no binary change. | 2004-11-29 | 1 | -5/+6 | ||
| | | | | ok otto jsg henning pat markus deraadt fgs | |||||
* | implement net.key.v2.sadb_dump.{unspec,esp,ah,...} sysctl subtree | 2004-11-26 | 1 | -4/+107 | ||
| | | | | and use sysctl for 'ipsecadm show'; ok deraadt | |||||
* | Plug memory leak. Found by pat@. Thanks! | 2004-11-19 | 1 | -5/+11 | ||
| | | | | ok myself markus@ | |||||
* | Add SADB_X_EXT_LIFETIME_LASTUSE for use with isakmpd/DPD, adding this | 2004-08-10 | 1 | -15/+27 | ||
| | | | | extends the bitmap to 64bits. Also repair SADB_GET. hshoexer@ ok. | |||||
* | don't accept SADB_X_EXT_UDPENCAP if encapsulation is disabled; ok ho@ | 2004-06-21 | 1 | -7/+9 | ||
| | ||||||
* | UDP encapsulation for ESP in transport mode (draft-ietf-ipsec-udp-encaps-XX.txt) | 2003-12-02 | 1 | -1/+28 | ||
| | | | | ok deraadt@ | |||||
* | conform to RFC2367 on SADB_xx naming (local name must be prefixed with | 2003-07-24 | 1 | -9/+9 | ||
| | | | | SADB_X_xx) | |||||
* | hmac-sha2-{256,384,512} support in AH/ESP auth. markus ok | 2003-07-24 | 1 | -4/+22 | ||
| | ||||||
* | KNF | 2003-02-16 | 1 | -118/+118 | ||
| | ||||||
* | KNF | 2003-02-16 | 1 | -1578/+1457 | ||
| | ||||||
* | skeleton support for LZS compression | 2003-02-15 | 1 | -3/+7 | ||
| | ||||||
* | fix potential NULL pointer deref. From: tedu <grendel@zeitbombe.org> | 2002-07-31 | 1 | -13/+9 | ||
| | ||||||
* | Add flow type arg to import_flow() | 2002-06-07 | 1 | -4/+10 | ||
| | ||||||
* | Pass authentication information (if available) in ACQUIRE message. | 2002-05-31 | 1 | -100/+115 | ||
| | ||||||
* | Fix crashes associated with SADB_GET/SADB_DUMP --- memory was not | 2002-03-03 | 1 | -1/+7 | ||
| | | | | | allocated on outgoing message for encryption/authentication keys --- from umaraghunath@hotmail.com | |||||
* | Correctly initialize the compression case. | 2002-02-21 | 1 | -3/+3 | ||
| | ||||||
* | It looks like there has been one crack smoking and a few cut and pastes. | 2002-01-23 | 1 | -2/+2 | ||
| | | | | | PR_FREEHEADER should not be set in pool_init by the caller. It shouldn't be set in pool_init at all. Besides, it's going away soon anyway. | |||||
* | Pool deals fairly well with physical memory shortage, but it doesn't deal | 2002-01-23 | 1 | -3/+2 | ||
| | | | | | | | | | | | | | | | | | | well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it. | |||||
* | Actually, move the check inside the switch. | 2001-08-05 | 1 | -9/+6 | ||
| | ||||||
* | Only flush the policies if the message type is UNSPEC. | 2001-08-05 | 1 | -5/+8 | ||
| | ||||||
* | Indentation. | 2001-07-06 | 1 | -10/+10 | ||
| | ||||||
* | IPComp. angelos@ ok. | 2001-07-05 | 1 | -2/+55 | ||
| | ||||||
* | Don't bzero() after doing a TAILQ_INIT()... | 2001-06-27 | 1 | -3/+2 | ||
| | ||||||
* | Initialize acquire state list in newly allocated policy. | 2001-06-27 | 1 | -1/+3 | ||
| | ||||||
* | Don't cache packets that hit policies -- we'll do that at the PCB for | 2001-06-27 | 1 | -2/+6 | ||
| | | | | local packets. | |||||
* | Use pool(9) for IPsec policy structures. | 2001-06-26 | 1 | -7/+16 | ||
| | ||||||
* | Keep the PFKEY sequence number at the TDB, plus a little bit of KNF | 2001-06-26 | 1 | -2/+2 | ||
| | ||||||
* | Only delete/modify flows with the IPSP_POLICY_STATIC flag if the appropriate | 2001-06-08 | 1 | -36/+47 | ||
| | | | | flag is set in the protocol message. | |||||
* | Trim some unnecessary includes. | 2001-06-08 | 1 | -6/+1 | ||
| | ||||||
* | Fork out some of the code in pfkeyv2.c to pfkeyv2_convert.c, to make | 2001-06-08 | 1 | -611/+1 | ||
| | | | | the former more managable/readable (an almost impossible task). | |||||
* | On a pfkeyv2_get(), allocate enough room for the extra stuff we store | 2001-06-07 | 1 | -1/+13 | ||
| | | | | in the SA. | |||||
* | repair copyright notices for NRL & cmetz; cmetz | 2001-06-05 | 1 | -17/+68 | ||
| | ||||||
* | Make our pfkeyv2.h more RFC2367 compliant. Also fix some backwards | 2001-06-05 | 1 | -45/+45 | ||
| | | | | | compatibility problems in isakmpd, at least 2.8 stable can compile current isakmpd now. angelos@ ok | |||||
* | MBOX->USERFQDN, noticed by markus@ | 2001-05-30 | 1 | -5/+5 | ||
| | ||||||
* | Import/export authentication information for SA. | 2001-05-30 | 1 | -15/+162 | ||
| | ||||||
* | Use a reference-counted structure for IPsec IDs and credentials, so we | 2001-05-21 | 1 | -106/+89 | ||
| | | | | can cheaply keep copies of them at the PCB. ok deraadt@ | |||||
* | Use the new M_* malloc types | 2001-05-05 | 1 | -45/+46 | ||
| |