Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-02 | Improve comment/debug clarity. | Luke Bratch | |
2021-01-25 | Use a space followed by a colon to determine the final parameter in ↵ | Luke Bratch | |
extractfinalparameter(). This fixes the topic being stored incorrectly when the setter's host is a raw IPv6 address. | |||
2021-01-19 | Fix various issues where strncmp was only comparing a substring. | Luke Bratch | |
This fixes issues such as when JOINing a channel whose name is a substring of another channel, things like PARTing don't work properly. | |||
2021-01-18 | Make the "channels" configuration file entry an array. | Luke Bratch | |
2020-10-21 | Don't have arrindex() return 0 on failure as 0 is a valid index. Instead ↵ | Luke Bratch | |
return -1 and change callers to check this. | |||
2020-01-05 | Fix some situations where the remote IP of a connecting/disconnecting client ↵ | Luke Bratch | |
is wrong in the debug log and NOTICEs. | |||
2020-01-05 | Correct a comment. | Luke Bratch | |
2019-12-22 | Significantly reduce memory usage by only initialising channel struct ↵ | Luke Bratch | |
elements when they are used for the first time. | |||
2019-12-22 | Make full debug output optional for extractnickfromprefix() and ↵ | Luke Bratch | |
stripprefix() to avoid huge debug logs when using replaymode = "lastspoke" combined with DEBUG_FULL. | |||
2019-10-02 | Try to make removenickfromallchannels() much faster when another user QUITs ↵ | Luke Bratch | |
by ignoring unused channel indexes. | |||
2019-09-16 | Make all log filenames lowercase - since IRC nicks and channel names are ↵ | Luke Bratch | |
case-insensitive, we can ensure a nick/channel with varying case always ends up in the same log file. | |||
2019-09-15 | Make sure nicks passed to the "update all channels" functions have non-zero ↵ | Luke Bratch | |
lengths to avoid an enormous loop. | |||
2019-09-15 | Don't try to socksend() in sendtoclient() if the client wasn't found in the ↵ | Luke Bratch | |
client array. | |||
2019-09-15 | Start tracking nicks in channels (upon JOIN/PART/QUIT/NICK) and use that to ↵ | Luke Bratch | |
correctly log QUITs in the replay log and normal log(s). | |||
2019-09-14 | Specify multiple nicks using a configuration array instead of multiple ↵ | Luke Bratch | |
individual settings. | |||
2019-09-14 | Handle ignoring replay messages from before we launched better to avoid ↵ | Luke Bratch | |
misleading error messages going to clients. | |||
2019-09-07 | Avoid more replay log NICK synchronisation issues by ignoring replay log ↵ | Luke Bratch | |
nick changes from us if not our current nick, and by completely ignoring replaying any type of replay log line from before blabouncer was launched. | |||
2019-09-07 | Add a configuration option to include the date in the timestamp when ↵ | Luke Bratch | |
replaying the replay log. | |||
2019-09-06 | Send remote IP addresses instead of fd numbers in NOTICEs to clients and ↵ | Luke Bratch | |
print both in related debugprint()s. | |||
2019-07-18 | Fix compiler warnings emitted by Clang/LLVM and some older GCC versions. | Luke Bratch | |
2019-07-10 | Fix some potential buffer overflows when sending to client/server. | Luke Bratch | |
2019-07-10 | Ensure log filenames are safe for writing. | Luke Bratch | |
2019-07-10 | Make setting configuration option "replayseconds" optional if "replaymode" ↵ | Luke Bratch | |
!= "time". | |||
2019-07-09 | Make sure debug lines printed to file end with a trailing newline. | Luke Bratch | |
2019-07-09 | Avoid SSL_accept() blocking if the client fails to do TLS negotiation. | Luke Bratch | |
2019-06-17 | Implement a per-client identifier so auto replay can replay everything a ↵ | Luke Bratch | |
given client has missed. | |||
2019-06-16 | Correctly return success when handling new replay modes. | Luke Bratch | |
2019-06-16 | Implement two new auto replay modes: | Luke Bratch | |
- replaymode = "noclients": All messages since the bouncer last had no clients connected - replaymode = "lastchange": All messages since the last client connect or disconnect | |||
2019-06-16 | Handle very long lines and very short lines. Print to terminal if we fail ↵ | Luke Bratch | |
to connect to server at startup. Don't print to terminal if sending to a client or to the server fails. | |||
2019-06-16 | Load all settings from configuration file at startup instead of reading it ↵ | Luke Bratch | |
for certain settings (password/nick/nick2/nick3). | |||
2019-06-12 | Allow reloading the configuration file at runtime using a BLABOUNCER command ↵ | Luke Bratch | |
or by issuing the SIGHUP signal. | |||
2019-06-12 | Don't print a message to the terminal when a channel already exists (it is a ↵ | Luke Bratch | |
normal occurence when reconnecting, but might be bad in some other situation). | |||
2019-06-11 | Implement configurable auto replay modes. So far there is "none", "time" ↵ | Luke Bratch | |
(auto replay the last X seconds), and "lastspoke" (auto replay everything since you last spoke). | |||
2019-06-11 | Refactoring - rename ircdstrings struct to ircdstate since it doesn't just ↵ | Luke Bratch | |
contain strings. | |||
2019-06-11 | Prepend timestamps when writing to the debug log file. | Luke Bratch | |
2019-06-10 | Refactoring - split giant processircmessage() switch statement into separate ↵ | Luke Bratch | |
server and client functions in message.h/message.c. | |||
2019-06-10 | Refactoring - move most functions into functions.h/functions.c except ↵ | Luke Bratch | |
connect/exit functions only relevant in main.c. | |||
2019-06-10 | Add copyright and GPL 3 notices. | Luke Bratch | |
2019-06-01 | Put debug logs in subdirectory and have max number to keep be configurable. ↵ | Luke Bratch | |
Also fix possible crash in debugprint() if debug directory doesn't exist yet. | |||
2019-05-30 | Remove most (all?) exit()s with error handling without exiting where ↵ | Luke Bratch | |
possible. Convert most remaining printing to stdout/stderr to debugprint() instead. | |||
2019-05-30 | Convert debugprint() from being to file/screen/disabled to always being to ↵ | Luke Bratch | |
file with configurable verbosity. | |||
2019-05-28 | Implement debugging to file and set the default configuration file to be that. | Luke Bratch | |
2019-05-27 | Make debug output optional and disabled by default. | Luke Bratch | |
2019-05-27 | Only compare nick instead of full nick!user@host when processing server ↵ | Luke Bratch | |
JOIN/PART/NICK. Also handle the "new" nick already being set in greeting strings during a server NICK if it's changing our nick. | |||
2019-05-21 | Support multiple nick prefixes in channels by storing/relaying server ↵ | Luke Bratch | |
005/RPL_ISUPPORT messages and implementing the start of IRCv3 CAP negotiations (multi-prefix only at the moment). | |||
2019-05-18 | Add underflow safety check in appendcrlf(). | Luke Bratch | |
2019-05-17 | Properly support changing our nick while connecting by updating it ↵ | Luke Bratch | |
everywhere including initial server welcome strings. Make sure channels are cleared when PARTing them. Ignore most commands from clients until they are registered with us. Send the correct current nick when sending NOTICEs. | |||
2019-05-16 | Correctly handle nicks changing and actually track users PARTing channels. | Luke Bratch | |
Also change nickuserhost to store the leading colon (:) since it's always needed (so far). | |||
2019-05-12 | Make configuration file path configurable on the command line. Also finish ↵ | Luke Bratch | |
removing the non-functional debug() stuff. | |||
2019-05-12 | Completely rewrite configuration file reading to remove lots of duplicated ↵ | Luke Bratch | |
code and to simplify things. Alter everything that called the old functions. |