jesse
April 4, 2007, 2:17pm
1
Hi,
How to determine the number of concurrent connections on RouterOS with 256MB or 512MB Memory?
[admin@MikroTik] ip firewall connection tracking> print
enabled: yes
tcp-syn-sent-timeout: 5s
tcp-syn-received-timeout: 5s
tcp-established-timeout: 1d
tcp-fin-wait-timeout: 10s
tcp-close-wait-timeout: 10s
tcp-last-ack-timeout: 10s
tcp-time-wait-timeout: 10s
tcp-close-timeout: 10s
udp-timeout: 10s
udp-stream-timeout: 3m
icmp-timeout: 10s
generic-timeout: 10m
tcp-syncookie: no
max-entries: 550656
total-entries: 8346
What is max-entries , total-entries ?
If I am not mistaken, using winbox will show you the information you are looking for.
jesse
April 6, 2007, 12:58am
3
[admin@MikroTik] > ip firewall connection print count-only
2049
[admin@MikroTik] > :put [/ip firewall connection tracking get total-entries]
6321
What is the main difference between “:put [/ip firewall connection tracking get total-entries]” and “/ip firewall connection print count-only” ?
A related question: Is the 2049 some maximum limit? I get exactly the same number on my unit, and my stats show that it has never exceeded that value…
Yes, Winbox will show you the actual list of the connection tracking entries,
ip firewall connection print count-only
stands for the maximum number of connections that you can print on the screen.
:put [/ip firewall connection tracking get total-entries]
to get the total number of the connection tracking entries.