Good day.
Is there a way for logging to happen at session start? We notice that when we do an FTP, until we close the session, nothing appears in the log.
Thanks.
JM
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hi,
Yes,
This can be enabled on the specific firewall policy
config firewall policy
edit <id>
set logtraffic-start enable
end
This will generate a log message , when the session is started and also a log message after the session is closed.
Regards,
Pradhumna chandra
Hi,
Yes,
This can be enabled on the specific firewall policy
config firewall policy
edit <id>
set logtraffic-start enable
end
This will generate a log message , when the session is started and also a log message after the session is closed.
Regards,
Pradhumna chandra
Many thanks. It does work and I did some tests like establish a FTP session and download some files but nothing is log during the session. When I close the ftp session, I get a log but the bytes send/receive does not match the transfer I did.
How do I get the session log properly?
Thanks,
JM
Hi,
Thanks for your update.
If your device has NP (Network processor) after the connection is setup the traffic gets offloaded to Network processor, due to which we will not be able to see the complete traffic details in the log.
We can disable this option on the specific firewall policy
config firewall policy
edit <id>
set auto-asic-offload disable
end
You can also refer this KB for more information regarding the same
http://kb.fortinet.com/kb...c&externalId=13851
Regards,
Pradhumna chandra
I would suggest not doing that, you will not offload this to traffic and will drive the cpu higher . Is there any reason why you need ongoing active/realtime sessions information?
As explained earlier the traffic is offloaded, so you can't really gain ongoing session statistics until the session is closed.
PCNSE
NSE
StrongSwan
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1714 | |
1093 | |
752 | |
447 | |
232 |
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 2024 Fortinet, Inc. All Rights Reserved.