summaryrefslogtreecommitdiffstats
path: root/sbin/ipsecctl/pfkey.c
AgeCommit message (Expand)AuthorFilesLines
2020-02-07Extend the ipsecctl(8) parser to set the udpencap flag and portbluhm1-4/+19
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-2/+2
2017-04-19Rename all SA groups to bundles consistently. The first kernelbluhm1-5/+5
2017-04-18use freezero()deraadt1-7/+4
2017-02-28Depending on the addresses, ipsecctl(8) automatically groups sabluhm1-2/+2
2015-12-10Remove NULL-checks before free(). ok tb@mmcc1-5/+3
2015-12-09Remove plain DES encryption from IPsec.naddy1-4/+1
2015-10-18Use explicit_bzero() when the memory is freed directly afterward.mmcc1-4/+4
2014-11-03simple conversion from select() to poll()deraadt1-15/+10
2012-06-30enable use of AES-{192,256}-CTR, and explicitly of AES-128-CTR, for IPsec ESPnaddy1-1/+4
2012-03-24fix some leaksjsg1-1/+2
2010-10-06Retire Skipjackmikeb1-4/+1
2010-09-22Support AES-GCM-16 (as aes-gcm) and ENCR_NULL_AUTH_AES_GMACmikeb1-1/+14
2008-12-22Only warn about pfkey failures when errno is != EEXIST.hshoexer1-3/+5
2007-03-16move autodetection of the ID type to the parser. this way themarkus1-3/+3
2006-11-10Fix grouping for SAs. Now all combinations of SAs are possible,hshoexer1-11/+30
2006-08-30can get EAGAIN when writing to the pfkey socket; same change as bgpd,henning1-8/+6
2006-06-08fix some indentation, noticed by david@hshoexer1-2/+2
2006-06-01pfkey bits needed for SA groupinghshoexer1-1/+168
2006-06-01Support flows with port modifiers for proto tcp/udp, e.g.naddy1-7/+33
2006-06-01read the full reply from PFKEY even if sadb_errno is set; ok hshoexermarkus1-7/+6
2006-06-01correct error messages to match calloc where appropriatetodd1-3/+3
2006-05-31whitespace cleanuphshoexer1-3/+3
2006-05-30implement monitor mode for ipsecctl. worked on with markus@msf1-8/+83
2006-05-28kill trainling whitespacehshoexer1-2/+2
2006-05-28fill in AF_INET6 casestodd1-20/+71
2006-04-19"type" keyword to specify flow type (require, use, etc.)hshoexer1-1/+7
2006-03-31allow specification of encapsulated protocol for flows; ok hshoexermarkus1-13/+17
2006-03-30allow specification of outer local ips in flows (SADB_EXT_ADDRESS_SRC); ok hshoexer, reykmarkus1-14/+50
2006-03-07add support for special "bypass" and "deny" flows.reyk1-1/+7
2005-12-06ipip support: ip-in-ip w/o gif(4); ok hshoexermarkus1-3/+12
2005-11-24Remove old-style keyed sha1/md5. We only support hmac-sha1/md5.hshoexer1-7/+1
2005-11-12spacingderaadt1-7/+7
2005-11-12handle transport/tunnel modehshoexer1-5/+9
2005-11-06Improved address and address mask handling, derived from pfctl stuff.hshoexer1-36/+19
2005-11-06better handling of ip addresses, prepare for v6. Partially derived from diffhshoexer1-18/+40
2005-10-30add support for ipcomp.hshoexer1-4/+23
2005-10-17parse correctly flows using ipcomp. Glitch noticed by jared rr spiegel.hshoexer1-1/+3
2005-10-16cleanup messages generated by err(3)hshoexer1-15/+15
2005-08-22Teach ipsecctl to control isakmpd.hshoexer1-5/+5
2005-08-09Rewrite handling of transforms. Now both ah and esp can be specified andhshoexer1-16/+15
2005-08-08pfkey pieces for static keying, enable static keyinghshoexer1-23/+116
2005-08-08prepare for static keyinghshoexer1-2/+8
2005-08-05prepare for authentication and encryption keys, not used yet.hshoexer1-3/+3
2005-08-03be more careful when using struct ipsec_auth, might be NULL now.hshoexer1-1/+15
2005-08-02Make use of struct ipsec_auth dynamic.hshoexer1-20/+20
2005-07-09also bail out when pfkey returns ESRCH (eg. trying to delete a non-existing SA)hshoexer1-7/+7
2005-07-09small cleanupshshoexer1-19/+19
2005-07-09Provide infrastructure for adding/deleting SAs, will be used by tcpmd5 andhshoexer1-36/+180
2005-07-07set flow type (use, require, etc.) when a rule is created. Up to now this washshoexer1-7/+14