Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread syscon edm
Thanks Travis, I'm surprised; there is a lot I have to learn when it comes to IP matching to CIDR I was under the impression that just looking at the beginning of CIDR address and I would be able to find the match. How wrong I was :-/ Now, I can install * dev-lang/clojure on Linux How do I run

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread Travis Rodman
Hi Syscon, Okay, so I wrote up a little program to parse your .htaccess file, and this comes back as a match: 212.129.0.0/1 Here is the code (Clojure), so you can parse any future mystery rejections, if you like. --

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread Travis Rodman
Thanks, I got it... I will get back to you. Regards, Travis On Wed, Feb 10, 2021 at 06:02:45PM -0700, syscon edm wrote: > Thank you, I sent you the .htaccess file to the email address you provided. - To unsubscribe, e-mail: dev-

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread syscon edm
Thank you, I sent you the .htaccess file to the email address you provided. On Wed, Feb 10, 2021 at 5:33 PM Travis Rodman wrote: > > Hi syscon edm, > > So, I guess I am confused, first by mis-associating the CIDR values, and > about this statement: > "In .htaccess file I have a long list of IP-s

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread Travis Rodman
Hi syscon edm, So, I guess I am confused, first by mis-associating the CIDR values, and about this statement: "In .htaccess file I have a long list of IP-subnets (over 500-subnets) that I ban (mostly spammers)." So, I suppose I would need to see all the blocked subnets in your .htaccess to com

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread syscon edm
Thanks for the input Travis. Maybe I wasn't clear. I was blocking in .htaccess only: Require not ip 152.32.186.0/24 Require not ip 157.230.0.0/16 Require not ip 157.7.160.0/22 Require not ip 158.255.128.0/19 These CIDR: 157.60.0.0/16, 157.54.0.0/15, 157.56.0.0/14 (are not on my list in

Re: Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread Travis Rodman
given this... - apache log: 157.55.39.252 - - [09/Feb/2021:17:04:33 -0700] "GET /product_info.php HTTP/1.1" 403 199 The above user is from Microsoft Network CIDR: 157.60.0.0/16, 157.54.0.0/15, 157.56.0.0/14 that does not appear on

Apache 2.4 - deny access to IP's that are not ban

2021-02-10 Thread syscon edm
I run apache-2.4.46 on linux In .htaccess file I have a long list of IP-subnets (over 500-subnets) that I ban (mostly spammers). But I've notices that my .htaccess prevent access to customers from IP that are not on the ban list. In the .htaccess the IP's are listed in numerical order, eg.:

Re: [ASK] Using apache/cloudstack Github for submitting GSoC2021 ideas

2021-02-10 Thread Rohit Yadav
Thanks Juan, we'll use the COMDEV wiki. Regards. On Wed, Feb 3, 2021 at 8:19 AM Juan Pan wrote: > Hi Rohit Yadav, > > > I guess [1] will give your more guidance. > Generally speaking, project teams can use `ASF community JIRA` to track > GSoC 2021 ideas if your community does not use JIRA. > Af