On Sun, 22 Jun 2014 15:06:59 +0600 "Ivan Solonin" <iss...@gmail.com> wrote: > I tried to compile custom kernel in the 5.5 release of OpenBSD on > landisk platform with PIPEX, but found requirment of IPSEC by PIPEX. > As I've found in file /sys/netinet/udp_usrreq.c it uses IPSEC only > with L2TP to distinguish IPsec packets against non-IPsec. > Is PIPEX so strong require IPSEC?
No, it isn't. > Is it possible to compile custom kernel with PIPEX enabled, but > without IPSEC? Below diff will fix compile without IPSEC. Also I sent the diff to tech@ to ask for fixing it in the cvs tree. Index: sys/netinet/udp_usrreq.c =================================================================== RCS file: /disk/cvs/openbsd/src/sys/netinet/udp_usrreq.c,v retrieving revision 1.184 diff -u -p -r1.184 udp_usrreq.c --- sys/netinet/udp_usrreq.c 23 Apr 2014 12:25:35 -0000 1.184 +++ sys/netinet/udp_usrreq.c 23 Jun 2014 02:17:06 -0000 @@ -186,9 +186,9 @@ udp_input(struct mbuf *m, ...) struct m_tag *mtag; struct tdb_ident *tdbi; struct tdb *tdb; +#endif /* IPSEC */ int error; u_int32_t ipsecflowinfo = 0; -#endif /* IPSEC */ va_start(ap, m); iphlen = va_arg(ap, int);