2
0
Fork 0
mirror of https://github.com/garabik/grc.git synced 2024-11-11 14:40:49 +01:00
bash-color-grc/conf.iptables

89 lines
1.5 KiB
Text
Raw Normal View History

2016-06-19 01:18:18 +02:00
# Chains Custom name
2016-05-14 07:25:47 +02:00
regexp=^Chain\s(\S+)\s\(.*$
colours=white, bold bright_blue
2016-06-19 01:18:18 +02:00
-
# Chains FILTER table
regexp=^Chain\s(INPUT|OUTPUT|FORWARD)\s
colours=unchanged, bold yellow
-
# Chains NAT|MANGLE table
regexp=^Chain\s(PREROUTING|POSTROUTING|INPUT|OUTPUT)\s
colours=unchanged, bold yellow
-
# 2row Title
regexp=(pkts|target).*
2016-05-14 07:25:47 +02:00
colours=bold black
2016-06-19 01:18:18 +02:00
-
# JUMP Destiny ----------------------------------------------------------------
2016-05-14 07:25:47 +02:00
regexp=ACCEPT
colours=bright_green
2016-06-19 01:18:18 +02:00
-
2016-05-14 07:25:47 +02:00
regexp=DROP
colours=bright_red
2016-06-19 01:18:18 +02:00
-
regexp=REJECT
colours=red
-
2016-05-14 07:25:47 +02:00
regexp=QUEUE
2016-06-19 01:18:18 +02:00
colours=on_red white
-
2016-05-14 07:25:47 +02:00
regexp=RETURN
2016-06-19 01:18:18 +02:00
colours=on_green white
-
2016-05-14 07:25:47 +02:00
regexp=MASQUERADE
colours=bright_magenta
2016-06-19 01:18:18 +02:00
-
regexp=(LOG|ULOG)
colours=bright_cyan
-
2016-05-14 07:25:47 +02:00
regexp=DNAT
colours=magenta
2016-06-19 01:18:18 +02:00
-
regexp=SNAT
colours=dark magenta
# ------------------------------------------------------------------------------
-
2016-05-14 07:25:47 +02:00
# tcp
regexp=\stcp\s
colours=bold cyan
2016-06-19 01:18:18 +02:00
-
2016-05-14 07:25:47 +02:00
# udp
regexp=\sudp\s
colours=bold magenta
2016-06-19 01:18:18 +02:00
-
2016-05-14 07:25:47 +02:00
# icmp
regexp=\sicmp\s
colours=cyan
2016-06-19 01:18:18 +02:00
-
2016-05-14 07:25:47 +02:00
# all
regexp=\sall\s
colours=red
2016-06-19 01:18:18 +02:00
-
2016-05-14 07:25:47 +02:00
# dpt
regexp=\sdpts?:([^\s]*)(\s|$)
colours=default,bold yellow
2016-06-19 01:18:18 +02:00
-
# Goto
regexp=\s(\[goto\])
colours=default,on_blue bold white
-
2016-05-14 07:25:47 +02:00
# masq ports
regexp=\smasq ports:\s(\d+)-?(\d+)?
colours=default,bold yellow,bold yellow
2016-06-19 01:18:18 +02:00
-
# ctstate
regexp=ctstate\s(\S+)
colours=default,blue
-
2016-05-14 07:25:47 +02:00
# IP
regexp=(!)?((?:\d{1,3}\.){3}(?:\d{1,3}))(?:\/|:)?(\d+)?
colours=default,red,bright_white,magenta
2016-06-19 01:18:18 +02:00
-
2016-05-14 07:25:47 +02:00
# anywhere
regexp=\s(anywhere|0.0.0.0/0)\s
colours=bright_black
2016-06-19 01:18:18 +02:00
-
2016-05-14 07:25:47 +02:00
# (Num references)
regexp=\((\d+) references\)
colours=default,bright_green