summaryrefslogtreecommitdiffstats
path: root/meta.pl
Commit message (Collapse)AuthorAge
* Only load ASM::DB if use of database is not disabled.HEADmasterLibravatarKrytarik Raido2022-10-21
| | | | This drops DBIx::Class as requirement otherwise.
* Disable DNS debug info.LibravatarUnit 1932021-02-03
|
* Make wordlist.txt, proxy.txt, nick_blacklist.txt optionalLibravatarJanik Kleinhoff2017-02-12
| | | | | | | | | | | | | | | | wordlist is used exclusively by garbagemeter which has been disabled for quite a while. We'd probably be better off using a config-defined path anyway so people can point the bot at /usr/share/dict/words or the local equivalent. The proxy list is most likely completely out of date. We have DNSBLs for this anyway. The nick blacklist is inflexible; nick blacklisting with an added reason can already be done via the rules file. Note that the functionality is not removed for now to avoid breaking compatibility.
* Remove DCC supportLibravatarJanik Kleinhoff2016-12-26
| | | | All this allowed was spying on channels.
* Split 'pass' option into 'server_pass', 'account_pass'LibravatarJanik Kleinhoff2016-12-25
| | | | | | | | | | | | | | | | Also remove the --pass command-line option for now and introduce a backward compatibility check that warns when the old option is encountered. This check is now placed with the mysql option checks in a dedicated function. --- So one day, I looked over the AntiSpamMeta console log and noticed NickServ was echoing back part of the password to us in a "no such username" error. This is due to us using the 'pass' option for both nickserv and server password, so we sent PASS NickServPassword. However, the password happened to have a ':' in it, so services interpreted it as a user:password combination.
* Use DBIx::ClassLibravatarJanik Kleinhoff2016-10-28
| | | | | For now this is a relatively quick-and-dirty transition, but this enables us to reuse ASM::DB from the website. Yay
* Add a version command.LibravatarDoug Freed2016-07-14
| | | | | | | | | *NOTE*: Reflects the state of git only at the time the bot is started. Version is not updated in any way at runtime. First field is the newest commit that exists both locally and on GitLab. Second field is the output of `git describe --all --long --dirty`. Third field is the latest commit locally.
* BOOM GOES THE XMLLibravatarJanik Kleinhoff2016-03-13
| | | | | | | | | | | | This likely introduces twenty new bugs, but on the other hand it avoids twenty thousand other issues (most of them relating to XML::Simple doing the utterly wrong things all the time and configuration merely mitigating the issues, rather than fixing the core problem) so chances are it's more than worth it. We check if there's shiny new JSON-based config in place already; if not, we try to load XML config and convert it to the new format. The old config files are left untouched in case we fucked up somehow.
* Stash an account to nick mappingLibravatarDoug Freed2016-02-09
|
* Register inspect hooks inside the inspect function, no longer inspect topic ↵LibravatarWilliam Heimbigner2016-01-14
| | | | changes, possibly break quit inspection, and move the DNS resolver to a global var
* Add vim modelines and fix inconsistent indentationLibravatarDoug Freed2016-01-14
|
* Eliminate some unneeded global variables (and consequently, some warnings)LibravatarWilliam Heimbigner2016-01-14
|
* Move channel logging hooks into the logging module, rather than calling them ↵LibravatarWilliam Heimbigner2016-01-14
| | | | from the event module.
* Move Statsp-logging stuff from Event.pm into a separate moduleLibravatarWilliam Heimbigner2016-01-14
|
* Register services-processing handler inside the services module, rather than ↵LibravatarWilliam Heimbigner2016-01-14
| | | | having it be called by the Event module
* Register command-processing handlers inside of the command module, rather ↵LibravatarWilliam Heimbigner2016-01-14
| | | | than having the event handler module call the command handler module
* Remove commands.xml, move everything kinda-nicely into the main Commander ↵LibravatarWilliam Heimbigner2016-01-14
| | | | module.
* Process DNS lookups when syncing ban/quietlists asynchronouslyLibravatarWilliam Heimbigner2016-01-14
|
* More bugfixes and improvementsLibravatarDoug Freed2016-01-13
| | | | | | | | | | - Request and save the real IP when syncing - Handle our nick not matching what we want it to be when we're kicked - Minor style consistency fix - Greatly improve channel syncing - Retrieve hostname/IP bans and quiets better - Clean up generation of reversed IP for DNSBL checking - Improve getHostIP's detection of real hostnames
* Get rid of string_blacklist related stuff.LibravatarWilliam Heimbigner2016-01-13
|
* Added the ability to do connection debugging in Net::IRC without doing ↵LibravatarWilliam Heimbigner2016-01-12
| | | | full-blown debugging, and made use of that feature in meta.pl. Also fixed the debugging output of Net::IRC to print to STDERR regardless of what debug method is used
* Disable Autovivification in all the things, enable autoflush on STDOUT, fix ↵LibravatarWilliam Heimbigner2016-01-12
| | | | some things in accountsToNicks
* Use Tie::CPHash to make %::sn and %::sc case-insensitiveish.LibravatarWilliam Heimbigner2016-01-07
| | | | | | | Clean up commands.xml and fix some bugs Add clone detection Minimize some excessive warnings Greatly improve syncing speed
* Create a fifo, relay it into masterchan (awesome for git web hook, and for ↵LibravatarWilliam Heimbigner2015-12-26
| | | | making dwfreed wonder how the bot is talking)
* General code cleanup (removing unused functions / old commented out code / etc.)LibravatarWilliam Heimbigner2015-12-25
|
* Require our custom version of Net::IRC by specifying version 0.90 or higherLibravatarWilliam Heimbigner2015-12-25
|
* Fix warnings for newer perlLibravatarDoug Freed2015-12-11
|
* Better services handlingLibravatarDoug Freed2015-12-04
|
* Ignore lag for 2 minutes after a netsplitLibravatarDoug Freed2015-11-26
|
* Rework module pathsLibravatarJanik Kleinhoff2015-09-24
|
* Allow running without a databaseLibravatarJanik Kleinhoff2015-09-04
| | | | | | This is mostly a workaround for the DB being a bit of a PITA to set up, but not all we do requires a DB so we might as well offer to run without one.
* More useful output on SIGALARMLibravatarDoug Freed2015-03-01
|
* removed very deprecated eline systemLibravatarWilliam Heimbigner2014-04-25
|
* added some things in gitignore,Libravataricxcnika2014-04-22
| | | | | | | | | | | | added connection tx/rx info to status reports, added exit, sync, and ping commands, bot says which channel a restricted person tries to use ops command on, blacklist system is more intelligent (reason, person adding, can be removed), added functionality for working with URLs, automatically retries to join channels that are throttled, make sure we send passwords to NickServ@services., fixed a scheduling loophole that was exploitable, greatly reduced startup warnings due to slow syncing
* all sorts of stuff changed. This is just one big code package updateLibravatarWilliam Heimbigner2013-10-23
|
* Added logging of kicks/bans/quiets/removes/klines/kills to a special SQL ↵LibravatarWilliam Heimbigner2013-03-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | table and corresponding text files Enabled SQL debugging Bugfix: Only attempt to determine a host's IP if it doesn't contain a '/' Updates to channels.xml and users.xml Adjusted ;userx add and ;userx flags such that A cannot give B a flag that A doesn't already have Tweaked the ;help command Fixed ;mship such that it will respond even if it can't see the nick provided. Tweaked ;status to give output in format like 7d22h18m3s instead of 9814798712 seconds Added a ;teredo helper command to give info on IPv6 teredo-tunneled connections Added a nick blacklist file (to counter bot nicklists). Added a english wordlist file, for "garbage" detection. Added ;investigate and ;investigate2 commands Added a way to not throttle info-risk threats Added special detection for a cycling botnet Added special detection for bots that join, say something, and immediately quit Added detection for ascii art Added detection for "garbage" text Added fuzzy-matching against a set of nicks Added "real IP" to state tracking and logging, which "decrypts" gateway/web and teredo IPs Moved sigalarm code into meta.pl Improved statsp tracking, and logs it to a file Ping-pong every 30 seconds, auto-reconnect on persistent lag. Ensure inspector routine is always called AFTER log-handling routines Fixed a state-tracking bug in topic change handling Fixed a state-tracking bug with nick changes Fixed some state-tracking bugs with mode changes Determine who is impacted when a quiet/ban mask is placed Fixed handling of CTCP SOURCE requests Added feature where it keeps a 30 line "backlog" of each channel in memory. Added the reason for parts and quits to text logging
* stats p tracking, better pingpong stuff, added an XML setting for a master ↵LibravatarWilliam Heimbigner2012-08-21
| | | | chan rather than having one hardcoded, state tracking for channel URL
* add another debug switchLibravatarWilliam Heimbigner2012-08-19
|
* Utilize debug printer, use terminal colors, fix a messed up variable ↵LibravatarWilliam Heimbigner2012-08-19
| | | | initialization, and hook perl's warning function to dump the last line received on IRC (requires modified Net::IRC library)
* Disabled message-sending-throttlingLibravatarWilliam Heimbigner2012-08-16
| | | | | | | | | | | | | | | | | | | | Added a command to view uptime/cpu/ram usage statistics The hilight/dehilight commands can accept a comma-separated list of nicks The exempt command is now deprecated A restriction-system has been added to replace the old exemption system, and also includes additional restrictions that can be added, such as "don't let this account use !ops" Added a plugin command, so other bots can have ASM generate alerts Updated users and flags Updated channel hilights Replaced code that shows up in several places to split a long privmsg into two parts with a utility function Added a detection class for fuzzy-matching against a nick blacklist Fixed some major memory leaks, the bot stays stable around 30MB rather than shooting up to 65MB after a couple of days The bot now uses nickserv REGAIN instead of ghost/release/nick Added channel modes, ban lists, and quiet lists to state tracking Ignore chanserv in netsplit detections Track time/setter when a topic is changed in a channel Monitor if a channel is set +r and is still +r 45 minutes later, if so generate an alert Print status and how long it took to sync once the bot has started and synced, and warn about failed syncings.
* make rules private, properly handle ghosting/releasing, added a proxy list, ↵LibravatarWilliam Heimbigner2012-05-30
| | | | much faster join/startup
* Add a global variable to keep track of when the bot was startedLibravatarWilliam Heimbigner2012-05-09
|
* Fixed a bug where the arguments to --pass and --config were considered ↵LibravatarWilliam Heimbigner2012-02-27
| | | | optional (thanks mauke)
* added DCC chat capabilities, plus sigalarm to self-die. DCC chat is still ↵LibravatarWilliam Heimbigner2012-02-08
| | | | very broken
* fixing bad code and a lack of ping repliesLibravatarWilliam Heimbigner2012-01-31
|
* State tracking of user accounts, use freenode's CAP features to avoid ↵LibravatarWilliam Heimbigner2012-01-29
| | | | whois'ing users and improve access control for bot's commands, remove some dead code
* Delete everything having to do with chanops priviledges, no one has ever used itLibravatarWilliam Heimbigner2012-01-26
|
* disable some odd channel counting stuff, print a message when it finds ↵LibravatarWilliam Heimbigner2012-01-26
| | | | itself banned from a channel, and some preliminary code to detect netjoins
* better logging, better flood detection, command ignoringLibravatarWilliam Heimbigner2007-11-25
|
* added a db command, improved the user set flags command, added linked ↵LibravatarWilliam Heimbigner2007-10-08
| | | | channels, added a showhilights command, eliminated flooding of alerts, fixed nickspam check, added something to watch chancounts.
* new commands like ;help, code optimizations, bugfixes, colors in the ↵LibravatarWilliam Heimbigner2007-07-26
| | | | messages, and more\!
* critical bug fix + code optimizationsLibravatarWilliam Heimbigner2007-07-04
|
* code optimizations, rehash bugfix, lots of cleanup, new hilights, removed ↵LibravatarWilliam Heimbigner2007-07-03
| | | | some old rules, added and improved some new rules
* lots of modularization done, needs testing and is unstableLibravatarWilliam Heimbigner2007-06-29
|
* modularized stuff, fixed alert logic, simplified stuff, updated TODOLibravatarWilliam Heimbigner2007-06-28
|
* memleak fix, better nick tracking, new commands, major security exploit fixLibravatarWilliam Heimbigner2007-06-28
|
* check gecos, record gecos, inspect gecos, and more hilightsLibravatarWilliam Heimbigner2007-06-28
|
* new commands, users, hilights, rules, bugfixes, and all sorts of other good ↵LibravatarWilliam Heimbigner2007-06-26
| | | | stuff
* Added filesLibravatarWilliam Heimbigner2007-06-06