-
Notifications
You must be signed in to change notification settings - Fork 17
/
iptables.jsf
128 lines (102 loc) · 1.89 KB
/
iptables.jsf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# JOE syntax highlight file for ip(6)tables-save and -restore
=Idle
=Comment green
=Constant cyan
=Escape bold cyan
=Bad bold red
=Table bold
=Policy bold blue
=Option fg_310 # brown
=Module yellow
:line_start Idle
* rest noeat
"#" line_comment recolor=-1
"*" maybe_table buffer
":" default_policy recolor=-1
"C" maybe_commit buffer
"-" command
:rest Idle
* rest
"\n" line_start
:line_comment Comment
* line_comment
"\n" line_start
:maybe_table Idle
* bad noeat strings
"*filter" table_name
"*mangle" table_name
"*nat" table_name
"*raw" table_name
done
"a-z" maybe_table
:table_name Table
* bad noeat
"\n" line_start
:default_policy Policy
* default_policy
"\n" line_start
:maybe_commit Idle
* bad noeat strings
"COMMIT" commit
done
"A-Z" maybe_commit
:commit Table
* bad noeat
"\n" line_start
:command Idle
* bad noeat
"ADINX" chain_name_pre
:chain_name_pre Idle
* chain_name noeat
" " chain_name_pre
:chain_name Option
* chain_name
" " rule_spec noeat
"\n" line_start
:rule_spec Idle
* rule_option noeat
" " rule_spec
"\n" line_start
:rule_option Idle
* rule_option
" " rule_spec noeat
"\n" line_start
"-" rule_flag
:rule_flag Idle
* rule_option
"-" rule_flag_flag
"iojp" rule_iojp_pre
"sd" rule_sd_pre
"m" rule_m_pre
:rule_flag_flag Idle
* rule_flag_flag1 buffer
:rule_flag_flag1 Idle
* rule_option noeat strings
"sport" rule_sd_pre
"dport" rule_sd_pre
done
"a-z-_" rule_flag_flag1
:rule_iojp_pre Idle
* rule_iojp noeat
" " rule_iojp_pre
:rule_iojp Option
* rule_iojp
" " rule_option noeat
"\n" line_start
:rule_sd_pre Idle
* rule_sd noeat
" " rule_sd_pre
:rule_sd Constant
* rule_sd
" " rule_option noeat
"\n" line_start
:rule_m_pre Idle
* rule_m noeat
" " rule_m_pre
:rule_m Module
* rule_m
" " rule_option noeat
"\n" line_start
:bad Bad
* bad
"\n" line_start