Commit Graph

10 Commits

Author SHA1 Message Date
Lan Tian
a0246ccee2 general: add unit tests for >80% coverage
Includes a few minor fixes:
- frontend: support setting port for WHOIS server
- proxy: fix handling of very long lines
- proxy: refactor IP allowlist logic, parse allow IP list at startup
2023-05-06 00:23:28 -07:00
Yuhui Xu
823b639245 frontend: also filter whois privacy redacted lines (#34) 2021-08-28 22:02:03 -05:00
Lan Tian
5e0bc081e6 frontend: allow long lines if result is short 2021-06-21 00:57:26 +08:00
Lan Tian
5883015294 frontend: change behavior of whois shorten mode 2021-06-21 00:44:44 +08:00
Lan Tian
41329da7cb frontend: add generic whois shorten mode 2021-06-20 02:20:18 +08:00
Lan Tian
c617ae4e0a frontend: for DN42, filter more weird whois prefixes 2020-07-10 00:10:36 +08:00
Lan Tian
f2fbfed412 frontend: for DN42 also filter whois lines beginning with space 2020-07-10 00:03:19 +08:00
Lan Tian
721b3f6cc7 frontend: cleanup telegram replies 2020-06-29 13:44:48 +08:00
Lan Tian
43f087e51b Improve DN42 related whois handling 2020-04-10 12:33:56 +08:00
Lan Tian
abd0eda45b Add DN42 specific whois handling 2020-04-08 18:22:09 +08:00