summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-14Implement arrays in the configuration file and start using them to allow for ↵Luke Bratch
multiple connect commands.
2019-09-14Handle ignoring replay messages from before we launched better to avoid ↵Luke Bratch
misleading error messages going to clients.
2019-09-12Make some older compilers happy by specifying -D_BSD_SOURCE and -std=gnu99.Luke Bratch
2019-09-12Don't try to fclose() the replay log file if fopen() returned NULL.Luke Bratch
2019-09-12Change Makefile to not leave separate .o files lying around.Luke Bratch
2019-09-12Log server messages to file named <ircdname>.log.Luke Bratch
2019-09-12Adopt the locale of the environment for locale-dependent things like date ↵Luke Bratch
formats.
2019-09-07Avoid 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-07Only relay channel ban information to the client that requested it.Luke Bratch
2019-09-07Avoid non-existent users appearing in channels after they change nicks by ↵Luke Bratch
replay logging nick changes.
2019-09-07Correct some typos with the replay days:hours:minutes syntax help/documentation.Luke Bratch
2019-09-07Don't relay IRC operator WHOIS server responses and OPER up client requests ↵Luke Bratch
to all clients.
2019-09-07Add a configuration option to include the date in the timestamp when ↵Luke Bratch
replaying the replay log.
2019-09-06Send remote IP addresses instead of fd numbers in NOTICEs to clients and ↵Luke Bratch
print both in related debugprint()s.
2019-09-06Add BLABOUNCER HELP as a valid command to avoid the unrecognised command error.Luke Bratch
2019-09-06Change BLABOUNCER REPLAY to be D:H:M instead of D:H:M:S.Luke Bratch
2019-09-06Change how the received client string length check is done before stripping ↵Luke Bratch
newlines to avoid a potential buffer underflow.
2019-07-25Release version 0.1.1.v0.1.1Luke Bratch
This fixes a bug where messages would be logged to the wrong file if the bouncer's nick had changed whilst running.
2019-07-25Fix logging to the wrong file in the case that the bouncer's nick changed ↵Luke Bratch
whilst running.
2019-07-18Release version 0.1!v0.1Luke Bratch
Also add version information (client welcome message, -v, and --version).
2019-07-18Fix compiler warnings emitted by Clang/LLVM and some older GCC versions.Luke Bratch
2019-07-18Correctly log and replay "/me" PRIVMSGs.Luke Bratch
2019-07-18Only check for newlines at the end of client strings if the string length is ↵Luke Bratch
at least one.
2019-07-10Make sure messages aren't too long after combining truncated messages.Luke Bratch
2019-07-10Include the file extension when checking for log filename length.Luke Bratch
2019-07-10Ensure string isn't too long when writing to replay log.Luke Bratch
2019-07-10Fix some potential buffer overflows when sending to client/server.Luke Bratch
2019-07-10Ensure log filenames are safe for writing.Luke Bratch
2019-07-10Make setting configuration option "replayseconds" optional if "replaymode" ↵Luke Bratch
!= "time".
2019-07-10Various README file improvements.Luke Bratch
2019-07-10This is a bouncer, not a client.Luke Bratch
2019-07-09Change some SSL_accept() debug output to be DEBUG_FULL instead of DEBUG_CRIT.Luke Bratch
2019-07-09Make sure debug lines printed to file end with a trailing newline.Luke Bratch
2019-07-09Rename selret to pselret since it's now the return code for pselect().Luke Bratch
2019-07-09Avoid SSL_accept() blocking if the client fails to do TLS negotiation.Luke Bratch
2019-06-17Implement a per-client identifier so auto replay can replay everything a ↵Luke Bratch
given client has missed.
2019-06-16Correctly return success when handling new replay modes.Luke Bratch
2019-06-16Implement 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-16Handle 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-16Load all settings from configuration file at startup instead of reading it ↵Luke Bratch
for certain settings (password/nick/nick2/nick3).
2019-06-16Handle client PROTOCTL NAMESX by just passing on to the server.Luke Bratch
2019-06-16Handle failing to connect to the real IRC even after the socket has been ↵Luke Bratch
created.
2019-06-16Log OpenSSL errors properly instead of printing to stderr.Luke Bratch
2019-06-13Just debugprint() the socket fd number if there was a client read error.Luke Bratch
2019-06-12Allow reloading the configuration file at runtime using a BLABOUNCER command ↵Luke Bratch
or by issuing the SIGHUP signal.
2019-06-12Don't print server or client recv() errors to the terminal, debugprint() ↵Luke Bratch
them properly instead.
2019-06-12Don'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-12Don't pass server PONGs to clients.Luke Bratch
2019-06-12Handle failing to reconnect to the server upon timeout or disconnection by ↵Luke Bratch
looping the reconnection and keeping clients informed.
2019-06-12Handle failing to connect to the server on startup.Luke Bratch