Commit d4c29ab7 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

crit: Add protocols decoding

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 56cd5670
...@@ -131,7 +131,10 @@ sk_maps = { ...@@ -131,7 +131,10 @@ sk_maps = {
17: 'PACKET' }, 17: 'PACKET' },
'type' : { 1: 'STREAM', 2: 'DGRAM' }, 'type' : { 1: 'STREAM', 2: 'DGRAM' },
'state' : { 1: 'ESTABLISHED', 7: 'CLOSE', 10: 'LISTEN' }, 'state' : { 1: 'ESTABLISHED', 7: 'CLOSE', 10: 'LISTEN' },
'proto' : { 6: 'TCP' }, 'proto' : { 0: 'IP',
6: 'TCP',
17: 'UDP',
136: 'UDPLITE' },
} }
gen_rmaps = { k: {v2:k2 for k2,v2 in v.items()} for k,v in gen_maps.items() } gen_rmaps = { k: {v2:k2 for k2,v2 in v.items()} for k,v in gen_maps.items() }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment