Hello all,
we have two Security GW and One Management Server R81.10. All virtuallized. Recently I found that one GW doesn't send any logs, there is no any problem with second GW. The information I've got:
netstat -na | grep 257
tcp 0 0 0.0.0.0:257 0.0.0.0:* LISTEN
tcp 0 0 10.80.0.115:257 10.80.0.113:61789 ESTABLISHED
tcp 0 0 10.80.0.115:257 10.80.0.114:63790 ESTABLISHED
it takes longer time to see tcpdump output for problematic GW than for working GW (for working GW the output comes immediately)
tcpdump -i any host 10.80.0.114 and port 257 -nn
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on any, link-type LINUX_SLL (Linux cooked), capture size 262144 bytes
10:17:54.903439 IP 10.80.0.114.63790 > 10.80.0.115.257: Flags [P.], seq 3252758247:3252759157, ack 1283986478, win 40, options [nop,nop,TS val 3875119068 ecr 3877208555], length 910
10:17:54.903463 IP 10.80.0.115.257 > 10.80.0.114.63790: Flags [.], ack 910, win 174, options [nop,nop,TS val 3877227408 ecr 3875119068], length 0
^C
2 packets captured
2 packets received by filter
0 packets dropped by kernel
Management Server:
cpstat mg -f log_server
Log Receive Rate: 23
Log Receive Rate Peak: 211466
Log Receive Rate Last 10 Minutes: 28
Log Receive Rate Last Hour: 27
Log Server Connected Gateways
-------------------------------------------------------------------
|Name |State |Last Login Time |Log Receive Rate|
-------------------------------------------------------------------
|Local Clients|Connected|N/A | 0|
|----fw02 |Connected|Thu Feb 23 05:42:48 2023| 0|
|----fw01 |Connected|Tue Feb 22 14:45:11 2022| 22|
-------------------------------------------------------------------
Why Security Gateway 10.80.0.114 doesn't send any logs?
cpstat fw -f log_connection
Overall Status: 0
Overall Status Description: Security Gateway is reporting logs as defined
Local Logging Mode Description: Logs are written to log server
Local Logging Mode Status: 0
Local Logging Sending Rate: 0
Log Handling Rate: 0
Log Servers Connections
------------------------------------------------------
|IP |Status|Status Description |Sending Rate|
------------------------------------------------------
|10.80.0.115| 0|Log-Server Connected| 0|
------------------------------------------------------
Thank you!