Commit Graph

840 Commits

Author SHA1 Message Date
Sam Dodrill 771cc10e92 Fix ban list add logic 2014-12-16 08:24:50 -08:00
Sam Dodrill e862c03515 src/newconf: add ability to disable UMODE_HIDECHANS
As requested by a staff member of an IRC network using elemental.
2014-12-10 14:33:25 -08:00
Sam Dodrill eda8b64bd6 Manually merge feat/show-ip-on-iline-cloak
Conflicts:
    src/s_user.c

Spoofed host IP addresses are now broadcast.

This is 2014, we are not EFNet.
2014-12-08 09:18:30 -08:00
Sam Dodrill 5ba9c76d22 src/chmode: treat invex/ban/quiet/exception discretely
Also prevents unneeded O(n) check of all kinds of list-bans to see if
the list has overflowed and prevents hard-coding of list-like channel
modes in the daemon to allow for future expansion.
2014-10-27 16:07:27 -07:00
Sam Dodrill 9890a48cd9 Change all code to a consistent style
We use the Linux Kernel format now.
2014-08-03 10:38:55 -07:00
Rylee Fowler 26005c6f48 fix spelling typo (s/propegate/propagate/g) 2014-08-01 18:23:58 -07:00
Sam Dodrill 19d656a29b Fix buffer overflow in introduce_client and burst_TS6
If the client being introduced has more than 10 user modes send_umode()
will overflow ubuf

tracks Adam-/charybdis@9744d53ec9
2014-06-01 15:59:00 -07:00
Sam Dodrill d726cc83a2 Add UMODE +I to hide channels in WHOIS line
Does not hide channels from IRC operators.
2014-06-01 15:52:10 -07:00
Sam Dodrill 8036a22c25 Show remote server IP addresses 2014-06-01 15:20:37 -07:00
Sam Dodrill 050ea2b809 Add channel mode +u to hide banlists
Banlists are silently hidden from all non-halfops or up. Bans still may
be seen as normally. This mode is entirely opt-in.
2014-05-28 19:36:14 -07:00
Sam Dodrill 9a90d0d80e src/s_user: Prevent desync of clients on CHGHOST 2014-04-29 13:18:39 -07:00
Sam Dodrill 02b334ff8f Fix extended-join for remote and fakequit users 2014-04-22 11:38:17 -07:00
Sam Dodrill 1bd7b59879 clicaps: Disable away-notify for now 2014-03-20 07:42:29 -07:00
Sam Dodrill be813f8605 src/channel: fix possible null reference in joining 2014-03-09 15:42:07 -07:00
Sam Dodrill a7a510a504 src/supported: add OWNER to 005 output 2014-02-18 08:50:25 -08:00
Sam Dodrill eceffbca02 src/messages.tab: Make ERR_NOOPERHOST more generic 2014-02-14 19:28:40 -08:00
Sam Dodrill 74289701af src/s_user: Add metadata for cloaked hostnames for use with services 2014-01-30 22:37:46 -05:00
Sam Dodrill 55147df5de src/s_user: Make UID assignment happen once we know it's a valid user 2014-01-29 21:14:09 -08:00
Sam Dodrill 177241882c Merge branch 'ircv3-metadata'
Allow support for the ircv3 metadata verbs while maintaining backwards
compatibility with the old ShadowIRCD verbs
2014-01-17 08:19:39 -08:00
Sam Dodrill ba15f6d690 Merge branch 'fix-non-qs-ts6' 2014-01-17 05:09:40 -08:00
Sam Dodrill a3da200088 Merge branch 'owners-immune' 2014-01-17 05:09:16 -08:00
Sam Dodrill 6faf3c2a45 src/client: Remove TS5 logic in the link protocol 2014-01-17 05:07:41 -08:00
Sam Dodrill c03f7b30c4 bandb: Don't attempt to write to a NULL helper.
Though without a bandb binary your installation is completely screwed.

References atheme@charybdis/c8729b08fb171d80030155c638a65aff93cb1a45
2014-01-11 17:49:21 -08:00
Sam Dodrill 80b3a83cbf src/channel: Fix ordering in kick permission logic 2014-01-10 18:16:08 -08:00
Sam Dodrill 0785419045 Remove autojoin_opers
It was broken by the away-notify patch and fixing it is more work than
the feature is useful.
2013-12-26 15:08:55 -08:00
Sam Dodrill 755b88c783 Revert autojoin_opers patch
It causes interesting desyncs of account names when run for more than 2
weeks

Revert "channel: refactor fe3c1c828e and fix surrounding indentation"

This reverts commit 27b08207de.

Revert "src/channel: Fix for autojoin_opers segfault"

This reverts commit 8e1c8b7543.
2013-12-26 15:05:15 -08:00
Sam Dodrill 5810ebb18f modules/code/m_metadata: Changed to conform to IRCv3 command spec 2013-11-24 14:11:00 -08:00
Sam Dodrill be2a7a772c src/messages: Fix reply for STATS o
It previously replied as STATS O. A purely cosmetic fix.
2013-11-24 12:18:17 -08:00
Kyle Jonhson 27b08207de channel: refactor fe3c1c828e and fix surrounding indentation 2013-11-15 05:00:40 +00:00
Sam Dodrill 8e1c8b7543 src/channel: Fix for autojoin_opers segfault 2013-11-07 11:39:43 -08:00
Sam Dodrill 2cfa339185 Explicitly allow channel admins to kick eachother 2013-10-10 10:55:42 -07:00
Sam Dodrill 7abfc13b92 Send away-notify on host change fake quit 2013-10-10 09:53:39 -07:00
Sam Dodrill 6e14174c95 Disallow non-channel ops from kicking users 2013-10-09 13:13:51 -07:00
Sam Dodrill ffebe5d876 SASLFAIL SNOMASK is now global 2013-10-06 21:36:42 -07:00
Sam Dodrill 763e5c24b1 Revert "More spacing on a burst SJOIN"
Adding more spacing made it worse, revert.

This reverts commit 1ce8db9135.
2013-10-06 19:36:21 -07:00
Sam Dodrill 1ce8db9135 More spacing on a burst SJOIN 2013-10-06 19:25:19 -07:00
Sam Dodrill 5a6a3ec287 Fix spacing on SJOIN 2013-10-06 19:14:48 -07:00
Sam Dodrill afe4cb9104 Support ipv6 DNS blacklists
atheme/charybdis@0a1e77c27c
2013-10-06 07:53:17 -07:00
Sam Dodrill 407504902e Remove CHARSET=ascii from ISUPPORT
Merge of atheme/charybdis@e1a9785abe
2013-10-05 15:03:07 -07:00
Sam Dodrill 2fad91d915 More fixes for owner mode 2013-10-04 21:40:54 -07:00
Sam Dodrill 0814442111 away-notify and away rate limiting added
Referenced:

atheme/charybdis@c5bbc60375 : Add
away-notify client capability.
atheme/charybdis@d42e6915cf : Pace aways.
atheme/charybdis@725403fd7f : Don't end
the flood grace period with the first AWAY.
atheme/charybdis@dc0fd46236 : Ensure AWAY
pacing only affects local clients.
2013-10-04 21:32:00 -07:00
Sam Dodrill ef6e8564e0 Merge branch 'ircd-spit-unreadable-config' into devel 2013-09-29 05:40:31 -07:00
Sam Dodrill 1659d99bac Merge error notice on unreadable config file
This fix will help with initial setup among other things
2013-09-29 05:38:54 -07:00
Sam Dodrill 0d45b7860f Merge account-notify and extended-join client capabilities 2013-09-29 05:24:52 -07:00
Sam Dodrill bb0a7536e3 Merge branch 'failed-sasl-snomask' into devel 2013-09-28 20:52:08 -07:00
Sam Dodrill 61fe2694df Merge branch 'defer-accept' into devel 2013-09-28 20:49:47 -07:00
Sam Dodrill c141ed9307 Add defer_accept option to enable TCP_DEFER_ACCEPT
Merge: 6fb5e9636fa1fffc62e86561e7dcd734fa2ee53f

Add defer_accept option to enable TCP_DEFER_ACCEPT
Charybdis commits referenced:

atheme/charybdis@77cb59b
    libratbox: add support for TCP_DEFER_ACCEPT on linux

atheme/charybdis@aa4737a
    libratbox: make defer_accept optional.

atheme/charybdis@02270e9
    Add listen::defer_accept option for controlling usage
    of TCP_DEFER_ACCEPT option.

atheme/charybdis@797a29f
    libratbox: Allow defer_accept on FreeBSD.
2013-09-28 20:47:02 -07:00
Sam Dodrill 3ed02190ef Merge branch 'owner-mode' into devel 2013-09-28 20:39:55 -07:00
Sam Dodrill f0b84afaba src/s_user: DNSBL hits are now global snomasks
Previously server notices for DNSBL hits only were locally broadcast. Now they are globally broadcast under SNOMASK r.
2013-09-17 18:24:50 -07:00
Sam Dodrill 2681b86df2 Added snotes for failed SASL authentication attempts if need_sasl flag is set
Many thanks to Shockk for this patch.

References commits:
 - 15dc12b76e76c6fa2ead773b6b40965223ad453f - Added snotes for failed SASL authentication attempts if need_sasl flag is set.
 - febd2e2aca27f7f1acfc522f3fda65d8be067edc - Updated help/opers/snomask to add +S snomask.
2013-09-15 21:33:10 -07:00