Is there a way to deny large file transfers for common TCP protocols (SMB, NFS, FTP, SMTP, RDP)? Say for files of size 10MB, or 100MB?
I know this is a very general question, but is there a way to stop file transfers once a certain threshold is hit? I have configured traffic policing, but I am getting very inconsistent results using:
police output 8000 conform-action transmit exceed-action drop.
Sometimes it seems to work, but usually it blocks everything, or nothing (using 8000 or 9000).
Thank you.