17
I Use This!
Activity Not Available

Commits : Listings

Analyzed about 1 year ago. based on code collected over 2 years ago.
Sep 26, 2021 — Sep 26, 2022
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Split off big chunk of websocket module into websocket_common module. And load the websocket_common module by default (which is just an API).
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Get rid of cast, do things properly.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Limit request body to 4k by default.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Small code cleanup
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Handle chunked encoding in webserver (mostly meant for RPC).
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Rename some more: * WEB() now has handle_request() and handle_body(), makes more sense. * webserver_handle_body_data() -> webserver_handle_body() * and similar cases
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Rename webserver_handle_body_data() -> webserver_handle_request_body()
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Add request body handler in webserver -- only a beginning, the chunked encoding stuff is copied from the modulemanager and #if'd out. The non-chunked is not OK yet either, as it must check the Content-Length, while we currently assume a single packet == the complete request.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Close RPC web connection immediately when all has been sent.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Make RPC API work over HTTP(S). Well, first steps, anyway. * No ACL checking yet * No chunked encoding support * No multi-frame support etc...
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Add get_nvplist() function. Requested by westor in https://bugs.unrealircd.org/view.php?id=6125
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Add listener->start_handshake function pointer. This is start_of_normal_client_handshake() by default, but is start_of_control_client_handshake() for the control channel (for './unrealircd rehash' and such). Previously that was hardcoded.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Don't check for connect-flood on RPC connections.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Fix rehash crash since adding RPC code.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Move special handling of control socket to procio_server.c. Things like setting the client->status to CLIENT_STATUS_CONTROL and list_add(&client->lclient_node, &control_list);
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Add ability to skip connect-flood and zlined checks via listener->options with LISTENER_NO_CHECK_CONNECT_FLOOD and LISTENER_NO_CHECK_ZLINED.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Attach client->local->listener to a client very early, now that it is safe. This makes other code safer as well since they can assume that if the client is local (client->local) that the listener (client->local->listener) is non-NULL and safe to access until the client is completely destroyed.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Remove freeing of client->local->listener and refdec from exit_client() to free_client().
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Move connect-flood and max-unknown-connections-per-ip into their own module. These deal with set::anti-flood::everyone::connect-flood and set::max-unknown-connections-per-ip respectively.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Add CLIENT_STATUS_RPC and add SetRPC() and IsRPC().
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Don't apply registration timeout to *NIX domain socket connections. May want to reconsider this but.. for now..
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Fix tld::mask not working with the new form. Reported by musk.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Fix regular users being able to -o a service bot (that has umode +S). Reported by ComputerTech in https://bugs.unrealircd.org/view.php?id=6126
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Add on blacklist module two extra variables More... over 2 years ago
Add RPC channel.list call to show list of channels (with all details)
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
JSON-RPC: Use proper error response with error codes according to the official specification (one of JSON_RPC_ERROR_*).
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Make user.list() RPC API return a list of all users with details. This is the 1st RPC API call that actually works :D
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Add "rpc" module. Supports parsing from *NIX domain sockets for starters.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Warn if 'websocket' module is loaded without 'webserver' (= won't work).
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago
Call config run hooks for CONFIG_LISTEN and CONFIG_LISTEN_OPTIONS also for unix domain sockets.
Bram Matthys (syzop)
as Bram Matthys
More... over 2 years ago