logstash-filter-ip2proxy 1.1.0 → 2.0.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
  SHA256:
3
- metadata.gz: d65931f469472209ce9a23de1dc4ce5556d760fb3e32f63a7bd7410a3f850184
4
- data.tar.gz: 328216e02719878362997bdee6799a651082f6712797316e739a2bea1dd5fb25
3
+ metadata.gz: e06dd2b4873e4de15fa8260141958fcb92415c12eb801347715da64ca551a0cf
4
+ data.tar.gz: 9d318b3d4e6ce5fe14dbf9b5d68c744016fbe9ab858575eeec79ee1fe0076ae9
5
5
  SHA512:
6
- metadata.gz: 3c9bbd7e388f1bc6aacf43056a978ee0827f74b65870e7e92a1b8e242649f39039deaaaf78c6a1122ee0ca05f4754e12e6de835c9e8af0139b0aaefd932fa7af
7
- data.tar.gz: f00bdaba4033e849556b2482d397f40fa1f5fa30f757f2fa226dad2a400ced784acc67022f1ff7726698a26d249f20275ef34c71f8cc913abf76b93337089b66
6
+ metadata.gz: aec338f4b51d512dff4d72aedcd906f83d22dd17cb31baa72d46e19ce35ca1b9ad9dac4193f08e0c33fb8e6406946712989ac4f75ff7ea783a40c06ec8200f5b
7
+ data.tar.gz: cfe7f6eaf01035ff854ce877734f70414d88a167e08afc4e68059c7d790006a6b723a102b8fc02d877462c8ac6bed733502697e4162a4fa56cf5b18cc5faad76
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019 IP2Location.com
1
+ Copyright (c) 2020 IP2Location.com
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # IP2Proxy Filter Plugin
2
- This is IP2Proxy filter plugin for Logstash that enables Logstash's users to reverse search of IP address to detect VPN servers, open proxies, web proxies, Tor exit nodes, search engine robots and data center ranges using IP2Proxy BIN database. Other information available includes proxy type, country, state, city, ISP, domain name, usage type, AS number, AS name and last seen date. The library took the proxy IP address from **IP2Proxy BIN Data** file.
2
+ This is IP2Proxy filter plugin for Logstash that enables Logstash's users to reverse search of IP address to detect VPN servers, open proxies, web proxies, Tor exit nodes, search engine robots, data center ranges and residential proxies using IP2Proxy BIN database. Other information available includes proxy type, country, state, city, ISP, domain name, usage type, AS number, AS name, threats and last seen date. The library took the proxy IP address from **IP2Proxy BIN Data** file.
3
3
 
4
4
  For the methods to use IP2Proxy filter plugin with Elastic Stack (Elasticsearch, Filebeat, Logstash, and Kibana), please take a look on this [tutorial](https://blog.ip2location.com/knowledge-base/how-to-use-ip2proxy-filter-plugin-with-elastic-stack).
5
5
 
@@ -64,11 +64,12 @@ output {
64
64
  |ip2proxy.is_proxy|Check whether if an IP address was a proxy. Returned value:<ul><li>-1 : errors</li><li>0 : not a proxy</li><li>1 : a proxy</li><li>2 : a data center IP address</li></ul>|
65
65
  |ip2proxy.isp|the ISP name of the proxy|
66
66
  |ip2proxy.last_seen|the last seen days ago value of proxy's IP address or domain name|
67
- |ip2proxy.proxy_type|the proxy type. Please visit <a href="https://www.ip2location.com/database/px8-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen" target="_blank">IP2Location</a> for the list of proxy types supported|
67
+ |ip2proxy.proxy_type|the proxy type. Please visit <a href="https://www.ip2location.com/database/px10-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen-threat-residential" target="_blank">IP2Location</a> for the list of proxy types supported|
68
68
  |ip2proxy.region|the ISO3166-2 region name of the proxy. Please visit <a href="https://www.ip2location.com/free/iso3166-2" target="_blank">ISO3166-2 Subdivision Code</a> for the information of ISO3166-2 supported|
69
- |ip2proxy.usage_type|the usage type classification of the proxy. Please visit <a href="https://www.ip2location.com/database/px8-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen" target="_blank">IP2Location</a> for the list of usage types supported|
69
+ |ip2proxy.thread|the threat type of the proxy|
70
+ |ip2proxy.usage_type|the usage type classification of the proxy. Please visit <a href="https://www.ip2location.com/database/px10-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen-threat-residential" target="_blank">IP2Location</a> for the list of usage types supported|
70
71
 
71
- ![Example of data](https://www.ip2location.com/assets/img/logstash-filter-ip2proxy-screenshot.png)
72
+ ![Example of data](https://www.ip2location.com/assets/img/logstash-filter-ip2proxy-screenshot.png?)
72
73
 
73
74
 
74
75
  ## Support
@@ -1,3 +1,3 @@
1
1
  require 'jar_dependencies'
2
- require_jar('com.ip2proxy.ip2proxy', 'ip2proxy', '2.0.0')
3
- require_jar('org.logstash.filters', 'logstash-filter-ip2proxy', '1.1.0')
2
+ require_jar('com.ip2proxy.ip2proxy', 'ip2proxy', '3.0.0')
3
+ require_jar('org.logstash.filters', 'logstash-filter-ip2proxy', '2.0.0')
@@ -21,7 +21,7 @@ class LogStash::Filters::IP2Proxy < LogStash::Filters::Base
21
21
  public
22
22
  def register
23
23
  if @database.nil?
24
- @database = ::Dir.glob(::File.join(::File.expand_path("../../../vendor/", ::File.dirname(__FILE__)),"IP2PROXY-LITE-PX8.BIN")).first
24
+ @database = ::Dir.glob(::File.join(::File.expand_path("../../../vendor/", ::File.dirname(__FILE__)),"IP2PROXY-LITE-PX1.BIN")).first
25
25
 
26
26
  if @database.nil? || !File.exists?(@database)
27
27
  raise "You must specify 'database => ...' in your ip2proxy filter (I looked for '#{@database}')"
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-ip2proxy'
4
- s.version = '1.1.0'
4
+ s.version = '2.0.0'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Logstash filter IP2Proxy"
7
- s.description = "IP2Proxy filter plugin for Logstash enables Logstash's users to reverse search of IP address to detect VPN servers, open proxies, web proxies, Tor exit nodes, search engine robots and data center ranges using IP2Proxy BIN database."
7
+ s.description = "IP2Proxy filter plugin for Logstash enables Logstash's users to reverse search of IP address to detect VPN servers, open proxies, web proxies, Tor exit nodes, search engine robots, data center ranges and residential proxies using IP2Proxy BIN database."
8
8
  s.authors = ["IP2Location"]
9
9
  s.email = 'support@ip2location.com'
10
10
  s.homepage = "https://www.ip2location.com"
@@ -2,7 +2,7 @@
2
2
  require_relative '../spec_helper'
3
3
  require "logstash/filters/ip2proxy"
4
4
 
5
- IP2PROXYDB = ::Dir.glob(::File.expand_path("../../vendor/", ::File.dirname(__FILE__))+"/IP2PROXY-LITE-PX8.BIN").first
5
+ IP2PROXYDB = ::Dir.glob(::File.expand_path("../../vendor/", ::File.dirname(__FILE__))+"/IP2PROXY-LITE-PX1.BIN").first
6
6
 
7
7
  describe LogStash::Filters::IP2Proxy do
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-ip2proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - IP2Location
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-04 00:00:00.000000000 Z
11
+ date: 2020-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core-plugin-api
@@ -40,7 +40,8 @@ dependencies:
40
40
  version: '0'
41
41
  description: IP2Proxy filter plugin for Logstash enables Logstash's users to reverse
42
42
  search of IP address to detect VPN servers, open proxies, web proxies, Tor exit
43
- nodes, search engine robots and data center ranges using IP2Proxy BIN database.
43
+ nodes, search engine robots, data center ranges and residential proxies using IP2Proxy
44
+ BIN database.
44
45
  email: support@ip2location.com
45
46
  executables: []
46
47
  extensions: []
@@ -54,9 +55,9 @@ files:
54
55
  - logstash-filter-ip2proxy.gemspec
55
56
  - spec/filters/ip2proxy_spec.rb
56
57
  - spec/spec_helper.rb
57
- - vendor/IP2PROXY-LITE-PX8.BIN
58
- - vendor/jar-dependencies/com/ip2proxy/ip2proxy/ip2proxy/2.0.0/ip2proxy-2.0.0.jar
59
- - vendor/jar-dependencies/org/logstash/filters/logstash-filter-ip2proxy/1.1.0/logstash-filter-ip2proxy-1.1.0.jar
58
+ - vendor/IP2PROXY-LITE-PX1.BIN
59
+ - vendor/jar-dependencies/com/ip2proxy/ip2proxy/ip2proxy/3.0.0/ip2proxy-3.0.0.jar
60
+ - vendor/jar-dependencies/org/logstash/filters/logstash-filter-ip2proxy/2.0.0/logstash-filter-ip2proxy-2.0.0.jar
60
61
  homepage: https://www.ip2location.com
61
62
  licenses:
62
63
  - Apache License (2.0)