Commit message (Collapse) | Author | ||
---|---|---|---|
2019-11-21 | Zero temporary SASL PLAIN buffer | June McEnroe | |
2019-11-21 | Use a static buffer for plainBase64 | June McEnroe | |
2019-11-21 | Use a fixed buffer size for SASL PLAIN authentication | Michael Forney | |
handleAuthenticate only sends a single AUTHENTICATE message, so according to https://ircv3.net/specs/extensions/sasl-3.1.html, its maximum length is 399. So, we know that the authentication string can be at most 299 bytes. | |||
2019-11-20 | Avoid a couple VLAs with constant size | Michael Forney | |
These are really just regular arrays masquerading as VLAs. | |||
2019-11-20 | client: Include time.h for gmtime and strftime | Michael Forney | |
2019-11-20 | Use strlcpy for sun_paths | June McEnroe | |
My understanding is that sun_path need not be nul-terminated, but I didn't notice that SUN_LEN actually requires it. > The length of UNIX-domain address, required by bind(2) and connect(2), > can be calculated by the macro SUN_LEN() defined in <sys/un.h>. The > sun_path field must be terminated by a NUL character to be used with > SUN_LEN(), but the terminating NUL is not part of the address. Thanks to Duncan Overbruck <mail@duncano.de> for the report. | |||
2019-11-20 | Format milliseconds as int | June McEnroe | |
I don't know what I was thinking. I'm expecting a number less than 1000 of course that fits in int. | |||
2019-11-18 | Mention the name CertFP in SASL EXTERNAL guide 1.0 | June McEnroe | |
2019-11-18 | Document accept and exit behavior | June McEnroe | |
2019-11-18 | Remove ISUPPORT draft reference | June McEnroe | |
I don't actually deal with it at all other than storing them for syncing clients. | |||
2019-11-18 | Document inadvertent echo bug | June McEnroe | |
2019-11-15 | Request NAMES on sync by default | June McEnroe | |
This inverts the meaning of -N! | |||
2019-11-14 | Add concept of passive clients | June McEnroe | |
2019-11-14 | Save and load full struct timeval | June McEnroe | |
2019-11-14 | Use struct timeval for sub-second precision | June McEnroe | |
2019-11-14 | Remove server-time filter TODO | June McEnroe | |
I think it's fine to keep it separate since it's a core function of the bouncer. | |||
2019-11-14 | Tweak filter regexes | June McEnroe | |
2019-11-14 | Filter multi-prefix | June McEnroe | |
2019-11-14 | Replace filters with regex replaces | June McEnroe | |
2019-11-13 | Refactor filterUserhostInNames | June McEnroe | |
2019-11-13 | Factor out wordcpy for filters | June McEnroe | |
2019-11-11 | Revert "Test getopt_config" | June McEnroe | |
This reverts commit c8a771828e1d5fc8c476bbd650fafcfb7ba390a8. It just feels gross... idk. | |||
2019-11-11 | Test getopt_config | June McEnroe | |
2019-11-11 | Add userhost-in-names to manual | June McEnroe | |
2019-11-11 | Skip initial NAMES parameters | June McEnroe | |
Channel names can contain '!' so splitting the whole message on it won't work. I hate this code though. | |||
2019-11-11 | Filter userhost-in-names | June McEnroe | |
I really want to be writing tests for these functions... | |||
2019-11-10 | Compare words without copying in filters | June McEnroe | |
2019-11-10 | Separate tags from all target | June McEnroe | |
2019-11-10 | Filter invite-notify | June McEnroe | |
2019-11-10 | Add capsicum note to README | June McEnroe | |
2019-11-10 | Filter extended-join | June McEnroe | |
2019-11-10 | Expand client configuration documentation and list capabilities | June McEnroe | |
2019-11-10 | Request all supported caps from server | June McEnroe | |
2019-11-10 | Filter ACCOUNT, AWAY, CHGHOST for incapable clients | June McEnroe | |
2019-11-10 | Rename listen to local | June McEnroe | |
2019-11-09 | Remove extended-join and invite-notify | June McEnroe | |
The remaining caps only generate new commands which can easily be filtered out when sending to clients so will be in the first pass of support. extended-join is probably safe to pass through unaltered, just causing extraneous parameters on JOIN commands, but maybe not. invite-notify reuses the INVITE command where the invited user is not self. | |||
2019-11-09 | Maintain stateCaps and offer them to clients | June McEnroe | |
2019-11-09 | Parse capabilities | June McEnroe | |
The list that I've defined are the ones that I expect to be able to enable probably without any clients breaking... And of course server-time which pounce implements itself. | |||
2019-11-09 | Avoid the reserved _A names with BIT macro | June McEnroe | |
2019-11-09 | Define macro for bit flag enums | June McEnroe | |
2019-11-08 | Check that password is hashed | June McEnroe | |
2019-11-08 | Avoid calling getopt_long again after it returns -1 | June McEnroe | |
On GNU, calling getopt_long again will reset optind back to the first non-option argument, which would cause an infinite loop of reading the same configurtion file forever. | |||
2019-11-08 | Only change AWAY status for registered clients | June McEnroe | |
Turns out I did eventually fix this, because I may want to implement "passive clients" for logging or notification stuff, which wouldn't affect AWAY status either. | |||
2019-11-07 | Just write the example normally | June McEnroe | |
2019-11-07 | Include path in readlinkat error | June McEnroe | |
2019-11-07 | Call clientConsume before clientRecv | June McEnroe | |
This might reduce the frequency of a client getting its own message back because it was behind in the ring when it sent it. | |||
2019-11-06 | Use -l:filename in Linux.mk | June McEnroe | |
2019-11-06 | Fix compat.h for #defined strlcpy | June McEnroe | |
2019-11-06 | Allow unsetting LIBRESSL_PREFIX | June McEnroe | |
2019-11-06 | Document calico service configuration | June McEnroe | |