Skip to content

Instantly share code, notes, and snippets.

@Jonty
Last active December 13, 2023 19:59
Show Gist options
  • Star 40 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save Jonty/aabb42ab31d970dfb447 to your computer and use it in GitHub Desktop.
Save Jonty/aabb42ab31d970dfb447 to your computer and use it in GitHub Desktop.
Every IP address in the UK Parliament netblock that has edited Wikipedia

The UK Houses of Parliament netblocks are publicly listed:

https://apps.db.ripe.net/db-web-ui/lookup?source=RIPE&type=inetnum&key=194.60.0.0%20-%20194.60.63.255 https://apps.db.ripe.net/db-web-ui/lookup?source=RIPE&type=inetnum&key=82.111.122.128%20-%2082.111.122.135 https://apps.db.ripe.net/db-web-ui/lookup?source=RIPE&type=inetnum&key=82.111.119.192%20-%2082.111.119.199 https://apps.db.ripe.net/db-web-ui/lookup?source=RIPE&type=inetnum&key=82.111.126.144%20-%2082.111.126.159 https://apps.db.ripe.net/db-web-ui/lookup?source=RIPE&type=inetnum&key=212.161.99.0%20-%20212.161.99.7

They were unwilling to reveal the UK parliament web proxies in an FOI request, so here's the list of every IP address that has made a Wikipedia edit from the UK parliament netblocks. Guess the proxies.

For an encore, here's the Prime Ministers office:

And for my final trick, the Government Secure Intranet proxies:

  • 62.25.106.209 7585 found (gateway-101.energis.gsi.gov.uk)
  • 62.25.109.196 2388 found (gateway-103.energis.gsi.gov.uk)
  • 195.92.40.49 7977 found (gateway-202.energis.gsi.gov.uk)
  • 62.25.109.194 4316 found (gateway-301.energis.gsi.gov.uk)
  • 62.25.109.196 2388 found (gateway-303.energis.gsi.gov.uk)
  • 195.92.206.244 17 found (gateway-403.energis.gsi.gov.uk)
  • 195.92.206.243 92 found (gateway-402.energis.gsi.gov.uk)

Many thanks to @russss, who did a lot of the GSI digging.

PRESS:

This data has been used by Channel 4 to dig up all sorts of things:

Other coverage:

And Channel 4 started a twitter bot using the data:

--@jonty

@adamjames
Copy link

You rock, Jonty. Thanks for making my life easier in future.

@stuarthicks
Copy link

Awesome.

@jonathan-fielding
Copy link

This is really cool, don't post this publicly though, Anonymous might get hold of the IP and attack our govenment 😋

@reedy
Copy link

reedy commented Jul 29, 2014

For anyone wanting to do queries of these contribs.. you can use the api!

https://en.wikipedia.org/w/api.php?action=query&list=usercontribs&uclimit=max&ucuserprefix=194.60.62.

@stevenmc
Copy link

https://apps.db.ripe.net/search/full-text.html#resultsAnchor#resultsAnchor
Search for "Houses of Parliament"
There's more:

  • domain: 10.60.194.in-addr.arpa
  • domain: 38.60.194.in-addr.arpa
  • inetnum: 82.111.119.192 - 82.111.119.199
  • inetnum: 82.111.126.144 - 82.111.126.159
  • inetnum: 82.111.122.128 - 82.111.122.135
  • inetnum: 212.161.99.0 - 212.161.99.7
  • inetnum: 62.189.177.232 - 62.189.177.239
  • inetnum: 194.60.0.0 - 194.60.63.255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment