9863 Commits

Author SHA1 Message Date
danieldg
26cd5393c9 Update m_cloaking to use free-form keys instead of weakening the hash IV
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11820 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 17:06:52 +00:00
peavey
892b3fde2f uhm, remove my debug output :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11819 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 14:13:49 +00:00
peavey
72f1e30cb3 Add building of inspircd_version.h to windows port and remove the overlapping values from inspircd_config.h. Use a similar uname-ish build of SYSTEM info string as well as using the same exact info for VERSION and REVISION as the *nixes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11818 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 14:06:35 +00:00
psychon
027668741c m_cloaking: Error out on "wrong" cloaking keys
Cloaking keys above 0x80000000 result in different hashes on 64-bit and 32-bit
boxes due to different integer overflow behavior. This means it should make
sense to catch those key and error out on them.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11817 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 12:15:06 +00:00
peavey
57e908f8ce Update Event and Request APIs for this module too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11816 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-10 10:27:07 +00:00
danieldg
6c8961f569 Update example configs for SSL changes [dKingston]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11815 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 22:41:05 +00:00
danieldg
67b53b588e private, who needs private...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11814 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 22:09:39 +00:00
danieldg
5815ca219e Fix hook finding code and error reporting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11813 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 22:07:46 +00:00
danieldg
611eda9412 Whoops, forgot to commit this file
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11812 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 21:33:50 +00:00
danieldg
ae4c387422 Move autoconnect next-server to TreeSocket::cull, and drop autoconnect reference once a connection is complete
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11811 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 21:31:50 +00:00
danieldg
b6a5e2bd14 Add server ports to ServerInstance->ports, enable SSL on them using OnHookIO
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11810 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-09 19:00:09 +00:00
danieldg
c4d6ce8c5e Add names for all modes (part 1 of named channel mode list)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08 23:34:01 +00:00
danieldg
7e843c22e1 Update Event and Request APIs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11808 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-08 23:29:21 +00:00
peavey
c440038736 Make mssql module compile, untested for now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11807 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 19:27:53 +00:00
danieldg
e2ccd93b0f Correctly ignore dummy argument to Version
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11806 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 17:50:59 +00:00
danieldg
f9717e35ca Take advantage of link errors to check API_VERSION at module load time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11805 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 16:50:48 +00:00
danieldg
2fabf1ccd1 Clean up m_chanprotect
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11804 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 16:47:06 +00:00
danieldg
f6f5e6c55b Counting should not be a programmer's job, I'm apparently bad at it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11803 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-06 05:07:24 +00:00
danieldg
085a8bc660 Add OnBuildNeighborList hook, replaces all uses of OnHostCycle
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11802 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 23:27:46 +00:00
danieldg
a082f5a323 Make builtin modes static to eliminate confusing destructor exception
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11801 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 20:18:45 +00:00
danieldg
b4a39a0cf7 Deny TR_NICK mode changes with an invalid nick parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11800 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 20:03:28 +00:00
danieldg
9336468f5b Run DelMode and DelModeWatcher in RemoveModule
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 15:43:28 +00:00
danieldg
98b2525070 Fix backwards HideWhoisServer check
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11798 e03df62e-2008-0410-955e-edbf42e46eb7
2009-10-05 14:06:03 +00:00
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