Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2020 20:45:21 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        Andreas X <hamdi20193d@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Quickly ban an IP IPFW?
Message-ID:  <5E420731.8040803@gmail.com>
In-Reply-To: <CAEW8WPtX=vO91RgqNqp6dVs5-P2_D-k9WBOzOSSKfYGGwKm%2BGg@mail.gmail.com>
References:  <CAEW8WPtX=vO91RgqNqp6dVs5-P2_D-k9WBOzOSSKfYGGwKm%2BGg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas X wrote:
> I have IPFW enabled like follows:
> 
> firewall_enable="YES"
> firewall_quiet="YES"
> firewall_type="workstation"
> firewall_logdeny="NO"
> firewall_allowservices="any"
> firewall_myservices="53/tcp 53/udp 10025/tcp 10024/tcp 25/tcp 993/tcp
> 995/tcp 465/tcp 587/tcp 5665/tcp 80/tcp 443/tcp 2053/tcp 3306/tcp"
> 
> (No rules file, the ones above suits my needs perfectly)
> 
> How to quickly (and permanently) ban an IP using IPFW without having any
> log?
> 
> There's an IP address scanning almost all my services 24/7, would like to
> permanently ban.
> 
> Thanks.

There are a few ports that do this for you. Check out the port system.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E420731.8040803>