]> jfr.im git - solanum.git/log
solanum.git
8 years agoDon't send original error message if we're already on the channel we're forwarding to
Elizabeth Myers [Mon, 4 Apr 2016 08:08:52 +0000 (03:08 -0500)] 
Don't send original error message if we're already on the channel we're forwarding to

Closes #55

8 years agoAnnounce changed capabilities on module load
Elizabeth Myers [Mon, 4 Apr 2016 07:30:00 +0000 (02:30 -0500)] 
Announce changed capabilities on module load

Closes #165

8 years agomodules: Revert mapi_register() to use ints
staticfox [Mon, 4 Apr 2016 00:14:36 +0000 (20:14 -0400)] 
modules: Revert mapi_register() to use ints

modinit() returns either 0 (success) or -1 (failure) so we
can't check for true/false.

8 years agowsockd: use text frames
William Pitcock [Sun, 3 Apr 2016 20:15:00 +0000 (15:15 -0500)] 
wsockd: use text frames

8 years agoboolify calls to rehash
Elizabeth Myers [Sun, 3 Apr 2016 06:53:34 +0000 (01:53 -0500)] 
boolify calls to rehash

8 years agobool-ify modules stuff
Elizabeth Myers [Sun, 3 Apr 2016 06:51:26 +0000 (01:51 -0500)] 
bool-ify modules stuff

8 years agowsockd: set FIN attribute on all frames, we don't fragment
William Pitcock [Sun, 3 Apr 2016 06:40:29 +0000 (01:40 -0500)] 
wsockd: set FIN attribute on all frames, we don't fragment

8 years agoClean up module loading a bit.
Elizabeth Myers [Sun, 3 Apr 2016 06:21:06 +0000 (01:21 -0500)] 
Clean up module loading a bit.

8 years agowsockd: implement plain linebuf draining, finishing this off (closes #78)
William Pitcock [Sun, 3 Apr 2016 05:09:20 +0000 (00:09 -0500)] 
wsockd: implement plain linebuf draining, finishing this off (closes #78)

8 years agowsockd: implement reading of small and large frames (but not huge frames)
William Pitcock [Sun, 3 Apr 2016 04:56:18 +0000 (23:56 -0500)] 
wsockd: implement reading of small and large frames (but not huge frames)

8 years agoprovider: use rb_dlinkAddTail instead of rb_dlinkAdd.
Elizabeth Myers [Sun, 3 Apr 2016 05:06:58 +0000 (00:06 -0500)] 
provider: use rb_dlinkAddTail instead of rb_dlinkAdd.

Providers we add last should come last, not first.

8 years agoopm: don't start until we've finished ident and rDNS queries.
Elizabeth Myers [Sun, 3 Apr 2016 05:05:53 +0000 (00:05 -0500)] 
opm: don't start until we've finished ident and rDNS queries.

This ensures that if we reject the client, they will always have a
username and hostname if ircd decides to accept them.

8 years agoUpdate warnings in the opm default configs [ci skip]
Elizabeth Myers [Sun, 3 Apr 2016 04:42:23 +0000 (23:42 -0500)] 
Update warnings in the opm default configs [ci skip]

8 years agolibrb: rb_run_event -> rb_run_one_event
Elizabeth Myers [Sun, 3 Apr 2016 04:38:28 +0000 (23:38 -0500)] 
librb: rb_run_event -> rb_run_one_event

This is to avoid confusion with rb_event_run, which does something else.

8 years agowin32: change from ircd-ratbox-class to charybdis-class
Elizabeth Myers [Sun, 3 Apr 2016 04:19:38 +0000 (23:19 -0500)] 
win32: change from ircd-ratbox-class to charybdis-class

8 years agoUse rb_dlink_list_length... == 0, not !rb_dlink_list_length
Elizabeth Myers [Sun, 3 Apr 2016 03:45:52 +0000 (22:45 -0500)] 
Use rb_dlink_list_length... == 0, not !rb_dlink_list_length

8 years agoSend enabling message to opm at the end of opm block.
Elizabeth Myers [Sun, 3 Apr 2016 03:33:19 +0000 (22:33 -0500)] 
Send enabling message to opm at the end of opm block.

8 years agoopm: properly disable opm on blacklist deletions.
Elizabeth Myers [Sun, 3 Apr 2016 03:31:19 +0000 (22:31 -0500)] 
opm: properly disable opm on blacklist deletions.

If there are no proxies left (or they're all being cleared), disable
OPM, as it's totally useless from that point.

8 years agonewconf: delete all proxies on rehash
Elizabeth Myers [Sun, 3 Apr 2016 03:30:54 +0000 (22:30 -0500)] 
newconf: delete all proxies on rehash

8 years agoopm: properly check for duplicate listeners
Elizabeth Myers [Sun, 3 Apr 2016 02:13:44 +0000 (21:13 -0500)] 
opm: properly check for duplicate listeners

8 years agoauthd: options can have no parameters.
Elizabeth Myers [Sun, 3 Apr 2016 01:42:20 +0000 (20:42 -0500)] 
authd: options can have no parameters.

This is used for deleting all blacklists for instance.

8 years agowsockd: try to flush ircd-side recvq when we call close_conn()
William Pitcock [Sun, 3 Apr 2016 01:40:17 +0000 (20:40 -0500)] 
wsockd: try to flush ircd-side recvq when we call close_conn()

this is so that a websocket client may receive it's ERROR message if available

8 years agowsockd: write short frames and long frames using their preferred wire formats
William Pitcock [Sun, 3 Apr 2016 01:32:10 +0000 (20:32 -0500)] 
wsockd: write short frames and long frames using their preferred wire formats

8 years agoauthproc: minor fixes
Elizabeth Myers [Sun, 3 Apr 2016 01:31:32 +0000 (20:31 -0500)] 
authproc: minor fixes

8 years agodns: don't use zero ID's
Elizabeth Myers [Sun, 3 Apr 2016 01:19:37 +0000 (20:19 -0500)] 
dns: don't use zero ID's

8 years agoMerge branch 'master' of github.com:charybdis-ircd/charybdis
Elizabeth Myers [Sun, 3 Apr 2016 01:11:35 +0000 (20:11 -0500)] 
Merge branch 'master' of github.com:charybdis-ircd/charybdis

8 years agoauthproc: rehash on authd restart
Elizabeth Myers [Sun, 3 Apr 2016 01:10:56 +0000 (20:10 -0500)] 
authproc: rehash on authd restart

This is a hack for now so it gets the config again.

8 years agoauthd: avoid crash on full reload
Elizabeth Myers [Sun, 3 Apr 2016 01:10:17 +0000 (20:10 -0500)] 
authd: avoid crash on full reload

8 years agowsockd: more progress on output
William Pitcock [Sun, 3 Apr 2016 00:59:01 +0000 (19:59 -0500)] 
wsockd: more progress on output

8 years agoconf: in OPM, it's listen_port, not port. [ci skip]
Elizabeth Myers [Sun, 3 Apr 2016 00:53:02 +0000 (19:53 -0500)] 
conf: in OPM, it's listen_port, not port. [ci skip]

8 years agoopm: downgrade a non-fatal warning
Elizabeth Myers [Sun, 3 Apr 2016 00:50:25 +0000 (19:50 -0500)] 
opm: downgrade a non-fatal warning

8 years agoauthproc: add more API's for opm management
Elizabeth Myers [Sun, 3 Apr 2016 00:45:27 +0000 (19:45 -0500)] 
authproc: add more API's for opm management

8 years agoTweak some configuration semantics of opm
Elizabeth Myers [Sun, 3 Apr 2016 00:45:09 +0000 (19:45 -0500)] 
Tweak some configuration semantics of opm

8 years agoauthproc: pad leading 0 for localhost IP's
Elizabeth Myers [Sun, 3 Apr 2016 00:28:19 +0000 (19:28 -0500)] 
authproc: pad leading 0 for localhost IP's

This avoids misparsing by rb's helper stuff..

8 years agowsockd: provide websocket wire protocol structs
William Pitcock [Sat, 2 Apr 2016 23:56:22 +0000 (18:56 -0500)] 
wsockd: provide websocket wire protocol structs

8 years agoopm: add support for HTTPS CONNECT proxies.
Elizabeth Myers [Sat, 2 Apr 2016 23:37:59 +0000 (18:37 -0500)] 
opm: add support for HTTPS CONNECT proxies.

TBD: do we need an SSL listener for these?

8 years agowsockd: further win32 fixes
William Pitcock [Sat, 2 Apr 2016 23:28:53 +0000 (18:28 -0500)] 
wsockd: further win32 fixes

8 years agowsockd: add win32 strcasestr()
William Pitcock [Sat, 2 Apr 2016 23:19:15 +0000 (18:19 -0500)] 
wsockd: add win32 strcasestr()

8 years agowsockd: more support infrastructure for websockets
William Pitcock [Sat, 2 Apr 2016 23:14:56 +0000 (18:14 -0500)] 
wsockd: more support infrastructure for websockets

8 years agoAppveyor: fix build
Elizabeth Myers [Sat, 2 Apr 2016 22:47:23 +0000 (17:47 -0500)] 
Appveyor: fix build

8 years agoauthd/res: clean up some horribly indented code
Elizabeth Myers [Sat, 2 Apr 2016 22:44:31 +0000 (17:44 -0500)] 
authd/res: clean up some horribly indented code

8 years agoDon't build appveyor stuff for 3.5, as this branch is not win32 enabled.
Elizabeth Myers [Sat, 2 Apr 2016 22:42:19 +0000 (17:42 -0500)] 
Don't build appveyor stuff for 3.5, as this branch is not win32 enabled.

8 years agowsockd: implement websocket handshake part
William Pitcock [Sat, 2 Apr 2016 22:05:40 +0000 (17:05 -0500)] 
wsockd: implement websocket handshake part

8 years agoRename authd.[ch] on ircd side to authproc.[ch] to prevent shadowing.
Elizabeth Myers [Sat, 2 Apr 2016 21:44:04 +0000 (16:44 -0500)] 
Rename authd.[ch] on ircd side to authproc.[ch] to prevent shadowing.

8 years agowsockd: various updates
William Pitcock [Sat, 2 Apr 2016 20:38:18 +0000 (15:38 -0500)] 
wsockd: various updates

8 years agoMove m_locops module to extensions.
Elizabeth Myers [Sat, 2 Apr 2016 10:20:30 +0000 (05:20 -0500)] 
Move m_locops module to extensions.

Many networks do not use local ops and therefore should not be required
to have this around all the time.

8 years agoauthd: warn on a bad command
Elizabeth Myers [Sat, 2 Apr 2016 10:05:28 +0000 (05:05 -0500)] 
authd: warn on a bad command

8 years agoauthd: minor cleanups
Elizabeth Myers [Sat, 2 Apr 2016 09:51:11 +0000 (04:51 -0500)] 
authd: minor cleanups

8 years agoauthd: clean up command handling with a table
Elizabeth Myers [Sat, 2 Apr 2016 09:49:01 +0000 (04:49 -0500)] 
authd: clean up command handling with a table

8 years agoauthd: fix race on the ircd side.
Elizabeth Myers [Sat, 2 Apr 2016 08:51:54 +0000 (03:51 -0500)] 
authd: fix race on the ircd side.

The client may have already gone away, so if we can't find the local
cid, don't try to restart authd.

8 years agoauthd: fix up comment [ci skip]
Elizabeth Myers [Sat, 2 Apr 2016 08:49:31 +0000 (03:49 -0500)] 
authd: fix up comment [ci skip]

8 years agoauthd: fix race with aborting clients.
Elizabeth Myers [Sat, 2 Apr 2016 08:48:37 +0000 (03:48 -0500)] 
authd: fix race with aborting clients.

8 years agoauthd: when aborting, don't just do read_packet.
Elizabeth Myers [Sat, 2 Apr 2016 08:46:31 +0000 (03:46 -0500)] 
authd: when aborting, don't just do read_packet.

8 years agoopm: add adjustable timeout values
Elizabeth Myers [Sat, 2 Apr 2016 08:33:12 +0000 (03:33 -0500)] 
opm: add adjustable timeout values

8 years agoircd: conf: properly calculate the number of wsockd to start
William Pitcock [Sat, 2 Apr 2016 08:19:45 +0000 (03:19 -0500)] 
ircd: conf: properly calculate the number of wsockd to start

8 years agoAdd HTTP CONNECT proxy scanning
Elizabeth Myers [Sat, 2 Apr 2016 08:11:12 +0000 (03:11 -0500)] 
Add HTTP CONNECT proxy scanning

8 years agoircd: wsproc: cleanups
William Pitcock [Sat, 2 Apr 2016 08:10:01 +0000 (03:10 -0500)] 
ircd: wsproc: cleanups

8 years agoircd: integrate ircd side of wsockd support
William Pitcock [Sat, 2 Apr 2016 07:56:03 +0000 (02:56 -0500)] 
ircd: integrate ircd side of wsockd support

8 years agoadd proxy_exempt to conf files
Elizabeth Myers [Sat, 2 Apr 2016 07:49:38 +0000 (02:49 -0500)] 
add proxy_exempt to conf files

8 years agoAdd exempt logic for open proxies
Elizabeth Myers [Sat, 2 Apr 2016 07:42:11 +0000 (02:42 -0500)] 
Add exempt logic for open proxies

8 years agoopm: allow scanners to be configurable
Elizabeth Myers [Sat, 2 Apr 2016 07:29:48 +0000 (02:29 -0500)] 
opm: allow scanners to be configurable

8 years agoauthd: small cleanup
Elizabeth Myers [Sat, 2 Apr 2016 06:20:49 +0000 (01:20 -0500)] 
authd: small cleanup

8 years agoauthd: more minor cleanups
Elizabeth Myers [Sat, 2 Apr 2016 06:16:47 +0000 (01:16 -0500)] 
authd: more minor cleanups

8 years agoircd/authd: cleanups
Elizabeth Myers [Sat, 2 Apr 2016 06:05:21 +0000 (01:05 -0500)] 
ircd/authd: cleanups

8 years agoopm: add configuration interface for configuring scan ports
Elizabeth Myers [Sat, 2 Apr 2016 05:47:02 +0000 (00:47 -0500)] 
opm: add configuration interface for configuring scan ports

8 years agoopm: properly re-establish listeners on re-enable
Elizabeth Myers [Fri, 1 Apr 2016 22:16:17 +0000 (17:16 -0500)] 
opm: properly re-establish listeners on re-enable

8 years agoopm: properly close listeners after disabling proxy scan
Elizabeth Myers [Fri, 1 Apr 2016 21:35:21 +0000 (16:35 -0500)] 
opm: properly close listeners after disabling proxy scan

8 years agoAdd opm stuff to default configs
Elizabeth Myers [Fri, 1 Apr 2016 09:11:04 +0000 (04:11 -0500)] 
Add opm stuff to default configs

8 years agoStaticBox is dead, so let's not reference it in the conf files.
Elizabeth Myers [Fri, 1 Apr 2016 08:45:45 +0000 (03:45 -0500)] 
StaticBox is dead, so let's not reference it in the conf files.

8 years agoauthd: fix API boo boo
Elizabeth Myers [Fri, 1 Apr 2016 07:56:03 +0000 (02:56 -0500)] 
authd: fix API boo boo

8 years agoauthd: remove some whitespace
Elizabeth Myers [Fri, 1 Apr 2016 07:44:50 +0000 (02:44 -0500)] 
authd: remove some whitespace

8 years agoauthd: add API for setting OPM listeners
Elizabeth Myers [Fri, 1 Apr 2016 07:43:01 +0000 (02:43 -0500)] 
authd: add API for setting OPM listeners

8 years agoauthd: fix compile error
Elizabeth Myers [Fri, 1 Apr 2016 07:42:50 +0000 (02:42 -0500)] 
authd: fix compile error

8 years agoauthd: properly abort clients who timeout or when the helper restarts
Elizabeth Myers [Fri, 1 Apr 2016 07:27:48 +0000 (02:27 -0500)] 
authd: properly abort clients who timeout or when the helper restarts

8 years agoproviders/opm: It Works™
Elizabeth Myers [Fri, 1 Apr 2016 07:17:25 +0000 (02:17 -0500)] 
providers/opm: It Works™

8 years agoopm: properly connect to destination port on scan
Elizabeth Myers [Fri, 1 Apr 2016 00:07:57 +0000 (19:07 -0500)] 
opm: properly connect to destination port on scan

8 years agoAdd new sockaddr_storage port retrieval/setting macros
Elizabeth Myers [Thu, 31 Mar 2016 08:00:29 +0000 (03:00 -0500)] 
Add new sockaddr_storage port retrieval/setting macros

These macros are safe for use on IPv6 and clean up a lot of code.

8 years agoauthd/providers/ident: remove pointless memcpy
Elizabeth Myers [Thu, 31 Mar 2016 07:18:02 +0000 (02:18 -0500)] 
authd/providers/ident: remove pointless memcpy

8 years agoauthd/providers/opm: configure port listeners correctly
Elizabeth Myers [Thu, 31 Mar 2016 07:13:27 +0000 (02:13 -0500)] 
authd/providers/opm: configure port listeners correctly

8 years agoproviders/opm: use a name that makes more sense for this variable
Elizabeth Myers [Thu, 31 Mar 2016 06:45:19 +0000 (01:45 -0500)] 
providers/opm: use a name that makes more sense for this variable

8 years agosockaddr_storage -> rb_sockaddr_storage
Elizabeth Myers [Thu, 31 Mar 2016 06:27:50 +0000 (01:27 -0500)] 
sockaddr_storage -> rb_sockaddr_storage

What is even the point of this type anyway?

8 years agolibrb: don't include linux/tcp.h, that's already included
Elizabeth Myers [Thu, 31 Mar 2016 06:16:34 +0000 (01:16 -0500)] 
librb: don't include linux/tcp.h, that's already included

8 years agoopm: don't assume we have netinet/tcp.h
Elizabeth Myers [Thu, 31 Mar 2016 06:08:38 +0000 (01:08 -0500)] 
opm: don't assume we have netinet/tcp.h

Instead, check for it in librb

8 years agoauthd: add (not really working) OPM provider.
Elizabeth Myers [Thu, 31 Mar 2016 05:28:05 +0000 (00:28 -0500)] 
authd: add (not really working) OPM provider.

It doesn't do anything yet as no configuration is plugged in, as well.

8 years agoauthd/provider: exit on critical errors
Elizabeth Myers [Thu, 31 Mar 2016 05:26:48 +0000 (00:26 -0500)] 
authd/provider: exit on critical errors

8 years agoproviders/ident: restore accidentally deleted line
Elizabeth Myers [Thu, 31 Mar 2016 04:30:09 +0000 (23:30 -0500)] 
providers/ident: restore accidentally deleted line

8 years agoauthd/provider: don't crash if there's no init or destroy function
Elizabeth Myers [Thu, 31 Mar 2016 04:17:21 +0000 (23:17 -0500)] 
authd/provider: don't crash if there's no init or destroy function

8 years agoauthd/providers: add timeout callback system.
Elizabeth Myers [Wed, 30 Mar 2016 22:20:27 +0000 (17:20 -0500)] 
authd/providers: add timeout callback system.

This means that each provider no longer has to keep its own event; it
can set a timeout and have a callbackinstead.

8 years agolibrb: fix rb_path_to_self() dlinfo variant
William Pitcock [Wed, 30 Mar 2016 19:32:53 +0000 (14:32 -0500)] 
librb: fix rb_path_to_self() dlinfo variant

8 years agoauthd/provider: fix misordering in macro
Elizabeth Myers [Wed, 30 Mar 2016 08:38:30 +0000 (03:38 -0500)] 
authd/provider: fix misordering in macro

8 years agoircd/listener: un-obsoleteify comments
Elizabeth Myers [Wed, 30 Mar 2016 08:36:04 +0000 (03:36 -0500)] 
ircd/listener: un-obsoleteify comments

8 years agoMerge branch 'master' of github.com:charybdis-ircd/charybdis
Elizabeth Myers [Wed, 30 Mar 2016 07:33:19 +0000 (02:33 -0500)] 
Merge branch 'master' of github.com:charybdis-ircd/charybdis

8 years agoauthd/provider: it's va_start.
Elizabeth Myers [Wed, 30 Mar 2016 07:32:34 +0000 (02:32 -0500)] 
authd/provider: it's va_start.

8 years agoauthd/provider: include stdinc.h for stdarg.h
Elizabeth Myers [Wed, 30 Mar 2016 07:22:43 +0000 (02:22 -0500)] 
authd/provider: include stdinc.h for stdarg.h

8 years agoauthd/provider: make reject_client take a format string and varargs
Elizabeth Myers [Wed, 30 Mar 2016 06:29:21 +0000 (01:29 -0500)] 
authd/provider: make reject_client take a format string and varargs

8 years agoblacklist: this didn't get committed somehow
Elizabeth Myers [Wed, 30 Mar 2016 04:33:13 +0000 (23:33 -0500)] 
blacklist: this didn't get committed somehow

8 years agoblacklist: compile fixes
Elizabeth Myers [Wed, 30 Mar 2016 04:29:58 +0000 (23:29 -0500)] 
blacklist: compile fixes

8 years agoblacklist: add notices that we're performing checks.
Elizabeth Myers [Wed, 30 Mar 2016 04:22:13 +0000 (23:22 -0500)] 
blacklist: add notices that we're performing checks.

8 years agoUpdate news
Elizabeth Myers [Tue, 29 Mar 2016 18:38:42 +0000 (13:38 -0500)] 
Update news

8 years agobandb: update sqlite3 to 3.12.0
Elizabeth Myers [Tue, 29 Mar 2016 18:29:18 +0000 (13:29 -0500)] 
bandb: update sqlite3 to 3.12.0