From 17538023dba26de8e5680cbef9277a7035fc6d39 Mon Sep 17 00:00:00 2001 From: Robert Keizer Date: Wed, 18 Sep 2024 02:32:25 -0500 Subject: [PATCH] Some minor comments as I work through this. --- stages/util_openbsd.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/stages/util_openbsd.go b/stages/util_openbsd.go index 18b5806..fe8d3a4 100644 --- a/stages/util_openbsd.go +++ b/stages/util_openbsd.go @@ -15,8 +15,13 @@ func tcp_md5(md5pass string) func(net, addr string, c syscall.RawConn) error { return func(net, addr string, c syscall.RawConn) error { // * Check whether the tcpmd5 SA already exists - // * If it doesn't, create a temporary file that can be used to load rules - // * Execute ipsecctl -f /path/to/file to load the sa + // * If it doesn't, depending on flags: + // * return an error and docs around setting up the sa. + // or + // * create a temporary file that can be used to load rules + // * Execute ipsecctl -f /path/to/file to load the sa + + // https://blog.habets.se/2019/11/TCP-MD5.html // setsockopt var err error