uwhoisd
uwhoisd copied to clipboard
A 'Universal WHOIS' proxy server - you query it, it gives back the correct details
This one should definitely be implemented as an external module, I just it there to keep track of the changes in my fork: https://github.com/Rafiot/uwhoisd/blob/testing/uwhoisd/__init__.py#L224 https://github.com/Rafiot/uwhoisd/blob/testing/extra/uwhoisd.ini#L1879 Again, it requires redis.
Some servers will blacklist you if do to many queries. The main one I'm aware of is `whois.dns.lu` and I implemented rate limiting that way: https://github.com/Rafiot/uwhoisd/blob/testing/extra/uwhoisd.ini#L1868 https://github.com/Rafiot/uwhoisd/blob/testing/uwhoisd/__init__.py#L152 `whois.dns.lu=1 100` means...
I was reviewing the changes I did in my fork of `uwhoisd` and noticed I changed the logic for `prefixes` and `recursion_patterns`: https://github.com/Rafiot/uwhoisd/blob/testing/extra/uwhoisd.ini#L1903 https://github.com/Rafiot/uwhoisd/blob/testing/extra/uwhoisd.ini#L1925 vs https://github.com/kgaughan/uwhoisd/blob/master/extra/conf.d/prefixes.ini https://github.com/kgaughan/uwhoisd/blob/master/extra/conf.d/recursion-patterns.ini It was a...
Either move the code to run on top of asyncore (as it'll work on Python 2 and Python 3) or asyncio/tulip, with some method of having it still run on...
While uwhoisd isn't intended to be exposed to the outside world, some ratelimiting functionality would still be worthwhile. I've already checked in a token bucket implementation, but this needs to...
Sometimes the deamon needs to be restarted because of the following unhandeled Exception: [2016/05/10 16:07:59] {diesel} ERROR|-- Unhandled Exception in local loop -- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/diesel/core.py",...
It would be really nice to have a set of parsers to massage registry WHOIS output to a more standard format.
The idea being this would be to be able to support things like Nominet's [WHOIS2](http://www.nominet.org.uk/other/whois2/) service without major rewriting of the caching and querying code.
Take a read of this for inspiration: ``` https://github.com/jodrell/jwhois/blob/master/example/jwhois.conf ```
Right now it complains that it can't discover the address of the registrar WHOIS server in these cases. It ought to catching 'not found' errors from the registry and relaying...