2
0
mirror of https://github.com/garabik/grc.git synced 2024-10-28 17:41:01 +01:00
bash-color-grc/colourfiles/conf.traceroute

41 lines
533 B
Plaintext
Raw Normal View History

2015-01-25 18:36:02 +01:00
# hostname
regexp=\s\w+[\w\-\.]+\w+
colours=bold white
2015-01-25 18:36:02 +01:00
count=once
-
# ip number
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
colours=magenta
-
# ipv6 number
regexp=(([0-9a-fA-F]{1,4})?\:\:?[0-9a-fA-F]{1,4})+
colours=magenta
-
# time
regexp=\d+\.?\d*(?=\sms)
colours=green
-
# ms
regexp=\bms\b
colours=yellow
-
# DUP
regexp=\bDUP
colours=red
-
# !S, !A, !H (host unreachable), etc.
regexp=\s\!([HNPSFXVC]|\d+)
2015-01-25 18:36:02 +01:00
colours=red
-
# ttl=...!
regexp=ttl=\d+\!
colours=cyan
-
# *
regexp=\*
colours=red
-
# parenthesis
regexp=\(|\)
colours=yellow