Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-ocserv
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docker-ocserv
Commits
15f1096e
Commit
15f1096e
authored
Feb 11, 2015
by
Tommy Lau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update route.txt with more ip routes
parent
9eaa42ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
domains.txt
domains.txt
+6
-1
route.py
route.py
+1
-2
route.txt
route.txt
+5
-1
No files found.
domains.txt
View file @
15f1096e
...
@@ -41,7 +41,10 @@ static.xx.fbcdn.net
...
@@ -41,7 +41,10 @@ static.xx.fbcdn.net
scontent-a-sin.xx.fbcdn.net
scontent-a-sin.xx.fbcdn.net
scontent-b-sin.xx.fbcdn.net
scontent-b-sin.xx.fbcdn.net
fbcdn-profile-a.akamaihd.net
fbcdn-profile-a.akamaihd.net
1.9.56.194
80.239.178.49
fbexternal-a.akamaihd.net
fbexternal-a.akamaihd.net
23.62.109.81
fbcdn-sphotos-d-a.akamaihd.net
fbcdn-sphotos-d-a.akamaihd.net
bit.ly
bit.ly
...
@@ -71,8 +74,10 @@ instagram.com
...
@@ -71,8 +74,10 @@ instagram.com
54.236.116.18
54.236.116.18
107.23.173.176
107.23.173.176
i.instagram.com
i.instagram.com
54.236.180.84
54.84.23.82
54.84.62.9
54.84.154.64
54.84.154.64
54.236.180.84
telegraph-ec2proxy.instagram.com
telegraph-ec2proxy.instagram.com
54.152.147.196
54.152.147.196
help.instagram.com
help.instagram.com
...
...
route.py
View file @
15f1096e
...
@@ -28,8 +28,7 @@ def get_decimal_ip(ip):
...
@@ -28,8 +28,7 @@ def get_decimal_ip(ip):
def
query_cidr
(
ip
):
def
query_cidr
(
ip
):
url
=
"http://whois.arin.net/rest/nets;q=
%
s?showDetails=true&showARIN=false&ext=netref2"
%
ip
url
=
"http://whois.arin.net/rest/nets;q=
%
s?showDetails=true&showARIN=false&ext=netref2"
%
ip
f
=
urllib2
.
urlopen
(
url
)
f
=
urllib2
.
urlopen
(
url
)
ss
=
f
.
read
()
root
=
xml
.
etree
.
ElementTree
.
fromstring
(
f
.
read
())
root
=
xml
.
etree
.
ElementTree
.
fromstring
(
ss
)
net_block
=
root
.
find
(
"{http://www.arin.net/whoisrws/core/v1}net"
)
.
find
(
net_block
=
root
.
find
(
"{http://www.arin.net/whoisrws/core/v1}net"
)
.
find
(
"{http://www.arin.net/whoisrws/core/v1}netBlocks"
)
.
find
(
"{http://www.arin.net/whoisrws/core/v1}netBlock"
)
"{http://www.arin.net/whoisrws/core/v1}netBlocks"
)
.
find
(
"{http://www.arin.net/whoisrws/core/v1}netBlock"
)
start_address
=
net_block
.
find
(
"{http://www.arin.net/whoisrws/core/v1}startAddress"
)
.
text
start_address
=
net_block
.
find
(
"{http://www.arin.net/whoisrws/core/v1}startAddress"
)
.
text
...
...
route.txt
View file @
15f1096e
route = 1.0.0.0/255.0.0.0
route = 4.0.0.0/255.0.0.0
route = 4.0.0.0/255.0.0.0
route = 8.0.0.0/255.0.0.0
route = 8.0.0.0/255.0.0.0
route = 23.32.0.0/255.224.0.0
route = 23.32.0.0/255.224.0.0
...
@@ -9,7 +10,6 @@ route = 54.80.0.0/255.240.0.0
...
@@ -9,7 +10,6 @@ route = 54.80.0.0/255.240.0.0
route = 54.144.0.0/255.240.0.0
route = 54.144.0.0/255.240.0.0
route = 54.160.0.0/255.240.0.0
route = 54.160.0.0/255.240.0.0
route = 54.208.0.0/255.248.0.0
route = 54.208.0.0/255.248.0.0
route = 54.216.0.0/255.252.0.0
route = 54.224.0.0/255.240.0.0
route = 54.224.0.0/255.240.0.0
route = 54.236.0.0/255.254.0.0
route = 54.236.0.0/255.254.0.0
route = 62.0.0.0/255.0.0.0
route = 62.0.0.0/255.0.0.0
...
@@ -28,10 +28,14 @@ route = 141.0.0.0/255.0.0.0
...
@@ -28,10 +28,14 @@ route = 141.0.0.0/255.0.0.0
route = 173.194.0.0/255.255.0.0
route = 173.194.0.0/255.255.0.0
route = 173.252.64.0/255.255.192.0
route = 173.252.64.0/255.255.192.0
route = 184.154.0.0/255.255.0.0
route = 184.154.0.0/255.255.0.0
route = 185.0.0.0/255.0.0.0
route = 192.0.64.0/255.255.192.0
route = 192.0.64.0/255.255.192.0
route = 199.16.156.0/255.255.252.0
route = 199.16.156.0/255.255.252.0
route = 199.92.0.0/255.252.0.0
route = 199.92.0.0/255.252.0.0
route = 199.96.56.0/255.255.248.0
route = 199.96.56.0/255.255.248.0
route = 203.0.0.0/255.0.0.0
route = 203.0.0.0/255.0.0.0
route = 204.69.221.0/255.255.255.0
route = 204.69.221.0/255.255.255.0
route = 204.160.0.0/255.252.0.0
route = 206.32.0.0/255.252.0.0
route = 207.108.0.0/255.254.0.0
route = 210.0.0.0/255.0.0.0
route = 210.0.0.0/255.0.0.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment