summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-08Use national charset pointer instead of RFC charset pointer. Should fix hash ↵w00t
equivilancy checking, etc. Try this, Phoenix. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10871 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-08Fix silly oversight discovered by tra26 (thanks!) where the core tries to ↵brain
handle hash providers other than plaintext by direct string comparison, allowing someone to oper up by specifying the md5 sum of an md5 password, etc! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10870 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Disallow any messageflood parameter where x < 2 in +f x:y, prevents moronic ↵brain
behaviour like #pokeworld are doing here on chatspike. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10869 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Patch to allow bindings to all ips on an ipv4 only system where the build is ↵brain
ipv6 (e.g. how debian build it) -- thanks for the patch danieldg git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10867 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Make an error message more verbose to help usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10866 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Fix glitch before releasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10864 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Gyr!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10863 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Ugly ugly craq in here in the cleanup stuff. Can be done nicer with a ↵brain
template, like this git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10862 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07national_case_sensitive_map -> national_case_insensitive_map.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10861 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Thanks to Phoenix and MacGyver for their help on this.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10860 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Convert necessary match calls to use ASCII casemap.w00t
1.2 may now be made casemap-aware via a module setting national_case_sensitive_map to their own table, and resetting to the RFC table on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10859 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Move stuff to use ASCII map where required.w00t
Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07national_case_sensitive_map must be static, thanks to the match stuff being ↵w00t
static (this is a bit ugly, but necessary for now). Default to national charset map instead of rfc map, as modules may change the pointer. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10857 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Add InspIRCd::national_case_sensitive_map pointer, defaults to ↵w00t
rfc_case_insensitive_map. Modules may override this pointer to customise casemapping of nick/channel names. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10856 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Switch some stuff to use ASCII mapping rather than RFC.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10855 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Add ascii_case_insensitive_map, thanks MacGyver.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10854 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07Rename case_sensitive_map to rfc_case_sensitive_mapw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10851 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-07This should help on osx. No gaurantees, as i dont have that OS.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10850 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-05Make valdebug-unattended create the logging directory if necessary, and use ↵aquanight
sysopen with mode to open the logfiles rather than umasking. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10846 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-05Minor style cleanup to inspircd: Remove trailing spaces and use tabs for indentpsychon
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10845 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-04install .gdbargs to $(BASE) in make installbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10843 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Remove flood/threshold from example config.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10840 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Rip flood/threshold out of config classes also.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10839 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Remove lines_in and reset_due flood protection mechanism, recvq/sendq on ↵w00t
their own now fill this role, as we have proper penalties. This tidies up *a lot* of code, and also saves a further sizeof(time_t) + sizeof(unsigned int) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10838 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Remove m_operflood, add privs: users/flood/no-throttle & ↵w00t
users/flood/increased-buffers. This also saves another sizeof(bool) per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10837 e03df62e-2008-0410-955e-edbf42e46eb7
2008-12-01Remove OverPenalty, saves sizeof(bool) per user.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10836 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-30Remove unused variable (thanks to everyone who noticed it)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10835 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27Don't append server name to kill reasons.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10833 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-27Forward-port: Created commit fcadb0b: Change rm to force removal for ↵w00t
configureclean target, obsoletes debian patch. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10829 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Add OperPrefixMode::GetPrefixRank(), so +y is ranked above all other prefix ↵w00t
modes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10825 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Add missing docs, thanks KT.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10824 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Off-by-one without a rehash event, causes cores on loadw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10823 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Add m_operprefix, more simplified version of module written by Phoenix ↵w00t
(thanks!). Adds cmode +y, set on-join which grants opers an optional prefix status on the channel. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10822 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Don't check permission to +Q for remote users, probably fixes bug #619 ↵w00t
reported by yell0w. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10821 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-24Fix crashes in m_joinflood and m_nickflood, found by Schitz0, introduced by ↵w00t
commit f123b4f0081360e96dad620e5a143f983c1f3a04 (time()) conversion - the settings classes had pointers that were *never* initialised... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10819 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23Braunvieh!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10817 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23Update solutionsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10816 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-23Fix installer to work with the new name for the test confsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10815 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22start upload in a seperate dos windowbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10814 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22I have managed to do this without giving away any hostnames or usernames, so ↵brain
this is secure enough to be part of subversion. still wont release unless you have the correctly named winscp and putty profiles set to the right places, though git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10813 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22Add auto build step for site release. The actual batch file that does this ↵brain
wont be included in the build as it contains information relating to the webservers, users who want to do their own site release can roll their own batchfile. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10812 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-22Thread safety fixes to avoid crashes on rehash, dont reopen logs within the ↵brain
rehash thread. Put this in the safe part of the rehash operation, after the thread exits. Put a mutex around the part where the thread exits, just in case somehow there are two rehash threads exiting at the same time due to user muppetry. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10811 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-20Fix for potential crash with invalid prefixes (prefixes which are neither ↵brain
valid SID nor UID, but are a valid nickname, outdated protocol) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10810 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-17Fix recursion in QuitUserw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10809 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-16Don't burst expired X:, should help stop bounce wars..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10808 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-10Add alias for ALIS, closes bug #632.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10805 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-10Add Phoenix to regular contributors listw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10804 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-10Some doc updates.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10803 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-09Add a few modules to the example conf that were missing.dz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10801 e03df62e-2008-0410-955e-edbf42e46eb7
2008-11-08Tweak the example conf a bitdz
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10800 e03df62e-2008-0410-955e-edbf42e46eb7