Enhance blacklistd support to not log anything by default,
unless blacklistd support is enabled on the command line.
Document new flag in man page, cleanup patches to be less
intrusive in code.
Details
Details
- Reviewers
emaste cem - Group Reviewers
manpages - Commits
- rS308175: Revisit blacklistd support in ftpd
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
libexec/ftpd/ftpd.c | ||
---|---|---|
335 ↗ | (On Diff #21769) | Should this be err() instead? |
libexec/ftpd/ftpd.c | ||
---|---|---|
335 ↗ | (On Diff #21769) | I would argue 'no'. The blacklist support is just supposed to notify the blacklist daemon, not alter the flow of execution of the augmented program. If someone specified the -B flag in their config, but then managed to get a binary installed without blacklist support, I don't think it is appropriate to start failing just because the configuration via rc.conf or inetd.conf has gone stale. |
libexec/ftpd/ftpd.c | ||
---|---|---|
335 ↗ | (On Diff #21769) | The counterargument might be: The user has elected to start the daemon with a security mitigation enabled. If we can't support that, we have no business silently running without the mitigation. If we abort, the user can fix their configuration (if it is a stale configuration problem). |