summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-24Use $ instead of # to show shell examples in README.Luke Bratch
2020-10-22Send fully formed PONG responses to client PINGs, particularly relevant ↵Luke Bratch
after server timeouts/reconnects e.g. for XChat.
2020-10-21Don'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-10-21Improve debug output in readreplayline().Luke Bratch
2020-10-21Correct detection of changed nick for updating existing clients when ↵Luke Bratch
reconnecting to server after a timeout.
2020-10-21Mark each channel as not having received nick names yet so existing clients ↵Luke Bratch
get channel nicks after server reconnections.
2020-01-05Fix some situations where the remote IP of a connecting/disconnecting client ↵Luke Bratch
is wrong in the debug log and NOTICEs.
2020-01-05Have openssl_accept return 0 if fd_toggle_blocking failed.Luke Bratch
2020-01-05Correct a comment.Luke Bratch
2019-12-23Add BLABOUNCER VERSION command and change version string to have -git suffix ↵Luke Bratch
between releases.
2019-12-22Significantly reduce memory usage by only initialising channel struct ↵Luke Bratch
elements when they are used for the first time.
2019-12-22Make 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-02Try to make removenickfromallchannels() much faster when another user QUITs ↵Luke Bratch
by ignoring unused channel indexes.
2019-10-02"LOG_MODE" should be "type == LOG_MODE" in logging.c.Luke Bratch
2019-10-02Various typo fixes.Luke Bratch
2019-09-16Release version 0.2.v0.2Luke Bratch
Please see the NEWS file for a highlight of changes in this release.
2019-09-16Add a NEWS file.Luke Bratch
2019-09-16Log user/channel mode setting in the replay and normal logs.Luke Bratch
2019-09-16Make 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-16Correctly log and NOTICE new connections' remote IP addresses.Luke Bratch
2019-09-15Remove nicks from channels when reconnecting, before re-JOINing them.Luke Bratch
2019-09-15Make sure some temporary nick strings are large enough to hold a full ↵Luke Bratch
:nick!user@host string.
2019-09-15Don't print stashed truncated strings in the debug log.Luke Bratch
2019-09-15Use filename safe strings for all log types.Luke Bratch
2019-09-15Make sure nicks passed to the "update all channels" functions have non-zero ↵Luke Bratch
lengths to avoid an enormous loop.
2019-09-15Use global signal(SIGPIPE, SIG_IGN) instead of the send() flag MSG_NOSIGNAL ↵Luke Bratch
since we can't pass MSG_NOSIGNAL to OpenSSL's SSL_write when using TLS connections.
2019-09-15Don't try to socksend() in sendtoclient() if the client wasn't found in the ↵Luke Bratch
client array.
2019-09-15Set the MSG_NOSIGNAL flag send send()ing so a bad socket write doesn't ↵Luke Bratch
terminate blabouncer with SIGPIPE.
2019-09-15Log nick changes to the normal log file(s).Luke Bratch
2019-09-15Start 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-14Specify multiple nicks using a configuration array instead of multiple ↵Luke Bratch
individual settings.
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.