f2bread 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 46c6943b217daeea409dea49d8a6bcd3a99d22cb
4
- data.tar.gz: 1dc79cd7aaaf04718788795d3417070a5426c5cb
3
+ metadata.gz: 9bb9f59a45e3ea5581b0ab1f28f6479122ec0f19
4
+ data.tar.gz: c5fc0b1fb0639dfeae1d495bcf84d95c65a4f943
5
5
  SHA512:
6
- metadata.gz: 03ed98fac8cf659a79c028f61df66053d8cdca225740548714843837312092c1fa2d36977f75fdb69f0c42cc9ac2a9229835b2a63a262ba3c69fb8f6681cd28b
7
- data.tar.gz: b5f79f16b704ed11f800deedfa95f86078a38e03f1537cb76381482797000866d79135b2bf1619179d48be6fa8f3fc8945fbd554ff745d871bf49fc8f63fc380
6
+ metadata.gz: fa307940a6eb087e9b8f6f461351259466a09d6b2176262531c56bb8ec60c68da3b4a30772004c6e22b20198e084670d3a4764be7c5d192cc830b6c8fa5daec0
7
+ data.tar.gz: c27ee17d48532c25a29c284ef2838d3ed032ff20acdde9737ed796636cb87822837edeaf5e69fbda0a6e537d66335f8fe5cc2f66f6c0f6a37ec223a81e61bb20
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ source "http://rubygems.org"
2
+
3
+ group :development do
4
+ gem "geoip", "~> 1.2.1"
5
+ gem "time_diff", "~> 0.3.0"
6
+ gem "shoulda", ">= 0"
7
+ gem "rdoc", "~> 3.12"
8
+ gem "bundler"
9
+ gem "jeweler", "~> 1.8.4"
10
+ gem "geoip", "~> 1.2.1"
11
+ gem "time_diff", "~> 0.3.0"
12
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2013 Atmatzidis Panagiotis
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,67 @@
1
+ # f2bread
2
+
3
+ ## Description
4
+ **f2bread** is a [ruby][] script that extracts data from 'fail2ban.log' files. Fail2ban is a sort of lightweight *Intrusion Detection System*, for more info please visit the [project's homepage](http://www.fail2ban.org/wiki/index.php/Main_Page).
5
+
6
+ This product includes *GeoLite data* created by MaxMind, available from [www.maxmind.com](http://www.maxmind.com). The GeoLite databases are distributed under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/).
7
+
8
+ ## Usage
9
+ $ f2bread -h
10
+ Usage: f2bread -l /path/to/fail2ban.log -s country -n 5
11
+ -l, --log FILE Define the location of fail2ban.log. Default is /var/log/fail2ban.log
12
+ -n, --no N By default all entries are listed. This option lets you choose the no of entries you want to display from top down
13
+ -i, --info Display fail2ban.log summary
14
+ -s, --sort OPT Sorts by [date, country, ip (ip frequency)]
15
+ -v, --version Display version
16
+ -h, --help Display help menu
17
+
18
+
19
+ $ f2bread -l fail2ban.log -i
20
+ f2bread 0.0.1-alpha 2012
21
+ ===============================================================================
22
+ Log file: '/Users/atma/Dropbox/Programming/Projects/Local/f2bread/fail2ban.log'
23
+
24
+ First entry: 2011-07-23 02:04:51
25
+ Last entry: 2012-07-25 15:14:47
26
+ Time frame:1 year, 3 days and 07:09:56
27
+ Banned IPs:1072
28
+ Countries:70
29
+ Protocol(s):[ssh-ipfw]
30
+ Bans per day:2.91
31
+
32
+ Most banned IP(s) by fail2ban:
33
+ -------------------------
34
+ IP address - Attacks
35
+ -------------------------
36
+ 121.31.56.62 7
37
+
38
+ Most hostile Countries:
39
+ --------------------------
40
+ Country: Korea(South) - IP(s): 400
41
+ Country: China - IP(s): 195
42
+ Country: United - IP(s): 86
43
+ Country: Russian_Federation - IP(s): 36
44
+ Country: Germany - IP(s): 32
45
+
46
+
47
+ $ f2bread -s country -n 5
48
+ f2bread.rb 0.0.1-alpha 2012
49
+ Country: Korea(South) - IP(s): 400
50
+ Country: China - IP(s): 195
51
+ Country: United - IP(s): 86
52
+ Country: Russian_Federation - IP(s): 36
53
+ Country: Germany - IP(s): 32
54
+
55
+ # License
56
+ **The MIT License (MIT)**
57
+
58
+ Copyright (c) 2013 Panagiotis Atmatizdis
59
+
60
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
61
+
62
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
63
+
64
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
65
+
66
+ [ruby]: http://www.ruby-lang.org/en/
67
+ [fail2ban]: http://www.fail2ban.org/wiki/index.php/Main_Page
data/Rakefile ADDED
@@ -0,0 +1,53 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
17
+ gem.name = "f2bread"
18
+ gem.homepage = "http://github.com/atmosx/f2bread"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Fail2ban statistics}
21
+ gem.description = %Q{A simple gem that reads 'fail2ban.log' and displays statistics}
22
+ gem.email = "atma@convalesco.org"
23
+ gem.authors = ["Atmatzidis Panagiotis"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rake/testtask'
29
+ Rake::TestTask.new(:test) do |test|
30
+ test.libs << 'lib' << 'test'
31
+ test.pattern = 'test/**/test_*.rb'
32
+ test.verbose = true
33
+ end
34
+
35
+ # require 'rcov/rcovtask'
36
+ # Rcov::RcovTask.new do |test|
37
+ # test.libs << 'test'
38
+ # test.pattern = 'test/**/test_*.rb'
39
+ # test.verbose = true
40
+ # test.rcov_opts << '--exclude "gems/*"'
41
+ # end
42
+
43
+ task :default => :test
44
+
45
+ require 'rdoc/task'
46
+ Rake::RDocTask.new do |rdoc|
47
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
48
+
49
+ rdoc.rdoc_dir = 'rdoc'
50
+ rdoc.title = "f2bread #{version}"
51
+ rdoc.rdoc_files.include('README*')
52
+ rdoc.rdoc_files.include('lib/**/*.rb')
53
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
data/bin/f2bread CHANGED
@@ -16,7 +16,7 @@ optparse = OptionParser.new do |opts|
16
16
 
17
17
  opts.banner = "Usage: f2bread -l /path/to/fail2ban.log -s country -n 5\n"
18
18
 
19
- opts.on('-l', '--log FILE', 'Define the location of fail2ban.log. Default is /var/log/fail2ban.log') do |log|
19
+ opts.on('-l', '--log FILE', 'Define the location of fail2ban.log. Default is /var/log/fail2ban.log, requires root priviledges') do |log|
20
20
  options[:log] = log
21
21
  end
22
22
 
data/f2bread.gemspec ADDED
@@ -0,0 +1,72 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = "f2bread"
8
+ s.version = "0.1.0"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Atmatzidis Panagiotis"]
12
+ s.date = "2013-06-27"
13
+ s.description = "A simple gem that reads 'fail2ban.log' and displays statistics"
14
+ s.email = "atma@convalesco.org"
15
+ s.executables = ["f2bread"]
16
+ s.extra_rdoc_files = [
17
+ "LICENSE.txt",
18
+ "README.md"
19
+ ]
20
+ s.files = [
21
+ "Gemfile",
22
+ "LICENSE.txt",
23
+ "README.md",
24
+ "Rakefile",
25
+ "VERSION",
26
+ "bin/f2bread",
27
+ "f2bread.gemspec",
28
+ "lib/GeoIP.dat",
29
+ "lib/f2bread.rb",
30
+ "test/helper.rb",
31
+ "test/test_f2bread.rb"
32
+ ]
33
+ s.homepage = "http://github.com/atmosx/f2bread"
34
+ s.licenses = ["MIT"]
35
+ s.require_paths = ["lib"]
36
+ s.rubygems_version = "2.0.3"
37
+ s.summary = "Fail2ban statistics"
38
+
39
+ if s.respond_to? :specification_version then
40
+ s.specification_version = 4
41
+
42
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
43
+ s.add_development_dependency(%q<geoip>, ["~> 1.2.1"])
44
+ s.add_development_dependency(%q<time_diff>, ["~> 0.3.0"])
45
+ s.add_development_dependency(%q<shoulda>, [">= 0"])
46
+ s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
47
+ s.add_development_dependency(%q<bundler>, [">= 0"])
48
+ s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
49
+ s.add_development_dependency(%q<geoip>, ["~> 1.2.1"])
50
+ s.add_development_dependency(%q<time_diff>, ["~> 0.3.0"])
51
+ else
52
+ s.add_dependency(%q<geoip>, ["~> 1.2.1"])
53
+ s.add_dependency(%q<time_diff>, ["~> 0.3.0"])
54
+ s.add_dependency(%q<shoulda>, [">= 0"])
55
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
56
+ s.add_dependency(%q<bundler>, [">= 0"])
57
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
58
+ s.add_dependency(%q<geoip>, ["~> 1.2.1"])
59
+ s.add_dependency(%q<time_diff>, ["~> 0.3.0"])
60
+ end
61
+ else
62
+ s.add_dependency(%q<geoip>, ["~> 1.2.1"])
63
+ s.add_dependency(%q<time_diff>, ["~> 0.3.0"])
64
+ s.add_dependency(%q<shoulda>, [">= 0"])
65
+ s.add_dependency(%q<rdoc>, ["~> 3.12"])
66
+ s.add_dependency(%q<bundler>, [">= 0"])
67
+ s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
68
+ s.add_dependency(%q<geoip>, ["~> 1.2.1"])
69
+ s.add_dependency(%q<time_diff>, ["~> 0.3.0"])
70
+ end
71
+ end
72
+
data/lib/f2bread.rb CHANGED
@@ -32,8 +32,13 @@ class F2bread
32
32
  @log = log
33
33
 
34
34
  # grep lines that containt the keyword 'Ban' from log file
35
- lines = File.readlines(log).select {|line| line.match /Ban/}
36
-
35
+ begin
36
+ lines = File.readlines(log).select {|line| line.match /Ban/}
37
+ rescue Errno::EACCES
38
+ puts "Permission denied - #{log} (Errno::EACCES)"
39
+ puts "You don't have permissions to read #{@log}, use 'sudo'"
40
+ exit
41
+ end
37
42
  # Available internet country codes
38
43
  cdc = {
39
44
  "AD" => "Andorra",
@@ -308,11 +313,12 @@ class F2bread
308
313
  ldate = "#{@data_table[entries-1].split(' ')[0]} #{@data_table[entries-1].split(' ')[1]} " #Last entry date
309
314
  tdiff = Time.diff(fdate, ldate) #time diference
310
315
  ucl = [] # unique country list
311
- upl = [] # unique protocol list
316
+ # upl = [] # unique protocol list
312
317
  @data_table.each { |line| c = line.split(' ')[5]; ucl << c if ucl.include?(c) == false} # create the ucl list
313
- @data_table.each { |line| c = line.split(' ')[2]; upl << c if upl.include?(c) == false} # create the ucl list
314
- upl.size > 1 ? upl_print = upl.size.join(', ') : upl_print = upl[0]
315
- ban_avg = entries.to_f/((tdiff[:year] * 365) + (tdiff[:month] * 30) + (tdiff[:week] * 7) + tdiff[:day]).to_f
318
+ # @data_table.each { |line| c = line.split(' ')[2]; upl << c if upl.include?(c) == false} # create the upl list
319
+ # upl.size > 1 ? upl_print = upl.size.join(', ') : upl_print = upl[0]
320
+ bavg = entries.to_f/((tdiff[:year] * 365) + (tdiff[:month] * 30) + (tdiff[:week] * 7) + tdiff[:day]).to_f
321
+ bavg == 'Inf'? ban_avg = "Wait for 24 hours to pass" : ban_avg = b_avg
316
322
  sbanner = "Log file: '#{f2blog}'"
317
323
  puts "=" * sbanner.length
318
324
  puts sbanner
@@ -322,7 +328,7 @@ class F2bread
322
328
  printf("Time frame:\t%s\n", tdiff[:diff])
323
329
  printf("Banned IPs:\t%i\n", entries)
324
330
  printf("Countries:\t%i\n", ucl.size)
325
- printf("Protocol(s):\t%s\n", upl_print)
331
+ # printf("Protocol(s):\t%s\n", upl_print)
326
332
  printf("Bans per day:\t%0.2f\n\n", ban_avg)
327
333
  puts "Most banned IP(s) by fail2ban: "
328
334
  puts "-------------------------"
data/test/helper.rb ADDED
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+ require 'bundler'
3
+ begin
4
+ Bundler.setup(:default, :development)
5
+ rescue Bundler::BundlerError => e
6
+ $stderr.puts e.message
7
+ $stderr.puts "Run `bundle install` to install missing gems"
8
+ exit e.status_code
9
+ end
10
+ require 'test/unit'
11
+ require 'shoulda'
12
+
13
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
14
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
15
+ require 'f2bread'
16
+
17
+ class Test::Unit::TestCase
18
+ end
@@ -0,0 +1,7 @@
1
+ require 'helper'
2
+
3
+ class TestF2bread < Test::Unit::TestCase
4
+ should "probably rename this file and start testing for real" do
5
+ flunk "hey buddy, you should probably rename this file and start testing for real"
6
+ end
7
+ end
metadata CHANGED
@@ -1,41 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: f2bread
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Panagiotis Atmatzidis
7
+ - Atmatzidis Panagiotis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-06-28 00:00:00.000000000 Z
11
+ date: 2013-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: geoip
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.2.1
20
- type: :runtime
20
+ type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '='
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.2.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: time_diff
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: 0.3.0
34
- type: :runtime
34
+ type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: 0.3.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: shoulda
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.12'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '3.12'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: jeweler
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: 1.8.4
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: 1.8.4
97
+ - !ruby/object:Gem::Dependency
98
+ name: geoip
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: 1.2.1
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: 1.2.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: time_diff
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: 0.3.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ~>
39
123
  - !ruby/object:Gem::Version
40
124
  version: 0.3.0
41
125
  description: A simple gem that reads 'fail2ban.log' and displays statistics
@@ -43,13 +127,22 @@ email: atma@convalesco.org
43
127
  executables:
44
128
  - f2bread
45
129
  extensions: []
46
- extra_rdoc_files: []
130
+ extra_rdoc_files:
131
+ - LICENSE.txt
132
+ - README.md
47
133
  files:
134
+ - Gemfile
135
+ - LICENSE.txt
136
+ - README.md
137
+ - Rakefile
138
+ - VERSION
48
139
  - bin/f2bread
49
- - License.txt
50
- - lib/f2bread.rb
140
+ - f2bread.gemspec
51
141
  - lib/GeoIP.dat
52
- homepage: https://github.com/atmosx/f2bread
142
+ - lib/f2bread.rb
143
+ - test/helper.rb
144
+ - test/test_f2bread.rb
145
+ homepage: http://github.com/atmosx/f2bread
53
146
  licenses:
54
147
  - MIT
55
148
  metadata: {}
data/License.txt DELETED
@@ -1,15 +0,0 @@
1
- Copyright (c) 2013 Panagiotis Atmatzidis
2
- email: atma[at]convalesco.org
3
-
4
- f2bread gem is distributed under MIT license:
5
- The MIT License (MIT)
6
- ---------------------
7
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10
-
11
- This product includes *GeoLite data* created by MaxMind, available from www.maxmind.com[1]. The GeoLite databases are distributed under the Creative Commons Attribution-ShareAlike 3.0 Unported License[2].
12
-
13
-
14
- [1] http://www.maxmind.com
15
- [2] http://creativecommons.org/licenses/by-sa/3.0/