LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2011, 10:01 AM   #1
jrytter
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
Allowing an IP range to by pass the max size limit for web request.


Hi,

I've been struggling with what should be an easy change on our Squid proxy.
Basically I'm attempting to allow the ranges:

IP range is:
209.197.0.0/19
Address: 209.197.0.0
Netmask: 255.255.224.0 = 19
&
69.16.128.0/18
Address: 69.16.128.0
Netmask: 255.255.192.0 = 18

I've added this to my config:
acl cscupdates src 209.197.0.1-209.197.31.254
acl cscupdates src 69.16.128.1-69.16.191.254
reply_body_max_size 0 allow cscupdate
s

Also added the ranges as 209.197.0.0/255.255.224.0 with no luck...

The IP that is being blocked still is 209.197.11.114, this falls within the range specified. If I use the lines in the same place in the config as above it works:
acl sitesizeallow dstdom_regex 209.197.11.114
reply_body_max_size 0 allow sitesizeallow


As the update server IP changes depending on the system I'm updating, I need to cover the range.
Can anyone shead any light on what I'm doing wrong here please??

Many thanks in advance,

James
 
Old 03-10-2011, 09:17 PM   #2
timetraveler
Member
 
Registered: Apr 2010
Posts: 243
Blog Entries: 2

Rep: Reputation: 31
You don't say which squid.
 
Old 03-11-2011, 03:25 AM   #3
jrytter
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Original Poster
Rep: Reputation: 0
version number

It's version 2. (Squid 2.6/Stable13)

Last edited by jrytter; 03-15-2011 at 06:50 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hda: max request size: 512KiB frenchn00b Linux - Newbie 1 06-21-2007 05:25 PM
Max Stack Size limit on Linux 2.4 rhegde Debian 0 08-08-2006 02:18 PM
Mnadrake 10.1 install prob (hdc: max request size 1024 KiB) docetes Linux - Newbie 3 08-06-2005 01:54 PM
Linux 2.6.4 Boot Failure : "hda: max request size" tmc Linux - General 2 07-07-2004 06:40 AM


All times are GMT -5. The time now is 04:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration