mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Added L7 information in flow object adding
- flow.http() - flow.dns() - flow.ssh() - flow.tls_quic()
This commit is contained in:
parent
5c33f4ffcd
commit
1d8f07430a
3 changed files with 85 additions and 3 deletions
|
|
@ -33,8 +33,12 @@ function dump_flow()
|
|||
rsp.l7_proto = flow.l7_proto()
|
||||
rsp.l7_proto_name = flow.l7_proto_name()
|
||||
rsp.direction = flow.direction()
|
||||
|
||||
io.write("----------------------------\n")
|
||||
rsp.http = flow.http()
|
||||
rsp.dns = flow.dns()
|
||||
rsp.ssh = flow.ssh()
|
||||
rsp.tls = flow.tls()
|
||||
|
||||
io.write("----------------------------\n")
|
||||
tprint(rsp)
|
||||
end
|
||||
|
||||
|
|
@ -52,7 +56,7 @@ function trigger_dummy_alert()
|
|||
end
|
||||
|
||||
|
||||
-- dump_flow()
|
||||
-- dump_flow()
|
||||
|
||||
-- IMPORTANT: do not forget this return at the end of the script
|
||||
return(0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue