From owner-dev-commits-src-all@freebsd.org Tue Jul 20 10:40:38 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9B244669E63; Tue, 20 Jul 2021 10:40:38 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (heemeyer.club [IPv6:2001:19f0:6400:80a1:5054:ff:fe7a:a27d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GTZxL3RJgz3F9R; Tue, 20 Jul 2021 10:40:38 +0000 (UTC) (envelope-from dchagin@heemeyer.club) Received: from heemeyer.club (localhost [127.0.0.1]) by heemeyer.club (8.16.1/8.16.1) with ESMTP id 16KAeUTD049528; Tue, 20 Jul 2021 13:40:30 +0300 (MSK) (envelope-from dchagin@heemeyer.club) Received: (from dchagin@localhost) by heemeyer.club (8.16.1/8.16.1/Submit) id 16KAeUwd049527; Tue, 20 Jul 2021 13:40:30 +0300 (MSK) (envelope-from dchagin) Date: Tue, 20 Jul 2021 13:40:30 +0300 From: Dmitry Chagin To: Kristof Provost Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 8e1864ed0712 - main - pf: syncookie support Message-ID: References: <202107200836.16K8asPR040892@gitrepo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <202107200836.16K8asPR040892@gitrepo.freebsd.org> X-Rspamd-Queue-Id: 4GTZxL3RJgz3F9R X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2021 10:40:38 -0000 On Tue, Jul 20, 2021 at 08:36:54AM +0000, Kristof Provost wrote: > The branch main has been updated by kp: >=20 > URL: https://cgit.FreeBSD.org/src/commit/?id=3D8e1864ed07121b479b95d7e3a5= 931a9e0ffd4713 >=20 > commit 8e1864ed07121b479b95d7e3a5931a9e0ffd4713 > Author: Kristof Provost > AuthorDate: 2021-05-20 09:54:41 +0000 > Commit: Kristof Provost > CommitDate: 2021-07-20 08:36:13 +0000 >=20 > pf: syncookie support > =20 > Import OpenBSD's syncookie support for pf. This feature help pf resist > TCP SYN floods by only creating states once the remote host completes > the TCP handshake rather than when the initial SYN packet is received. > =20 > This is accomplished by using the initial sequence numbers to encode a > cookie (hence the name) in the SYN+ACK response and verifying this on > receipt of the client ACK. > =20 > Reviewed by: kbowling > Obtained from: OpenBSD > MFC after: 1 week > Sponsored by: Modirum MDPay > Differential Revision: https://reviews.freebsd.org/D31138 NOINET6 build fails --- vers.c --- MAKE=3D"make" sh /home/dchagin/freebsd/sys/conf/newvers.sh LINT-NOINET6 --- vers.o --- cc -target i386-unknown-freebsd14.0 --sysroot=3D/home/dchagin/tmp/obj/home/= dchagin/freebsd/i386.i386/tmp -B/home/dchagin/tmp/obj/home/dchagin/freebsd/= i386.i386/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -nostdinc -I. -= I/home/dchagin/freebsd/sys -I/home/dchagin/freebsd/sys/contrib/ck/include -= I/home/dchagin/freebsd/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HE= ADERS -include opt_global.h -fno-common -fno-builtin -fdebug-prefix-map= =3D./machine=3D/home/dchagin/freebsd/sys/i386/include -fdebug-prefix-map=3D= =2E/x86=3D/home/dchagin/freebsd/sys/x86/include -mno-mmx -mno-sse -msoft-fl= oat -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnest= ed-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-= qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing= -include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dt= autological-compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equali= ty -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshif= t-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -m= no-aes -mno-avx -std=3Diso9899:1999 -Werror vers.c --- kernel --- linking kernel ld: warning: common OPENSSL_ia32cap_P is overridden ld: warning: common OPENSSL_ia32cap_P is overridden ld: warning: common OPENSSL_ia32cap_P is overridden ld: warning: common OPENSSL_ia32cap_P is overridden ld: warning: common OPENSSL_ia32cap_P is overridden ld: error: undefined symbol: pf_synflood_check >>> referenced by pf.c >>> pf.o:(pf_test) ld: error: undefined symbol: pf_syncookie_send >>> referenced by pf.c >>> pf.o:(pf_test) ld: error: undefined symbol: pf_syncookie_validate >>> referenced by pf.c >>> pf.o:(pf_test) ld: error: undefined symbol: pf_syncookie_recreate_syn >>> referenced by pf.c >>> pf.o:(pf_test) ld: error: undefined symbol: pf_syncookies_init >>> referenced by pf_ioctl.c >>> pf_ioctl.o:(vnet_pf_init) ld: error: undefined symbol: pf_set_syncookies >>> referenced by pf_ioctl.c >>> pf_ioctl.o:(pfioctl) ld: error: undefined symbol: pf_get_syncookies >>> referenced by pf_ioctl.c >>> pf_ioctl.o:(pfioctl) *** [kernel] Error code 1 make[5]: stopped in /home/dchagin/tmp/obj/home/dchagin/freebsd/i386.i386/sy= s/LINT-NOINET6 1 error make[5]: stopped in /home/dchagin/tmp/obj/home/dchagin/freebsd/i386.i386/sy= s/LINT-NOINET6 make[4]: stopped in /home/dchagin/freebsd make[3]: stopped in /home/dchagin/freebsd