the customer would want to have a global and complete view about the network flows managed by a SRX firewall. to do that, I thought to get the sessions table periodically for a long period of time, for example one month, and then provide to him a good excel document with all sessions (source IP, destination IP, protocol and port) except the duplicates of course.
If I use the "show security flow session node xx " command, the output doesn't finish, there are too many connections. the "show security flow session node xx summary" command, tell me that there is around 68.000 connections in use!
is there a way to get the session table of this firewall quickly without using the "security flow session" command and without forcing the CPU? the customer manage each firewall through JunOS SPACE. can SPACE help me to reach my goal?
let me know. thanks 😉
Try dumping the session table output locally using below command:-
show security flow session | save /var/tmp/session-dump-1.txt
I tried to follow your tip, but unfortunately it didn't solve the issue. the SRX firewall can't write the sessions in the document quickly and when he writes, there is an high CPU utilization.
I'm studing the widgets available in JunOS SPACE but unfortunately I have not the privileges to see the sessions information. I must talk with the customer about this.
any other alternatives to get the sessions table quickly? about this point, chekpoint is very quikly than juniper.
Have you checked on-box reporting feature on SRX ? check the below link for more details.
check if your platform/running Junos supports this nice feature, it also depends on qty of logs generated due to new sessions, so database table rotation is used to replace the oldest logs when the maximum record number has been reached, the limit is device specific.
Junos Space -SD is one of coolest stuffs that juniper built . You can check the real time logs of your SRX in JSpace.
Esp if you have IPS/AppSecure/UTM..report dashboard is awesome.
You can event enable the Application Volume tracking to also monitor most common applications they'r'e using.
For more detailed info... > https://www.juniper.net/documentation/en_US/junos-space16.1/topics/concept/junos-space-overview-dashboard.html
Hope this helps.