summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpd/pfkey.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* Store local-address by address family. This allows to configure bothclaudio2020-04-231-10/+23
* Add some TCP MD5SUM specific calls needed by protable. On Linux systemsclaudio2019-10-011-2/+17
* Pass a struct listen_addr pointer to tcp_md5_listen and not just the fd,claudio2019-09-301-3/+3
* cleanup return code checks for the pfkey_*() functions.benno2019-06-251-31/+31
* Cleanup, remove some unneded spaces add some other where needed.claudio2019-06-171-2/+1
* Rework pfkey handling a bit. The old remove then add way of inserting md5sigclaudio2019-05-291-74/+122
* Rework the TCP md5sig and IKE handling. Move the pfkey socket to the parentclaudio2019-05-081-36/+102
* Forgot to set the sockaddr length field which is mandatory on the pfkey socket.claudio2019-02-201-3/+7
* Do not depend on the length field of struct sockaddr instead pass theclaudio2019-02-181-5/+6
* whitespace cleanup, ok claudio@benno2018-09-201-2/+3
* undo unintentional commitsphessler2017-08-211-1/+3
* /* $OpenBSD: parse.y,v 1.314 2017/08/12 16:47:50 phessler Exp $ */phessler2017-08-211-3/+1
* use freezero()deraadt2017-04-181-7/+4
* Fix breakage of md5 authentication.renato2017-03-021-4/+4
* Add missing htonl for IPsec SPI.renato2017-02-221-2/+2
* sync log.c from relayd et al to bgpd.benno2017-01-241-1/+2
* explicit_bzero() from Michael McConville, thanks!florian2015-09-131-4/+4
* Make also the special sockets SOCK_NONBLOCK. For the routing socket addclaudio2015-02-101-2/+7
* Kill session_socket_blockmode() and replace it with SOCK_CLOEXEC orclaudio2015-02-091-2/+2
* Use reallocarray() throughout to spot multiplicative int overflow.deraadt2014-10-081-3/+3
* The PF_KEY socket is like the routing socket. It must be polled all theclaudio2010-12-091-21/+36
* addr2sa() will return NULL for AID_UNSPEC and pfkey_send() may end up withclaudio2009-12-141-3/+6
* Doh, switch src and dst in memcpy calls or the wrong thing gets copied.claudio2009-12-061-3/+3
* Use an artificial address family id in struct bgpd_addr and almost everywhereclaudio2009-12-011-29/+17
* instead of calling getpid() all over the place do it once, claudio okhenning2009-04-211-3/+7
* ignore pfkey replies not for us and discard themhenning2009-04-211-6/+19
* add a stupid workaround for a race somewhere in the crypto code in thehenning2009-02-251-1/+3
* * make sure we keep copies of everything we need tohenning2006-10-261-37/+53
* storing the dynamically acquired SPIs for tcpmd5 inside the conf structhenning2006-10-261-14/+14
* writing to the pfkey socket can give EAGAIN and we must retry.henning2006-08-301-10/+9
* "not reached" does not help LINT use NOTREACHED instead and use it only inclaudio2004-11-101-3/+1
* detect absence of PF_KEY interface and/or the TCP_MD5SIG setsockoptshenning2004-05-281-6/+9
* actually reset p->auth_established to 0 in pfkey_[md5sig|ipsec]_removehenning2004-05-061-1/+4
* we need a seperate field for the md5 key len, can't use strlen, noticedhenning2004-05-061-7/+9
* support for AH flows and SAsmarkus2004-04-281-17/+48
* do not give up on ESRCH, someone might have mucked with ipsecadm behindhenning2004-04-281-1/+1
* make this at least compilehenning2004-04-281-3/+7
* make sure send and reply are in sync; ok henningmarkus2004-04-281-1/+25
* keep track of which ipsec/md5 SAs we inserted - ESRCH on blind removalhenning2004-04-281-2/+5
* don't load SAs into the kernel if IKE is used.markus2004-04-281-50/+47
* prefix the auth related defines by AUTH_, we had a name clash, markus okhenning2004-04-281-3/+3
* rename the ipsec struct to auth, move all tcpmd5 related fields in there, andhenning2004-04-271-22/+25
* two missing breaks, repairs tcpmd5, with markushenning2004-04-271-1/+3
* restrict the ipsec flows to BGP only; ok henningmarkus2004-04-271-43/+127
* crud stripping; henning okderaadt2004-04-271-2/+2
* load ipsec SAs into the kernel and enable them.markus2004-04-261-28/+224
* allow empty (wildcard) sockaddr for src or dsthenning2004-03-311-1/+7
* use switch instead of if { } else if { } else { }henning2004-03-151-7/+15
* missing free() in an error path that should be unreachablehenning2004-01-301-2/+5
* implementhenning2004-01-281-20/+6