6770 Commits

Author SHA1 Message Date
brain
6b453db541 Fix for bug #393, needs QA and backport
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7765 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-20 00:12:53 +00:00
brain
fc8b284c2a Add <hostchange:ports> to the m_hostchange module to implement feature in bug #363
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7762 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 20:52:57 +00:00
brain
cf4439ac5c Add <connect:maxchans> as per feature bug #338 - combined with the last feature, this allows per-oper specific maxchans values, and even the same for non-opers!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7761 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 20:14:05 +00:00
brain
c61fac32bc Allow changing of an oper's host on oper up using <type:class> (give it a connect allow or deny line name) - implements bug #367
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7760 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 19:23:53 +00:00
brain
9130c31f74 Document connect:parent and connect:name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7759 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 19:09:29 +00:00
brain
1c18eb24fa Add <connect:inherit> and <connect:name>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7758 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 19:06:35 +00:00
brain
9f1cefca61 Add extra stuff to make it work (and compile)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7757 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 17:16:50 +00:00
brain
49006f6330 Add some connect class stuff that is required for bug #367 plus some roadmap stuff (inherit one connect class from another, etc)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7756 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 17:04:45 +00:00
brain
bdeccadcac Add 'A record' blacklist types. This will probably only go into 1.2, and needs some testing at some point.
Can someone please provide a working example for the wiki page, as i don't know of any such blacklists to test against.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7754 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 16:25:59 +00:00
brain
df4f0dc888 Allow support for multiple dns results per request. This is a significant change and should probably not be backported to stable.
This will allow for a fix to feature request bug #384


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7753 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 16:00:57 +00:00
brain
dfdb324f67 Add load warning, as suggested by Bricker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7751 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 15:27:23 +00:00
brain
e24540666c Pick up a few error conditions we didnt before in the config reader, and also increment line number correctly when 'real' newline is found in a value
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7749 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 14:07:25 +00:00
brain
9f58ebc0b1 Fix some /who oddities, fixes bug #383 amongst other issues. Nothing serious.
Ability to see users who share a common channel with you in /who *wildmask* now.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7746 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 13:36:41 +00:00
special
05c9585727 Added proper header handling, persistant connections, and working timeouts to m_httpd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7743 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 11:03:27 +00:00
special
bb1b08b035 Improved compatibility with the JSON-RPC specification; beware, major overhauls are afoot.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7742 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 05:29:15 +00:00
special
3eed8d8021 Fixed a crash within the timeout for m_httpd sockets
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7740 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-19 05:00:12 +00:00
special
9799eabcfd Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolod
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7737 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-18 14:40:19 +00:00
burlex
a9c356d140 * Fixed bug in m_banredirect where removing a ban on a channel with maxbans set would result in a "ban list full" message.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7735 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-17 19:43:42 +00:00
w00t
b22a79da8d Change to virtual
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7733 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-17 14:57:52 +00:00
special
3bbc954b77 Fixed bug #390 (broken m_chanprotect noservices)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7730 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-16 05:27:39 +00:00
brain
2f02a16a12 Removal of ifdef
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7728 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 21:44:46 +00:00
brain
dab5de9885 Fixed, i forgot the virtual when implementing this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7725 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 21:26:36 +00:00
brain
8eb405767d This is now correct.
No win32 #ifdefs in the base class, being as IOCPEngine is only built on windows we can put the code here without the need for ifdef.
The original check in socketengine_iocp was broken, copied burlex's fixed version into the child class


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7724 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 21:25:58 +00:00
burlex
8cebdce093 * include/caller.h will now compile correctly on Windows platforms.
+ Implemented gettimeofday in win32 wrapper, link rtt's will now display in milliseconds.
* SocketEngine::BoundsCheckFd will now handle Windows event handler cases correctly. (fixing writing to sockets not working)
* Fixed VC71 project.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7723 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 20:41:30 +00:00
brain
bb35a0fa9c Fix small typo found by danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7720 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 18:12:48 +00:00
special
6bdb96eef6 Changed m_messageflood to use PreMessage and PreNotice, because it may kick the user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7719 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-15 01:39:12 +00:00
peavey
e9d1efc1ae Fix new millisec /map to compile on windows, by ifndef gettimeofday out reverting back to seconds for latency.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7717 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13 22:16:41 +00:00
w00t
410ab3372b More changes from patch. Don't throttle opers due to server load.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7716 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13 12:21:56 +00:00
w00t
901a295078 Commit some changes from third party patch. Thanks Avenger and HiroP. Patch review is not finished, there may be more changes to come.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7715 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-13 12:17:00 +00:00
brain
670247683c Fix this so it works.
OBVIOUS WARNING FOR THE DUMB: Dont go overwriting .so files at random to test this, you WILL crash your ircd if you do this improprerly, this is a feature of the linux shared object loader.
If you want to test this, try with:    rm cmd_whatever.so && echo "TESTTEST" >cmd_whatever.so, do NOT just do the echo.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7713 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 12:17:07 +00:00
brain
9595db021d Allow rehash to attempt to load missing (and new) lib/cmd_*.so files, to allow users to fix an emergency situation you can create by trying to reload a corrupt .so without needing a restart
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7712 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 12:05:31 +00:00
brain
0f4caa7698 Make the return codes correct, and allow for LoadCommand without a user pointer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7710 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 11:34:32 +00:00
brain
8683e1c80d Provide error output on failure to load a core command; to console on startup, and to user on /reload
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7708 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 11:29:15 +00:00
peavey
0d59b84eb1 Fix a typo so it compiles.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7702 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-11 08:46:44 +00:00
brain
5f67bfbc8e Fix possible sqllog crash (working blind here!) where it could attempt to delete a pointer without knowing if that pointer was valid. (NEVER EVER use operator[] to lookup a map value, always use ::find())
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7700 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-10 21:07:41 +00:00
w00t
ddbde20598 Fix non-opers using who on themselves when set +i
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7698 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-10 17:02:20 +00:00
brain
83ca117cdc Patch from djGrrr that correctly detects epoll on fedora 7, which SMRTly decided not to put libc.so.6 in /lib, or even symlink /lib to lib64...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7696 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09 22:00:40 +00:00
brain
205b53ea73 Make sure that dns sockets never block (thanks djGrrr)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7694 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09 21:53:56 +00:00
w00t
b42e3e0578 Remove an un-needed define while I poke around in here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7693 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09 19:49:01 +00:00
w00t
b95d14170a Show <unknown> instead of an empty string on CAPAB failure, spotted by djGrrr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7691 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09 16:39:54 +00:00
brain
8f96d16b4b Fix for bug #379 reported by stealth. Trigger watch signon/signoff on +Q and -Q
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7689 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-09 16:20:28 +00:00
brain
5e98adde5d Feature request from djGrr, allow changing of server to server ping frequency
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7686 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-07 21:44:44 +00:00
brain
c67ab9aa97 Check for remote and sighup rehashes here, so that it doesnt crash if there are ports that cant be bound
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7684 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-07 00:19:13 +00:00
brain
475a7d2aa8 Part of our fix didnt make it to here!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7682 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-06 23:35:44 +00:00
w00t
3ad71f1593 Reset connect class settings on DNS resolution as we should.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7680 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-06 19:55:09 +00:00
brain
08e458938a Fix warning in 4.2 gcc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7678 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-06 09:16:01 +00:00
w00t
1155f2492c Fix m_deaf not restricting messages from remote users, fixes bug #378 reported by Skip
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7676 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-06 07:58:37 +00:00
w00t
4b1c5054ee This is supported in exemptchanops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7674 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 22:03:24 +00:00
w00t
ef79a3aced Add m_nickflood to example conf.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7673 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 21:55:27 +00:00
w00t
2deb4ce62f Logic cleanup for chanrec::JoinUser - why I didn't do this the other 3-4 times I've reworked this I don't know..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7670 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-05 19:51:57 +00:00