summaryrefslogtreecommitdiff
path: root/src/hostmask.c
AgeCommit message (Collapse)Author
2014-06-01- hostmask.c:mask_addr(): fixed merging errormichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3772 82007160-df01-0410-b94d-b575c5fd34c7
2014-06-01- hostmask.c:mask_addr(): fiex compile warningsmichael
hostmask.c: In function ‘mask_addr’: hostmask.c:332:35: warning: declaration of ‘__v’ shadows a previous local [-Wshadow] hostmask.c:332:35: warning: shadowed declaration is here [-Wshadow] hostmask.c:332:35: warning: declaration of ‘__x’ shadows a previous local [-Wshadow] hostmask.c:332:35: warning: shadowed declaration is here [-Wshadow] git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3771 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-19- hostmask.c:find_conf_by_address(): removed pointless password = "" assignment.michael
match_conf_password() already deals with NULL pointers git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3006 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-19- hostmask.c:add_conf_by_address(): fixed assert statementmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3004 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-19- hostmask.c: minor cleanups to add_conf_by_address()michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3002 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-18- Fix to previous changes in -r2998michael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3000 82007160-df01-0410-b94d-b575c5fd34c7
2014-02-18- hostmask.c: get rid of this (type & ~0x1) hackmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2996 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-22- hostmask.c: constificationmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2899 82007160-df01-0410-b94d-b575c5fd34c7
2014-01-21- hostmask.c: style cleanupsmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2895 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
2013-06-23- hostmask.c:hash_text(): removed pointless castmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2332 82007160-df01-0410-b94d-b575c5fd34c7
2013-01-28- Fixed possible core in try_parse_v4_netmask() as reported by bobnomnommichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1786 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-16- hostmask.c:find_conf_by_address: fixed logic error which got introduced in ↵michael
-r1652 git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1655 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-10- minor MaskItem structure cleanupmichael
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1649 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- 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-11-01- flesh out new *line database handlingmichael
- simplify temporary bans git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1628 82007160-df01-0410-b94d-b575c5fd34c7
2012-11-01- klines, dlines, xlines, glines and resv now make use of the new database;michael
also, temporary *lines are now stored, so they're not lost after restarting the ircd. This also applies to G-lines. git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1622 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