danieldg
8ed74be517
Fix crash due to null address in DNS
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11797 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-03 04:08:20 +00:00
danieldg
de25d94673
Get rid of a bunch of memory-wasting C-style strings
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-03 01:52:59 +00:00
danieldg
e57ed15735
Fix routing for normal core commands like QUIT
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11795 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-02 06:13:57 +00:00
danieldg
8456cf5ccd
Fix valgrind issues and crashes on exit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11794 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-02 03:15:46 +00:00
danieldg
87d031609b
Merge remote/local MODULES output
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11793 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01 22:45:17 +00:00
danieldg
507e9554d6
Fix timeoutlist calling ConnectServer when not needed
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11792 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01 22:42:13 +00:00
danieldg
75d9c67804
Add ROUTE_TYPE_MESSAGE and use for PRIVMSG/NOTICE routing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11791 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01 21:41:52 +00:00
danieldg
6e6846b68a
Fix some valgrind warnings
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11790 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01 14:40:17 +00:00
danieldg
6d715e128f
Change SWHOIS to OPTCOMMON, remove m_operinvex
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11789 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01 03:37:40 +00:00
danieldg
18aae91d93
ENCAP removal for supported protocol 1201 commands
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11788 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-01 03:35:08 +00:00
danieldg
8f80dd4a40
Actually clear the cull list after applying it
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11787 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 22:16:14 +00:00
danieldg
78aabc62e7
Allow multiple autoconnects in a single <autoconnect> tag, fix infinite failover
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11786 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 21:55:31 +00:00
danieldg
3dc81ee133
Add explicit reference-counting base class
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11785 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 21:55:21 +00:00
danieldg
7aa5e059a8
Remove include/inspircd_se_config.h and socketengine-specific headers
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11784 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 18:31:05 +00:00
danieldg
4a64082e31
Move destruction logic for User and Spanningtree into cull()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11783 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 17:12:08 +00:00
danieldg
5fd6471070
Detect, complain, and don't crash when objects are inserted into cull list twice
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11782 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 16:28:43 +00:00
danieldg
e279597c0b
Fix compilation of SQL modules, use GlobalCulls to clean up deleted modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11780 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 03:22:25 +00:00
danieldg
6b27fae945
Sort the module list to give a useful indicator of compile progress
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11779 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-30 00:54:17 +00:00
danieldg
c7be5019f5
Fix GetExtBanStatus returning MOD_RES_ALLOW when user does not have a ban exemption
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11778 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-29 23:55:28 +00:00
danieldg
075bb82c3e
Update svn:ignore and .gitignore
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11777 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 22:39:07 +00:00
danieldg
83454575bc
Fix compilation of some extras modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11776 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 22:25:43 +00:00
danieldg
5e1d239f3d
Work around BSD make chdir bug with symlinks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11775 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 15:39:46 +00:00
danieldg
d811ffeda2
Fix linking errors on BSD
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11774 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 02:21:43 +00:00
danieldg
7c1509e0a7
Fix compile errors on BSD
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11773 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 01:59:21 +00:00
danieldg
c7e9032358
Add directory change to unit-cc, to fix the immensely stupid BSD make behavior of changing directories
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11772 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 01:43:47 +00:00
danieldg
d5e36aa2b2
Fix warnings from BSD build and work around the failures of BSD make
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11771 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-28 00:55:42 +00:00
danieldg
3900997a09
Buildsystem updates
...
Add required compilation flags for interix
Fix build when perl is not in /usr/bin
Clean up unused file masks from .gitignore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11770 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-27 22:14:25 +00:00
danieldg
d7ee3683a4
Fix modules/extra symlinks when calculating dependencies
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11769 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-27 14:37:04 +00:00
danieldg
934d9a6a18
SendQ bugfixes
...
Fix DoWrite running on errored sockets
Add testnet module for sendq and shutdown testing
Prevent DoWrite from trying to write when writes are blocking
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11768 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-27 00:22:29 +00:00
danieldg
7c1352df0c
Compile fixes and message updates
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11767 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 17:28:25 +00:00
danieldg
7107ec12d8
Flexible SendQ
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11766 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 16:41:07 +00:00
danieldg
ee913368d7
Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to clarify their use
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11765 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 16:40:58 +00:00
danieldg
553b17b542
Clean up svn:keywords
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11764 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 14:28:49 +00:00
danieldg
6d03943426
Remove InspIRCd* parameters and fields
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 14:13:13 +00:00
danieldg
810c662c9b
Add FD_WANT_SINGLE_WRITE to efficiently replace FD_WANT_POLL_WRITE
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11762 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 14:12:45 +00:00
danieldg
f0bd730338
Take advantage of FD_READ_WILL_BLOCK and FD_WRITE_WILL_BLOCK to reduce syscalls run by gnutls
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11761 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 14:12:32 +00:00
danieldg
939cb0ba98
Clean up SocketEngine interface to allow edge-triggered I/O and sockets that do not force readability.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11760 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-26 01:43:09 +00:00
danieldg
c8026bc2d7
Move configuration filename specification to start script, to reduce hardcoded paths in executable
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11759 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-24 01:44:29 +00:00
danieldg
58895f9b1d
Run configure -update on all svn/git changes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11758 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22 01:06:00 +00:00
danieldg
7d93921aab
Describe module purpose in /MODULES output
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-22 01:05:35 +00:00
danieldg
9f2e1f9019
Improve speed of SSL sendq processing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11756 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 21:39:52 +00:00
danieldg
cb1a0e5612
Fix RSQUIT/RCONNECT routing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11755 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 19:54:24 +00:00
danieldg
3400b094ef
Allow objects to be added to cull list during apply - fixes user deletion on netsplit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11754 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 18:42:47 +00:00
danieldg
4f6589e123
Don't try to write to dead users, add debug to SquitServer, and remove a string copy in spanningtree write
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11753 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 17:16:28 +00:00
danieldg
e2af2347fc
Create StreamSocket for IO hooking implementation
...
Fixes the SSL SendQ bug
Removes duplicate code between User and BufferedSocket
Simplify SSL module API
Simplify EventHandler API (Readable/Writeable moved to SE)
Add hook for culled objects to invoke callbacks prior to destructor
Replace SocketCull with GlobalCull now that sockets can close themselves
Shorten common case of user read/parse/write path:
User::Write is now zero-copy up to syscall/SSL invocation
User::Read has only two copy/scan passes from read() to ProcessCommand
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11752 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 13:26:31 +00:00
danieldg
16fc672b68
Remove mistaken duplicate check for fake users
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11751 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 02:11:32 +00:00
danieldg
924bde50a2
Always use user->SplitChanList in whois reply [jackmcbarn]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11750 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 02:10:12 +00:00
danieldg
13618fb4e5
Add channames module [jackmcbarn]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11749 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 02:08:55 +00:00
danieldg
a69a7d1dd1
Prevent fake users from quitting
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11748 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-21 02:08:41 +00:00
danieldg
a068c47d71
Separate spy channels [jackmcbarn]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11747 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-18 17:07:13 +00:00