fluent-plugin-secure-forward 0.1.1 → 0.1.2

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: b7537e28e4132ab67a0c349d00c5d9cc6b8ceec9
4
- data.tar.gz: 0bee32d156d2790eab7f7b6ecc68dc6f140acd05
3
+ metadata.gz: f6e68e6a1ece4fdf3a2aadb8579bba36767ee7dc
4
+ data.tar.gz: b18c60e807554529450aed7c7ed19aaee86fc64a
5
5
  SHA512:
6
- metadata.gz: 718b3c7931428afca8784c41e572e7260108e8ab51ddf224b4bf2648031b00ac498ee2f2e7a6468d057f5c04047cd2752c96606b5dafab43e5a250af4c88a389
7
- data.tar.gz: 6894e962c4baf8eb3f1de6dc26aa0fbc2c199f91b3905dca998dce6c56c6f69548a3cc60c62eb55350a8eba8a1987ec926335aa8a8b3c34dbe0f5211780f18ab
6
+ metadata.gz: 9bc132d8a319109249b7d7d455819c345d15b3c6e2c8cd6a9ea02c22d3a0b07b9fe04550b88af996afd593760089ec8552a69c11834111106eeb3346fbfbaee8
7
+ data.tar.gz: 4c8c1db643cb57257fc780b3470b7b694f3f55e6020fa1f5c56b9c8b9590f0ce5cc605377f0ebd36c77a3cb4a2b628737ab20d25f004ad3666a7773c10525e4e
data/README.md CHANGED
@@ -42,7 +42,7 @@ To check username/password from clients, like this:
42
42
  type secure_forward
43
43
  shared_key secret_string
44
44
  self_hostname server.fqdn.local
45
- cert_auto_generate yes
45
+ cert_auto_generate yes
46
46
  authentication yes # Deny clients without valid username/password
47
47
  <user>
48
48
  username tagomoris
@@ -124,6 +124,18 @@ Minimal configurations like this:
124
124
  </server>
125
125
  </match>
126
126
 
127
+ Without hostname ACL (and it's not implemented yet), `self_hostname` is not checked in any state. `${hostname}` placeholder is available for such cases.
128
+
129
+ <match secret.data.**>
130
+ type secure_forward
131
+ shared_key secret_string
132
+ self_hostname ${hostname}
133
+ <server>
134
+ host server.fqdn.local # or IP
135
+ # port 24284
136
+ </server>
137
+ </match>
138
+
127
139
  When specified 2 or more `<server>`, this plugin uses these nodes in simple round-robin order. And servers with `standby yes` will be selected until all of non-standby servers goes down.
128
140
 
129
141
  If server requires username/password, set `username` and `password` in `<server>` section:
@@ -1,12 +1,13 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |gem|
3
3
  gem.name = "fluent-plugin-secure-forward"
4
- gem.version = "0.1.1"
4
+ gem.version = "0.1.2"
5
5
  gem.authors = ["TAGOMORI Satoshi"]
6
6
  gem.email = ["tagomoris@gmail.com"]
7
7
  gem.summary = %q{Fluentd input/output plugin to forward over SSL with authentications}
8
8
  gem.description = %q{Testing version}
9
9
  gem.homepage = "https://github.com/tagomoris/fluent-plugin-secure-forward"
10
+ gem.license = "APLv2"
10
11
 
11
12
  gem.files = `git ls-files`.split($\)
12
13
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -186,6 +186,8 @@ class Fluent::SecureForwardInput::Session
186
186
  break
187
187
  end
188
188
  end
189
+ rescue Errno::ECONNRESET => e
190
+ # disconnected from client
189
191
  rescue => e
190
192
  $log.warn "unexpected error in in_secure_forward", :error_class => e.class, :error => e
191
193
  ensure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-secure-forward
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - TAGOMORI Satoshi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-29 00:00:00.000000000 Z
11
+ date: 2013-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -96,7 +96,8 @@ files:
96
96
  - test/plugin/test_in_secure_forward.rb
97
97
  - test/plugin/test_out_secure_forward.rb
98
98
  homepage: https://github.com/tagomoris/fluent-plugin-secure-forward
99
- licenses: []
99
+ licenses:
100
+ - APLv2
100
101
  metadata: {}
101
102
  post_install_message:
102
103
  rdoc_options: []