Page MenuHomeFreeBSD

ctld: Fail for missing or invalid CHAP secrets in UCL config
ClosedPublic

Authored by jhb on Tue, Feb 11, 1:20 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 16, 1:08 AM
Unknown Object (File)
Wed, Feb 12, 9:22 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Tue, Feb 11, 1:20 AM
asomers requested changes to this revision.Tue, Feb 11, 6:23 PM
asomers added inline comments.
usr.sbin/ctld/uclparse.c
74

If this error is going to be fatal, then I suggest you increase the priority of the log message.

This revision now requires changes to proceed.Tue, Feb 11, 6:23 PM
usr.sbin/ctld/uclparse.c
74

The warn vs err is not a severity. log_warnx() is like warnx() in that it just warns, log_errx() is like errx() in that the process exits after logging the warning. In general we don't want to exit for any parse errors.

Ahh, sorry for the noise.

This revision is now accepted and ready to land.Tue, Feb 11, 9:31 PM