summaryrefslogtreecommitdiff
path: root/src/socket.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Add <link:allowmask>•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4735 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-4/+8
* Clamp mask sizes to 128 for ipv6 and 32 for ipv4•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4734 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-0/+6
* Extra safety checks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4733 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-0/+10
* Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR oper...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-2/+62
* Fix CIDR functions so they work•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4731 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-7/+12
* Simple CIDR checking routine•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4730 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-061-0/+26
* Fix bindsocket to work in ipv6 mode•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4671 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-031-1/+1
* Check for invalid ip's being bound to•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4638 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-7/+9
* (1) remove CleanAndResolve.•••(2) remove feature of being able to bind hostnames in <bind> tags (it used CleanAndResolve) :p (3) Fix the stuff in SpanningTree that used CleanAndResolve to validate connecting ip addresses - it now builds an 'allowed ip cache' on rehash/startup instead git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4637 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-021-33/+8
* Fix broken inet_pton call•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4616 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-2/+3
* Fixes for inspsocket in ipv6 environment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4615 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-2/+2
* The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if t...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-2/+35
* AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-08-011-2/+2
* Tidyup message.cpp, remove some really old craq.•••Improve tidiness of new common_channels function Add timeout value to blocking CleanAndResolve function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-281-1/+1
* Change stats recv/send to double, so they can hold truly massive numbers of t...•••Fix some warnings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4450 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-191-1/+1
* Move openSockfd[] into ServerConfig•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4322 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-07-111-9/+8
* Checks for negative fd's when adding them to the socketengine so we can gener...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3929 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-05-031-2/+5
* Someone didnt test their fixes in cygwin *gets tortoise torture kit*•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3874 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-121-2/+0
* Split inspircd_io.* insp inspsocket.* and configreader.* with a few odd bits ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3847 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-04-081-326/+152
* Holy christ that was a LOT OF SPACES. TABS, USE THEM, LOVE THEM, APPRECIATE T...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3838 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2006-04-061-6/+6
* Connection refused bug is FIXED!!!!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3835 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-041-0/+2
* Bad brain bad•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3832 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-041-2/+2
* Tweaks to hopefully prevent 100% cpu use issue•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3831 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-041-2/+4
* Fixes for stability of connects (these didnt make it into trunk!!!)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3795 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-04-011-1/+1
* Backport of 100% cpu on connection refused bug•••Technical details: Set this->ClosePending on connection refused error so that within one cycle it is removed from the list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3787 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-281-0/+5
* Remove debugging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3783 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-271-5/+0
* Regressed buffering code•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-261-8/+8
* Removal of ancient TRUE/FALSE #defines (C-ish stuff)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3700 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-131-1/+1
* Complete removal of all stl stuff here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3686 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-10/+11
* Completely removed the deque•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3685 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-1/+0
* Put some error checking back in here•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3684 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-1/+3
* Temporarily removed output buffering as an experiment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3683 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-6/+10
* Blah•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3682 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-1/+1
* Logging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3681 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-0/+5
* Different way of using substr•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3679 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-3/+2
* Deque doing some reallllly odd stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3678 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-1/+2
* Cant do *ANYTHING* in the damn destructor?!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3675 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-2/+2
* Close-pending checks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3673 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-0/+5
* Checking that buffers are empty in destructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3672 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-1/+2
* Checks and stuff :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3671 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-0/+7
* Damnit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3670 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-1/+1
* Fixes•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3669 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-3/+13
* Added method to check if an fd is in the socketengine or not•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3667 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-0/+6
* Re-enterant safety•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3666 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-2/+0
* Re-enterance safety•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3665 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-111-0/+8
* Convert more by-values to const references, optimise ConfigReader a bit•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3606 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar om2006-03-091-5/+3
* Tweaks to socket engine, faster buffer flush and hopefully more stable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3521 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-22/+13
* true and false transposed in new code•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3520 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-3/+3
* Exception to the rules for EAGAIN•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3519 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-1/+1
* Check for write errors in inspsocket (this is probably causing excessive cpu...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3518 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2006-03-071-7/+16