feature idea: restrict port access by ASN not just CC

Post Reply
aww+
Junior Member
Posts: 105
Joined: 27 Aug 2012, 20:53

feature idea: restrict port access by ASN not just CC

Post by aww+ »

I was thinking how the limit port access by CC was useful but so large it might be more dangerous than it needs to be (on systems where port knocking just doesn't seem to work)

But maxmind also has an ASN database (GeoLite ASN) that is updated monthly, so should be accurate enough

So could it be possible to duplicate all the CC_ALLOW, etc. settings and have ASN_ALLOW ?
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: feature idea: restrict port access by ASN not just CC

Post by ForumAdmin »

This was implemented in csf v8.12 :)

"Additional Feature: Added support for listing ASNs in all Country Code (CC_*) options"
aww+
Junior Member
Posts: 105
Joined: 27 Aug 2012, 20:53

Re: feature idea: restrict port access by ASN not just CC

Post by aww+ »

Oh wow I completely missed that. Awesome, thanks.

The downside of simply copying a csf.conf from one install to another.
aww+
Junior Member
Posts: 105
Joined: 27 Aug 2012, 20:53

Re: feature idea: restrict port access by ASN not just CC

Post by aww+ »

ForumAdmin wrote:This was implemented in csf v8.12 :)

"Additional Feature: Added support for listing ASNs in all Country Code (CC_*) options"
actually, could you give an example of how this should be formatted?

is it simply

CC_ALLOW = "AS1234"

???
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: feature idea: restrict port access by ASN not just CC

Post by ForumAdmin »

That's exactly it.
Post Reply