mirror of
https://github.com/garabik/grc.git
synced 2024-09-18 17:31:29 +02:00
52 lines
820 B
Plaintext
52 lines
820 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-z]{3,}\d*)|lo)\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
|