- assigned_to: nobody --> arkenoi
1) When started with -daemon option, configuration is not read properly:
/usr/local/bin/netacl -daemon ftp ftpd
netacl: timeout 1200
netacl-ftpd: permit-hosts * -exec /usr/libexec/ftpd
Nov 1 17:42:41 test-server netacl[5475]: Starting daemon mode on port 21
Nov 1 17:42:41 test-server netacl[5476]: daemon running
Nov 1 17:42:42 test-server netacl[5477]: fwtkcfgerr: -daemon exiting - cannot read configuration
"netacl-ftpd" is not being read, as
if((argc == 1) || !(argv[1])) {
service = proxy_name;
} else {
service = argv[0];
}
parameters "-daemon" and others are still there after proxy_init() and "ftpd" is in argv[3] in the example above.
2) -exec is handled incorrectly, due to typo in netacl.c:48