logstash-input-tcp 3.0.4 → 3.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc0f4bd9a45b9dfd94ed88da993704d9cda87a2f
4
- data.tar.gz: 26166f4d7d9dbabba5c9910ff6ee13aac366b2fa
3
+ metadata.gz: 1caffd09fad0acdb3ab1bd24d98a522961ca925c
4
+ data.tar.gz: 7719d66218cdfa7431c44919db3bed9983328a64
5
5
  SHA512:
6
- metadata.gz: eaeff5710c1a0589c37a84af164d9ca137093d5b648c3763a51413db956109b8701c884346ca8945d53b0d34c6f1e98e80c68511a8a665964431009e80a3c88a
7
- data.tar.gz: fdaaa102dde066969ee74ff7e5e28de058fb711f4c24a30801e4e3f853dc8dcefd98e52de7f178d634b2136fd7366e23bea714296a5e58a5011e757128d13cc7
6
+ metadata.gz: a5cf8d7b1495f59ff810703828ab76ba450c0e9b74ca0b424dc3e579b6586c7abe431c15397e6c3d42d75bc53e6e9ea26747b665bc442d0ed940deb2ee60f078
7
+ data.tar.gz: 4268349cfb16117443a21389cd9feb4997088ae8d3ea7e541c1e966213ccc4798879d1869d203c48b9946acf7b942c882016d8bc390191135588811e898bfb1b
@@ -1,10 +1,14 @@
1
+ ## 3.0.6
2
+ - Change the log level of the SSLError for the handshake from **error** to **debug** https://github.com/logstash-plugins/logstash-input-tcp/pull/53
3
+ # 3.0.5
4
+ - Fixed a bug where using a certificate with a passphrase wouldn't work.
1
5
  # 3.0.4
2
- - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
6
+ - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
3
7
  # 3.0.3
4
- - New dependency requirements for logstash-core for the 5.0 release
8
+ - New dependency requirements for logstash-core for the 5.0 release
5
9
  ## 3.0.2
6
- - Fixed a bug where previous connection would accidentally be closed when accepting new socket connection
7
- - Fixed an issue with log message which used a closed socket's peer address
10
+ - Fixed a bug where previous connection would accidentally be closed when accepting new socket connection
11
+ - Fixed an issue with log message which used a closed socket's peer address
8
12
 
9
13
  ## 3.0.1
10
14
  - properly convert sslsubject to string before assigning to event field, added specs, see https://github.com/logstash-plugins/logstash-input-tcp/pull/38
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012–2015 Elasticsearch <http://www.elastic.co>
1
+ Copyright (c) 2012–2016 Elasticsearch <http://www.elastic.co>
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,7 +1,6 @@
1
1
  # Logstash Plugin
2
2
 
3
- [![Build
4
- Status](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Inputs/job/logstash-plugin-input-tcp-unit/badge/icon)](http://build-eu-00.elastic.co/view/LS%20Plugins/view/LS%20Inputs/job/logstash-plugin-input-tcp-unit/)
3
+ [![Travis Build Status](https://travis-ci.org/logstash-plugins/logstash-input-tcp.svg)](https://travis-ci.org/logstash-plugins/logstash-input-tcp)
5
4
 
6
5
  This is a plugin for [Logstash](https://github.com/elastic/logstash).
7
6
 
@@ -56,7 +55,12 @@ gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
56
55
  ```
57
56
  - Install plugin
58
57
  ```sh
58
+ # Logstash 2.3 and higher
59
+ bin/logstash-plugin install --no-verify
60
+
61
+ # Prior to Logstash 2.3
59
62
  bin/plugin install --no-verify
63
+
60
64
  ```
61
65
  - Run Logstash with your plugin
62
66
  ```sh
@@ -74,7 +78,12 @@ gem build logstash-filter-awesome.gemspec
74
78
  ```
75
79
  - Install the plugin from the Logstash home
76
80
  ```sh
77
- bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
81
+ # Logstash 2.3 and higher
82
+ bin/logstash-plugin install --no-verify
83
+
84
+ # Prior to Logstash 2.3
85
+ bin/plugin install --no-verify
86
+
78
87
  ```
79
88
  - Start Logstash and proceed to test the plugin
80
89
 
@@ -114,7 +114,7 @@ class LogStash::Inputs::Tcp < LogStash::Inputs::Base
114
114
  server_connection_thread(output_queue, socket)
115
115
  rescue OpenSSL::SSL::SSLError => e
116
116
  # log error, close socket, accept next connection
117
- @logger.error("SSL Error", :exception => e, :backtrace => e.backtrace)
117
+ @logger.debug? && @logger.debug("SSL Error", :exception => e, :backtrace => e.backtrace)
118
118
  rescue => e
119
119
  # if this exception occured while the plugin is stopping
120
120
  # just ignore and exit
@@ -211,7 +211,7 @@ class LogStash::Inputs::Tcp < LogStash::Inputs::Base
211
211
  begin
212
212
  @ssl_context = OpenSSL::SSL::SSLContext.new
213
213
  @ssl_context.cert = OpenSSL::X509::Certificate.new(File.read(@ssl_cert))
214
- @ssl_context.key = OpenSSL::PKey::RSA.new(File.read(@ssl_key),@ssl_key_passphrase)
214
+ @ssl_context.key = OpenSSL::PKey::RSA.new(File.read(@ssl_key),@ssl_key_passphrase.value)
215
215
  if @ssl_verify
216
216
  @ssl_context.cert_store = load_cert_store
217
217
  @ssl_context.verify_mode = OpenSSL::SSL::VERIFY_PEER|OpenSSL::SSL::VERIFY_FAIL_IF_NO_PEER_CERT
@@ -1,9 +1,9 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-tcp'
3
- s.version = '3.0.4'
3
+ s.version = '3.0.6'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Read events over a TCP socket."
6
- s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
6
+ s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
7
7
  s.authors = ["Elastic"]
8
8
  s.email = 'info@elastic.co'
9
9
  s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-tcp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-24 00:00:00.000000000 Z
11
+ date: 2016-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: 0.0.22
125
- description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
125
+ description: This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program
126
126
  email: info@elastic.co
127
127
  executables: []
128
128
  extensions: []