| Commit message (Expand) | Author | Age | Files | Lines |
| ... | |
| * | Improve PRNG•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4666 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-03 | 1 | -3/+13 |
| * | Pseudo-random id's again, combined with incrementing value, gettimeofday and ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4661 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -2/+3 |
| * | Add back stats counters for dns total, good and bad•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4660 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -0/+8 |
| * | Allocate request id's in sequence, which means we wont get a duplicate id unt...•••Much safer than rand()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4659 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -4/+5 |
| * | Change more names and types•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4657 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -15/+8 |
| * | Absolutely everything is now part of class DNS, or class Resolver.•••This means our dns code is totally encapsulated and we know that
changing it wont effect anything else so long as the interface stays
the same.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4656 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -5/+29 |
| * | More tidying•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4655 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -46/+47 |
| * | Move more stuff into private members of class DNS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4654 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -21/+12 |
| * | Tidyups, rename some vars•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4653 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -23/+16 |
| * | Made MasterSocket static•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4652 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -22/+27 |
| * | Move more stuff into class DNS•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4651 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -102/+103 |
| * | Tweak case of all classes to match those in the rest of the core•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4650 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -38/+49 |
| * | Change comment at start of the file, rename dns_connection•••to dns_request (they no longer represent connections with
unique FD's so the old name was kind of silly)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4649 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -29/+27 |
| * | Change a message•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4648 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -1/+1 |
| * | More tidying. Add comments. More comments to do :p•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4647 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -8/+30 |
| * | Add error messages to Resolver::OnError()•••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
| brain | 2006-08-02 | 1 | -70/+68 |
| * | The great summer clean (better than a spring clean)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4645 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -62/+61 |
| * | Tidyup var names. people who use 'l' to mean 'length' need to be shot with a ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4644 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -22/+35 |
| * | More tidyups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4643 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -36/+34 |
| * | Tidyups (as usual)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4642 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -20/+11 |
| * | More tidyups•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4641 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -10/+5 |
| * | Tidyup var names. If i ever meet this person who called all the firedns vars ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4640 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -14/+12 |
| * | Tidyup dns.cpp•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4639 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-02 | 1 | -8/+8 |
| * | InspSocket no longer resolves hosts.•••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
| brain | 2006-08-02 | 1 | -0/+2 |
| * | Remove unused temp buffers•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4623 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -97/+38 |
| * | Removed threaded dns (it might make a comeback some day, but as it stands its...•••Migrated to new OO resolver, removed as much firedns craq as is safe to do so, operates over one file descriptor now and keyed against request id.
The only way to use the system is via class Resolver (so i'll need to migrate the rest of the ircd to use it)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4622 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -863/+537 |
| * | Fix broken inet_pton call•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4616 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -4/+13 |
| * | Fixes for inspsocket in ipv6 environment•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4615 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -1/+1 |
| * | Still working under ipv4 now•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4614 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -751/+749 |
| * | Dns stuff•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4613 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -57/+37 |
| * | This might well be the last commit to this dns resolver in its current form. ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4612 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -5/+11 |
| * | 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
| brain | 2006-08-01 | 1 | -22/+27 |
| * | 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
| brain | 2006-08-01 | 1 | -13/+13 |
| * | Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-08-01 | 1 | -18/+18 |
| * | Add comments, remove debug, alter message in ./configure•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4466 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-20 | 1 | -12/+6 |
| * | Fixed, no longer a memory leak (Thread leak)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4465 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-20 | 1 | -17/+51 |
| * | Someone please take a look at this and tell me why a thread doesnt free itsel...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4462 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-20 | 1 | -1/+1 |
| * | Make threaded dns stable by placing some mutexes around some stl stuff (this ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4460 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-20 | 1 | -11/+49 |
| * | Threaded dns stuff - im going to try and make this stable in 1.1•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4459 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-20 | 1 | -2/+1 |
| * | Removed all that lastcreate and wantclose craq from dns.cpp (WHAT THE FUCK WE...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4454 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-19 | 1 | -11/+0 |
| * | * Seperate out socket engines into derived classes of SocketEngine.•••* Add a classfactory SocketEngineFactory to create a new socketengine of the configured type
* Implement configure hax to compile only the required socketengine and the base class
* Eliminates ugly defines, and is more in line with C++ ways
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4439 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-19 | 1 | -0/+1 |
| * | Tweaks for nonblocking dns•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4432 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-16 | 1 | -4/+10 |
| * | Fix socket leak properly this time•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4405 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-16 | 1 | -1/+3 |
| * | Rollback dns change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4384 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-14 | 1 | -5/+0 |
| * | Fix dns socket leak found in stable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4383 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-14 | 1 | -0/+5 |
| * | Removed debugging•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4368 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-12 | 1 | -3/+0 |
| * | All this works now (hopefully)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4367 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-12 | 1 | -0/+4 |
| * | Throw moduleexception if you:•••(a) try and resolve hosts before the core is initialized (HOW?!)
(b) try and resolve a host and the domain server is totally unreacable e.g. through lack of fd's or ifconfig eth0 down :p (this is the only safe way, any other way may result in a developer inserting an invalid pointer into a list of Resolver* theyre watching)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4360 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-12 | 1 | -0/+7 |
| * | Typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4358 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-12 | 1 | -1/+1 |
| * | Make it work:•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4357 e03df62e-2008-0410-955e-edbf42e46eb7
| brain | 2006-07-12 | 1 | -9/+41 |