Created attachment 195409 [details] Patch for rc startup script The startup script has a missing ' "} ' on line 25, additionally the 'accept4()' implementation is different between FreeBSD and linux, with FreeBSD using SOCK_NONBLOCK instead of O_NONBLOCK for the flags parameter of accept4
Created attachment 195410 [details] patch for accept4 issue
A commit references this bug: Author: krion Date: Tue Jul 24 14:50:34 UTC 2018 New revision: 475258 URL: https://svnweb.freebsd.org/changeset/ports/475258 Log: Utilize SOCK_NONBLOCK instead of O_NONBLOCK Fix startup script PR: 230001 Submitted by: david@dcrosstech.com Changes: head/net/sniproxy/Makefile head/net/sniproxy/files/patch-src_connection.c head/net/sniproxy/files/sniproxy.in