]>
jfr.im git - solanum.git/log
William Pitcock [Sun, 6 Mar 2016 03:44:14 +0000 (21:44 -0600)]
Merge pull request #155 from Elizafox/master
Remove some leftover ircd-ratbox references.
William Pitcock [Sun, 6 Mar 2016 03:42:36 +0000 (21:42 -0600)]
bandb: add -DSQLITE_OMIT_LOAD_EXTENSION for built-in sqlite
Elizabeth Myers [Sun, 6 Mar 2016 03:39:51 +0000 (21:39 -0600)]
Remove some leftover ircd-ratbox references.
William Pitcock [Sun, 6 Mar 2016 03:27:29 +0000 (21:27 -0600)]
remove obsolete INSTALL document that clearly nobody ever reads
William Pitcock [Sun, 6 Mar 2016 03:25:40 +0000 (21:25 -0600)]
Merge pull request #154 from Elizafox/master
Remove old .indent.pro files
Elizabeth Myers [Sun, 6 Mar 2016 03:21:36 +0000 (21:21 -0600)]
Remove old .indent.pro files
These have been unused since dinosaurs roamed the earth and are mostly
smelly old Hybrid relics.
William Pitcock [Sun, 6 Mar 2016 00:56:36 +0000 (18:56 -0600)]
cap: allow modules to return client-specific responses for capability inquiries
William Pitcock [Sun, 6 Mar 2016 00:30:06 +0000 (18:30 -0600)]
update gitignore
William Pitcock [Sun, 6 Mar 2016 00:00:02 +0000 (18:00 -0600)]
autogen: additional tweaks
William Pitcock [Sat, 5 Mar 2016 23:54:26 +0000 (17:54 -0600)]
libratbox: same changes
William Pitcock [Sat, 5 Mar 2016 23:51:28 +0000 (17:51 -0600)]
autogen: minor tweaks
William Pitcock [Sat, 5 Mar 2016 23:49:13 +0000 (17:49 -0600)]
build: remove more autotools detritus
William Pitcock [Sat, 5 Mar 2016 23:47:48 +0000 (17:47 -0600)]
remove presupplied autotools files
William Pitcock [Sat, 5 Mar 2016 09:03:31 +0000 (03:03 -0600)]
update NEWS
William Pitcock [Sat, 5 Mar 2016 08:49:10 +0000 (02:49 -0600)]
invite: implement invite-notify support
William Pitcock [Sat, 5 Mar 2016 08:39:11 +0000 (02:39 -0600)]
invite: broadcast INVITE messages instead of using point to point routing, to facilitate invite-notify
William Pitcock [Sat, 5 Mar 2016 08:08:27 +0000 (02:08 -0600)]
Merge pull request #153 from Elizafox/master
parse: get rid of report_messages
Elizabeth Myers [Sat, 5 Mar 2016 07:04:54 +0000 (01:04 -0600)]
parse: export cmd_dict for use elsewhere.
Elizabeth Myers [Sat, 5 Mar 2016 06:55:33 +0000 (00:55 -0600)]
parse: get rid of report_messages
It is a function with a single usage, that is used only for one specific
stats command on one line.
Simon Arlott [Thu, 3 Mar 2016 22:08:13 +0000 (22:08 +0000)]
ssld: provide version in stats S output
William Pitcock [Wed, 2 Mar 2016 22:32:27 +0000 (16:32 -0600)]
connect: fix tmpport handling
William Pitcock [Wed, 2 Mar 2016 21:56:49 +0000 (15:56 -0600)]
client: handle UID rollover. ircd-ratbox r28917
William Pitcock [Wed, 2 Mar 2016 21:31:39 +0000 (15:31 -0600)]
ircd: simplify connid table handling
William Pitcock [Wed, 2 Mar 2016 02:24:12 +0000 (20:24 -0600)]
sslproc: compile fix
William Pitcock [Wed, 2 Mar 2016 02:02:55 +0000 (20:02 -0600)]
sslproc: properly use zconnid's for ziplinks
William Pitcock [Wed, 2 Mar 2016 01:51:58 +0000 (19:51 -0600)]
client: always purge a client from the connid table, as connid is not related to FD
William Pitcock [Tue, 1 Mar 2016 21:55:29 +0000 (15:55 -0600)]
Merge pull request #152 from lp0/ssld_foreach_info-
20160301
ircd: add missing sslproc function ssld_foreach_info()
Simon Arlott [Tue, 1 Mar 2016 21:30:51 +0000 (21:30 +0000)]
ircd: add missing sslproc function ssld_foreach_info()
Iterate through the ssl daemons and report their status.
William Pitcock [Tue, 1 Mar 2016 01:28:27 +0000 (19:28 -0600)]
update NEWS
William Pitcock [Mon, 29 Feb 2016 01:15:13 +0000 (19:15 -0600)]
cap: don't show orphaned capabilities
William Pitcock [Mon, 29 Feb 2016 01:15:04 +0000 (19:15 -0600)]
capability: set ownerdata to NULL when orphaning
William Pitcock [Mon, 29 Feb 2016 00:49:29 +0000 (18:49 -0600)]
m_cap: ensure buffers are initialized properly
mniip [Mon, 29 Feb 2016 00:28:34 +0000 (03:28 +0300)]
Always send the certificate fingerprint when doing SASL because the services might need it for SOME REASON
William Pitcock [Sun, 28 Feb 2016 07:32:54 +0000 (01:32 -0600)]
cap: implicitly enable cap-notify on CAP LS 302, to MAKE IRC GREAT AGAIN!!!!oneoneone
William Pitcock [Sun, 28 Feb 2016 07:13:08 +0000 (01:13 -0600)]
m_cap: add support for CAP LS 302
William Pitcock [Sun, 28 Feb 2016 07:02:10 +0000 (01:02 -0600)]
sasl: implement support for distributing mechlists
William Pitcock [Sun, 28 Feb 2016 06:40:46 +0000 (00:40 -0600)]
cap server-time: add .000 for microsecs since our clock does not support microsecs
William Pitcock [Sun, 28 Feb 2016 06:28:41 +0000 (00:28 -0600)]
sasl: transfer ownership of 'sasl' capability to m_sasl module
Mantas Mikulėnas [Sat, 27 Feb 2016 13:53:37 +0000 (15:53 +0200)]
buildsystem: honor $DESTDIR in install-data-hook
Closes #150
William Pitcock [Sat, 27 Feb 2016 08:56:44 +0000 (02:56 -0600)]
send: allow passing NULL origin to build_msgbuf_from() (for future use)
William Pitcock [Sat, 27 Feb 2016 08:48:37 +0000 (02:48 -0600)]
send: implement echo-message
William Pitcock [Sat, 27 Feb 2016 08:31:38 +0000 (02:31 -0600)]
modules: add cap_server_time, adding server-time cap support
William Pitcock [Sat, 27 Feb 2016 07:51:58 +0000 (01:51 -0600)]
starttls: add s_serv for caps
William Pitcock [Sat, 27 Feb 2016 07:45:40 +0000 (01:45 -0600)]
starttls: take ownership of 'tls' capability
William Pitcock [Sat, 27 Feb 2016 07:41:36 +0000 (01:41 -0600)]
cap: substantial rewrite leveraging the ircd capabilities framework for client caps
William Pitcock [Sat, 27 Feb 2016 06:46:49 +0000 (00:46 -0600)]
capability: move some previously private structures to public API
William Pitcock [Sat, 27 Feb 2016 06:01:54 +0000 (00:01 -0600)]
ircd: chase capability API changes
William Pitcock [Sat, 27 Feb 2016 05:55:43 +0000 (23:55 -0600)]
capability: allow attaching capability-owner data to a capability token, to enable extended data for client capabilities
William Pitcock [Sun, 21 Feb 2016 00:41:16 +0000 (18:41 -0600)]
msgbuf: msgbuf_unparse_tags(): don't send a tags sigil unless tags will actually be emitted
William Pitcock [Sun, 21 Feb 2016 00:35:35 +0000 (18:35 -0600)]
send: we dont actually want tags in sendto_channel_local_butone()
William Pitcock [Sun, 21 Feb 2016 00:32:09 +0000 (18:32 -0600)]
send: obviously we can't just reuse a va_list, duh
William Pitcock [Sun, 21 Feb 2016 00:27:15 +0000 (18:27 -0600)]
send: implement tags support for sendto_channel_flags() too
William Pitcock [Sun, 21 Feb 2016 00:12:46 +0000 (18:12 -0600)]
send: more sendto_anywhere() fixing
William Pitcock [Sat, 20 Feb 2016 23:59:38 +0000 (17:59 -0600)]
send: fix sendto_anywhere() missing a target param
William Pitcock [Sat, 20 Feb 2016 23:59:00 +0000 (17:59 -0600)]
msgbuf: allow for an explicit target to be defined
William Pitcock [Sat, 20 Feb 2016 23:44:46 +0000 (17:44 -0600)]
modules/cap_account_tag: new module providing the account-tag cap as a proof of concept
William Pitcock [Sat, 20 Feb 2016 23:44:13 +0000 (17:44 -0600)]
hook: allow hook_data to have non-const arguments, add hook_cdata for arguments that must be treated const
William Pitcock [Sat, 20 Feb 2016 23:30:20 +0000 (17:30 -0600)]
libratbox: export rb_linebuf_putprefix on linux
William Pitcock [Sat, 20 Feb 2016 23:26:35 +0000 (17:26 -0600)]
cap: register the account-tag capability
William Pitcock [Sat, 20 Feb 2016 22:37:19 +0000 (16:37 -0600)]
send: implement partial support for outbound tags (enough for account-tag as a testcase)
William Pitcock [Sat, 20 Feb 2016 21:49:41 +0000 (15:49 -0600)]
send: implement linebuf_put_msgbuf() and msgbuf_build_from(), which build the core of the ircv3.2 tags support for outbound messages
William Pitcock [Sat, 20 Feb 2016 21:12:13 +0000 (15:12 -0600)]
libratbox: implement rb_linebuf_putprefix() which joins a format string to a static string
William Pitcock [Sat, 20 Feb 2016 20:46:09 +0000 (14:46 -0600)]
msgbuf: make msgbuf_unparse_prefix() public
William Pitcock [Sat, 20 Feb 2016 18:02:49 +0000 (12:02 -0600)]
ircd: remove broken USE_IODEBUG_HOOKS knob and related code
William Pitcock [Sat, 20 Feb 2016 17:38:00 +0000 (11:38 -0600)]
msgbuf: implement msgbuf_vunparse_fmt() and friends
William Pitcock [Sat, 20 Feb 2016 17:23:44 +0000 (11:23 -0600)]
msgbuf: handle me.name properly
William Pitcock [Sat, 20 Feb 2016 17:21:12 +0000 (11:21 -0600)]
msgbuf: add some message building code
William Pitcock [Fri, 19 Feb 2016 23:11:06 +0000 (17:11 -0600)]
newconf: move SSL/TLS deprecation message from ERROR severity to WARNING severity
William Pitcock [Fri, 19 Feb 2016 22:42:40 +0000 (16:42 -0600)]
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
William Pitcock [Tue, 16 Feb 2016 06:01:57 +0000 (00:01 -0600)]
Merge pull request #149 from anarcat/reproducible
make build reproducible
Antoine Beaupré [Tue, 16 Feb 2016 05:29:24 +0000 (00:29 -0500)]
make build reproducible
we do this by removing the uname usage everywhere: it is not actually
used at runtime at all.
we keep the timestamp, because it is actually used in user_welcome()
but allow it to be overriden.
ideally, that timestamp would be completely removed, but I am not sure
what to put in its place, or if it would break some mysterious RFC (or
client!) if we remove that announcement.
William Pitcock [Tue, 16 Feb 2016 05:07:03 +0000 (23:07 -0600)]
Merge pull request #147 from anarcat/extra-clean
add missing files to the clean target
Antoine Beaupré [Tue, 16 Feb 2016 03:20:22 +0000 (22:20 -0500)]
add missing files to the clean target
without those, make; make clean is not idempotent
William Pitcock [Sat, 13 Feb 2016 06:19:23 +0000 (00:19 -0600)]
msgbuf: msgbuf_append_tag(): add support for attaching a specific capability bit
William Pitcock [Fri, 12 Feb 2016 18:12:30 +0000 (12:12 -0600)]
msgbuf: pull in s_assert
William Pitcock [Fri, 12 Feb 2016 17:56:15 +0000 (11:56 -0600)]
msgbuf: fix AFP() macro
William Pitcock [Fri, 12 Feb 2016 00:17:43 +0000 (18:17 -0600)]
msgbuf: attach capabilities mask to each tag for sending
this will be used with a bloom filter to speed up the 1-to-many case
William Pitcock [Thu, 11 Feb 2016 22:13:34 +0000 (16:13 -0600)]
Merge pull request #146 from lp0/fix-sqlite-unixRandomness-read-
20160211
bandb: sqlite3: check read() return value
William Pitcock [Thu, 11 Feb 2016 22:13:20 +0000 (16:13 -0600)]
Merge pull request #145 from lp0/fix-ssld-fmt-warnings-
20160211
ssld: fix format string warnings for statistics
Simon Arlott [Thu, 11 Feb 2016 22:08:37 +0000 (22:08 +0000)]
bandb: sqlite3: check read() return value
Simon Arlott [Thu, 11 Feb 2016 21:58:44 +0000 (21:58 +0000)]
ssld: fix format string warnings for statistics
Cast the uint64_t format arguments to unsigned long long as
that's what the format string specifies.
William Pitcock [Thu, 11 Feb 2016 03:16:28 +0000 (21:16 -0600)]
msgbuf: do a better job of handling gotchas with parsing tags
William Pitcock [Thu, 11 Feb 2016 03:03:09 +0000 (21:03 -0600)]
ssld: we use uint8_t for IPC buffers, not char
William Pitcock [Thu, 11 Feb 2016 03:02:56 +0000 (21:02 -0600)]
libratbox: time_t can be 64-bit, so use labs()
William Pitcock [Thu, 11 Feb 2016 03:00:27 +0000 (21:00 -0600)]
extensions: add m_echotags extension to echo back your tags in NOTICE form
William Pitcock [Thu, 11 Feb 2016 02:54:17 +0000 (20:54 -0600)]
modules: chase MsgBuf API change
William Pitcock [Thu, 11 Feb 2016 02:14:22 +0000 (20:14 -0600)]
extensions: update for API change
William Pitcock [Thu, 11 Feb 2016 02:13:44 +0000 (20:13 -0600)]
ircd: change MessageHandler to include a MsgBuf pointer at the front for tag access
Simon Arlott [Sun, 7 Feb 2016 13:50:26 +0000 (13:50 +0000)]
libratbox: event: continually adjust ish event times
When events are scheduled to run at a random +/- 1/3rd of the specified
frequency it can vary considerably for the longer timers (particularly
try_connections), so adjust the frequency to a different random interval
of the original frequency every time the event runs.
Simon Arlott [Wed, 10 Feb 2016 22:57:16 +0000 (22:57 +0000)]
ircd: support restarting ssld processes
Add REHASH SSLD (admins only) that starts new sslds and marks the
existing ones as inactive until all their clients disconnect.
Very useful whenever the SSL library has a vulnerability because
new connections can use a new version of the library without
disconnecting existing clients/servers.
Add STATS S (admins only) to list ssld processes, status, and client
count.
William Pitcock [Thu, 11 Feb 2016 00:54:05 +0000 (18:54 -0600)]
Merge pull request #144 from lp0/handle-which_ssld_failure-start_ssld_connect-accept-
20160210
ircd: Handle which_ssld failure
Simon Arlott [Wed, 10 Feb 2016 22:25:23 +0000 (22:25 +0000)]
ircd: Handle which_ssld failure
It's possible for which_ssld to fail and return NULL, handle this in
start_ssld_connect and start_ssld_accept by returning NULL. The NULL
return value is already handled in all calls to start_ssld_accept,
so handle this for start_ssld_connect by reporting an error connecting.
Handle it in start_zlib_session by exiting the client.
Simon Arlott [Wed, 10 Feb 2016 22:45:14 +0000 (22:45 +0000)]
ircd: add missing rb_free in start_zlib_session
William Pitcock [Wed, 10 Feb 2016 21:54:43 +0000 (15:54 -0600)]
Merge pull request #137 from lp0/fix-ssld-change_connid-
20160207
ssld: change_connid may be called with an unknown ID
William Pitcock [Wed, 10 Feb 2016 21:53:27 +0000 (15:53 -0600)]
Merge pull request #142 from lp0/fix-random_socket-
20160210
authd: fix link failure in random_socket
Simon Arlott [Wed, 10 Feb 2016 21:29:41 +0000 (21:29 +0000)]
authd: fix link failure in random_socket
The random_socket function isn't used, and the code can only be
compiled if the function is optimised away (because it's static
and unused) otherwise it will fail to link when "ipv4_addr" and
"ipv6_addr" are not found.
Fix this by modifying ipv4_addr and ipv6_addr so that they're not
external variables.
Simon Arlott [Wed, 10 Feb 2016 21:22:50 +0000 (21:22 +0000)]
ssld: change_connid may be called with an unknown ID
If change_connid is called with an unknown ID, conn will be
NULL, check this with an assert and then respond by reporting
the new ID as closed instead of dereferencing a NULL pointer.
William Pitcock [Wed, 10 Feb 2016 16:25:16 +0000 (10:25 -0600)]
parse: further cleanups
William Pitcock [Wed, 10 Feb 2016 16:09:42 +0000 (10:09 -0600)]
parse: fix aliases
William Pitcock [Wed, 10 Feb 2016 06:46:32 +0000 (00:46 -0600)]
msgbuf: improve parse logic