CVSROOT: /cvs Module name: src Changes by: to...@cvs.openbsd.org 2020/04/09 13:55:20
Modified files: sbin/iked : config.c iked.8 iked.c iked.h ikev2.c types.h Log message: Simplify socket creation logic. Normally iked needs two sockets, one for normal operation (UDP port 500) and one for NAT traversal (UDP 4500). There are several command line options resulting in only one of the sockets being created (-T, -t and -p). Add a new 'enum natt_mode' to make the logic for those somewhat less complicated as well as some comments where it makes sense. >From Wataru Ashihara <wataash (at) wataash (dot) com> ok patrick@