aboutsummaryrefslogtreecommitdiff
path: root/src/cidr.cpp
Commit message (Expand)AuthorAgeFilesLines
* Reduce std::string::substr() usage•••substr() returns a new string while erase() and assign() modify the existing one Gravatar Attila Molnar2015-01-101-2/+2
* Merge insp20Gravatar Attila Molnar2014-07-251-1/+1
|\
| * Allow uppercase letters in IPv6 CIDR masksGravatar Attila Molnar2014-04-131-1/+1
* | Merge insp20Gravatar Attila Molnar2014-04-071-19/+7
|\|
| * Fix IPv6 address handling in 6aaf7047297b739377e7d509cb914f32447fb281Gravatar Attila Molnar2014-04-061-1/+1
| * Improve detection for non-cidr masks to prevent unwanted matches•••Fixes issue #762 reported by @neoinr Gravatar Attila Molnar2014-03-101-1/+7
| * Fix various problems detected by Clang 3.4.•••- cidr.cpp: remove inverted_bits; unused since 9fad3ecb9215a0034bf407f192926b04cb5efaed. - cmd_stats.cpp: remove needless inversion and comparison to 0. - inspircd.cpp: remove needless comparison to 0. - socket.cpp: remove all_zero; unused since 03a1bf15b1da7643b237c22db1a478916a976ccf. Gravatar Peter Powell2014-02-111-18/+0
* | Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-2/+0
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-2/+0
|/
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+16
* Don't try to use CIDR matching unless a CIDR range has been given in MatchCIDR•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12360 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-031-1/+3
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Create irc::sockets::cidr_mask•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11968 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-241-90/+5
* Strip SUPPORT_IP6LINKS #define•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-4/+1
* Update all wiki links to point to the new wiki. This was done automatically w...•••for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar psychon2009-03-151-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Move stuff to use ASCII map where required.•••Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-071-1/+1
* match() is no longer a function+no header, now a static method of InspIRCd cl...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10212 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-211-2/+1
* Remove last vestige of libircdfoo, by changing tag into a single identifier...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10076 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-291-1/+1
* Fix test suite to not have bugs itself (oops) and fix bugs in new cidr matchi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9785 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-211-0/+6
* Convert CIDR matching and wildcard matching to operate on std::strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9681 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-05-091-53/+20
* Port from hottpd: Split src/socket.cpp out into src/cidr.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9678 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-05-091-0/+204