mirror of
https://github.com/garabik/grc.git
synced 2024-11-10 21:26:52 +01:00
52 lines
822 B
Plaintext
52 lines
822 B
Plaintext
|
|
# ipv4
|
|
regexp=\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
|
|
colours=bold green
|
|
=======
|
|
# ipv6
|
|
regexp=\b[0-9a-fA-F]{1,4}(\:\:?[0-9a-fA-F]{1,4})+
|
|
colours=bold green
|
|
=======
|
|
# hwaddr
|
|
regexp=(\d|[a-f]){2}(\:(\d|[a-f]){2}){5}
|
|
colours=yellow
|
|
=======
|
|
# size
|
|
regexp=\d+(\.\d+)?\s(T|G|M|K|)i?B
|
|
colours=yellow
|
|
=======
|
|
# interface
|
|
regexp=^([a-z0-9.]{2,}\d*):?\s
|
|
colours=bold green
|
|
=======
|
|
#ip disc
|
|
regexp=(inet6?|netmask|broadcast)
|
|
colours=cyan
|
|
=======
|
|
#flags
|
|
regexp=(?<=[,<])[^,]+?(?=[,>])
|
|
colours=blue
|
|
=======
|
|
# mtu
|
|
regexp=(?i)mtu(\s|\:)\d+
|
|
colours=green
|
|
=======
|
|
#errors
|
|
regexp=errors(\s|\:)\d+
|
|
colours=red
|
|
=======
|
|
regexp=dropped(\s|\:)\d+
|
|
colours=white
|
|
=======
|
|
regexp=overruns(\s|\:)\d+
|
|
colours=green
|
|
=======
|
|
regexp=frame(\s|\:)\d+
|
|
colours=white
|
|
=======
|
|
regexp=carrier(\s|\:)\d+
|
|
colours=cyan
|
|
=======
|
|
regexp=collisions(\s|\:)\d+
|
|
colours=red
|