Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-30 | Update copyrights, authors | June McEnroe | |
2022-04-20 | Sanitize leading dots from log path components | June McEnroe | |
Prevent directory traversal by sanitizing leading dots as well as slashes from log path components, which can be controlled by the server. Side effect of preventing hidden dotfiles is a bonus, I think. Also check that the full path actually fits in the buffer. Reported-by: Samanta Navarro <ferivoz@riseup.net> | |||
2021-10-16 | Import refactored xdg.c from pounce | C. McEnroe | |
2021-07-13 | FreeBSD: Avoid caph_stream_rights(3) | C. McEnroe | |
caph_stream_rights(3) doesn't exist before FreeBSD 13.0 and there's no good reason to create that dependency. I still run servers on FreeBSD 12. This is a partial revert of cbc9545cb3f76733030c867f32ddb6a922cd2907. | |||
2021-06-28 | FreeBSD: Use capsicum_helpers.h | C. McEnroe | |
2021-06-25 | FreeBSD: Limit rights on log directory | C. McEnroe | |
2021-06-25 | Keep log directory open, use mkdirat(2) and openat(2) | C. McEnroe | |
2021-06-21 | Open log files with CLOEXEC | C. McEnroe | |
2021-01-10 | Check fprintf return values rather than ferror | C. McEnroe | |
2020-08-04 | Say "OpenSSL" in additional permission notices | C. McEnroe | |
LibreSSL is "a modified version of that library". | |||
2020-06-08 | Add additional permission for linking with LibreSSL | C. McEnroe | |
https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs | |||
2020-03-25 | Add logging functions | C. McEnroe | |
The mkdir dance is a bit awkward... | |||
2020-02-11 | Remove legacy code | C. McEnroe | |
2019-07-27 | Make copyright headers consistent | Curtis McEnroe | |
2019-02-25 | Add M-l to list the log | Curtis McEnroe | |
2019-01-25 | Use getline in place of fgetln | Curtis McEnroe | |
2018-11-30 | Measure length of log timestamp more consistently | Curtis McEnroe | |
2018-11-29 | Strip timestamps from log replay | Curtis McEnroe | |
Also fix string length. %.*s does not behave as one might expect when writing wchar_t. | |||
2018-11-29 | Add basic log replay | Curtis McEnroe | |
2018-09-02 | Use PascalCase for constants | Curtis McEnroe | |
Begone underscores. | |||
2018-08-18 | Do not set log files executable | Curtis McEnroe | |
Oops. | |||
2018-08-17 | Add logging | Curtis McEnroe | |
The reason logFmt takes a timestamp as a parameter is to support IRCv3 server-time in the future to accurately log the znc buffer. Hopefully. |