logstash-input-tcp 3.0.4 → 3.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -4
- data/LICENSE +1 -1
- data/README.md +12 -3
- data/lib/logstash/inputs/tcp.rb +2 -2
- data/logstash-input-tcp.gemspec +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1caffd09fad0acdb3ab1bd24d98a522961ca925c
|
4
|
+
data.tar.gz: 7719d66218cdfa7431c44919db3bed9983328a64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5cf8d7b1495f59ff810703828ab76ba450c0e9b74ca0b424dc3e579b6586c7abe431c15397e6c3d42d75bc53e6e9ea26747b665bc442d0ed940deb2ee60f078
|
7
|
+
data.tar.gz: 4268349cfb16117443a21389cd9feb4997088ae8d3ea7e541c1e966213ccc4798879d1869d203c48b9946acf7b942c882016d8bc390191135588811e898bfb1b
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
|
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
|
-
|
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
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
|
-
|
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
|
|
data/lib/logstash/inputs/tcp.rb
CHANGED
@@ -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.
|
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
|
data/logstash-input-tcp.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-input-tcp'
|
3
|
-
s.version = '3.0.
|
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
|
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
|
+
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-
|
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
|
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: []
|