Re: ineffective shorewall ban

Justin Pryzby <[email protected]> Tue, 14 Feb 2023 11:31:51 -0600
Newsgroups gmane.comp.security.shorewall
Message-ID <[email protected]>
On Tue, Feb 14, 2023 at 02:14:58PM +0100, Yassine Chaouche wrote:
> Le 2/13/23 à 3:16 PM, Simon Matter a écrit :
> > Hi Yassine,
> > Isn't it possible that all the requests you see are coming in over the
> > already established TCP connection? I guess only new connections will then
> > be blocked.

You could check if there's an active connection with netstat, or check
with tcpdump if there's new connections being created.

I suggest to use the conntrack tool to list active *or expected/related*
connections, and to terminate them.  It's a part of netfilter.

-- 
Justin