summaryrefslogtreecommitdiff
path: root/src/s_user.c
AgeCommit message (Collapse)Author
2019-07-21Add CERTFP capabilityRussell King
Avoid sending CERTFP commands to servers which do not support this by adding a CERTFP capability.
2019-07-21Add initial support for client certificate fingerprintsRussell King
Networks such as Freenode and OFTC use client certificates to identify users and servers, not only for services, but also for server operator status and auth blocks. This allows us to use stronger certificates for authentication rather than passwords.
2019-07-21Add ^ support for SSL connectionsRussell King
2019-07-21Convert global channel operator support to OFTC's God mode.Russell King
OFTC's God mode is very similar to the global channel operator mode, with the following differences: - gaining God mode notifies all operators - uses of God mode privileges notifies all operators - God mode times out after a configurable period - uses umode S rather than O - S is taken for SSL clients in hybrid 8.1.13. So align with OFTC's implementation, but omit these features.
2019-07-21Add global channel operator supportRussell King
2014-07-02- Removed supported.hmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@4158 82007160-df01-0410-b94d-b575c5fd34c7
2014-07-02- Removed hooking systemmichael
- Update help/stats git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@4157 82007160-df01-0410-b94d-b575c5fd34c7
2014-03-28- Backported -r3182 [s_user.c:check_xline(): use CONF_NOREASON for default ↵michael
reason] git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3225 82007160-df01-0410-b94d-b575c5fd34c7
2014-03-01- white-space changes / style cleanupsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3080 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-28- register_remote_user(): removed unused realname/gecos parametermichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2956 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-25- Clean up all files in src/ (fixed indentation, removed whitespaces/tabs)michael
- Fixed copyright years git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2917 82007160-df01-0410-b94d-b575c5fd34c7
2013-12-17- Avoid magically sized temporary buffersmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2690 82007160-df01-0410-b94d-b575c5fd34c7
2013-12-17- introduce_client(), sendnick_TS(): fixed buffer overflow if a client has ↵michael
all possible modes set that are defined in SEND_UMODES git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2687 82007160-df01-0410-b94d-b575c5fd34c7
2013-10-27- Added usermode +W. Users connected via a webirc gateway get thismichael
mode set by servers. - /WHOIS now shows whether a client is connected via a webirc gateway git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2512 82007160-df01-0410-b94d-b575c5fd34c7
2013-07-03- Fixed core with empty auth::spoof entriesmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2351 82007160-df01-0410-b94d-b575c5fd34c7
2013-07-03- White-space commit / style correctionsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2343 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-21- s_user.c: style corrections, remove useless commentmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2315 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-19- s_user.c:user_set_hostmask(): don't send QUIT message to channels ifmichael
cycle_on_host_change is turned off git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2290 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-18- Added generall::cycle_on_host_change configuration option as requestedmichael
by Adam <adam@anope.org> git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2284 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-16- Add usermode 'S' (client is connecte via SSL/TLS).michael
Allows services to keep track of what users are connected via SSL, and allows to see ssl-status of remote clients in a /whois git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2247 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-15- Implement CERTFPmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2237 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-04- Removed usermode +Cmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2184 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-03- Now that invite- and ban-exempts are hardcoded, there's no need to deletemichael
them from ISUPPORT-list on /rehash git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2176 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-02- Cleanup ISUPPORT code and get rid of message.cmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2158 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-31- Implement motd{} configuration blocks based on ircu's implementationmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2151 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-30- m_svsmode(), user_set_hostmask(): minor cleanups and fixes to previous commitmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2144 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-30- m_svsmode.c: avoid HostServ floodsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2142 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-30- s_user.c:user_set_hostmask(): send a QUIT/JOIN combination to other channelmichael
members to avoid desynchronized IALs git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2140 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-29- s_user.c:user_set_hostmask(): don't unset FLAGS_IP_SPOOFING if the client'smichael
hostname has already been spoofed by an auth{} block based spoof. git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2139 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-29- Finished proper implementation of usermode 'x' (UMODE_HIDDENHOST)michael
Only services may set a fakehost via SVSMODE. git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2136 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-29- s_user.c, s_serv.c, rsa.c: style corrections; mostly whitespace changesmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2135 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-26- s_user.c:report_and_set_user_flags(): minor spelling fixesmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2124 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-19- Undo -r1900 for now [Changed RPL_WELCOME to comply with rfc2812]. Looks ↵michael
like this confuses mIRC in conjunction with spoofed hosts git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2098 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-16- Merged valid_username() and clean_user_name()michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2068 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-12- m_svsmode(), set_user_mode(): \n, \r, \t aren't treaded specially anymoremichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2024 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-12- Remove entering_umode and change_umode callbacks in preparation for themichael
modular usermode subsystem git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2023 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-08- Added usermode F (remote client connect/exit notices) on public requestmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1977 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-30- Dropped PCRE supportmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1920 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-27- Removed operflag 'nick_changes'. Operators can now set +n at willmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1903 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-27- Changed RPL_WELCOME to comply with rfc2812michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1900 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-24- Constificationmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1857 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-19- m_users, show_lusers: removed extranous arguments to sendto_one()michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1836 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-19- Revert to -r1831michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1834 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-19- Made all numeric defines use the actual string instead of the numeric valuemichael
which allows to use gcc's printf format attribute - Remove current message locale implementation git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1832 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-12- Removed recently added m_svshost.c. Services may now change the host of amichael
specific user via "SVSMODE <timestamp> <target> +x <hostname>" git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1819 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-12- Remote server connection and split notices now go to new usermode +emichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1818 82007160-df01-0410-b94d-b575c5fd34c7
2013-04-12- set_user_mode(): remove useless debugging noticemichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1813 82007160-df01-0410-b94d-b575c5fd34c7
2013-03-31- Forward-port -r1792 [Added SVSHOST command handler which allows services ↵michael
to change the hostname of a specific user] git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1795 82007160-df01-0410-b94d-b575c5fd34c7
2013-03-31- Replaced all occurrences of ircsprintf with sprintf/snprintfmichael
and killed sprintf_irc.(c|h) git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1793 82007160-df01-0410-b94d-b575c5fd34c7
2013-01-16- Forward-port -r1750 [IMPORTANT: nick and topic lengths are now configurablemichael
via ircd.conf. A max_nick_length, as well as a max_topic_length configuration option can now be found in the serverinfo{} block] - OpenSSL 0.9.8s and higher is now required in order to enable ssl support git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1751 82007160-df01-0410-b94d-b575c5fd34c7