vizi_whois 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +64 -0
- data/Rakefile +45 -0
- data/build_gem1.bat +1 -0
- data/build_gem2.bat +1 -0
- data/build_gem3.bat +1 -0
- data/data/testfile.txt +4 -0
- data/data/testfile2.txt +10 -0
- data/data/testfile3.txt +209 -0
- data/doc/Object.html +200 -0
- data/doc/ParserTest.html +268 -0
- data/doc/README_rdoc.html +128 -0
- data/doc/Rakefile.html +148 -0
- data/doc/Visit.html +487 -0
- data/doc/VisitList.html +385 -0
- data/doc/Vizi/LogFormat.html +377 -0
- data/doc/Vizi/LogParser.html +551 -0
- data/doc/Vizi/Visit.html +487 -0
- data/doc/Vizi/VisitList.html +386 -0
- data/doc/Vizi.html +168 -0
- data/doc/ViziLogFormat.html +382 -0
- data/doc/ViziLogParser.html +551 -0
- data/doc/created.rid +8 -0
- data/doc/docs/Whois_Documentation.doc +0 -0
- data/doc/formats/apache-custom-log.pdf +0 -0
- data/doc/formats/apache.rtf +238 -0
- data/doc/formats/format-descriptions.xls +0 -0
- data/doc/formats/w3c-extended.pdf +0 -0
- data/doc/formats/w3c-extended.rtf +135 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +112 -0
- data/doc/js/darkfish.js +116 -0
- data/doc/js/jquery.js +32 -0
- data/doc/js/quicksearch.js +114 -0
- data/doc/js/thickbox-compressed.js +10 -0
- data/doc/lib/vizi/parser_rb.html +63 -0
- data/doc/lib/vizi/vizi_tracker_rb.html +63 -0
- data/doc/lib/vizi_log_parser_rb.html +56 -0
- data/doc/lib/vizi_tracker_rb.html +56 -0
- data/doc/rdoc.css +759 -0
- data/doc/test/parser_test_rb.html +54 -0
- data/doc/test/test_helper_rb.html +56 -0
- data/doc/testit_rb.html +63 -0
- data/geany_run_script.bat +6 -0
- data/lib/vizi/geany_run_script.bat +6 -0
- data/lib/vizi/vizi_whois.rb +189 -0
- data/lib/vizi_whois.rb +5 -0
- data/log/formatted.log +39 -0
- data/log/output.log +240 -0
- data/log/system.log +20 -0
- data/test/parser_test.rb +48 -0
- data/test/test_helper.rb +3 -0
- data/testgem.rb +44 -0
- data/testit.rb +44 -0
- data/vizi_whois.gemspec +18 -0
- metadata +144 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=IBM437" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: parser_test.rb [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="../js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="../js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="../js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="../js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file file-popup">
|
24
|
+
<div id="metadata">
|
25
|
+
<dl>
|
26
|
+
<dt class="modified-date">Last Modified</dt>
|
27
|
+
<dd class="modified-date">2011-05-11 20:32:49 -0400</dd>
|
28
|
+
|
29
|
+
|
30
|
+
<dt class="requires">Requires</dt>
|
31
|
+
<dd class="requires">
|
32
|
+
<ul>
|
33
|
+
|
34
|
+
<li>uri</li>
|
35
|
+
|
36
|
+
</ul>
|
37
|
+
</dd>
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
</dl>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<div id="documentation">
|
45
|
+
|
46
|
+
<div class="description">
|
47
|
+
<h2>Description</h2>
|
48
|
+
|
49
|
+
</div>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
</body>
|
53
|
+
</html>
|
54
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=IBM437" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: test_helper.rb [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="../rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="../js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="../js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="../js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="../js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file file-popup">
|
24
|
+
<div id="metadata">
|
25
|
+
<dl>
|
26
|
+
<dt class="modified-date">Last Modified</dt>
|
27
|
+
<dd class="modified-date">2011-05-11 20:32:49 -0400</dd>
|
28
|
+
|
29
|
+
|
30
|
+
<dt class="requires">Requires</dt>
|
31
|
+
<dd class="requires">
|
32
|
+
<ul>
|
33
|
+
|
34
|
+
<li>test/unit</li>
|
35
|
+
|
36
|
+
<li>ruby-debug</li>
|
37
|
+
|
38
|
+
</ul>
|
39
|
+
</dd>
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
</dl>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="documentation">
|
47
|
+
|
48
|
+
<div class="description">
|
49
|
+
<h2>Description</h2>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
</body>
|
55
|
+
</html>
|
56
|
+
|
data/doc/testit_rb.html
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=IBM437" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: testit.rb [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file file-popup">
|
24
|
+
<div id="metadata">
|
25
|
+
<dl>
|
26
|
+
<dt class="modified-date">Last Modified</dt>
|
27
|
+
<dd class="modified-date">2011-05-21 12:58:06 -0400</dd>
|
28
|
+
|
29
|
+
|
30
|
+
<dt class="requires">Requires</dt>
|
31
|
+
<dd class="requires">
|
32
|
+
<ul>
|
33
|
+
|
34
|
+
<li>c:\rails\vizi_tracker\lib\vizi_tracker</li>
|
35
|
+
|
36
|
+
<li>time</li>
|
37
|
+
|
38
|
+
<li>yaml</li>
|
39
|
+
|
40
|
+
<li>logger</li>
|
41
|
+
|
42
|
+
</ul>
|
43
|
+
</dd>
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
</dl>
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<div id="documentation">
|
51
|
+
|
52
|
+
<div class="description">
|
53
|
+
<h2>Description</h2>
|
54
|
+
|
55
|
+
<p>This is a sample application that uses the Vizitracker gem classes Modified
|
56
|
+
by ...</p>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
</body>
|
62
|
+
</html>
|
63
|
+
|
@@ -0,0 +1,189 @@
|
|
1
|
+
# This gem module provides a classes to find the right Regional Internet Registry
|
2
|
+
# for a given IP Address. The query method will navigate each major RIR until a
|
3
|
+
# response is found.
|
4
|
+
#
|
5
|
+
# Author:: Al Kivi <al.kivi@vizitrax.com>
|
6
|
+
# License:: MIT
|
7
|
+
|
8
|
+
module Vizi
|
9
|
+
# This class includes a set of methods to navigate and query the regional whois servers
|
10
|
+
class Gowhois
|
11
|
+
|
12
|
+
# This method will navigate each whois server until a response is found
|
13
|
+
def query (ipaddr)
|
14
|
+
s = "arin"
|
15
|
+
response = ruby_whois(ipaddr, s)
|
16
|
+
if response.index("(NET") # look for dual NET blocks in ARIN responses
|
17
|
+
t1 = response
|
18
|
+
netaddrs = response.scan(/\(NET-\w+\-\w+\-\w+\-\w+\-\w+\)/)
|
19
|
+
netaddr = netaddrs[netaddrs.length-1].scan(/NET-\w+\-\w+\-\w+\-\w+\-\w+/)
|
20
|
+
response = ruby_whois(netaddr[0], s)
|
21
|
+
end
|
22
|
+
if response.index("whois.ripe.net")
|
23
|
+
s = "ripe"
|
24
|
+
response = ruby_whois(ipaddr, s)
|
25
|
+
elsif response.index("whois.apnic.net")
|
26
|
+
s = "apnic"
|
27
|
+
response = ruby_whois(ipaddr, s)
|
28
|
+
elsif response.index("whois.lacnic.net")
|
29
|
+
s = "lacnic"
|
30
|
+
response = ruby_whois(ipaddr, s)
|
31
|
+
if response.length > 4000 # parse very long responses
|
32
|
+
lines = response.split(/\r\n/)
|
33
|
+
lines.delete_if { |e| e =~ /nserver:/ }
|
34
|
+
lines.delete_if { |e| e =~ /nsstat:/ }
|
35
|
+
lines.delete_if { |e| e =~ /nslastaa:/ }
|
36
|
+
lines.delete_if { |e| e =~ /inetrev:/ }
|
37
|
+
response=""
|
38
|
+
i=0
|
39
|
+
while i<lines.length
|
40
|
+
response = response+lines[i]+"\r\n"
|
41
|
+
i = i+1
|
42
|
+
end
|
43
|
+
end
|
44
|
+
elsif response.index("whois.afrinic.net")
|
45
|
+
s = "afrinic"
|
46
|
+
response = ruby_whois(ipaddr, s)
|
47
|
+
elsif response.length >250 and response.length < 500
|
48
|
+
str = response[100..250]
|
49
|
+
x = str.index("(")
|
50
|
+
y = str.index(")")
|
51
|
+
if x != nil and y != nil
|
52
|
+
net = str[x+1..y-1]
|
53
|
+
response = ruby_whois(net, s)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
ccode = get_country(response)
|
57
|
+
return response, ccode, s
|
58
|
+
end
|
59
|
+
|
60
|
+
# This method will parse the response to find the two character country code
|
61
|
+
def get_country (response)
|
62
|
+
temp = response.upcase
|
63
|
+
temp.delete!("\t")
|
64
|
+
temp.delete!(" ")
|
65
|
+
x = temp.index("COUNTRY:")
|
66
|
+
ccode = nil
|
67
|
+
if x != nil
|
68
|
+
ccode = temp[x+8..x+9]
|
69
|
+
elsif temp.index(".BR")
|
70
|
+
ccode = "BR"
|
71
|
+
else
|
72
|
+
ccode ="?"
|
73
|
+
end
|
74
|
+
return ccode
|
75
|
+
end
|
76
|
+
|
77
|
+
# This method the ruby version of the whois command function
|
78
|
+
def ruby_whois (send_string, host)
|
79
|
+
# p send_string + " .. " + host
|
80
|
+
if host.index(".") == nil
|
81
|
+
host = "whois."+host+".net"
|
82
|
+
end
|
83
|
+
add_string = ""
|
84
|
+
add_string = "n " if host == "whois.arin.net"
|
85
|
+
add_string = "n ! " if send_string.index("NET") == 0
|
86
|
+
s = TCPSocket.open(host,43)
|
87
|
+
s.write(add_string+send_string+"\n")
|
88
|
+
ret = ""
|
89
|
+
while s.gets do
|
90
|
+
ret += $_
|
91
|
+
end
|
92
|
+
s.close
|
93
|
+
return ret
|
94
|
+
rescue # rescue logic if not found
|
95
|
+
ret="Not found"
|
96
|
+
return ret
|
97
|
+
end
|
98
|
+
|
99
|
+
end
|
100
|
+
|
101
|
+
# This class will parse the response string from a Whois server
|
102
|
+
class Formatter
|
103
|
+
|
104
|
+
# This method will parse response string
|
105
|
+
def parse (contents, country, server)
|
106
|
+
name_list = ["COUNTRY","NETNAME","ORGNAME","ORG-NAME","CUSTNAME","OWNER","ADDRESS","DESCR","CITY","STATEPROV","POSTALCODE"]
|
107
|
+
country_list = ["GERMANY","UNITED KINGDOM","UK","ENGLAND","INDIA","NETHERLANDS","SPAIN","BELGIUM","PR CHINA","NORWAY"]
|
108
|
+
odd_list = ["EMAIL","CONTA","PHONE","ABUSE ","SENT ","SEND ","DATE ","ATTN ","INFRA","THIS ","ANTIA","*****","-----"]
|
109
|
+
|
110
|
+
formatted_file = File.open('./log/formatted.log', 'a')
|
111
|
+
|
112
|
+
a = contents.upcase.split(/\n/)
|
113
|
+
i = -1
|
114
|
+
line = [nil,nil]
|
115
|
+
lastname = nil
|
116
|
+
addressflag = false
|
117
|
+
country_count = 0
|
118
|
+
da_count = 0
|
119
|
+
netname_count = 0
|
120
|
+
darray = []
|
121
|
+
outstring = ""
|
122
|
+
formatted_file.puts '+ ------------------------------------------------------'
|
123
|
+
formatted_file.puts '+ '+ country + ' - ' + server.upcase
|
124
|
+
formatted_file.puts '+ ------------------------------------------------------'
|
125
|
+
while i < a.length-1
|
126
|
+
i = i + 1
|
127
|
+
line = [nil, nil]
|
128
|
+
goodline = true
|
129
|
+
current = a[i].chomp
|
130
|
+
if current.length < 2
|
131
|
+
goodline = false
|
132
|
+
else
|
133
|
+
goodline = false if current[0] == "%" or current[0] == "#"
|
134
|
+
end
|
135
|
+
if goodline
|
136
|
+
line = current.split(":")
|
137
|
+
if line[1].nil?
|
138
|
+
line[1] = ""
|
139
|
+
if lastname == "ADDRESS" and line[0] != line[0].lstrip
|
140
|
+
line[0] = lastname
|
141
|
+
end
|
142
|
+
else
|
143
|
+
addressflag = true if line[0] == "ADDRESS"
|
144
|
+
end
|
145
|
+
line[1] = line[1].lstrip.gsub(".","")
|
146
|
+
line[1] = line[1].lstrip.gsub(", ",",")
|
147
|
+
line[1] = line[1].lstrip.gsub(" ,",",")
|
148
|
+
line[1] = line[1].chomp(",")
|
149
|
+
country_count = country_count + 1 if line[0] == "COUNTRY"
|
150
|
+
da_count = da_count + 1 if line[0] == "DESCR" or line[0] == "ADDRESS"
|
151
|
+
netname_count = netname_count + 1 if line[0] == "NETNAME"
|
152
|
+
goodline = false if da_count > 10 or country_count > 4 or netname_count > 1
|
153
|
+
goodline = false if country_count > 1 and line[0] == "COUNTRY"
|
154
|
+
goodline = false if line[1][0] == "-"
|
155
|
+
goodline = false if country_list.index(line[1])
|
156
|
+
goodline = false if line[0] == "ADDRESS" and line[1] == country
|
157
|
+
goodline = false if odd_list.index(line[1][0..4])
|
158
|
+
goodline = false if addressflag and line[0] == "DESCR"
|
159
|
+
goodline = false if line[1].length < 2
|
160
|
+
goodline = false if darray.index(line[1])
|
161
|
+
darray << line[1] if goodline and (line[0] == "DESCR" or line[0] == "ADDRESS")
|
162
|
+
if goodline
|
163
|
+
country_count = country_count + 1 if line[0] == "COUNTRY"
|
164
|
+
da_count = da_count + 1 if line[0] == "DESCR" or line[0] == "ADDRESS"
|
165
|
+
end
|
166
|
+
else
|
167
|
+
line[0] = current
|
168
|
+
line[1] = ""
|
169
|
+
end
|
170
|
+
lastname = line[0]
|
171
|
+
if goodline
|
172
|
+
if name_list.index(line[0])
|
173
|
+
newline = line[0] + ': ' + line[1]
|
174
|
+
formatted_file.puts '+ ' + newline
|
175
|
+
outstring = outstring + newline + "\n"
|
176
|
+
else
|
177
|
+
# formatted_file.puts '. ' + line[0] + ':: ' + line[1]
|
178
|
+
end
|
179
|
+
else
|
180
|
+
# formatted_file.puts '- ' + line[0]
|
181
|
+
end
|
182
|
+
end
|
183
|
+
# formatted_file.puts '+ ' + country_count.to_s + ': ' + da_count.to_s
|
184
|
+
return outstring
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
end
|
189
|
+
|
data/lib/vizi_whois.rb
ADDED
data/log/formatted.log
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
+ ------------------------------------------------------
|
2
|
+
+ NL - RIPE
|
3
|
+
+ ------------------------------------------------------
|
4
|
+
+ NETNAME: ALTUSHOST-NET
|
5
|
+
+ DESCR: ALTUSHOST INC
|
6
|
+
+ COUNTRY: NL
|
7
|
+
+ ADDRESS: PO BOX 1106
|
8
|
+
+ ADDRESS: BELIZE CITY,BELIZE
|
9
|
+
+ ADDRESS: CENTRAL AMERICA
|
10
|
+
+ ------------------------------------------------------
|
11
|
+
+ US - ARIN
|
12
|
+
+ ------------------------------------------------------
|
13
|
+
+ NETNAME: GOOGLE-IPV6
|
14
|
+
+ ORGNAME: GOOGLE INC
|
15
|
+
+ ADDRESS: 1600 AMPHITHEATRE PARKWAY
|
16
|
+
+ CITY: MOUNTAIN VIEW
|
17
|
+
+ STATEPROV: CA
|
18
|
+
+ POSTALCODE: 94043
|
19
|
+
+ COUNTRY: US
|
20
|
+
+ ------------------------------------------------------
|
21
|
+
+ IN - APNIC
|
22
|
+
+ ------------------------------------------------------
|
23
|
+
+ NETNAME: YOUTELE
|
24
|
+
+ DESCR: YOU TELECOM INDIA PVT LTD
|
25
|
+
+ COUNTRY: IN
|
26
|
+
+ DESCR: YOU BROADBAND & CABLE INDIA LTD
|
27
|
+
+ ADDRESS: MILLENIUM ARCADE,2ND FLOOR
|
28
|
+
+ ADDRESS: ADAJAN-HAZIRA ROAD
|
29
|
+
+ ADDRESS: SURAT -395009,GUJARAT
|
30
|
+
+ ------------------------------------------------------
|
31
|
+
+ CA - ARIN
|
32
|
+
+ ------------------------------------------------------
|
33
|
+
+ NETNAME: METROBRIDGE-NET
|
34
|
+
+ ORGNAME: METROBRIDGE NETWORKS CORPORATION
|
35
|
+
+ ADDRESS: 918 - 1030 WEST GEORGIA STREET
|
36
|
+
+ CITY: VANCOUVER
|
37
|
+
+ STATEPROV: BC
|
38
|
+
+ POSTALCODE: V6E-2Y3
|
39
|
+
+ COUNTRY: CA
|
data/log/output.log
ADDED
@@ -0,0 +1,240 @@
|
|
1
|
+
----------------------------------------------------------------
|
2
|
+
> 79.142.69.69
|
3
|
+
>> NL
|
4
|
+
>>> ripe
|
5
|
+
----------------------------------------------------------------
|
6
|
+
% This is the RIPE Database query service.
|
7
|
+
% The objects are in RPSL format.
|
8
|
+
%
|
9
|
+
% The RIPE Database is subject to Terms and Conditions.
|
10
|
+
% See http://www.ripe.net/db/support/db-terms-conditions.pdf
|
11
|
+
|
12
|
+
% Note: this output has been filtered.
|
13
|
+
% To receive output for a database update, use the "-B" flag.
|
14
|
+
|
15
|
+
% Information related to '79.142.68.0 - 79.142.71.255'
|
16
|
+
|
17
|
+
inetnum: 79.142.68.0 - 79.142.71.255
|
18
|
+
netname: ALTUSHOST-NET
|
19
|
+
descr: AltusHost Inc.
|
20
|
+
country: NL
|
21
|
+
admin-c: AHN-RIPE
|
22
|
+
tech-c: AHN-RIPE
|
23
|
+
status: ASSIGNED PA
|
24
|
+
mnt-by: ALTUSHOST-MNT
|
25
|
+
mnt-by: ALTUSHOST-MNT
|
26
|
+
mnt-lower: ALTUSHOST-MNT
|
27
|
+
mnt-routes: ALTUSHOST-MNT
|
28
|
+
source: RIPE # Filtered
|
29
|
+
|
30
|
+
role: AltusHost - Contact Role
|
31
|
+
address: ALTUSHOST INC.
|
32
|
+
address: P.O. Box 1106
|
33
|
+
address: Belize City, Belize
|
34
|
+
address: Central America
|
35
|
+
phone: +1.2176507100
|
36
|
+
fax-no: +1.8012892788
|
37
|
+
abuse-mailbox: abuse@altushost.com
|
38
|
+
abuse-mailbox: abuse@nelux.net
|
39
|
+
admin-c: AHN-RIPE
|
40
|
+
tech-c: AHN-RIPE
|
41
|
+
nic-hdl: AHN-RIPE
|
42
|
+
mnt-by: ALTUS-MNT
|
43
|
+
source: RIPE # Filtered
|
44
|
+
|
45
|
+
% Information related to '79.142.64.0/20AS49544'
|
46
|
+
|
47
|
+
route: 79.142.64.0/20
|
48
|
+
descr: ALTUSHOST INC.
|
49
|
+
origin: AS49544
|
50
|
+
mnt-by: ALTUSHOST-MNT
|
51
|
+
source: RIPE # Filtered
|
52
|
+
|
53
|
+
|
54
|
+
----------------------------------------------------------------
|
55
|
+
> 66.119.167.210
|
56
|
+
>> CA
|
57
|
+
>>> arin
|
58
|
+
----------------------------------------------------------------
|
59
|
+
#
|
60
|
+
# The following results may also be obtained via:
|
61
|
+
# http://whois.arin.net/rest/nets;handle=NET-66-119-160-0-1?showDetails=true&showARIN=false
|
62
|
+
#
|
63
|
+
|
64
|
+
NetRange: 66.119.160.0 - 66.119.191.255
|
65
|
+
CIDR: 66.119.160.0/19
|
66
|
+
OriginAS: AS25976
|
67
|
+
NetName: METROBRIDGE-NET
|
68
|
+
NetHandle: NET-66-119-160-0-1
|
69
|
+
Parent: NET-66-0-0-0-0
|
70
|
+
NetType: Direct Allocation
|
71
|
+
RegDate: 2001-06-08
|
72
|
+
Updated: 2008-06-27
|
73
|
+
Ref: http://whois.arin.net/rest/net/NET-66-119-160-0-1
|
74
|
+
|
75
|
+
OrgName: MetroBridge Networks Corporation
|
76
|
+
OrgId: MNC-40
|
77
|
+
Address: 918 - 1030 West Georgia Street
|
78
|
+
City: Vancouver
|
79
|
+
StateProv: BC
|
80
|
+
PostalCode: V6E-2Y3
|
81
|
+
Country: CA
|
82
|
+
RegDate: 2005-12-12
|
83
|
+
Updated: 2010-04-01
|
84
|
+
Ref: http://whois.arin.net/rest/org/MNC-40
|
85
|
+
|
86
|
+
OrgTechHandle: MTP7-ARIN
|
87
|
+
OrgTechName: MBN Tech POC
|
88
|
+
OrgTechPhone: +1-604-628-1240
|
89
|
+
OrgTechEmail: MBNtechPOC@metrobridge.com
|
90
|
+
OrgTechRef: http://whois.arin.net/rest/poc/MTP7-ARIN
|
91
|
+
|
92
|
+
RNOCHandle: MTP7-ARIN
|
93
|
+
RNOCName: MBN Tech POC
|
94
|
+
RNOCPhone: +1-604-628-1240
|
95
|
+
RNOCEmail: MBNtechPOC@metrobridge.com
|
96
|
+
RNOCRef: http://whois.arin.net/rest/poc/MTP7-ARIN
|
97
|
+
|
98
|
+
RTechHandle: MTP7-ARIN
|
99
|
+
RTechName: MBN Tech POC
|
100
|
+
RTechPhone: +1-604-628-1240
|
101
|
+
RTechEmail: MBNtechPOC@metrobridge.com
|
102
|
+
RTechRef: http://whois.arin.net/rest/poc/MTP7-ARIN
|
103
|
+
|
104
|
+
RAbuseHandle: MTP7-ARIN
|
105
|
+
RAbuseName: MBN Tech POC
|
106
|
+
RAbusePhone: +1-604-628-1240
|
107
|
+
RAbuseEmail: MBNtechPOC@metrobridge.com
|
108
|
+
RAbuseRef: http://whois.arin.net/rest/poc/MTP7-ARIN
|
109
|
+
|
110
|
+
#
|
111
|
+
# ARIN WHOIS data and services are subject to the Terms of Use
|
112
|
+
# available at: https://www.arin.net/whois_tou.html
|
113
|
+
#
|
114
|
+
|
115
|
+
----------------------------------------------------------------
|
116
|
+
> 219.91.245.192
|
117
|
+
>> IN
|
118
|
+
>>> apnic
|
119
|
+
----------------------------------------------------------------
|
120
|
+
% [whois.apnic.net node-4]
|
121
|
+
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html
|
122
|
+
|
123
|
+
inetnum: 219.91.240.0 - 219.91.255.255
|
124
|
+
netname: YOUTELE
|
125
|
+
descr: YOU Telecom India Pvt Ltd
|
126
|
+
country: IN
|
127
|
+
admin-c: SG135-AP
|
128
|
+
tech-c: NI23-AP
|
129
|
+
status: ASSIGNED NON-PORTABLE
|
130
|
+
mnt-by: MAINT-IN-YOU
|
131
|
+
changed: network@youtele.com 20091209
|
132
|
+
source: APNIC
|
133
|
+
|
134
|
+
route: 219.91.192.0/18
|
135
|
+
descr: YOU Broadband & Cable India Ltd.
|
136
|
+
country: IN
|
137
|
+
origin: AS18207
|
138
|
+
mnt-by: MAINT-IN-YOU
|
139
|
+
changed: hm-changed@apnic.net 20040706
|
140
|
+
changed: hm-changed@apnic.net 20050831
|
141
|
+
changed: hm-changed@apnic.net 20100323
|
142
|
+
source: APNIC
|
143
|
+
|
144
|
+
person: SRIDHAR G
|
145
|
+
nic-hdl: SG135-AP
|
146
|
+
e-mail: gr.sridhar@youbroadband.co.in
|
147
|
+
remarks: -----------------------------------------
|
148
|
+
remarks: send abuse and spam report to
|
149
|
+
remarks: abuse@youbroadband.in or spamlog@youbroadband.in
|
150
|
+
remarks: -----------------------------------------
|
151
|
+
address: YOU Broadband & Cable India Ltd.
|
152
|
+
address: Millenium Arcade, 2nd floor
|
153
|
+
address: Adajan-Hazira Road
|
154
|
+
address: Surat -395009,Gujarat
|
155
|
+
address: India
|
156
|
+
phone: +91-261-2789500
|
157
|
+
fax-no: +91-261-2789501
|
158
|
+
country: IN
|
159
|
+
changed: network@youbroadband.in 20100512
|
160
|
+
mnt-by: MAINT-IN-YOU
|
161
|
+
changed: hm-changed@apnic.net 20100512
|
162
|
+
source: APNIC
|
163
|
+
|
164
|
+
person: NOC IQARA
|
165
|
+
nic-hdl: NI23-AP
|
166
|
+
e-mail: network@youtele.com
|
167
|
+
address: YOU Broadband & Cable India Ltd.
|
168
|
+
address: Iqara Center
|
169
|
+
address: Adajan-Hazira Rd
|
170
|
+
address: Surat-9
|
171
|
+
phone: +91-261-2789500
|
172
|
+
fax-no: +91-261-2789501
|
173
|
+
country: IN
|
174
|
+
changed: network@youtele.com 20061103
|
175
|
+
mnt-by: MAINT-IN-YOU
|
176
|
+
source: APNIC
|
177
|
+
|
178
|
+
|
179
|
+
----------------------------------------------------------------
|
180
|
+
> 2001:4860:b002::68
|
181
|
+
>> US
|
182
|
+
>>> arin
|
183
|
+
----------------------------------------------------------------
|
184
|
+
#
|
185
|
+
# The following results may also be obtained via:
|
186
|
+
# http://whois.arin.net/rest/nets;q=2001:4860:b002::68?showDetails=true&showARIN=false
|
187
|
+
#
|
188
|
+
|
189
|
+
NetRange: 2001:4860:: - 2001:4860:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF
|
190
|
+
CIDR: 2001:4860::/32
|
191
|
+
OriginAS: AS15169
|
192
|
+
NetName: GOOGLE-IPV6
|
193
|
+
NetHandle: NET6-2001-4860-1
|
194
|
+
Parent: NET6-2001-4800-0
|
195
|
+
NetType: Direct Allocation
|
196
|
+
RegDate: 2005-03-14
|
197
|
+
Updated: 2007-09-28
|
198
|
+
Ref: http://whois.arin.net/rest/net/NET6-2001-4860-1
|
199
|
+
|
200
|
+
|
201
|
+
OrgName: Google Inc.
|
202
|
+
OrgId: GOGL
|
203
|
+
Address: 1600 Amphitheatre Parkway
|
204
|
+
City: Mountain View
|
205
|
+
StateProv: CA
|
206
|
+
PostalCode: 94043
|
207
|
+
Country: US
|
208
|
+
RegDate: 2000-03-30
|
209
|
+
Updated: 2009-08-07
|
210
|
+
Ref: http://whois.arin.net/rest/org/GOGL
|
211
|
+
|
212
|
+
OrgTechHandle: ZG39-ARIN
|
213
|
+
OrgTechName: Google Inc
|
214
|
+
OrgTechPhone: +1-650-253-0000
|
215
|
+
OrgTechEmail: arin-contact@google.com
|
216
|
+
OrgTechRef: http://whois.arin.net/rest/poc/ZG39-ARIN
|
217
|
+
|
218
|
+
RNOCHandle: ZG39-ARIN
|
219
|
+
RNOCName: Google Inc
|
220
|
+
RNOCPhone: +1-650-253-0000
|
221
|
+
RNOCEmail: arin-contact@google.com
|
222
|
+
RNOCRef: http://whois.arin.net/rest/poc/ZG39-ARIN
|
223
|
+
|
224
|
+
RAbuseHandle: ZG39-ARIN
|
225
|
+
RAbuseName: Google Inc
|
226
|
+
RAbusePhone: +1-650-253-0000
|
227
|
+
RAbuseEmail: arin-contact@google.com
|
228
|
+
RAbuseRef: http://whois.arin.net/rest/poc/ZG39-ARIN
|
229
|
+
|
230
|
+
RTechHandle: ZG39-ARIN
|
231
|
+
RTechName: Google Inc
|
232
|
+
RTechPhone: +1-650-253-0000
|
233
|
+
RTechEmail: arin-contact@google.com
|
234
|
+
RTechRef: http://whois.arin.net/rest/poc/ZG39-ARIN
|
235
|
+
|
236
|
+
#
|
237
|
+
# ARIN WHOIS data and services are subject to the Terms of Use
|
238
|
+
# available at: https://www.arin.net/whois_tou.html
|
239
|
+
#
|
240
|
+
|
data/log/system.log
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Logfile created on 2011-06-19 21:07:36 -0400 by logger.rb/25413
|
2
|
+
I, [2011-06-19T21:07:36.051026 #1168] INFO -- : starting ... >>> 2011-06-19 21:07:36 -0400
|
3
|
+
I, [2011-06-19T21:08:02.305872 #3676] INFO -- : starting ... >>> 2011-06-19 21:08:02 -0400
|
4
|
+
I, [2011-06-19T21:08:03.772274 #3676] INFO -- : Record count is 4
|
5
|
+
I, [2011-06-19T21:08:03.772274 #3676] INFO -- : ending ... >>> 2011-06-19 21:08:03 -0400
|
6
|
+
I, [2011-06-19T21:14:04.313707 #3816] INFO -- : starting ... >>> 2011-06-19 21:14:04 -0400
|
7
|
+
I, [2011-06-19T21:14:10.335317 #3816] INFO -- : Record count is 4
|
8
|
+
I, [2011-06-19T21:14:10.335317 #3816] INFO -- : ending ... >>> 2011-06-19 21:14:10 -0400
|
9
|
+
I, [2011-06-19T21:36:31.696191 #3208] INFO -- : Starting IP address test file ... >>> 2011-06-19 21:36:31 -0400
|
10
|
+
I, [2011-06-19T21:36:34.379396 #3208] INFO -- : Record count is 4
|
11
|
+
I, [2011-06-19T21:36:34.379396 #3208] INFO -- : Ending ... >>> 2011-06-19 21:36:34 -0400
|
12
|
+
I, [2011-06-19T22:43:07.127192 #2507] INFO -- : Starting IP address test file ... >>> Sun Jun 19 22:43:07 -0400 2011
|
13
|
+
I, [2011-06-19T22:43:16.796865 #2507] INFO -- : Record count is 10
|
14
|
+
I, [2011-06-19T22:43:16.797023 #2507] INFO -- : Ending ... >>> Sun Jun 19 22:43:16 -0400 2011
|
15
|
+
I, [2011-06-19T22:55:59.322407 #2549] INFO -- : Starting IP address test file ... >>> Sun Jun 19 22:55:59 -0400 2011
|
16
|
+
I, [2011-06-19T22:56:07.553043 #2549] INFO -- : Record count is 10
|
17
|
+
I, [2011-06-19T22:56:07.553205 #2549] INFO -- : Ending ... >>> Sun Jun 19 22:56:07 -0400 2011
|
18
|
+
I, [2011-06-19T22:57:05.825931 #2555] INFO -- : Starting IP address test file ... >>> Sun Jun 19 22:57:05 -0400 2011
|
19
|
+
I, [2011-06-19T22:57:10.268695 #2555] INFO -- : Record count is 4
|
20
|
+
I, [2011-06-19T22:57:10.268870 #2555] INFO -- : Ending ... >>> Sun Jun 19 22:57:10 -0400 2011
|