Community discussions

MikroTik App
 
Eduardo
newbie
Topic Author
Posts: 45
Joined: Thu Aug 18, 2016 12:20 pm

Meaning of firewall connection flags

Fri Sep 02, 2016 12:41 pm

I have two SIP devices connecting via their own VPN connection to my CRS125.

In IP/Firewall/Connection I can see them indeed connecting to my SIP server via UDP on port 5060.

However, one of them shows "SACF" flags, while the other one only shows "C".

I found that S = seen-reply, A = assured, C = confirmed and F = fasttrack

But what does this mean in beginners' terms?
And why would they both be different?

Thanks!
 
pe1chl
Forum Guru
Forum Guru
Posts: 10513
Joined: Mon Jun 08, 2015 12:09 pm

Re: Meaning of firewall connection flags

Sat Sep 03, 2016 11:55 am

These flags are set depending on the return traffic seen on the connection.
So when they don't get set, there is no reply seen.
(the different flags refer to different situations, e.g. a single UDP packet sent and received,
or a series of UDP exchanges that apparently is a session. these are used to vary the timeout
on the connection tracking entry)

Having more than one SIP device on the same router is always a little problematic.
The first thing I would try in this case: go to the IP->Firewall->Service Ports screen and disable
the entry for SIP. That is a "helper" that tries to be clever about your SIP traffic and usually
causes more trouble than doing good.
(however, this also depends on how your devices and exchanges are actually configured w.r.t. NAT)
 
Eduardo
newbie
Topic Author
Posts: 45
Joined: Thu Aug 18, 2016 12:20 pm

Re: Meaning of firewall connection flags

Sat Sep 03, 2016 11:34 pm

Wow, indeed, after disabling this SIP entry, both devices have SACF in the IP/Firewall/Connections!

Thanks!
 
pe1chl
Forum Guru
Forum Guru
Posts: 10513
Joined: Mon Jun 08, 2015 12:09 pm

Re: Meaning of firewall connection flags

Sun Sep 04, 2016 11:37 am

Ok but in that case you also need to check if the phones actually work.
(i.e. when you make or receive a call, there is audio in both directions)
 
Eduardo
newbie
Topic Author
Posts: 45
Joined: Thu Aug 18, 2016 12:20 pm

Re: Meaning of firewall connection flags

Thu Sep 08, 2016 11:05 pm

Audio works in both directions, thanks.

Who is online

Users browsing this forum: Bing [Bot], kaptan, mszru and 33 guests