History log of /openbsd/sbin/isakmpd/virtual.c (Results 1 – 25 of 33)
Revision Date Author Comments
# df69c215 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

show more ...


# 5ae94ef8 20-Aug-2015 deraadt <deraadt@openbsd.org>

<stdlib.h> is included, so do not need to cast result from
malloc, calloc, realloc*
ok krw millert


# 47353fb0 03-Feb-2011 phessler <phessler@openbsd.org>

When binding to addresses, ignore any IP address not in the current
routing domain.

While here, update comment on what the ioctl is used for (from sthen@).

OK mikeb@, sthen@


# 63b867f8 28-Jan-2009 hshoexer <hshoexer@openbsd.org>

cleaning up my tree: trivial KNF and a comment fix.


# 1f9f66b4 21-Oct-2008 markus <markus@openbsd.org>

do not listen on tentative (during DAD), duplicated (after DAD) or
detached addresses. bind(2) will not allow this. ok hshoexer, fries


# b7984483 16-Apr-2007 moritz <moritz@openbsd.org>

There's no point in checking ptr for NULL before doing free(ptr)
since free(NULL) is just fine.

ok hshoexer@


# 2fe09b3d 15-Apr-2007 hshoexer <hshoexer@openbsd.org>

Fix interop-issue with vpn peers that start reyking on port 4500 when
NAT-T is used. Solves problems with cisco and openswan.

Tested by todd@ (cisco interop), ok ho@

Original fix with Stefan Roth

Fix interop-issue with vpn peers that start reyking on port 4500 when
NAT-T is used. Solves problems with cisco and openswan.

Tested by todd@ (cisco interop), ok ho@

Original fix with Stefan Roth (stefan dot roth at siemens dot com),
thanks!

show more ...


# 5678a57a 02-Jun-2006 hshoexer <hshoexer@openbsd.org>

Big spelling cleanup, no binary change. From david@


# 29ff541c 13-Nov-2005 hshoexer <hshoexer@openbsd.org>

zap unused variable and silence gcc.
From Mike Belopuhov <mkb at crypt dot org dot ru>
Thanks!


# 7fb8cfba 27-Oct-2005 hshoexer <hshoexer@openbsd.org>

Do not touch LIST_* macro internals.

with otto@, ok ho@


# 9f0da335 25-Oct-2005 hshoexer <hshoexer@openbsd.org>

some small knf, ok ho@


# 440df6e7 25-Aug-2005 markus <markus@openbsd.org>

read the information from the INADDR_ANY socket and do not loop if
a new IP appears (cf udp.c, rev 1.74), ok ho@ hshoexer@ cloder@ deraadt@


# c506f982 08-Apr-2005 hshoexer <hshoexer@openbsd.org>

get rid of sysdep_sa_len

ok cloder@


# 14bba3c6 08-Apr-2005 deraadt <deraadt@openbsd.org>

USE_DEBUG is bye bye


# e08f7a80 08-Apr-2005 deraadt <deraadt@openbsd.org>

nat-traversal always


# e9937862 08-Apr-2005 cloder <cloder@openbsd.org>

Remove references to LINUX_IPSEC


# a22f887e 07-Apr-2005 hshoexer <hshoexer@openbsd.org>

remove unnecessary typecasts.

ok ho@


# 9d6bd3cf 06-Apr-2005 deraadt <deraadt@openbsd.org>

knf, ok cloder


# bfb67d4d 05-Apr-2005 cloder <cloder@openbsd.org>

Add -T flag to isakmpd to disable NAT-T support from the command line.
This lets binat setups work again without having to recompile isakmpd.
OK ho, hshoexer.


# 8cd03bd8 04-Apr-2005 deraadt <deraadt@openbsd.org>

spacing; ok cloder


# e4e0f81d 05-Mar-2005 ho <ho@openbsd.org>

No need for err.h. hshoexer@ ok


# 7b0fa7b6 04-Mar-2005 hshoexer <hshoexer@openbsd.org>

cleanup binding and cloning functions, use text2port(), correctly
determin the encap port. This makes udpencap fully useable on ports
other than the default 4500.

ok ho cloder


# 0dc10397 27-Feb-2005 hshoexer <hshoexer@openbsd.org>

where possible, use bzero instead of memset

ok cloder henning


# e3283cbf 14-Dec-2004 mcbride <mcbride@openbsd.org>

Allow the Address, Network, or Netmask values of the <IPsec-ID> to be
specified with an interface name (in which case the first address is used)
or the keyword 'default' (in which case the address is

Allow the Address, Network, or Netmask values of the <IPsec-ID> to be
specified with an interface name (in which case the first address is used)
or the keyword 'default' (in which case the address is selected based on the
default route). eg:

[roadwarrior-ip]
ID-type= IPV4_ADDR
Address= default

ok ho@ hshoexer@

show more ...


# a3253496 20-Sep-2004 hshoexer <hshoexer@openbsd.org>

compile cleanly with -Wsign-compare
ok ho


12