LinuxQuestions.org
Visit Jeremy's Blog.
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 02-04-2014, 07:06 AM   #1
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Rep: Reputation: 1
squid server


Hi

I have centos 5.6 with squid 2.6 installed , i want to block attachment in this squid server , how it is possible


Regards
Amar
 
Old 02-04-2014, 10:18 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,945

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by amartlk View Post
Hi
I have centos 5.6 with squid 2.6 installed , i want to block attachment in this squid server , how it is possible
It is possible when you read the Squid documentation, as you have been ASKED TO MANY TIMES.

You have been working with Squid for FOUR YEARS now, and have been asking questions like this. In fact, you asked THIS question before:
http://www.linuxquestions.org/questi...chment-890403/
http://www.linuxquestions.org/questi...chment-900546/

..and were given an answer. Did you not read/understand it? You have been pointed to the Squid documentation many times...have you not read/understood it?
 
Old 02-13-2014, 08:55 AM   #3
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
Hi

i tried request_body_max_size 10kb but it is not work , what is an issue
 
Old 02-13-2014, 10:27 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,945

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by amartlk View Post
Hi
i tried request_body_max_size 10kb but it is not work , what is an issue
STILL no idea, since you don't bother to provide ANY information, other than "it is not work".

You have asked before about blocking email attachments, and were SPECIFICALLY TOLD that squid doesn't do this. It still doesn't. What kind of 'attachments' are you talking about? Do you not understand the documentation you've been pointed to in the past?
 
Old 02-13-2014, 12:35 PM   #5
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,821

Rep: Reputation: 1347Reputation: 1347Reputation: 1347Reputation: 1347Reputation: 1347Reputation: 1347Reputation: 1347Reputation: 1347Reputation: 1347Reputation: 1347
Assuming we are talking about email traffic here: Squid has no way of knowing what that kind of traffic 'is.' Squid is a web proxy which excels at unencrypted web requests. There is no way, AFIK, to get squid to inspect mail traffic.

That being said, you can certainly shoehorn an smtp proxy in there with your CA cert. But, in most corporate environments this would take a team of lawyers to OK first.
 
Old 02-14-2014, 12:27 AM   #6
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
Hi guru

i said that after surfing i came to known that if we set request_body_max_size request_body_max_size 10kb then we cannot upload any file bigger than 10kb , but i tried this but it still not work
 
Old 02-14-2014, 10:36 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,945

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by amartlk View Post
Hi guru
i said that after surfing i came to known that if we set request_body_max_size request_body_max_size 10kb then we cannot upload any file bigger than 10kb , but i tried this but it still not work
And you STILL do not answer the question. You were asked "What kind of attachments are you talking about???" You also did not say anything about 'uploading' files, and now you have yet ANOTHER question that needs to be answered, which is "Uploading files to WHERE, and through what program??".

Repeating what you've already said tells us nothing new. Saying "still not work" tells us nothing new. Either provide details and answer the questions asked, or there isn't much point in posting.
 
Old 02-17-2014, 01:03 AM   #8
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
Hi

Guru i am trying to say that i want to block any files attached through any website i.e gmail,yahoo,facebook etc so that user cannot send any files outside
 
Old 02-17-2014, 11:33 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,945

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by amartlk View Post
Hi

Guru i am trying to say that i want to block any files attached through any website i.e gmail,yahoo,facebook etc so that user cannot send any files outside
Which is what we've asked you numerous times, and which WE HAVE ANSWERED NUMEROUS TIMES IN THE PAST
http://www.linuxquestions.org/questi...chment-900546/
http://www.linuxquestions.org/questi...chment-890403/

Again, you have been asking squid questions for FOUR YEARS now, and have asked this several times. It STILL CANNOT BE DONE. Either block the gmail/yahoo domains completely, or don't. That's it. We can't explain it any simpler than that. Have you not understood ANY of the squid documentation, or this answer as you've received before???
 
  


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
how to run Squid tranparent and web proxy squid in same server baskarang Linux - Server 3 09-10-2012 12:41 AM
Squid - Redirecting one url to another Squid Server tom@work Linux - Server 0 09-09-2010 05:56 PM
My squid server is running slow i have 40 fedora 11 in my squid proxy ashraflinux1@gmail.com Linux - Server 4 09-15-2009 01:17 AM
Problem with configuration of Squid server behind a squid ajitup Linux - Server 13 08-12-2009 11:55 PM
Squid: special configuration for remote Squid server hamish Linux - Software 0 12-06-2005 04:58 PM


All times are GMT -5. The time now is 04:28 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