]> jfr.im git - solanum.git/log
solanum.git
8 years agoGinormous docs cleanup.
Elizabeth Myers [Sun, 6 Mar 2016 04:37:42 +0000 (22:37 -0600)] 
Ginormous docs cleanup.

Purge a lot of really old and obsolete documents, and merge some together
where possible. Lots of efnet docs and the old ircd-ratbox manpage (lol)
was purged.

Reorganise everything nice and neatly as possible. Things describing
features can be found in features/, and some more technical documents
were moved to techinical/.

Old credits file was consolidated into credits-past.txt, and a reference
was added to it in the credits.

8 years agoRemove some leftover ircd-ratbox references.
Elizabeth Myers [Sun, 6 Mar 2016 03:39:51 +0000 (21:39 -0600)] 
Remove some leftover ircd-ratbox references.

8 years agoremove obsolete INSTALL document that clearly nobody ever reads
William Pitcock [Sun, 6 Mar 2016 03:27:29 +0000 (21:27 -0600)] 
remove obsolete INSTALL document that clearly nobody ever reads

8 years agoMerge pull request #154 from Elizafox/master
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

8 years agoRemove 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.

8 years agocap: allow modules to return client-specific responses for capability inquiries
William Pitcock [Sun, 6 Mar 2016 00:56:36 +0000 (18:56 -0600)] 
cap: allow modules to return client-specific responses for capability inquiries

8 years agoupdate gitignore
William Pitcock [Sun, 6 Mar 2016 00:30:06 +0000 (18:30 -0600)] 
update gitignore

8 years agoautogen: additional tweaks
William Pitcock [Sun, 6 Mar 2016 00:00:02 +0000 (18:00 -0600)] 
autogen: additional tweaks

8 years agolibratbox: same changes
William Pitcock [Sat, 5 Mar 2016 23:54:26 +0000 (17:54 -0600)] 
libratbox: same changes

8 years agoautogen: minor tweaks
William Pitcock [Sat, 5 Mar 2016 23:51:28 +0000 (17:51 -0600)] 
autogen: minor tweaks

8 years agobuild: remove more autotools detritus
William Pitcock [Sat, 5 Mar 2016 23:49:13 +0000 (17:49 -0600)] 
build: remove more autotools detritus

8 years agoremove presupplied autotools files
William Pitcock [Sat, 5 Mar 2016 23:47:48 +0000 (17:47 -0600)] 
remove presupplied autotools files

8 years agoupdate NEWS
William Pitcock [Sat, 5 Mar 2016 09:03:31 +0000 (03:03 -0600)] 
update NEWS

8 years agoinvite: implement invite-notify support
William Pitcock [Sat, 5 Mar 2016 08:49:10 +0000 (02:49 -0600)] 
invite: implement invite-notify support

8 years agoinvite: broadcast INVITE messages instead of using point to point routing, to facilit...
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

8 years agoMerge pull request #153 from Elizafox/master
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

8 years agoparse: export cmd_dict for use elsewhere.
Elizabeth Myers [Sat, 5 Mar 2016 07:04:54 +0000 (01:04 -0600)] 
parse: export cmd_dict for use elsewhere.

8 years agoparse: get rid of report_messages
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.

8 years agossld: provide version in stats S output
Simon Arlott [Thu, 3 Mar 2016 22:08:13 +0000 (22:08 +0000)] 
ssld: provide version in stats S output

8 years agoconnect: fix tmpport handling
William Pitcock [Wed, 2 Mar 2016 22:32:27 +0000 (16:32 -0600)] 
connect: fix tmpport handling

8 years agoclient: handle UID rollover. ircd-ratbox r28917
William Pitcock [Wed, 2 Mar 2016 21:56:49 +0000 (15:56 -0600)] 
client: handle UID rollover.  ircd-ratbox r28917

8 years agoircd: simplify connid table handling
William Pitcock [Wed, 2 Mar 2016 21:31:39 +0000 (15:31 -0600)] 
ircd: simplify connid table handling

8 years agosslproc: compile fix
William Pitcock [Wed, 2 Mar 2016 02:24:12 +0000 (20:24 -0600)] 
sslproc: compile fix

8 years agosslproc: properly use zconnid's for ziplinks
William Pitcock [Wed, 2 Mar 2016 02:02:55 +0000 (20:02 -0600)] 
sslproc: properly use zconnid's for ziplinks

8 years agoclient: always purge a client from the connid table, as connid is not related to FD
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

8 years agoMerge pull request #152 from lp0/ssld_foreach_info-20160301
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()

8 years agoircd: 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.

8 years agoupdate NEWS
William Pitcock [Tue, 1 Mar 2016 01:28:27 +0000 (19:28 -0600)] 
update NEWS

8 years agocap: don't show orphaned capabilities
William Pitcock [Mon, 29 Feb 2016 01:15:13 +0000 (19:15 -0600)] 
cap: don't show orphaned capabilities

8 years agocapability: set ownerdata to NULL when orphaning
William Pitcock [Mon, 29 Feb 2016 01:15:04 +0000 (19:15 -0600)] 
capability: set ownerdata to NULL when orphaning

8 years agom_cap: ensure buffers are initialized properly
William Pitcock [Mon, 29 Feb 2016 00:49:29 +0000 (18:49 -0600)] 
m_cap: ensure buffers are initialized properly

8 years agoAlways send the certificate fingerprint when doing SASL because the services might...
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

8 years agocap: implicitly enable cap-notify on CAP LS 302, to MAKE IRC GREAT AGAIN!!!!oneoneone
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

8 years agom_cap: add support for CAP LS 302
William Pitcock [Sun, 28 Feb 2016 07:13:08 +0000 (01:13 -0600)] 
m_cap: add support for CAP LS 302

8 years agosasl: implement support for distributing mechlists
William Pitcock [Sun, 28 Feb 2016 07:02:10 +0000 (01:02 -0600)] 
sasl: implement support for distributing mechlists

8 years agocap server-time: add .000 for microsecs since our clock does not support microsecs
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

8 years agosasl: transfer ownership of 'sasl' capability to m_sasl module
William Pitcock [Sun, 28 Feb 2016 06:28:41 +0000 (00:28 -0600)] 
sasl: transfer ownership of 'sasl' capability to m_sasl module

8 years agobuildsystem: honor $DESTDIR in install-data-hook
Mantas Mikulėnas [Sat, 27 Feb 2016 13:53:37 +0000 (15:53 +0200)] 
buildsystem: honor $DESTDIR in install-data-hook

Closes #150

8 years agosend: allow passing NULL origin to build_msgbuf_from() (for future use)
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)

8 years agosend: implement echo-message
William Pitcock [Sat, 27 Feb 2016 08:48:37 +0000 (02:48 -0600)] 
send: implement echo-message

8 years agomodules: add cap_server_time, adding server-time cap support
William Pitcock [Sat, 27 Feb 2016 08:31:38 +0000 (02:31 -0600)] 
modules: add cap_server_time, adding server-time cap support

8 years agostarttls: add s_serv for caps
William Pitcock [Sat, 27 Feb 2016 07:51:58 +0000 (01:51 -0600)] 
starttls: add s_serv for caps

8 years agostarttls: take ownership of 'tls' capability
William Pitcock [Sat, 27 Feb 2016 07:45:40 +0000 (01:45 -0600)] 
starttls: take ownership of 'tls' capability

8 years agocap: substantial rewrite leveraging the ircd capabilities framework for client caps
William Pitcock [Sat, 27 Feb 2016 07:41:36 +0000 (01:41 -0600)] 
cap: substantial rewrite leveraging the ircd capabilities framework for client caps

8 years agocapability: move some previously private structures to public API
William Pitcock [Sat, 27 Feb 2016 06:46:49 +0000 (00:46 -0600)] 
capability: move some previously private structures to public API

8 years agoircd: chase capability API changes
William Pitcock [Sat, 27 Feb 2016 06:01:54 +0000 (00:01 -0600)] 
ircd: chase capability API changes

8 years agocapability: allow attaching capability-owner data to a capability token, to enable...
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

8 years agomsgbuf: msgbuf_unparse_tags(): don't send a tags sigil unless tags will actually...
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

8 years agosend: we dont actually want tags in sendto_channel_local_butone()
William Pitcock [Sun, 21 Feb 2016 00:35:35 +0000 (18:35 -0600)] 
send: we dont actually want tags in sendto_channel_local_butone()

8 years agosend: obviously we can't just reuse a va_list, duh
William Pitcock [Sun, 21 Feb 2016 00:32:09 +0000 (18:32 -0600)] 
send: obviously we can't just reuse a va_list, duh

8 years agosend: implement tags support for sendto_channel_flags() too
William Pitcock [Sun, 21 Feb 2016 00:27:15 +0000 (18:27 -0600)] 
send: implement tags support for sendto_channel_flags() too

8 years agosend: more sendto_anywhere() fixing
William Pitcock [Sun, 21 Feb 2016 00:12:46 +0000 (18:12 -0600)] 
send: more sendto_anywhere() fixing

8 years agosend: fix sendto_anywhere() missing a target param
William Pitcock [Sat, 20 Feb 2016 23:59:38 +0000 (17:59 -0600)] 
send: fix sendto_anywhere() missing a target param

8 years agomsgbuf: allow for an explicit target to be defined
William Pitcock [Sat, 20 Feb 2016 23:59:00 +0000 (17:59 -0600)] 
msgbuf: allow for an explicit target to be defined

8 years agomodules/cap_account_tag: new module providing the account-tag cap as a proof of concept
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

8 years agohook: allow hook_data to have non-const arguments, add hook_cdata for arguments that...
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

8 years agolibratbox: export rb_linebuf_putprefix on linux
William Pitcock [Sat, 20 Feb 2016 23:30:20 +0000 (17:30 -0600)] 
libratbox: export rb_linebuf_putprefix on linux

8 years agocap: register the account-tag capability
William Pitcock [Sat, 20 Feb 2016 23:26:35 +0000 (17:26 -0600)] 
cap: register the account-tag capability

8 years agosend: implement partial support for outbound tags (enough for account-tag as a testcase)
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)

8 years agosend: implement linebuf_put_msgbuf() and msgbuf_build_from(), which build the core...
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

8 years agolibratbox: implement rb_linebuf_putprefix() which joins a format string to a static...
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

8 years agomsgbuf: make msgbuf_unparse_prefix() public
William Pitcock [Sat, 20 Feb 2016 20:46:09 +0000 (14:46 -0600)] 
msgbuf: make msgbuf_unparse_prefix() public

8 years agoircd: remove broken USE_IODEBUG_HOOKS knob and related code
William Pitcock [Sat, 20 Feb 2016 18:02:49 +0000 (12:02 -0600)] 
ircd: remove broken USE_IODEBUG_HOOKS knob and related code

8 years agomsgbuf: implement msgbuf_vunparse_fmt() and friends
William Pitcock [Sat, 20 Feb 2016 17:38:00 +0000 (11:38 -0600)] 
msgbuf: implement msgbuf_vunparse_fmt() and friends

8 years agomsgbuf: handle me.name properly
William Pitcock [Sat, 20 Feb 2016 17:23:44 +0000 (11:23 -0600)] 
msgbuf: handle me.name properly

8 years agomsgbuf: add some message building code
William Pitcock [Sat, 20 Feb 2016 17:21:12 +0000 (11:21 -0600)] 
msgbuf: add some message building code

8 years agonewconf: move SSL/TLS deprecation message from ERROR severity to WARNING severity
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

8 years agomsg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
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.

8 years agoMerge pull request #149 from anarcat/reproducible
William Pitcock [Tue, 16 Feb 2016 06:01:57 +0000 (00:01 -0600)] 
Merge pull request #149 from anarcat/reproducible

make build reproducible

8 years agomake 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.

8 years agoMerge pull request #147 from anarcat/extra-clean
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

8 years agoadd 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

8 years agomsgbuf: msgbuf_append_tag(): add support for attaching a specific capability bit
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

8 years agomsgbuf: pull in s_assert
William Pitcock [Fri, 12 Feb 2016 18:12:30 +0000 (12:12 -0600)] 
msgbuf: pull in s_assert

8 years agomsgbuf: fix AFP() macro
William Pitcock [Fri, 12 Feb 2016 17:56:15 +0000 (11:56 -0600)] 
msgbuf: fix AFP() macro

8 years agomsgbuf: attach capabilities mask to each tag for sending
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

8 years agoMerge pull request #146 from lp0/fix-sqlite-unixRandomness-read-20160211
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

8 years agoMerge pull request #145 from lp0/fix-ssld-fmt-warnings-20160211
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

8 years agobandb: sqlite3: check read() return value
Simon Arlott [Thu, 11 Feb 2016 22:08:37 +0000 (22:08 +0000)] 
bandb: sqlite3: check read() return value

8 years agossld: fix format string warnings for statistics
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.

8 years agomsgbuf: do a better job of handling gotchas with parsing tags
William Pitcock [Thu, 11 Feb 2016 03:16:28 +0000 (21:16 -0600)] 
msgbuf: do a better job of handling gotchas with parsing tags

8 years agossld: we use uint8_t for IPC buffers, not char
William Pitcock [Thu, 11 Feb 2016 03:03:09 +0000 (21:03 -0600)] 
ssld: we use uint8_t for IPC buffers, not char

8 years agolibratbox: time_t can be 64-bit, so use labs()
William Pitcock [Thu, 11 Feb 2016 03:02:56 +0000 (21:02 -0600)] 
libratbox: time_t can be 64-bit, so use labs()

8 years agoextensions: add m_echotags extension to echo back your tags in NOTICE form
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

8 years agomodules: chase MsgBuf API change
William Pitcock [Thu, 11 Feb 2016 02:54:17 +0000 (20:54 -0600)] 
modules: chase MsgBuf API change

8 years agoextensions: update for API change
William Pitcock [Thu, 11 Feb 2016 02:14:22 +0000 (20:14 -0600)] 
extensions: update for API change

8 years agoircd: change MessageHandler to include a MsgBuf pointer at the front for tag access
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

8 years agolibratbox: event: continually adjust ish event times
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.

8 years agoircd: support restarting ssld processes
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.

8 years agoMerge pull request #144 from lp0/handle-which_ssld_failure-start_ssld_connect-accept...
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

8 years agoircd: 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.

8 years agoircd: add missing rb_free in start_zlib_session
Simon Arlott [Wed, 10 Feb 2016 22:45:14 +0000 (22:45 +0000)] 
ircd: add missing rb_free in start_zlib_session

8 years agoMerge pull request #137 from lp0/fix-ssld-change_connid-20160207
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

8 years agoMerge pull request #142 from lp0/fix-random_socket-20160210
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

8 years agoauthd: 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.

8 years agossld: change_connid may be called with an unknown ID
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.

8 years agoparse: further cleanups
William Pitcock [Wed, 10 Feb 2016 16:25:16 +0000 (10:25 -0600)] 
parse: further cleanups

8 years agoparse: fix aliases
William Pitcock [Wed, 10 Feb 2016 16:09:42 +0000 (10:09 -0600)] 
parse: fix aliases

8 years agomsgbuf: improve parse logic
William Pitcock [Wed, 10 Feb 2016 06:46:32 +0000 (00:46 -0600)] 
msgbuf: improve parse logic

8 years agoparse: utilise MsgBuf to simplify message parsing
William Pitcock [Wed, 10 Feb 2016 06:22:37 +0000 (00:22 -0600)] 
parse: utilise MsgBuf to simplify message parsing