summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2006-08-06Add <link:allowmask>brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4735 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Support CIDR, CIDR zline, /oper and CIDR <connect> tags. NOTE: With CIDR ↵brain
oper, ident field is not supported (yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4732 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-06Fix TS lowering, also update local variablebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4729 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Dont try and cloak remote clientsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4727 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Extra stuff for identifying ipv6 addressesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4726 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-05Use insp_aton so we can correctly cloak ipv6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4725 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Sanity checksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4717 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Add 'no such server' on remote stats to invalid namebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4713 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Backwards mode stuff!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4712 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Fixes?brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4710 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Bugs bugsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4709 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4708 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Fix craq loopbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4707 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04More fuckupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4706 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Not checking a pointer, bad brain badbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4705 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Whoops, typobrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4704 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Fixes for ::0 ip's, disable autobind when using ::ffff: etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4703 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04IPV6 compile fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4696 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-04Change to using userrec::ip as a sockaddr to store port, ip and address ↵brain
family, rather than userrec::ip4 and userrec::port. This allows us to handle remote ipv6 users on an ipv4 server, and vice versa. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4694 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Extra stuff for forcing a v4 or v6 lookupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4679 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Added test framework, so that i can work on improving MakeIP6Intbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4677 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-03Fixed resolver, forward lookup of ipv6 doesnt work right yetbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4674 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02Add error messages to Resolver::OnError()brain
Add exception handling to several places that use Resolver (it can throw) Remove Resolver::ProcessResult(), its now handled within the bowels of dns.cpp git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4646 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02(1) remove CleanAndResolve.brain
(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
2006-08-02Check for duplicate servers in OnLookupCompletebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4636 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02Comment ServernameResolver classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4635 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-02InspSocket no longer resolves hosts.brain
InspSocket::DoResolve() and the stuff that calls it is gone, if you pass InspSocket an invalid ip, it will bail during its connect. You must now use Resolver classes to resolve hostnames into IP addresses, if you wish to do this. Currently, only one non-extra module does this, see class ServernameResolver within m_spanningtree git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4634 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Remove unused temp buffersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4623 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Clone counting works with ipv6 nowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4621 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01The IPV6 stuff compiles now, with compile-correct ipv6 code. I dont know if ↵brain
this works yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4611 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01AF_INET -> define to AF_FAMILY, will be either AF_INET or AF_INET6brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4610 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-01Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first ↵brain
step on the road to ipv6 support git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30REMOTE STATS! WOOO AND YAY!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30Fix to send out modes remotely when a ban expires so that other ircds have ↵brain
their bans removed (they used to rely upon the expiry of the ban at the opposite end of the connection by the other end's m_timedbans, now they dont have to) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4595 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30Fix more timedban stuff - possible infinite loop if ban expires after the ↵brain
channel has been deleted (and/or re-created under the same name) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4592 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29Fix for bug which can lock up ircd if someone adds a timed ban when the ↵brain
banlist is full git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4589 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-29Started UserManager classbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4586 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28Remove m_operwho, no longer required in 1.1 as standard /who can do its jobbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4582 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28Beat om to the commitbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4574 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28Fix the obligotary typosbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4570 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28Change all references to voodoo numbers (7, 3 etc) to the new bitwise ↵brain
constants for user->registered Change a lot of user->fd > -1 to use the IS_LOCAL() macro git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4569 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-28Add support for syntax of commands in place of the text 'Not enough ↵brain
parameters' in numeric 461, where supported. To support this each derived class of command_t must set the value of command_t::syntax to a non-empty string. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4561 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27Add VF_SERVICEPROVIDERbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4560 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27Fix to allow +q/-q etcbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4559 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27Allow SAMODE and remote users to set +qa without local-user checks (bug?)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4558 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27Change std::pair<bool,std::string> to neater typedef "ModePair"brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27Mode merging during FJOIN with ourts==theirts. Only +k and +l have ↵brain
CheckTimestamp methods atm, needs to be finished by me and TIDIED. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4556 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27* Fix Server::SendMode to actually work again.brain
* In the 1.1 protocol we now use FMODE for everything, rather than MODE. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4551 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-27commit remainder of new mode bouncing stuff for TS based modesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4550 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-26Add extra method to mode handler, ModeHandler::ModeSet().brain
Returns a std::pair<bool,string>. if the bool is true, the mode is set, and the second item in the pair is the parameter set on it, if any If the bool is false, the mode is not set, and the parameter given is returned as the second item of the pair To be used in mode bouncing, to build a safe set of bounced modes (dont ask yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4549 e03df62e-2008-0410-955e-edbf42e46eb7