Networking Forums

Networking Forums > Computer Networking > Linux Networking > {squid]operation not permitted

Reply
Thread Tools Display Modes

{squid]operation not permitted

 
 
Vincent GAUVIN
Guest
Posts: n/a

 
      12-26-2003, 07:00 AM
Hello all,
I am running squid2.5.stable4 on a server (kernel 2.4.7.20. masquerade with
iptables).
As soon as one of my workstation try a web request i read that in my
cache.log file:

2003/12/24 13:19:24| comm_udp_sendto: FD 4, 212.27.32.176, port 53: (1)
Operation not permitted
2003/12/24 13:19:24| idnsSendQuery: FD 4: sendto: (1) Operation not
permitted

and obvioulsy it does not work:-((
let me tell you that i have no Local DNS running and that 212.27.32.175 is
one of my ISP's DNS.
If i stop running squid everything is ok.
Someone has a idea to help me?
thank's

--
Cordialement,
__________________________________________________ ___________________
Vincent GAUVIN - Formateur TICE
ACADÉMIE DE REIMS - Inspection Académique de la Marne
Circonscription de REIMS VI 13 rue Chanzy BP 2028 51070 REIMS Cédex
Tel : (33) 03.26.02.19.14
mailto : (E-Mail Removed)
http://ienreims6.dyndns.org/
Le site des TICE dans la Marne http://tic-et-tice.dyndns.org
__________________________________________________ ___________________


 
Reply With Quote
 
 
 
 
Wild Wizard
Guest
Posts: n/a

 
      12-26-2003, 07:45 AM
Vincent GAUVIN wrote:

> Hello all,
> I am running squid2.5.stable4 on a server (kernel 2.4.7.20. masquerade
> with iptables).


looks like your blocking your dns requests possibly more

> As soon as one of my workstation try a web request i read that in my
> cache.log file:
>
> 2003/12/24 13:19:24| comm_udp_sendto: FD 4, 212.27.32.176, port 53: (1)
> Operation not permitted


yep squid cant get to the dns server, an output rule has stopped it dead

> 2003/12/24 13:19:24| idnsSendQuery: FD 4: sendto: (1) Operation not
> permitted
>
> and obvioulsy it does not work:-((
> let me tell you that i have no Local DNS running and that 212.27.32.175 is
> one of my ISP's DNS.
> If i stop running squid everything is ok.


forwarding rules are differant to output and input rules in iptables, it
seems that you have forwarding working ok but you need to work on the
output and input rules to allow squid out of the firewall

> Someone has a idea to help me?
> thank's


you need to think like this

FORWARD - Works on your clients only
OUTPUT - Works on packets that originate from your firewall
INPUT - Works on packets that are destined for your firewall


see this link for a howto that explains the basics for you
http://www.netfilter.org/documentati...g-HOWTO-6.html

--
"You can bring any calculator you like to the midterm, as long as it
doesn't dim the lights when you turn it on."
-- Hepler, Systems Design 182

 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel upgrade -> no network access (ping: sendmsg: Operation not permitted) smythe70@hotmail.com Linux Networking 10 09-17-2006 01:55 AM
Ping 224.0.0.2 ping: sendmsg: Operation not permitted interessato@gmail.com Linux Networking 4 01-24-2006 02:47 AM
ping: sendto: Operation not permitted Davide Bianchi Linux Networking 1 03-14-2005 07:36 AM
Airsnort problem, wlanctl-ng : Operation not permitted hondya Linux Networking 0 12-25-2004 08:16 PM
Intermittent Squid problem, no responce from squid Graeme Hinchliffe Linux Networking 1 10-30-2003 11:51 AM



1 2 3 4 5 6 7 8 9 10 11