]>
PatchyGit - patchyircd.git/log
Egor [Sat, 17 Aug 2024 22:23:40 +0000 (01:23 +0300)]
spam.lua: use one set of hooks for all simple filters
Egor [Sat, 17 Aug 2024 22:07:55 +0000 (01:07 +0300)]
spam.lua: refactor basic filters
Egor [Sat, 17 Aug 2024 21:49:23 +0000 (00:49 +0300)]
init.lua add hookinfo command
Egor [Sat, 17 Aug 2024 21:41:26 +0000 (00:41 +0300)]
spam.lua: typos
Egor [Sat, 17 Aug 2024 21:39:21 +0000 (00:39 +0300)]
init.lua: fix copy-pasted hook names
Egor [Sat, 17 Aug 2024 21:29:43 +0000 (00:29 +0300)]
spam.lua: add more pm filters
Egor [Sat, 17 Aug 2024 21:27:05 +0000 (00:27 +0300)]
spam.lua: lowercase the string before checking
Egor [Sat, 17 Aug 2024 21:21:29 +0000 (00:21 +0300)]
spam.lua: minor fix
Egor [Sat, 17 Aug 2024 21:03:13 +0000 (00:03 +0300)]
spam.lua: block yet another network
Egor [Mon, 12 Aug 2024 18:47:37 +0000 (21:47 +0300)]
add biboumi hostname support
Egor [Fri, 28 Jun 2024 18:57:51 +0000 (21:57 +0300)]
wait for SASL password check
Egor [Fri, 28 Jun 2024 18:45:50 +0000 (21:45 +0300)]
don't leak WEBIRC password
Egor [Fri, 28 Jun 2024 18:40:05 +0000 (21:40 +0300)]
fix use-after-free with jobs
Egor [Fri, 28 Jun 2024 18:26:27 +0000 (21:26 +0300)]
fix double-free with jobs
Egor [Fri, 28 Jun 2024 17:46:30 +0000 (20:46 +0300)]
add WEBIRC support
Egor [Mon, 27 May 2024 11:02:24 +0000 (14:02 +0300)]
passwd: remove sha512 hashing
Egor [Mon, 27 May 2024 10:24:16 +0000 (13:24 +0300)]
passwd: migrate to blowfish strength 12
Egor [Mon, 27 May 2024 10:11:26 +0000 (13:11 +0300)]
help.txt: update with the latest info
Egor [Mon, 27 May 2024 09:32:14 +0000 (12:32 +0300)]
spam.lua: block some dumb podcast guy
Egor [Thu, 1 Feb 2024 19:18:13 +0000 (21:18 +0200)]
use jobs for auth
Egor [Thu, 1 Feb 2024 17:15:00 +0000 (19:15 +0200)]
use jobs for oper login
and fix a ton of bugs in the jobs implementation
Egor [Thu, 1 Feb 2024 15:11:01 +0000 (17:11 +0200)]
add fork job system
Egor [Thu, 1 Feb 2024 10:22:46 +0000 (12:22 +0200)]
add preliminary support for blowfish passwords
also windows support, kinda
Egor [Wed, 31 Jan 2024 19:10:48 +0000 (21:10 +0200)]
passwd.c: include netsock.h first
fixes _WIN32_WINNT redefinition
Egor [Wed, 31 Jan 2024 19:08:33 +0000 (21:08 +0200)]
always compile admin.[ch]
this makes it easier to do windows builds
Egor [Wed, 31 Jan 2024 19:07:48 +0000 (21:07 +0200)]
passwd.c: fix compilation on windows
Egor [Wed, 31 Jan 2024 18:53:39 +0000 (20:53 +0200)]
FD_CLOEXEC everything
_GNU_SOURCE is needed for socket4
Egor [Wed, 31 Jan 2024 11:52:12 +0000 (13:52 +0200)]
fix localhost/hidden service detection
tbh hidden service should be probably done via AF_UNIX
Egor [Fri, 26 Jan 2024 15:48:23 +0000 (17:48 +0200)]
add lua/local.lua to gitignore
Egor [Fri, 26 Jan 2024 15:13:37 +0000 (17:13 +0200)]
apply a different hostname on 127.0.0.2
for the people who connect to the hidden service
Egor [Fri, 26 Jan 2024 14:04:04 +0000 (16:04 +0200)]
use luaL_setfuncs to register globals
Egor [Fri, 26 Jan 2024 13:03:33 +0000 (15:03 +0200)]
expose channel creation/MODE/TOPIC in lua
Egor [Fri, 26 Jan 2024 12:00:10 +0000 (14:00 +0200)]
make it possible to use channel_mode without client
Egor [Fri, 26 Jan 2024 11:33:56 +0000 (13:33 +0200)]
move channel MODE setting into a separate func
Egor [Fri, 26 Jan 2024 10:56:24 +0000 (12:56 +0200)]
load lua/local.lua if it exists
Egor [Fri, 26 Jan 2024 10:34:13 +0000 (12:34 +0200)]
LIST: show all channels to ircops
Egor [Thu, 25 Jan 2024 11:32:07 +0000 (13:32 +0200)]
allow AUTHENTICATE after registration
why are so many clients so stupid?
also don't leak the saslbuf
Egor [Thu, 25 Jan 2024 04:02:34 +0000 (06:02 +0200)]
irccloud.lua: read from text database
Egor [Thu, 25 Jan 2024 03:50:16 +0000 (05:50 +0200)]
run all username updates through chghost
Egor [Thu, 25 Jan 2024 03:01:37 +0000 (05:01 +0200)]
don't allow deauthing with USER command
Egor [Thu, 25 Jan 2024 02:56:48 +0000 (04:56 +0200)]
remove outdated comment
Egor [Thu, 25 Jan 2024 02:55:37 +0000 (04:55 +0200)]
abort SASL on registration
From the spec:
If the client completes registration (with CAP END, NICK, USER and any
other necessary messages) while the SASL authentication is still in
progress, the server SHOULD abort it and send a 906 numeric, then
register the client without authentication.
Egor [Thu, 25 Jan 2024 02:42:22 +0000 (04:42 +0200)]
add extra nick reservations
Egor [Thu, 25 Jan 2024 02:31:31 +0000 (04:31 +0200)]
admin.c: add comments regarding sasl variables
Egor [Thu, 25 Jan 2024 02:29:54 +0000 (04:29 +0200)]
move server logging to sendbuf
Egor [Thu, 25 Jan 2024 02:22:32 +0000 (04:22 +0200)]
add SASL EXTERNAL support
Sam Smith [Thu, 25 Jan 2024 01:54:56 +0000 (03:54 +0200)]
use unsigned char instead of uint8_t
Egor [Thu, 25 Jan 2024 01:46:23 +0000 (03:46 +0200)]
announce SASL mechanisms when using CAP 302
Egor [Thu, 25 Jan 2024 01:45:25 +0000 (03:45 +0200)]
send msg_join_extended during chghost fallback
Egor [Wed, 24 Jan 2024 07:20:17 +0000 (09:20 +0200)]
don't log AUTHENTICATE
Egor [Wed, 24 Jan 2024 07:15:51 +0000 (09:15 +0200)]
add SASL auth support
Egor [Wed, 24 Jan 2024 07:06:43 +0000 (09:06 +0200)]
irccloud.lua: minor fixes
Egor [Wed, 24 Jan 2024 03:02:47 +0000 (05:02 +0200)]
add all the caps to CAP LS
Egor [Tue, 23 Jan 2024 11:51:13 +0000 (13:51 +0200)]
move all of ctcp probing into ctcp.lua
Egor [Tue, 23 Jan 2024 11:14:19 +0000 (13:14 +0200)]
add associated lua data for clients
Egor [Tue, 23 Jan 2024 10:50:25 +0000 (12:50 +0200)]
move spam filtering to a separate module
Egor [Tue, 23 Jan 2024 10:48:56 +0000 (12:48 +0200)]
move ctcp probing to a separate module
Egor [Tue, 23 Jan 2024 10:38:25 +0000 (12:38 +0200)]
add irccloud authentication lua script
Egor [Tue, 23 Jan 2024 08:25:10 +0000 (10:25 +0200)]
allow running only half of refreshctcp
Egor [Tue, 23 Jan 2024 05:08:47 +0000 (07:08 +0200)]
fix refreshctcp command
Egor [Tue, 23 Jan 2024 05:02:34 +0000 (07:02 +0200)]
add lua refreshctcp command
Egor [Tue, 23 Jan 2024 04:41:49 +0000 (06:41 +0200)]
add lua summon command
Egor [Tue, 23 Jan 2024 04:22:25 +0000 (06:22 +0200)]
add mask support to the WHO command
Egor [Tue, 23 Jan 2024 03:21:16 +0000 (05:21 +0200)]
add ctcp time logging
Egor [Tue, 23 Jan 2024 02:19:13 +0000 (04:19 +0200)]
move the password rejection later down the line
Egor [Tue, 23 Jan 2024 01:59:33 +0000 (03:59 +0200)]
add ctcp logging
Egor [Tue, 23 Jan 2024 01:19:51 +0000 (03:19 +0200)]
minor adjustments to rpl_localusers/rpl_globalusers
Egor [Fri, 27 Oct 2023 21:27:49 +0000 (00:27 +0300)]
update client->nuh on chghost
Egor [Fri, 27 Oct 2023 21:27:09 +0000 (00:27 +0300)]
add RPL_VISIBLEHOST
Egor [Fri, 27 Oct 2023 21:19:33 +0000 (00:19 +0300)]
echo CHGHOST, SETNAME, ACCOUNT
Egor [Fri, 27 Oct 2023 21:12:29 +0000 (00:12 +0300)]
lua: make globals global
Egor [Fri, 27 Oct 2023 20:59:10 +0000 (23:59 +0300)]
add chghost, setname, account-notify
Egor [Fri, 27 Oct 2023 20:19:25 +0000 (23:19 +0300)]
add MONITOR limit
Egor [Fri, 27 Oct 2023 20:14:20 +0000 (23:14 +0300)]
add MONITOR and extended-monitor
Egor [Fri, 27 Oct 2023 16:31:10 +0000 (19:31 +0300)]
add WHOX support
Egor [Fri, 27 Oct 2023 16:02:56 +0000 (19:02 +0300)]
rpl_whoreply: move bot flag to the end
Egor [Fri, 27 Oct 2023 15:43:57 +0000 (18:43 +0300)]
add lua scripting
Egor [Wed, 25 Oct 2023 10:28:17 +0000 (13:28 +0300)]
mark localhost connections as secure
Egor [Mon, 23 Oct 2023 10:08:34 +0000 (13:08 +0300)]
make USE_MAP_DYNARR configurable
Egor [Mon, 23 Oct 2023 09:58:31 +0000 (12:58 +0300)]
the great findfirst refactoring
not only is the syntax markedly better now, but also it's no longer
nescessary to allocate any memory to do a traversal.
Egor [Sun, 22 Oct 2023 21:36:37 +0000 (00:36 +0300)]
trie_findfirst: fix subtle bug with struct reusal
Egor [Sun, 22 Oct 2023 21:36:00 +0000 (00:36 +0300)]
trie_find: underscore the internal fields
Egor [Sun, 22 Oct 2023 21:34:09 +0000 (00:34 +0300)]
trie: limit key size
Egor [Sun, 22 Oct 2023 21:18:36 +0000 (00:18 +0300)]
document map traversal funcs
Egor [Sun, 22 Oct 2023 20:52:19 +0000 (23:52 +0300)]
the great trie_find renaming
Egor [Sun, 22 Oct 2023 20:37:00 +0000 (23:37 +0300)]
simplify map_dynarr traversal
i've checked that we indeed do not rely on modification during traversal
Egor [Sun, 22 Oct 2023 20:15:18 +0000 (23:15 +0300)]
map: change f->n->value to f->value
Egor [Sun, 22 Oct 2023 20:04:17 +0000 (23:04 +0300)]
combine trie.h and map_dynarr.h into map.h
Egor [Sun, 22 Oct 2023 18:11:56 +0000 (21:11 +0300)]
rename trie_{get,set,unset,free} to map_*
Egor [Sun, 22 Oct 2023 18:08:23 +0000 (21:08 +0300)]
trie_set: always check the error
and guarantee that no errors can occur on unset
Egor [Sun, 22 Oct 2023 15:46:21 +0000 (18:46 +0300)]
add alternative map impl, fix some memory leaks
Egor [Sun, 22 Oct 2023 13:43:11 +0000 (16:43 +0300)]
improve mod message support
Egor [Sun, 22 Oct 2023 13:03:39 +0000 (16:03 +0300)]
netpoll: small tweak to binary search func
Egor [Sat, 21 Oct 2023 17:01:49 +0000 (20:01 +0300)]
netpoll: optimize epoll implementation
Egor [Sat, 21 Oct 2023 16:15:26 +0000 (19:15 +0300)]
netpoll: add epoll implementation
Egor [Sat, 21 Oct 2023 15:49:27 +0000 (18:49 +0300)]
netpoll: add poll implementation
Egor [Sat, 21 Oct 2023 15:25:30 +0000 (18:25 +0300)]
add event loop abstraction
Egor [Sat, 21 Oct 2023 11:23:56 +0000 (14:23 +0300)]
use SA_RESTART for SIGINT
SA_RESTART specifically doesn't affect polling syscalls (the thing we
want to interrupt), but it prevents stupid things like having to check
for EINTR on recv/send (which we weren't doing anyway)
Egor [Sat, 21 Oct 2023 11:19:02 +0000 (14:19 +0300)]
handle write errors and connection closes more gracefully
Egor [Sat, 21 Oct 2023 09:11:26 +0000 (12:11 +0300)]
net_cleanup after closing the listeners