iptables-ruby 0.2.4
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 +7 -0
- data/.gitignore +6 -0
- data/CHANGELOG +23 -0
- data/Gemfile +6 -0
- data/Generate.md +278 -0
- data/LICENSE +20 -0
- data/README.md +140 -0
- data/Rakefile +44 -0
- data/bin/check_firewall.rb +220 -0
- data/examples/policy/macros.json +92 -0
- data/examples/policy/policy.json +208 -0
- data/examples/policy/policy6.json +8 -0
- data/examples/policy/primitives.json +40 -0
- data/examples/policy/rules.json +30 -0
- data/examples/policy/services.json +81 -0
- data/lib/iptables.rb +5 -0
- data/lib/iptables/configuration.rb +116 -0
- data/lib/iptables/expansions.rb +189 -0
- data/lib/iptables/logger.rb +5 -0
- data/lib/iptables/primitives.rb +51 -0
- data/lib/iptables/tables.rb +851 -0
- data/test/common.rb +22 -0
- data/test/tc_all.rb +7 -0
- data/test/tc_comparison.rb +751 -0
- data/test/tc_configuration.rb +72 -0
- data/test/tc_expansions.rb +116 -0
- data/test/tc_primitives.rb +35 -0
- data/test/tc_tables.rb +652 -0
- metadata +94 -0
metadata
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: iptables-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kurt Yoder
|
8
|
+
- Vytis Valentinavičius
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-10-20 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: diff-lcs
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1'
|
28
|
+
description: This here should be a description
|
29
|
+
email:
|
30
|
+
- xytis2000 at gmail com
|
31
|
+
executables:
|
32
|
+
- check_firewall.rb
|
33
|
+
extensions: []
|
34
|
+
extra_rdoc_files: []
|
35
|
+
files:
|
36
|
+
- ".gitignore"
|
37
|
+
- CHANGELOG
|
38
|
+
- Gemfile
|
39
|
+
- Generate.md
|
40
|
+
- LICENSE
|
41
|
+
- README.md
|
42
|
+
- Rakefile
|
43
|
+
- bin/check_firewall.rb
|
44
|
+
- examples/policy/macros.json
|
45
|
+
- examples/policy/policy.json
|
46
|
+
- examples/policy/policy6.json
|
47
|
+
- examples/policy/primitives.json
|
48
|
+
- examples/policy/rules.json
|
49
|
+
- examples/policy/services.json
|
50
|
+
- lib/iptables.rb
|
51
|
+
- lib/iptables/configuration.rb
|
52
|
+
- lib/iptables/expansions.rb
|
53
|
+
- lib/iptables/logger.rb
|
54
|
+
- lib/iptables/primitives.rb
|
55
|
+
- lib/iptables/tables.rb
|
56
|
+
- test/common.rb
|
57
|
+
- test/tc_all.rb
|
58
|
+
- test/tc_comparison.rb
|
59
|
+
- test/tc_configuration.rb
|
60
|
+
- test/tc_expansions.rb
|
61
|
+
- test/tc_primitives.rb
|
62
|
+
- test/tc_tables.rb
|
63
|
+
homepage: http://github.com/kupishkis/iptables-ruby
|
64
|
+
licenses:
|
65
|
+
- GNU
|
66
|
+
metadata: {}
|
67
|
+
post_install_message:
|
68
|
+
rdoc_options: []
|
69
|
+
require_paths:
|
70
|
+
- lib
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
requirements: []
|
82
|
+
rubyforge_project:
|
83
|
+
rubygems_version: 2.2.2
|
84
|
+
signing_key:
|
85
|
+
specification_version: 4
|
86
|
+
summary: Generate and read iptables rules with Ruby
|
87
|
+
test_files:
|
88
|
+
- test/common.rb
|
89
|
+
- test/tc_all.rb
|
90
|
+
- test/tc_comparison.rb
|
91
|
+
- test/tc_configuration.rb
|
92
|
+
- test/tc_expansions.rb
|
93
|
+
- test/tc_primitives.rb
|
94
|
+
- test/tc_tables.rb
|