summaryrefslogtreecommitdiff
path: root/src/client.c
AgeCommit message (Collapse)Author
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.
2016-06-12Fix empty sockhostRussell King
Whois code assumes that a sockhost containing "0" is unset. sockhost also gets used in inter-server UID messages. Allowing sockhost to remain empty is likely to cause protocol bugs elsewhere in ircd. Fill it with "0", which is what is used when spoofing is in use.
2014-03-23- Cleaned up find_chasing(). Removed useless third 'chasing' argument.michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3193 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-24- client.c:find_person(): fixed mismatching prototype as pointed out by Adammichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3025 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
2014-01-14- Greatly speedup k-/g-line lookup. Instead of testing every single client ↵michael
against every single k-/g-line just check the just added ban against connected clients. - Renamed ban_them() to conf_try_ban() - conf_try_ban() removed exemption notices that are now redundant - hostmask.c:parse_netmask(): optimize for the ipv4 case git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2815 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-04- Fixed kline issue as reported by Andrei Hristowmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2740 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-15- client.c: #include "parse.h"michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2681 82007160-df01-0410-b94d-b575c5fd34c7
2013-12-15- client.c:make_client(): make use of the SetUnknown() macromichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2677 82007160-df01-0410-b94d-b575c5fd34c7
2013-11-20- Optimized find_person()michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2585 82007160-df01-0410-b94d-b575c5fd34c7
2013-11-20- client.c:find_person(): completely disallow UID guessing as suggested by ↵michael
Adam <adam@anope.org> git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2582 82007160-df01-0410-b94d-b575c5fd34c7
2013-11-01- Got rid of find_kill() and find_gline() wrapper functionsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2523 82007160-df01-0410-b94d-b575c5fd34c7
2013-10-13- find_person(): fixed naming conventionmichael
- find_chasing(): reduced required arguments git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2476 82007160-df01-0410-b94d-b575c5fd34c7
2013-07-04- find_accept(): solved XXXmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2364 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-19- whowas: Renamed functions.michael
add_history -> whowas_add_history off_history -> whowas_off_history get_history -> whowas_get_history git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2299 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-04- Style correcions/white-space changesmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2183 82007160-df01-0410-b94d-b575c5fd34c7
2013-06-04- Fixed debug assertion being triggered on ident lookupmichael
as reported by Stuart Walsh git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2180 82007160-df01-0410-b94d-b575c5fd34c7
2013-05-09- Only show remote client exit notices if the server sent an EOBmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1990 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-23- Constification, replaced few sprintf with snprintfmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1847 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-03-31- Cleanup/reorganize header file layoutmichael
- Fixed naming convention in some places git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1798 82007160-df01-0410-b94d-b575c5fd34c7
2013-01-26- Forward-port -r1784 [Fix bug where idle time sometimes is 0 even if themichael
client didn't send any private message] git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1785 82007160-df01-0410-b94d-b575c5fd34c7
2013-01-24- Forward-port -r1774:michael
- Configuration parser now does support 'year' and 'month' units - Add support for fake idle times to /whois. Known from csircd, this adds min_idle, and max_idle configuration directives to class{} blocks git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1783 82007160-df01-0410-b94d-b575c5fd34c7
2013-01-11- Add support for "away-notify" client capabilitymichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1734 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-18- client.c: fixed another compile warning with --enable-assertmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1667 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-16- Implemented memory pool allocator which basically is taken from Tor'smichael
mempool allocator for Tor cells - Fixed compile warnings in conf_class.c - ./configure --enable-assert works again git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1654 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-13- changed match() polarity. match() now returns 0 on match and 1 on non-matchmichael
This cleans up several places where function pointers of different matching functions like irccmp/strcmp/match are passed to other functions. - added improved collapse() to match.c git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1652 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-06- More config subsystem cleanupsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1644 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-04- Cleanup configuration subsystemmichael
- Fixed broken CIDR support for /challenge git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1636 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-04- Initial rewrite of the configuration subsystemmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1632 82007160-df01-0410-b94d-b575c5fd34c7
2012-10-30- Made m_globops() and ms_globops() use sendto_realops_flags()michael
- Added message-type parameter to sendto_realops_flags() which can be one of SEND_NOTICE, SEND_GLOBAL, SEND_LOCOPS - Forward-port -r1617 git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1618 82007160-df01-0410-b94d-b575c5fd34c7
2012-10-27- Second time's the charm? Moving svnroot/ircd-hybrid-8 tomichael
svnroot/ircd-hybrid/trunk git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1592 82007160-df01-0410-b94d-b575c5fd34c7