cisco_acl_intp 0.0.1
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 +17 -0
- data/.rspec +2 -0
- data/.rubocop.yml +13 -0
- data/.travis.yml +3 -0
- data/.yardopts +4 -0
- data/Gemfile +19 -0
- data/LICENSE.txt +22 -0
- data/README.md +132 -0
- data/Rakefile +78 -0
- data/acl_examples/err-acl.txt +49 -0
- data/acl_examples/named-ext-acl.txt +12 -0
- data/acl_examples/named-std-acl.txt +6 -0
- data/acl_examples/numd-acl.txt +21 -0
- data/cisco_acl_intp.gemspec +31 -0
- data/lib/cisco_acl_intp/ace.rb +432 -0
- data/lib/cisco_acl_intp/ace_ip.rb +136 -0
- data/lib/cisco_acl_intp/ace_other_qualifiers.rb +102 -0
- data/lib/cisco_acl_intp/ace_port.rb +146 -0
- data/lib/cisco_acl_intp/ace_proto.rb +319 -0
- data/lib/cisco_acl_intp/ace_srcdst.rb +114 -0
- data/lib/cisco_acl_intp/ace_tcp_flags.rb +65 -0
- data/lib/cisco_acl_intp/acl.rb +272 -0
- data/lib/cisco_acl_intp/acl_base.rb +111 -0
- data/lib/cisco_acl_intp/parser.rb +3509 -0
- data/lib/cisco_acl_intp/parser.ry +1397 -0
- data/lib/cisco_acl_intp/scanner.rb +176 -0
- data/lib/cisco_acl_intp/scanner_special_token_handler.rb +66 -0
- data/lib/cisco_acl_intp/version.rb +5 -0
- data/lib/cisco_acl_intp.rb +9 -0
- data/spec/cisco_acl_intp/ace_ip_spec.rb +111 -0
- data/spec/cisco_acl_intp/ace_other_qualifier_spec.rb +63 -0
- data/spec/cisco_acl_intp/ace_port_spec.rb +214 -0
- data/spec/cisco_acl_intp/ace_proto_spec.rb +200 -0
- data/spec/cisco_acl_intp/ace_spec.rb +605 -0
- data/spec/cisco_acl_intp/ace_srcdst_spec.rb +296 -0
- data/spec/cisco_acl_intp/ace_tcp_flags_spec.rb +38 -0
- data/spec/cisco_acl_intp/acl_spec.rb +523 -0
- data/spec/cisco_acl_intp/cisco_acl_intp_spec.rb +7 -0
- data/spec/cisco_acl_intp/parser_spec.rb +53 -0
- data/spec/cisco_acl_intp/scanner_spec.rb +122 -0
- data/spec/conf/extacl_objgrp_token_seq.yml +36 -0
- data/spec/conf/extacl_token_seq.yml +88 -0
- data/spec/conf/extended_acl.yml +226 -0
- data/spec/conf/scanner_spec_data.yml +120 -0
- data/spec/conf/single_tokens.yml +235 -0
- data/spec/conf/stdacl_token_seq.yml +8 -0
- data/spec/conf/tokens1.yml +158 -0
- data/spec/conf/tokens2.yml +206 -0
- data/spec/parser_fullfill_patterns.rb +145 -0
- data/spec/spec_helper.rb +54 -0
- data/tools/check_acl.rb +48 -0
- metadata +159 -0
metadata
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cisco_acl_intp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- stereocat
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-01-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: netaddr
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.5.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.5.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: term-ansicolor
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.2.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.2.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.3'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.3'
|
55
|
+
description: Cisco Access List Interpreter
|
56
|
+
email:
|
57
|
+
- stereocat@gmail.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- ".gitignore"
|
63
|
+
- ".rspec"
|
64
|
+
- ".rubocop.yml"
|
65
|
+
- ".travis.yml"
|
66
|
+
- ".yardopts"
|
67
|
+
- Gemfile
|
68
|
+
- LICENSE.txt
|
69
|
+
- README.md
|
70
|
+
- Rakefile
|
71
|
+
- acl_examples/err-acl.txt
|
72
|
+
- acl_examples/named-ext-acl.txt
|
73
|
+
- acl_examples/named-std-acl.txt
|
74
|
+
- acl_examples/numd-acl.txt
|
75
|
+
- cisco_acl_intp.gemspec
|
76
|
+
- lib/cisco_acl_intp.rb
|
77
|
+
- lib/cisco_acl_intp/ace.rb
|
78
|
+
- lib/cisco_acl_intp/ace_ip.rb
|
79
|
+
- lib/cisco_acl_intp/ace_other_qualifiers.rb
|
80
|
+
- lib/cisco_acl_intp/ace_port.rb
|
81
|
+
- lib/cisco_acl_intp/ace_proto.rb
|
82
|
+
- lib/cisco_acl_intp/ace_srcdst.rb
|
83
|
+
- lib/cisco_acl_intp/ace_tcp_flags.rb
|
84
|
+
- lib/cisco_acl_intp/acl.rb
|
85
|
+
- lib/cisco_acl_intp/acl_base.rb
|
86
|
+
- lib/cisco_acl_intp/parser.rb
|
87
|
+
- lib/cisco_acl_intp/parser.ry
|
88
|
+
- lib/cisco_acl_intp/scanner.rb
|
89
|
+
- lib/cisco_acl_intp/scanner_special_token_handler.rb
|
90
|
+
- lib/cisco_acl_intp/version.rb
|
91
|
+
- spec/cisco_acl_intp/ace_ip_spec.rb
|
92
|
+
- spec/cisco_acl_intp/ace_other_qualifier_spec.rb
|
93
|
+
- spec/cisco_acl_intp/ace_port_spec.rb
|
94
|
+
- spec/cisco_acl_intp/ace_proto_spec.rb
|
95
|
+
- spec/cisco_acl_intp/ace_spec.rb
|
96
|
+
- spec/cisco_acl_intp/ace_srcdst_spec.rb
|
97
|
+
- spec/cisco_acl_intp/ace_tcp_flags_spec.rb
|
98
|
+
- spec/cisco_acl_intp/acl_spec.rb
|
99
|
+
- spec/cisco_acl_intp/cisco_acl_intp_spec.rb
|
100
|
+
- spec/cisco_acl_intp/parser_spec.rb
|
101
|
+
- spec/cisco_acl_intp/scanner_spec.rb
|
102
|
+
- spec/conf/extacl_objgrp_token_seq.yml
|
103
|
+
- spec/conf/extacl_token_seq.yml
|
104
|
+
- spec/conf/extended_acl.yml
|
105
|
+
- spec/conf/scanner_spec_data.yml
|
106
|
+
- spec/conf/single_tokens.yml
|
107
|
+
- spec/conf/stdacl_token_seq.yml
|
108
|
+
- spec/conf/tokens1.yml
|
109
|
+
- spec/conf/tokens2.yml
|
110
|
+
- spec/parser_fullfill_patterns.rb
|
111
|
+
- spec/spec_helper.rb
|
112
|
+
- tools/check_acl.rb
|
113
|
+
homepage: ''
|
114
|
+
licenses:
|
115
|
+
- MIT
|
116
|
+
metadata: {}
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
require_paths:
|
120
|
+
- lib
|
121
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - ">="
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
requirements: []
|
132
|
+
rubyforge_project:
|
133
|
+
rubygems_version: 2.2.1
|
134
|
+
signing_key:
|
135
|
+
specification_version: 4
|
136
|
+
summary: Cisco Access List Interpreter
|
137
|
+
test_files:
|
138
|
+
- spec/cisco_acl_intp/ace_ip_spec.rb
|
139
|
+
- spec/cisco_acl_intp/ace_other_qualifier_spec.rb
|
140
|
+
- spec/cisco_acl_intp/ace_port_spec.rb
|
141
|
+
- spec/cisco_acl_intp/ace_proto_spec.rb
|
142
|
+
- spec/cisco_acl_intp/ace_spec.rb
|
143
|
+
- spec/cisco_acl_intp/ace_srcdst_spec.rb
|
144
|
+
- spec/cisco_acl_intp/ace_tcp_flags_spec.rb
|
145
|
+
- spec/cisco_acl_intp/acl_spec.rb
|
146
|
+
- spec/cisco_acl_intp/cisco_acl_intp_spec.rb
|
147
|
+
- spec/cisco_acl_intp/parser_spec.rb
|
148
|
+
- spec/cisco_acl_intp/scanner_spec.rb
|
149
|
+
- spec/conf/extacl_objgrp_token_seq.yml
|
150
|
+
- spec/conf/extacl_token_seq.yml
|
151
|
+
- spec/conf/extended_acl.yml
|
152
|
+
- spec/conf/scanner_spec_data.yml
|
153
|
+
- spec/conf/single_tokens.yml
|
154
|
+
- spec/conf/stdacl_token_seq.yml
|
155
|
+
- spec/conf/tokens1.yml
|
156
|
+
- spec/conf/tokens2.yml
|
157
|
+
- spec/parser_fullfill_patterns.rb
|
158
|
+
- spec/spec_helper.rb
|
159
|
+
has_rdoc:
|