Commit graph

26 commits

Author SHA1 Message Date
jesopo
9c4902dcfe "EventsResultsError"->"EventResultsError", move errors to utils.error 2019-11-18 12:06:59 +00:00
jesopo
621fb0b396 event["channel"] -> event["target"] 2019-09-15 21:31:31 +01:00
jesopo
203216d94d Switch more settings to FunctionSettings 2019-09-04 14:27:10 +01:00
jesopo
8a4d5b3123 Add ability to prevent users specifying their own dns nameservers 2019-09-02 14:33:12 +01:00
jesopo
e1da095023 support per-channel dns nameservers 2019-09-02 14:23:51 +01:00
jesopo
03c7e8f066 return matching string from buffer.find() as most uses were redundantly regexing 2019-08-13 13:48:03 +01:00
jesopo
81a077c43a Show TTL for each record type from !dns
closes #102
2019-08-12 15:49:28 +01:00
jesopo
bc0af579d0 move record type out of try, .upper() it 2019-08-02 17:42:57 +01:00
jesopo
bdc4164e05 put a 4-second lifetime timeout on dns requests 2019-07-16 16:58:40 +01:00
jesopo
1106b5842c allow @<nameserver> arg to be anywhere in !dns command 2019-07-16 16:52:41 +01:00
jesopo
51bed87b60 catch and prettify dns.exception.DNSException
closes #90
2019-07-09 12:18:52 +01:00
jesopo
ae9d099a41 Refactor set/channelset/serverset/botset in to 'utils.Setting' objects 2019-06-28 23:16:05 +01:00
jesopo
cd299d92eb catch and format "unknown record type" exceptions 2019-06-25 14:57:03 +01:00
jesopo
6f5c692606 Allow specifying of nameserver as '!dns <host> @1.2.3.4' 2019-06-25 14:50:30 +01:00
jesopo
e8ebaadd11 Improve !dns command, allow setting dns nameserver per-server 2019-06-25 14:32:51 +01:00
jesopo
5071bb1ed7 Actually capture IP addresses in groups 2019-06-03 16:49:25 +01:00
jesopo
268c5adb3c Add depends-on hashflags to relevant modules 2019-05-25 21:40:06 +01:00
jesopo
793d234a0b 'utils.http.get_url' -> 'utils.http.request', return a Response object from
utils.http.request
2018-12-11 22:26:38 +00:00
jesopo
cec97749e5 Make IP regex neater in modules/ip_addresses.py 2018-11-15 15:41:55 +00:00
jesopo
8ea6db9422 Standardise "Failed to load results" errors! 2018-10-20 20:53:24 +01:00
jesopo
773d11f6cb Change all instances of stdout.write+return to raise utils.EventError in
modules
2018-10-16 15:09:58 +01:00
jesopo
6b122523c0 Improve(?) IPv6 regex 2018-10-04 13:19:59 +01:00
jesopo
26b653555b Look back through scrollback to find ipv4/ipv6 addresses to get rDNS for 2018-10-04 12:15:15 +01:00
jesopo
b778ad2902 Support denoting command response [prefix] in docstring 2018-10-04 11:04:24 +01:00
jesopo
ded6ff03ce Also catch gaierror in !rdns, print e.strerror instead of str(e) 2018-10-04 10:29:22 +01:00
jesopo
078891127d Combile modules/dns.py and modules/geoip.py in to modules/ip_addresses.py, add
!rdns command
2018-10-04 10:18:44 +01:00