[SR-Users] Forcing a TCP Connection Closed?
mark at darkorigins.com
Sun Oct 8 22:11:34 CEST 2017
Just working on some connections security filters on a Kamailio install. The security goes something like this;
In REQINT … if source_ip is not in customers IP white-list then just exit
This works fine for UDP where packets are just ignored if they don’t come from a trusted IP.
However on TCP this leads to the connection staying open until it either times out or the source disconnects. Which feels untidy.
Is there a way to say close the TCP connection from within the config script?
More information about the sr-users