Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-09 | re-arrange the pre-accounting of the objects in the buffer so it | Theo de Raadt | |
is clearer; ok sthen | |||
2013-02-26 | Reserve space for source and destination addresses unconditionally rather | Stuart Henderson | |
than checking if they're zero - export_address() is always called for these. Fixes memory corruption when doing ipsecctl -ssa with md5sig. Debugging hints from deraadt@, ok kettenis@ deraadt@ | |||
2012-12-28 | change the malloc(9) flags from M_DONTWAIT to M_NOWAIT; OK millert@ | Gleydson Soares | |
2012-09-26 | add M_ZEROIZE as an mbuf flag, so copied PFKEY messages (with embedded keys) | Markus Friedl | |
are cleared as well; from hshoexer@, feedback and ok bluhm@, ok claudio@ | |||
2012-09-20 | spltdb() was really just #define'd to be splsoftnet(); replace the former | Bret Lambert | |
with the latter no change in md5 checksum of generated files ok claudio@ henning@ | |||
2012-03-28 | pfkey needs some p_p->ps_pid too. OK deraadt@ guenther@ | Claudio Jeker | |
2011-01-12 | Never include SADB_X_EXT_REMOTE_AUTH (which is either a | Mike Belopuhov | |
passphrase or an RSA key) in the reply message. There's nothing that justifies this behavior and PF_KEY RFC prefers to exclude keys and other sensitive material from replies. Discussed with reyk, no objections from deraadt. | |||
2010-10-06 | Retire Skipjack | Mike Belopuhov | |
There's not much use for the declassified cipher from the 80's with a questionable license these days. According to the FIPS drafts, Skipjack reaches its EOL in December 2010. The libc portion will be removed after the ports hackathon. djm and thib agree, no objections from deraadt Thanks to jsg for digging up FIPS drafts. | |||
2010-09-27 | a pool_get() assuming that PR_NOWAIT is 0 (not anymore!); run into by naddy | Theo de Raadt | |
2010-07-09 | Add support for using IPsec in multiple rdomains. | Reyk Floeter | |
This allows to run isakmpd/iked/ipsecctl in multiple rdomains independently (with "route exec"); the kernel will pickup the rdomain from the process context of the pfkey socket and load the flows and SAs into the matching rdomain encap routing table. The network stack also needs to pass the rdomain to the ipsec stack to lookup the correct rdomain that belongs to an interface/mbuf/... You can now run individual IPsec configs per rdomain or create IPsec VPNs between multiple rdomains on the same machine ;). Note that a primary enc(4) in addition to enc0 interface is required per rdomain, eg. enc1 rdomain 1. Test by some people, mostly on existing "rdomain 0" setups. Was in snaps for some days and people didn't complain. ok claudio@ naddy@ | |||
2010-07-01 | Allow to specify an alternative enc(4) interface for an SA. All | Reyk Floeter | |
traffic for this SA will appear on the specified enc interface instead of enc0 and can be filtered and monitored separately. This will allow to group individual ipsec policies to virtual interfaces and simplifies monitoring and pf filtering with many ipsec policies a lot. This diff includes the following changes: - Store the enc interface unit (default 0) in the TDB of an SA and pass it to the enc_getif() lookup when running the bpf or pf_test() handlers. - Add the pfkey SADB_X_EXT_TAP extension to communicate the encX interface unit for a specified SA between userland and kernel. - Update enc(4) again to use an allocate array instead of the TAILQ to lookup the matching enc interface in enc_getif() quickly. Discussed with many, tested by a few, will need more testing & review. ok deraadt@ | |||
2008-05-09 | replace rtrequest() with corresponding rtrequest1() replacement. | Claudio Jeker | |
OK henning@ | |||
2007-11-24 | some spelling fixes from Martynas Venckus | Jason McIntyre | |
2007-09-13 | Convert MALLOC/FREE to malloc/free and use M_ZERO where applicable. | Hans-Joerg Hoexer | |
ok krw@ | |||
2007-09-01 | since the | Henning Brauer | |
MGET* macros were changed to function calls, there wasn't any need for the pool declarations and the inclusion of pool.h From: tbert <bret.lambert@gmail.com> | |||
2007-06-22 | export the flow/filter information attached to the SA, too; ok hshoexer@ | Markus Friedl | |
2007-02-14 | Consistently spell FALLTHROUGH to appease lint. | Jonathan Gray | |
ok kettenis@ cloder@ tom@ henning@ | |||
2007-01-18 | allow kernels with TCP_SIGNATURE (aka tcp md5sig), but without IPSEC to | Henning Brauer | |
compile and work. need to register pfkey whenever tcp md5 or ipsec is defined, and the various ipsec encapsulations only if ipsec is defined. ok theo | |||
2006-11-24 | add support to tag ipsec traffic belonging to specific IKE-initiated | Reyk Floeter | |
phase 2 traffic. this allows policy-based filtering of encrypted and unencrypted ipsec traffic with pf(4). see ipsec.conf(5) and isakmpd.conf(5) for details and examples. this is work in progress and still needs some testing and feedback, but it is safe to put it in now. ok hshoexer@ | |||
2006-06-16 | adjust functions dealing with the routing table to take a table ID as | Henning Brauer | |
parameter so they can work on alternate tables. table 0 hardcoded for many callers yet, that will be adapted step by step. input + ok claudio norby hshoexer | |||
2006-05-06 | Fix bracketing messed up in KNF commit 1.86, allows sasyncd to reliably | Ryan Thomas McBride | |
set up pfkey promiscuous mode. Diff from Nathanael <list-openbsd-tech at polymorpheus dot com> | |||
2005-12-06 | export ipip flows, too; ok hshoexer | Markus Friedl | |
2005-06-01 | when dumping policies, skip those attached to a socket. | Hans-Joerg Hoexer | |
ok ho | |||
2005-05-28 | Only protect IDs by suser() | Hans-Joerg Hoexer | |
ok ho | |||
2005-05-27 | Must convert back from IPPROTO_x to SADB_SATYPE_x. hshoexer@ ok | Hakan Olsson | |
2005-05-27 | Use export_flow() to wrap policies retrieved via sysctl in pfkey message | Hans-Joerg Hoexer | |
ok ho markus | |||
2005-05-25 | AESCTR support for ESP (RFC 3686); ok hshoexer | Markus Friedl | |
2005-05-24 | Make sure all fields in the SADB_DUMP header are zeroed properly. hshoexer@ ok. | Hakan Olsson | |
2005-05-10 | support NULL encryption for ESP; ok hshoexer, ho | Markus Friedl | |
2005-04-04 | Add sysctl for dumping the SPD | Hans-Joerg Hoexer | |
ok deraadt, ok markus some time ago | |||
2005-01-13 | protect pfkeyv2_dump_walker with spltdb(). Noticed by mpech@, thanks! | Hans-Joerg Hoexer | |
ok ho@ markus@ | |||
2004-12-11 | SADB_X_EXT_LIFETIME_LASTUSE is always defined | Markus Friedl | |
2004-12-11 | pass out the correct lifetime type on expire | Markus Friedl | |
2004-12-11 | count SADB_REGISTER only once per socket | Markus Friedl | |
2004-12-10 | fix ipsec crash from pr 4025, Stefan Miltchev; ok hshoexer@ | Markus Friedl | |
2004-11-29 | tiny knf, no binary change. | Hans-Joerg Hoexer | |
ok otto jsg henning pat markus deraadt fgs | |||
2004-11-26 | implement net.key.v2.sadb_dump.{unspec,esp,ah,...} sysctl subtree | Markus Friedl | |
and use sysctl for 'ipsecadm show'; ok deraadt | |||
2004-11-19 | Plug memory leak. Found by pat@. Thanks! | Hans-Joerg Hoexer | |
ok myself markus@ | |||
2004-08-10 | Add SADB_X_EXT_LIFETIME_LASTUSE for use with isakmpd/DPD, adding this | Hakan Olsson | |
extends the bitmap to 64bits. Also repair SADB_GET. hshoexer@ ok. | |||
2004-06-21 | don't accept SADB_X_EXT_UDPENCAP if encapsulation is disabled; ok ho@ | Markus Friedl | |
2003-12-02 | UDP encapsulation for ESP in transport mode (draft-ietf-ipsec-udp-encaps-XX.txt) | Markus Friedl | |
ok deraadt@ | |||
2003-07-24 | conform to RFC2367 on SADB_xx naming (local name must be prefixed with | Jun-ichiro itojun Hagino | |
SADB_X_xx) | |||
2003-07-24 | hmac-sha2-{256,384,512} support in AH/ESP auth. markus ok | Jun-ichiro itojun Hagino | |
2003-02-16 | KNF | Theo de Raadt | |
2003-02-16 | KNF | Jason Wright | |
2003-02-15 | skeleton support for LZS compression | Jason Wright | |
2002-07-31 | fix potential NULL pointer deref. From: tedu <grendel@zeitbombe.org> | Jun-ichiro itojun Hagino | |
2002-06-07 | Add flow type arg to import_flow() | Hakan Olsson | |
2002-05-31 | Pass authentication information (if available) in ACQUIRE message. | Angelos D. Keromytis | |
2002-03-03 | Fix crashes associated with SADB_GET/SADB_DUMP --- memory was not | Angelos D. Keromytis | |
allocated on outgoing message for encryption/authentication keys --- from umaraghunath@hotmail.com |