Commits

Author Commit Message Labels Comments Date
Jilles Tjoelker
Add /stats g to show propagated (global) klines.
Jilles Tjoelker
Among bans with the same creation time, prefer the one with longest lifetime.
Jilles Tjoelker
BAN: Avoid fake direction.
Jilles Tjoelker
Remove +/- from the BAN message, instead indicating unban with duration=0. A kline must now last at least one second since its creation time. Also add better logic for bans that have already expired when they come in.
Jilles Tjoelker
Use memmove instead of memcpy where there is overlap (modunload).
Jilles Tjoelker
Add propagated klines. A KLINE command without the ON clause now sets a propagated ("global") ban. KLINE commands with the ON clause work as before. Propagated klines can only be removed with an UNKLINE command without the ON clause, and this removes them everywhere. In fact, they remain in a deactivated state until the latest expiry ever used for the mask has passed. Propagated klines are part of the netburst using a…
Jilles Tjoelker
kline: Fix oper reasons.
Jilles Tjoelker
Fix --disable-balloc. libratbox r26769
Jilles Tjoelker
Skip propagated bans in rehash txlines/tresvs.
Jilles Tjoelker
Add code to expire "propagated" bans. The data structure is very simple: a dlink list of all propagated bans.
Jilles Tjoelker
ConfItem.next is not used, remove it.
Jilles Tjoelker
bandb: Group writes in transactions to reduce load on heavy kline activity. When a ban is added or removed, open a transaction and close it after 3 seconds; any bans in the 3 seconds will not trigger another transaction (= 4 fsyncs with sqlite). The transaction is also committed if ircd closes the connection, but not if bandb itself is terminated with a signal.
Jilles Tjoelker
Make struct operhash_entry private.
Jilles Tjoelker
Track who set a dline/kline/xline/resv as in ratbox3. Like in ratbox3, there is no way to query this information (other than bandb's tables, but they worked before this commit).
Jilles Tjoelker
Generate the "Temporary K-line %d min" part from aconf->hold - aconf->created.
Jilles Tjoelker
Store the creation time of klines and dlines as a time_t instead of as text. The value 0 indicates the creation time is unknown (currently the case for bandb). Also store a creation time for xlines and resvs, but do not use it yet.
Jilles Tjoelker
Add a missing comment for new /challenge numerics.
Alexander Færøy
Use RPL_QUIETLIST and RPL_ENDOFQUIETLIST instead of RPL_BANLIST and RPL_ENDOFBANLIST for channel mode +q.
jdhore
Update TODO a bit.
B.Greenham
Some reference.conf cleanups.
jdhore
Add a small FAQ and modify the todo item about disabled_commands in auth {} to disable_oper since that covers ~99% of the use-cases and can be much cleaner.
jdhore
Rewrite message when you don't have the privs to kick a user (be it that the user is +a and you're +o/+h or you're not an op at all).
jdhore
Update NEWS.
jdhore
Make all snotes for mod* stuff netwide since unless you're opered on more than one server, you won't know if the command worked or not.
jdhore
Add information to helpfiles about remote module loading.
jdhore
Allow using all the mod* commands remotely.
jdhore
Add shared::modules option, remote module stuff coming later/soon.
jdhore
Yay for documenting code....
jdhore
I am made of fail.
jdhore
Make remote restart and die actually...work...
  1. Prev
  2. Next