Skip to main content
JNDias
Staff & Editor
Staff & Editor
November 26, 2024

Troubleshooting Tip: File Filter Block SMB/CIFS leading to Corrupted Transfers in Proxy-based policy

  • November 26, 2024
  • 0 replies
  • 1058 views
Description

 

This article describes how to resolve an issue that occurs when using File Filter with proxy-based policies to block specific file types (e.g., .bat and .cmd) via the SMB2 protocol in environments utilizing NetApp file shares or non-'Microsoft Windows' shares.

 

Scope

 

FortiGate and FortiProxy when using File Filter in proxy-based policies to block file types on SMB2/CIFS.

 

Solution

 

  • This issue has been addressed in v7.6.1 and v7.4.7.
  • For FortiProxy in v7.4.6 and v7.6.1.

 

When File Filter blocks the transfer of a file in environments using NetApp or non-Windows file shares, the file is replaced with a corrupted version filled with spaces. No error feedback is provided to the client, which can lead to data loss.

 

Key Behavior:

  • When a user transfers a file from a PC to a shared folder and the file is blocked by the File Filter, the file may appear on the server but with empty or corrupted content.
  • By contrast, this issue does not occur with Windows file shares, where the file transfer is correctly blocked, and the client receives appropriate feedback.

 

Related documents:

File Filter on Administration Guide

CIFS support on Administration Guide

Technical Tip: FortiGate Resource Lists

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!