@@ -41,24 +41,12 @@ or with an array of start/end IP addresses:
4141These two are equivalent, but the former is a bit faster, and easier to read.
4242The latter is convenient if your range is difficult to express using a netmask.
4343
44- ### Transparency
45-
46- If you end up running an anon bot we would love to document the IP address
47- ranges you use for transparency purposes. Please add just the ranges
48- stanza of your onfig file to the ` conf ` directory. Name the file using your
49- Twitter account, e.g. for congressedits:
50-
51- conf/congressedits.json
52-
53- You can use a service like [ ARIN Online] ( http://whois.arin.net/ui ) to look up
54- IP address ranges by organization name.
55-
5644If you would like your configuration file to reference the IP addresses in
5745the external file just use the filename. So instead of:
5846
5947``` javascript
6048{
61- " nick" : " congressedits " ,
49+ " nick" : " anon1234 " ,
6250 " accounts" : [
6351 {
6452 " consumer_key" : " " ,
@@ -67,9 +55,8 @@ the external file just use the filename. So instead of:
6755 " access_token_secret" : " " ,
6856 " template" : " {{page}} Wikipedia article edited anonymously from {{name}} {{&url}}" ,
6957 " ranges" : {
70- " US House of Representatives" : [
71- [" 143.231.0.0" , " 143.231.255.255" ],
72- [" 74.119.128.0" , " 74.119.131.255" ]
58+ " Home Network" : [
59+ [" 192.168.1.1" , " 192.168.255.255" ]
7360 ]
7461 }
7562 }
@@ -81,15 +68,15 @@ you would have:
8168
8269``` javascript
8370{
84- " nick" : " congressedits " ,
71+ " nick" : " anon1234 " ,
8572 " accounts" : [
8673 {
8774 " consumer_key" : " " ,
8875 " consumer_secret" : " " ,
8976 " access_token" : " " ,
9077 " access_token_secret" : " " ,
9178 " template" : " {{page}} Wikipedia article edited anonymously from {{name}} {{&url}}" ,
92- " ranges" : " conf/congressedits .json"
79+ " ranges" : " ranges .json"
9380 }
9481 ]
9582}
0 commit comments