mirror of https://github.com/OISF/suricata
smb: fix 'dangling' files in lossy sessions
In case of lossy connections the SMB state would properly clean up transactions, including file transactions. However for files the state was never set to 'truncated', leading to files to stay 'active'. This would lead these files staying in the SMB's state. In long running sessions with lots of files this would lead to performance and memory use issues. This patch cleans truncates the file that was being transmitted when a file transaction is being closed.pull/5138/head
parent
25f2efe977
commit
65e9a7c31c
Loading…
Reference in New Issue