Re: Forbidding access in pf from subdomains

2006-07-10 Thread Siju George
On 7/6/06, Bharj, Gagan <[EMAIL PROTECTED]> wrote: Hello Folks, Our server is getting hammered on a daily basis by IPs trying to open an ssh session. Currently, I'm manually putting the subnets (in a pf table) that are repeatedly trying to get in. As you can see, this list will eventually get

Re: Forbidding access in pf from subdomains

2006-07-08 Thread Peter N. M. Hansteen
"Bharj, Gagan" <[EMAIL PROTECTED]> writes: > Our server is getting hammered on a daily basis by IPs trying to open an ssh > session. Currently, I'm manually putting the subnets (in a pf table) that are > repeatedly trying to get in. As you can see, this list will eventually get > very big and wi

Re: Forbidding access in pf from subdomains

2006-07-06 Thread Mike Piety
On Thu, 6 Jul 2006 10:46:43 -0500 Mike Piety <[EMAIL PROTECTED]> wrote: > On Thu, 6 Jul 2006 11:15:24 -0400 > "Peter Blair" <[EMAIL PROTECTED]> wrote: > > > Something like: > > > > pass in quick on $ext_if from { $friendly_networks } to any port ssh > > keep state block in on $ext_if from any to

Re: Forbidding access in pf from subdomains

2006-07-06 Thread Mike Piety
On Thu, 6 Jul 2006 11:15:24 -0400 "Peter Blair" <[EMAIL PROTECTED]> wrote: > Something like: > > pass in quick on $ext_if from { $friendly_networks } to any port ssh > keep state block in on $ext_if from any to any port ssh > > should work. You can place "$friendly_networks" into a table that >

Re: Forbidding access in pf from subdomains

2006-07-06 Thread Peter Blair
Sorry, I didn't fully comprehend you e-mail (that's what I get for reading my openbsd mail at work!) the first time around. Have you attempted to write a script that gets the network address for a host via `whois` and start expanding the "blacklist"? For instance, monitor your logs for repeated

Re: Forbidding access in pf from subdomains

2006-07-06 Thread Rogier Krieger
On 7/6/06, Bharj, Gagan <[EMAIL PROTECTED]> wrote: Our server is getting hammered on a daily basis by IPs trying to open an ssh session. The archives contain a myriad of options to mitigate the effects of brute force attacks, etc. This topic has been (repeatedly) beaten to death on this list, i

Re: Forbidding access in pf from subdomains

2006-07-06 Thread Peter Blair
Something like: pass in quick on $ext_if from { $friendly_networks } to any port ssh keep state block in on $ext_if from any to any port ssh should work. You can place "$friendly_networks" into a table that gets loaded from a file if the list is large. And/or update it via pftcl on the fly. O

Forbidding access in pf from subdomains

2006-07-06 Thread Bharj, Gagan
Hello Folks, Our server is getting hammered on a daily basis by IPs trying to open an ssh session. Currently, I'm manually putting the subnets (in a pf table) that are repeatedly trying to get in. As you can see, this list will eventually get very big and will be unmaintainable. Is there any wa