ramblingjordan / AbBOT-python

MIT License
25 stars 15 forks source link

Updated and sorted ips list elements #28

Closed Digital-Black closed 3 years ago

Digital-Black commented 3 years ago

Added 200 new IP address ranges to ips list from several new cities. Sorted the list first by city and then numerically. Checked for and cleared duplicate entries using http://www.mynikko.com/tools/tool_duplicateremover.html Checked for and fixed syntax errors using the PyCharm IDE.

As xmyip.com appears to list cities in Texas with a natural bias in favor of highest traffic, new IP address additions were iteratively added so as to best blend in with the most likely natural traffic rather than using the full 0 - 255 range of each IP.

Partly inspired by SeanKilleen's great point about sister projects, I sorted the list to aid in future maintenance as it had become slightly difficult to appropriately add to when Dallas and Houston were added to at random.

Cities remain annotated in this update for general information and to enable address-specific reports if the web form ever demands reports come from similar geographic areas. (A report coming from a Austin area could feasibly connect to a Houston IP).

andria-dev commented 3 years ago

@Digital-Black This might be more useful in the AbBOT-api repository since we're working towards replacing the data.py with a call to an AbBOT-api server.

Digital-Black commented 3 years ago

@andria-dev Thanks for the heads up, I checked the AbBOT-api repository and it looks like it hasn't yet received new IP address ranges, so I'll make a pull request over there.