8225 Commits

Author SHA1 Message Date
bricker
4ac568dd5c ya, adding some stuff with DEV LEVEL ACCESS (sorry)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9834 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-03 06:51:17 +00:00
special
45d1d44c5f Only prepare epoll for 25% of maxfds initially; it will grow beyond that as necessary, but it's pretty unusual to be loading your server that much. Should save some kernel memory, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9832 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 18:36:08 +00:00
brain
d7c21331eb Remove limits on assigning of oper types. Theres no practical reason to restrict these to nicklen length
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9831 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 18:22:42 +00:00
peavey
9759b69735 Improve debug output on a few key methods of epoll socketengine, a must when coding for the socket engine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9830 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 17:17:17 +00:00
w00t
445927aa6c Fix warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9829 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 14:25:48 +00:00
brain
ada434820d Add ProtocolInterface::Introduce() to prevent confusion over event ordering, and allow for more flexible protocol use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9827 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-01 14:18:07 +00:00
w00t
0620c97abd Forward port r9825: Fix bug found by the atheme migration testing: +V should never affect INVITE from a remote issuer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9826 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-31 18:44:15 +00:00
bricker
2c967f564b and another rev bites the dust..thanks dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9824 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-31 16:58:17 +00:00
bricker
e2928ddd2c fix. thanks jackmcbarn and special.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9823 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-31 16:40:49 +00:00
bricker
28e47d6ac2 make the +J msg a little more coherent
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9822 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-31 16:28:49 +00:00
bricker
0a3cdb73b6 removed duplicate quotes. Thanks jackmcbarn
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9821 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 20:48:16 +00:00
bricker
2e450a179f fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9820 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 20:20:02 +00:00
bricker
444ceed0af inspircd allows him to
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9819 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 20:18:55 +00:00
bricker
74cea87820 If Chuck Norris and InspIRCd met in a dark alley, Chuck Norris would get his first black eye. Ever.
and lots more :D:D

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9818 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 20:12:56 +00:00
brain
7547509db9 Apply patch to fix ipv6 builds, contributed by danieldg, thanks :-)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9817 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 18:46:36 +00:00
peavey
a82e3bb5ae Finally get the headers right on this module.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9815 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-29 02:04:26 +00:00
peavey
2da4014eb2 revert this 1 revision back, since it fell victim to collateral damage of the latest refactor spree.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9814 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-28 23:59:04 +00:00
brain
44ac35082c Fix error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9812 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-26 12:52:28 +00:00
brain
16ea016846 Eliminate string joining craq
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9811 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-26 12:44:54 +00:00
brain
c1c9dfe2bf Dont increment maxmodes at finalisation, it isnt used in the same way
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9810 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-26 12:17:38 +00:00
brain
f5151d1bbc All the limits were one less than specified in the config, so now we postincrement them all in configreader, this means we can just use them without all that +1 hackery in the code.
This DOES mean that from a protocol perspective the figures look a little odd, but they always did. :)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9809 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 21:09:04 +00:00
brain
d019781945 Add parsing of <limits> tag and finish documenting it, make all the values match sensibly by starting them all 'max' rather than some starting with it, some ending with it...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9808 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 18:00:55 +00:00
brain
a21b0c77e7 Example conf now with <limits> tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9807 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:50:44 +00:00
brain
01a8a8ca82 Give modestacker a serverinstance
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9806 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:39:22 +00:00
brain
ad2a7f64c4 More compile fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9805 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:38:17 +00:00
brain
c5de9cee03 Compile fixes, was forced to move some stuff around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9804 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:35:02 +00:00
brain
bae9f69eaf Remove the limits from here too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9803 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:32:57 +00:00
brain
7d7250484c First phase of conversion to dynamic limits on all the lengths, configured via the <limits> tag
(the tag isnt there yet, these all just run on defaults in the class constructor)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:30:43 +00:00
brain
e7b837ec5f Kick the client in the balls if they try STARTTLS after client registration
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9801 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-24 12:12:46 +00:00
brain
813bc55a84 Fix memory leak if we send STARTTLS twice, thanks special and psychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9800 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-24 12:05:08 +00:00
brain
b87565e344 Add interesting test case
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9799 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 23:42:53 +00:00
brain
2695c489cc There is no need for char* here any more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9798 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 19:07:54 +00:00
brain
7e4b668040 Fix this to not have the same issue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9797 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 18:55:51 +00:00
brain
cf83031f7b NEVER use the two-param assign unless you want your string padding to len bytes with \0!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9796 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 18:52:40 +00:00
w00t
8684e3332c Don't copy vars (faster) and also avoid a crash (non-const -> const)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9795 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 18:11:16 +00:00
w00t
23b17c9b3a Fix this being broken over remote links
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9794 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 17:36:22 +00:00
brain
322cd2e592 Fix uuid generation to not generate ten character uuids, thanks nenolod
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9793 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 17:15:48 +00:00
aquanight
87dd84a972 Fix user->host not being assigned correctly for new connections
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9792 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 16:39:52 +00:00
brain
df2c1f5f76 Why are we using .compare() when we can use == ?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9791 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 05:15:49 +00:00
brain
24d34de00e Collision tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9790 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-23 05:13:57 +00:00
aquanight
a15f95e586 Implement Bug #533, Oper type-specific autojoins for m_operjoin via <type:autojoin>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9789 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-21 23:15:40 +00:00
brain
7cf509e036 Rename "lan or wan ip" -> public ip
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9788 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-21 22:30:28 +00:00
w00t
84237f6b23 Clean this up a bit, and log about ignoring link blocks due to missing attributes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9787 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-21 22:07:48 +00:00
bricker
e52435a2a8 update to tell them to try a LAN or a WAN IP, depending on how the box is setup, it matters.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9786 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-21 21:41:50 +00:00
brain
1b70f3861b Fix test suite to not have bugs itself (oops) and fix bugs in new cidr matching methods. This could do with some optimization, if you DO optimize this, test it after against the test cases: bin/inspircd --testsuite, option 5 from the menu
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9785 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-21 16:30:34 +00:00
w00t
4501f0ec9c Remove some of this, this isn't (strictly speaking) an issue now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9784 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-21 09:58:31 +00:00
w00t
6f15bf7aa0 Forward port r9782: show IP (not unknown) for unauthed connections
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9783 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-20 22:30:10 +00:00
brain
2be353eece A few minor fixes, some copy constructor stuff, misnamed channelmanager constructor, add files to vc8 project, configreader tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9780 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-20 18:29:15 +00:00
w00t
a4a6c0e8b0 Add note to check other server on this message
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9779 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-20 16:53:29 +00:00
w00t
dce206a986 Update comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9778 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-20 15:35:21 +00:00