Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
I have to download a zipped 1.4 GB file regularily via ftp. After exactly 3.600sAre you sure your client is working in passive mode? If not, try repeating the above ttl-session settings but for ftp-data port (port 20)
regards
/ Abel
The original download tool used is wget, which is embedded in an obfuscated perl script supplied by the database vendor. The data to be downloaded is a compressed database archive (*.gz). So that lead me to suspect that wget doesn' t " take" the client comforting packets and times out after 3.600s. I have not had the time to look into the source code yet.my bet: it' s not an issue related with your FortiGate. Look the arguments passed to wget in that script. ' wget' supports a timeout option, maybe you can find a switch " -T 3600 or --timeout=3600" in someplace within the script.
@abelio: > Are you sure your client is working in passive mode? How could I see that from the active session table? As I don' t have wget running here I cannot tell whether it issues a PASV command at the beginning. Hint?Not from session table, but sniffing your traffic with something like " diagnose sniffer packet any ' host <your ftp client IP> and host <NIH ftp IP> ' " Active FTP : command : client >1023 -> server 21 data : client >1023 <- server 20 Passive FTP : command : client >1023 -> server 21 data : client >1023 -> server >1023 (extracted from my favorite link ( http://www.slacksite.com/other/ftp.html))
regards
/ Abel
I have used wget quite a lot on linux boxes, and havent seen a problem before.
if the data is coming down, i wouldnt expect it to timeout though.
I would try it with a new rule for the ftp server (at the top of the rulebase) without IPS or any protection profile to see whether its the av causing it.
do you not see anything in the logs? within the session list as well, you should see the timer counting down until it disconnects, it might be the initial connection is timing out, and the data stream is a seperate datastream back.
If the file and URL is open to the public, then let us know the file and i could do a quick test from behind my unit and let you know.
| User | Count |
|---|---|
| 2750 | |
| 1419 | |
| 812 | |
| 742 | |
| 455 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.