Folks,
I’d like to detect Viber’s traffic on my Tik, to let it route different gateway (not the default).
I have studied this document: https://commons.erau.edu/cgi/viewcontent.cgi?article=1477&context=jdfsl, which helped a lot, and also this one (used ports for Viber Desktop): https://help.viber.com/en/article/opening-ports-for-viber-desktop
As of now, I’ve mangles for these ports:
UDP: 443,5242,4244,5243,7985,7987,9785
TCP: 5242,4244,5243,7985,7987,9785
Viber Desktop from PC works perfectly, all voice and video calls are going through these mangles.
However, my Android phone suffers from call creation. Chats are fine, but no voice or video can be established.
I tried adding some known Amazon AWS addresses (used by Viber) to my mangles:
52.0.252.0/22
But calls are always fail. If I mangle all packets initiating from my phone (src=myphone, connectionstate=new), Viber calls start working immediately.
I have seen some trials here which are older threads, and I would need a fresh one, as those are not working anymore. Maybe I’ll have to apply a Level7 rule?
Can I somehow detect Viber’s signature in Layer7?