Instantly share code, notes, and snippets.

Embed
What would you like to do?
Every IP address in the UK Parliament netblock that has edited Wikipedia

The houses of parliament netblock is publicly listed:

https://apps.db.ripe.net/search/lookup.html?source=ripe&key=194.60.0.0%20-%20194.60.63.255&type=inetnum

Despite their unwillingness to reveal the UK parliament web proxies in an FOI request, wikipedia allows you to query for /24 blocks. 63 wikipedia queries later, and here's the list of every IP address that has made a wikipedia edit from the UK parliament netblock.

Guess which ones the proxies are (Its not the high numbers, they're the old ones)

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

This comment has been minimized.

adamjames commented Jul 29, 2014

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

@stuarthicks

This comment has been minimized.

stuarthicks commented Jul 29, 2014

Awesome.

@jonathan-fielding

This comment has been minimized.

jonathan-fielding commented Jul 29, 2014

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

@reedy

This comment has been minimized.

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

This comment has been minimized.

stevenmc commented Oct 20, 2017

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