]>
jfr.im git - solanum.git/log
Quora Dodrill [Wed, 14 Aug 2013 21:28:11 +0000 (14:28 -0700)]
src/s_conf: Moved error notification to proper place
Previously it was in src/ircd.c, but accroding to jilles, this is a better place for the notification.
This changes a patch made in
adef4da10c65696fb9b79ffa797615770fd53abf and amended in
65d921173c6e3aa4f30dd78561d3a6f5d5f4cf31 and
f6f049070e240d0ce637e9e3ac4fba4148b9725d .
Quora Dodrill [Wed, 14 Aug 2013 16:54:57 +0000 (09:54 -0700)]
libratbox/openssl: Fix possible memory leak with SSL certificate fingerprints
Quora Dodrill [Wed, 14 Aug 2013 16:54:18 +0000 (09:54 -0700)]
Revert "libratbox/openssl: Fix possible memory leak with SSL dertificate fingerprints"
This reverts commit
6ecd598ec079ebd184ab1e1e594b849e65c08507 .
Quora Dodrill [Wed, 14 Aug 2013 16:49:04 +0000 (09:49 -0700)]
libratbox/openssl: Fix possible memory leak with SSL dertificate fingerprints
William Pitcock [Sat, 20 Jul 2013 07:14:14 +0000 (07:14 +0000)]
bandb: do not blindly pass a buffer to a function that takes a format string (closes #27)
Quora Dodrill [Fri, 19 Jul 2013 19:47:15 +0000 (12:47 -0700)]
Merge pull request #32 from anarcat/gnutls-restore
rerun aclocal to include pkg.m4
Antoine Beaupré [Thu, 18 Jul 2013 00:26:47 +0000 (20:26 -0400)]
rerun aclocal to include pkg.m4
this also updates aclocal from 1.11.1 to 1.11.6
Quora Dodrill [Wed, 10 Jul 2013 15:44:27 +0000 (08:44 -0700)]
src/ircd: fix -configfile argument
Quora Dodrill [Wed, 10 Jul 2013 03:16:04 +0000 (20:16 -0700)]
src/ircd: Missed case where ircd.conf is unreadable to the ircd
Quora Dodrill [Wed, 10 Jul 2013 03:04:45 +0000 (20:04 -0700)]
src/ircd: Die if the configuration file does not exist
Quora Dodrill [Wed, 10 Jul 2013 03:01:16 +0000 (20:01 -0700)]
doc: Example configuration renamed to ircd.conf.example
This is to follow the precident set by Atheme's atheme.conf.example file. Since the ircd now fails to start on a non-existant configuration file, seeing that message would make one know where to look.
Jilles Tjoelker [Sun, 7 Jul 2013 21:49:33 +0000 (23:49 +0200)]
join: Fix messages about join failures such as banned.
This was broken by
6f7b36d5d0f8a6429c625d825d3277670cdb25e7 in February
2013, as join failures are the only situation where a non-trivial
numeric is passed through from other code to be sent to a client. Fix it
by porting more code from ircd-ratbox 3.1.
Jilles Tjoelker [Sun, 16 Jun 2013 09:35:04 +0000 (11:35 +0200)]
m_info: Correct description of general::client_exit like in example confs.
Reported by: jackal
William Pitcock [Mon, 10 Jun 2013 16:23:16 +0000 (09:23 -0700)]
Merge pull request #30 from anarcat/gnutls-restore
Gnutls restore
Antoine Beaupré [Mon, 10 Jun 2013 16:19:02 +0000 (12:19 -0400)]
Revert "libratbox: Remove broken gnutls support."
This reverts commit
f2d58c6d72a1735b28ef95566fbd26bb0736246d .
Antoine Beaupré [Mon, 10 Jun 2013 16:18:43 +0000 (12:18 -0400)]
Revert "Remove more gnutls references."
This reverts commit
6a25507e90c2b2f934724e8eb278e9782acac923 .
Jilles Tjoelker [Sat, 8 Jun 2013 11:46:02 +0000 (13:46 +0200)]
Rerun autoconf for genssl change.
William Pitcock [Thu, 6 Jun 2013 00:11:20 +0000 (17:11 -0700)]
Merge pull request #28 from anarcat/master
rename genssl to genssl.sh
Antoine Beaupré [Wed, 5 Jun 2013 05:49:19 +0000 (01:49 -0400)]
rename genssl.sh to genssl
Alex Iadicicco [Wed, 15 May 2013 07:27:40 +0000 (00:27 -0700)]
Mention channel name parameter to SJOIN in ts6-protocol.txt
Jilles Tjoelker [Sat, 27 Apr 2013 15:00:10 +0000 (17:00 +0200)]
Rename m_nokillservices.so to no_kill_services.so per the naming scheme.
Jilles Tjoelker [Sat, 27 Apr 2013 14:55:45 +0000 (16:55 +0200)]
kill: Improve comment about kill hook.
Jilles Tjoelker [Sat, 27 Apr 2013 14:55:26 +0000 (16:55 +0200)]
nokillservices: Use ircu numeric instead of a notice.
Elizabeth Myers [Sat, 27 Apr 2013 10:17:05 +0000 (05:17 -0500)]
Update my email address
Elizabeth Myers [Sat, 27 Apr 2013 10:07:04 +0000 (05:07 -0500)]
Forgot this -.-
Elizabeth Myers [Sat, 27 Apr 2013 09:59:57 +0000 (04:59 -0500)]
Fix minor comment munging from sed being a piece of shit
Elizabeth Myers [Sat, 27 Apr 2013 09:57:44 +0000 (04:57 -0500)]
Include messages.h for macro form_str in select extensions
Elizabeth Myers [Sat, 27 Apr 2013 09:57:31 +0000 (04:57 -0500)]
Fix format string generation
Elizabeth Myers [Sun, 21 Apr 2013 16:10:19 +0000 (11:10 -0500)]
Blacklist: fix accidentally clobbering previous filters
William Pitcock [Sun, 21 Apr 2013 03:24:25 +0000 (20:24 -0700)]
Merge pull request #20 from quora-wings/master
Makefile.in updated
Quora [Sun, 21 Apr 2013 03:18:51 +0000 (20:18 -0700)]
Makefile.in updated
Elizabeth Myers [Sun, 21 Apr 2013 02:23:27 +0000 (21:23 -0500)]
Remove last vestige of halfops from this module.
How this was in here for this long is well beyond me. This must be old
hybrid code or something.
Elizabeth Myers [Sun, 21 Apr 2013 01:52:34 +0000 (20:52 -0500)]
Tweak docs.
Also, last commit fixes #16. :p
Elizabeth Myers [Sat, 20 Apr 2013 21:17:29 +0000 (16:17 -0500)]
Add support for multiple forms of blacklist queries using matches.
It supports both literal and last octet matches from the dnsbl.
If matches is not present, the old behaviour is used.
William Pitcock [Sat, 20 Apr 2013 21:12:24 +0000 (14:12 -0700)]
Merge pull request #19 from quora-wings/master
m_olist is not needed with operspy support for LIST
Quora [Sat, 20 Apr 2013 20:59:27 +0000 (13:59 -0700)]
Removed redundant and buggy code that caused segmentation faults. Also deprecated by operspy support for LIST. Referencing commit Ponychat/shadowircd@
162195279af339f6a7bfccc92c0f03c4b68d28c2
Elizabeth Myers [Sat, 20 Apr 2013 06:14:54 +0000 (01:14 -0500)]
Add m_nokillservices to documentation
Elizabeth Myers [Sat, 20 Apr 2013 06:07:55 +0000 (01:07 -0500)]
Implement kill-cancelling hook.
With this comes an example module to block the killing of services.
NOTE: this will not cancel remote kills. Those are still accepted, per
the TS 6 specification.
Alex Iadicicco [Thu, 18 Apr 2013 00:27:27 +0000 (17:27 -0700)]
m_nick: Reject nicks with '~' in them, rather than cutting at the '~'
The behavior of cutting at the first '~' is confusing at first, and
looks too much like a bug.
Jilles Tjoelker [Sat, 23 Mar 2013 22:32:46 +0000 (23:32 +0100)]
Update .depend files.
Jilles Tjoelker [Sat, 23 Mar 2013 21:57:28 +0000 (22:57 +0100)]
Don't send ERR_NICKCOLLISION to a user that will not be killed.
William Pitcock [Thu, 21 Feb 2013 11:44:16 +0000 (05:44 -0600)]
Mostly enable support for checking format strings with -Wformat.
Basically derived from Ratbox 3.1.
Jilles Tjoelker [Thu, 14 Feb 2013 22:45:22 +0000 (23:45 +0100)]
whois: Fix UID leak.
The second parameter of WHOIS is always a nick.
William Pitcock [Sun, 3 Feb 2013 20:06:13 +0000 (14:06 -0600)]
Atheme is not responsible for the mental health changes of IRC operators using charybdis.
Jilles Tjoelker [Sun, 3 Feb 2013 19:31:03 +0000 (20:31 +0100)]
UID/EUID: Add server's SID to invalid UID error message.
Jilles Tjoelker [Sun, 3 Feb 2013 18:38:46 +0000 (19:38 +0100)]
UID/EUID: Check that the UID starts with the server's SID.
If not, the local link that sent the command is broken, as with
syntactically invalid UIDs.
Jilles Tjoelker [Sun, 3 Feb 2013 18:33:31 +0000 (19:33 +0100)]
stats l: Don't care about away status.
Jilles Tjoelker [Sun, 3 Feb 2013 18:31:06 +0000 (19:31 +0100)]
Merge branch 'mailmap' of github.com:grawity/forks.charybdis
Jilles Tjoelker [Fri, 1 Feb 2013 23:54:32 +0000 (00:54 +0100)]
Cope with rb_crypt() returning NULL.
Jilles Tjoelker [Fri, 1 Feb 2013 23:50:03 +0000 (00:50 +0100)]
whowas: Abort listing if 90% of sendq is in use.
Jilles Tjoelker [Tue, 29 Jan 2013 22:43:20 +0000 (23:43 +0100)]
Skip cidr checking for hostmask.c entries with negative cidrlen.
They will be treated as hostmasks only. In the case of dlines they will
be rejected as invalid.
hostmask.c entries such as dlines, klines and auth blocks can only be
added by opers or via ircd.conf.
Jilles Tjoelker [Tue, 29 Jan 2013 22:31:39 +0000 (23:31 +0100)]
Also restrict cidrlen for testmask/masktrace (match_ips()).
Jilles Tjoelker [Tue, 29 Jan 2013 22:29:34 +0000 (23:29 +0100)]
Skip cidr checking for bans with negative or too large cidrlen.
Upto some length, such bans could match the exact IP address.
Obtained from: ircd-ratbox (androsyn)
William Pitcock [Tue, 15 Jan 2013 22:24:33 +0000 (16:24 -0600)]
cache: use rb_strdup() instead of a static buffer for cache lines.
BUFSIZE limitation is retained as there is no need to remove it, as all lines must be smaller than it
due to RFC1459 message requirements.
Jilles Tjoelker [Sat, 5 Jan 2013 14:09:17 +0000 (15:09 +0100)]
starttls: Don't send ERR_STARTTLS after successful STARTTLS.
Jilles Tjoelker [Wed, 2 Jan 2013 20:00:18 +0000 (21:00 +0100)]
server: Show the missing CAPABs when rejecting a server.
Jilles Tjoelker [Wed, 2 Jan 2013 19:07:28 +0000 (20:07 +0100)]
server: Move required CAPAB check after authentication and add snote and log.
Mantas Mikulėnas [Tue, 1 Jan 2013 23:44:31 +0000 (01:44 +0200)]
Add a Git .mailmap
...to make `git shortlog -es` look nicer.
Jilles Tjoelker [Tue, 1 Jan 2013 17:07:37 +0000 (18:07 +0100)]
reference.conf: Correct description of general::client_exit.
It prefixes with "Quit: ", not "Client exit: ".
William Pitcock [Mon, 31 Dec 2012 19:13:05 +0000 (13:13 -0600)]
m_capab: fix a possible remote crash triggered by the CAPAB parsing code.
William Pitcock [Mon, 31 Dec 2012 19:00:51 +0000 (13:00 -0600)]
capability: handle NULL passed to capability_get().
Jilles Tjoelker [Wed, 19 Dec 2012 16:42:49 +0000 (17:42 +0100)]
server: Simplify some code now ENCAP is mandatory.
Jilles Tjoelker [Wed, 19 Dec 2012 14:06:49 +0000 (15:06 +0100)]
server: Remove code to send recursive QUITs/SQUITs for non-QS servers.
Now that QS is required, this code can no longer be activated.
Jilles Tjoelker [Wed, 19 Dec 2012 13:53:06 +0000 (14:53 +0100)]
server: As per the TS6 spec, require QS and ENCAP capabilities.
Jilles Tjoelker [Tue, 18 Dec 2012 16:03:59 +0000 (17:03 +0100)]
server: Make sure CAP_CAP and CAP_TS6 are non-zero.
A zero CAP_CAP caused duplicate CAPAB to go undetected, allowing a
mismatch between what is sent out via ENCAP GCAP and what applies locally.
A zero CAP_TS6 allowed server connections without SID (with a valid
connect block).
Jilles Tjoelker [Tue, 18 Dec 2012 15:37:21 +0000 (16:37 +0100)]
server: Fix required capabilities check if there is more than one capability.
William Pitcock [Mon, 19 Nov 2012 21:12:30 +0000 (21:12 +0000)]
genssl: use DH params length of 2048 to appease the weechat idiots
William Pitcock [Sun, 4 Nov 2012 03:35:39 +0000 (03:35 +0000)]
extensions/m_roleplay: merge in darkmyst changes
Jilles Tjoelker [Sat, 3 Nov 2012 14:50:43 +0000 (15:50 +0100)]
starttls: Explicitly reject starttls if TLS is not configured or not compiled in.
Jilles Tjoelker [Fri, 2 Nov 2012 23:49:10 +0000 (00:49 +0100)]
starttls: Don't corrupt the FD hash.
Altering localClient->F without updating the FD hash leaves the struct
Client in the FD hash indefinitely which causes a crash later if the
struct is reused for a remote client. It also prevents error messages
from ssld showing up on IRC properly.
William Pitcock [Thu, 1 Nov 2012 06:48:08 +0000 (06:48 +0000)]
Add module which restricts unauthenticated users from doing anything as channel op.
Jilles Tjoelker [Mon, 15 Oct 2012 00:08:22 +0000 (02:08 +0200)]
Fix a crash with testline, introduced with the "underlying ipv4" feature.
William Pitcock [Sat, 13 Oct 2012 17:49:43 +0000 (17:49 +0000)]
numeric: add 744 (ERR_TOPICLOCK) to list so we don't step on inspircd
Keith Buck [Tue, 9 Oct 2012 05:52:07 +0000 (05:52 +0000)]
res.c: Try other servers if errors or corrupt replies are encountered.
Currently, the resolver treats SERVFAIL, NOTIMP, and REFUSED queries the
same as NXDOMAIN, but this really should not be the case. Instead, if
the DNS server errors on our request or provides an invalid request, try
another server.
Also, count DNS server errors in addition to timeouts and avoid these
undesirable servers.
William Pitcock [Sat, 29 Sep 2012 22:28:04 +0000 (17:28 -0500)]
libratbox/crypt: remove blowfish support since it has the stupid advertising clause
William Pitcock [Sat, 29 Sep 2012 22:08:40 +0000 (17:08 -0500)]
reslib: remove advertising clause, which was dropped as a requirement by the copyright holder.
(See http://svnweb.freebsd.org/base/head/COPYRIGHT?view=co).
Closes #5.
Jilles Tjoelker [Fri, 28 Sep 2012 21:14:56 +0000 (23:14 +0200)]
help: Document whowas limit parameter.
William Pitcock [Sun, 23 Sep 2012 00:31:55 +0000 (19:31 -0500)]
m_starttls: handle error condition with ERR_STARTTLS (691) numeric per tls-3.2 specification
William Pitcock [Sat, 22 Sep 2012 21:30:01 +0000 (16:30 -0500)]
m_starttls: new module implementing ircv3 tls-3.1 optional extension
William Pitcock [Sat, 22 Sep 2012 19:15:45 +0000 (14:15 -0500)]
m_cap: add 'tls' core capability
William Pitcock [Sat, 22 Sep 2012 19:04:57 +0000 (14:04 -0500)]
Define RPL_STARTTLS.
William Pitcock [Wed, 19 Sep 2012 01:01:53 +0000 (20:01 -0500)]
m_stats: apply same logic to anonymous /stats l as /stats p
William Pitcock [Mon, 17 Sep 2012 21:38:31 +0000 (16:38 -0500)]
m_stats: add optional constraint checking function pointer to stats_l_list().
Kiyoshi Aman [Mon, 20 Aug 2012 10:25:21 +0000 (06:25 -0400)]
GIT-Access: Our repos are on github now, so let's say so.
Keith Buck [Tue, 31 Jul 2012 06:37:33 +0000 (06:37 +0000)]
chm_nonotice: Ignore CTCP and send ERR_CANNOTSENDTOCHAN if a message is being blocked.
William Pitcock [Mon, 30 Jul 2012 17:00:49 +0000 (10:00 -0700)]
Merge pull request #2 from TheChrisAM/patch-1
Adding auth_user documentation for auth {} blocks.
Jilles Tjoelker [Sat, 28 Jul 2012 13:31:06 +0000 (15:31 +0200)]
reference.conf: Extend documentation for max_number in server classes.
William Pitcock [Wed, 25 Jul 2012 15:33:18 +0000 (10:33 -0500)]
sigio: use siginfo_t instead of struct siginfo, per glibc commit r4efeffc1d5
Jilles Tjoelker [Sat, 14 Jul 2012 12:51:55 +0000 (14:51 +0200)]
tools/smoketest.sh: Remove DNSBL external dependency.
Jilles Tjoelker [Sat, 14 Jul 2012 11:50:55 +0000 (13:50 +0200)]
tools: Add a simple test script.
It compiles and runs ircd, verifying if some aspects of PRIVMSG work.
Jilles Tjoelker [Tue, 3 Jul 2012 17:16:31 +0000 (19:16 +0200)]
In capability_get(), if a capability is not found, return 0 instead of all-ones.
Returning all-ones will set all caps if an unknown cap name is passed.
Jilles Tjoelker [Tue, 3 Jul 2012 17:15:25 +0000 (19:15 +0200)]
Fix capability_index_list(), used e.g. in /stats ? capability output.
Jilles Tjoelker [Tue, 3 Jul 2012 17:11:15 +0000 (19:11 +0200)]
Add needed space between "TS6" or "SSL" and capabs from CAPAB in /stats ?.
Jilles Tjoelker [Mon, 18 Jun 2012 22:33:29 +0000 (00:33 +0200)]
chmode: Allow mode queries on mlocked modes.
Check mlock at the same point where chanops are checked (except for
querying a +e/+I list) and abstract this check into a function.
In particular, /mode #channel f is now again allowed if +f is mlocked.
Jilles Tjoelker [Sun, 3 Jun 2012 22:49:59 +0000 (00:49 +0200)]
stats R: Make the CPU time display less ugly.
TheChrisAM [Fri, 1 Jun 2012 00:26:52 +0000 (21:26 -0300)]
Adding auth_user documentation for auth {} blocks.
Jilles Tjoelker [Sun, 27 May 2012 20:46:24 +0000 (22:46 +0200)]
If umode +D or +g are oper-only, don't advertise them in 005.
William Pitcock [Thu, 24 May 2012 13:11:45 +0000 (06:11 -0700)]
Merge pull request #1 from dwfreed/master
Fix extensions/ip_cloaking* not correctly telling the net about your changed hostname
Douglas Freed [Thu, 24 May 2012 11:06:20 +0000 (11:06 +0000)]
extensions/ip_cloaking*: Fix a bug accidentally introduced in
29d224a1 where the cloaking module would change your cloak locally, but not correctly broadcast this to the network, and fail to tell you correctly in the RPL_HOSTHIDDEN reply
Keith Buck [Mon, 21 May 2012 21:03:56 +0000 (21:03 +0000)]
Move marking of services entirely to m_services.c; mark all services when m_services loads and unmark them when it unloads.