Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Update copyrights, authors | June McEnroe | 2022-07-30 |
| | |||
* | Sanitize leading dots from log path components | June McEnroe | 2022-04-20 |
| | | | | | | | | | | | 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> | ||
* | Import refactored xdg.c from pounce | June McEnroe | 2021-10-16 |
| | |||
* | FreeBSD: Avoid caph_stream_rights(3) | June McEnroe | 2021-07-13 |
| | | | | | | | | 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. | ||
* | FreeBSD: Use capsicum_helpers.h | June McEnroe | 2021-06-28 |
| | |||
* | FreeBSD: Limit rights on log directory | June McEnroe | 2021-06-25 |
| | |||
* | Keep log directory open, use mkdirat(2) and openat(2) | June McEnroe | 2021-06-25 |
| | |||
* | Open log files with CLOEXEC | June McEnroe | 2021-06-21 |
| | |||
* | Check fprintf return values rather than ferror | June McEnroe | 2021-01-10 |
| | |||
* | Say "OpenSSL" in additional permission notices | June McEnroe | 2020-08-04 |
| | | | | LibreSSL is "a modified version of that library". | ||
* | Add additional permission for linking with LibreSSL | June McEnroe | 2020-06-08 |
| | | | | https://www.gnu.org/licenses/gpl-faq.en.html#GPLIncompatibleLibs | ||
* | Add logging functions | June McEnroe | 2020-03-25 |
| | | | | The mkdir dance is a bit awkward... | ||
* | Remove legacy code | June McEnroe | 2020-02-11 |
| | |||
* | Make copyright headers consistent | June McEnroe | 2019-07-27 |
| | |||
* | Add M-l to list the log | June McEnroe | 2019-02-25 |
| | |||
* | Use getline in place of fgetln | June McEnroe | 2019-01-25 |
| | |||
* | Measure length of log timestamp more consistently | June McEnroe | 2018-11-30 |
| | |||
* | Strip timestamps from log replay | June McEnroe | 2018-11-29 |
| | | | | | Also fix string length. %.*s does not behave as one might expect when writing wchar_t. | ||
* | Add basic log replay | June McEnroe | 2018-11-29 |
| | |||
* | Use PascalCase for constants | June McEnroe | 2018-09-02 |
| | | | | Begone underscores. | ||
* | Do not set log files executable | June McEnroe | 2018-08-18 |
| | | | | Oops. | ||
* | Add logging | June McEnroe | 2018-08-17 |
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. |