Forwarded Conversation
Subject: Reject TCP SYN
------------------------
Hello all,
Is there any way of actually rejecting (RST) NEW tcp connection attempts, while allowing the ongoing ones to finish naturally?
I’m thinking maybe we can add this feature?
Regards,
David Villasmil
phone: +34669448337
Hello,
what about e.g. just using something like iptables, nftables etc..?
iptables -A INPUT -p tcp --syn --destination-port <port> -j REJECT --reject-with icmp-host-prohibited
Cheers,
Henning
Hey, Henning, yeah I thought about that, but thought that maybe there was a better way to do it via Kamailio
Thanks!
Regards,
David Villasmil
phone: +34669448337