AW: [squid-users] allowing to intranet

2005-02-23 Thread Sebastian Pasch
 Hi,
Simply add an ACL for your Intranet before the other rules so that Access to
Intranet is allowed before you deny access to anything.

The rule for allowing Internet will work as it is.

Hope you understand me and this helps you

Best regards
Sebastian Pasch

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 23. Februar 2005 14:34
An: squid-users@squid-cache.org
Betreff: [squid-users] allowing to intranet 

hello,
please can you help me (write few lines of code?:-) below..

i have squid configured with ACL http access allow etc..
to some IPs - so some computers can go to internet and other to nowhere..

but i want now to have for all computers access to intranet (e.g. addressses
*.company-intra.net)
and for some to internet as it is now..

how to do it?

thank you
--


Richard Pokorný



AW: AW: [squid-users] Question according Calamaris 2.99[OT] [solved]

2004-12-03 Thread Sebastian Pasch
Thank you very much :-)

You are my god ;-)


Old message:
I have about 40 calamaris installations running, so it works ;-)!

Try the following file structure:

- /usr/local/calamaris/calamaris
- /usr/local/calamaris/calamaris.conf
- /usr/local/calamaris/calAxestype3d.pm
- /usr/local/calamaris/calAxestype.pm
- /usr/local/calamaris/calBars3d.pm

make sure the existance of
use lib '/usr/local/';
in /usr/local/calamaris/calamaris.

calamaris internally requires calamaris::calBars3d.
calBars3d.pm requires GD::Graph::bars;
So try to check
perl -c /usr/local/calamaris/calBars3d.pm If you get an error like 'Can't
locate GD/Graph/bars.pm', your GD::Graph has been installed in the wrong
location. You have to insure, that GD::Graph is installed, where perl is
looking for.

Check perl -V to see the @INC paths, where perl is looking for packages.
Compare it with the path, where GD::Graph is installed. Move the directory
GD to something like /usr/lib/perl5/site_perl/

Regards Michael


On Fri, 2004-12-03 at 12:05, Sebastian Pasch wrote:
> Thx, but
> 
> >calamaris::calBars3d is part of the calamaris distribution. This
> calamaris::calBars3d.pm needs GD::Graph. 
> >Have a look at the package, there should be inluded at least
> >- calamaris
> >- calamaris.conf
> >- calAxestype3d.pm
> >- calAxestype.pm
> >- calBars3d.pm
> 
> Check, I have all these files
> 
> >The cal*.pm files are needed in Graph mode. In calamaris there is a 
> >line
> like use lib '/usr/local'; You have to adapt this >path to the 
> location, where your calamaris::cal*.pm files reside.
> 
> Check, I found that line an already tried various things
> 
> - First I tried to copy the 3 .pm files to /usr/local
> - Second I trid to move complete calamaris folder to /usr/local
> - Third I tried to rename the calamaris folder to different names like 
> calamaris-3.0.xx, calamaris-2.99.xx
> 
> But I get the same error :-(
> 
> Thx anyway
> Sebastian Pasch
> 
> 
> >On Fri, 2004-12-03 at 11:12, Sebastian Pasch wrote:
> >> Hello,
> >> I tried to use the new calamaris version 2.99.xx which should have 
> >> the features of the upcoming 3.x
> >>  
> >> I get the following error:
> >>  
> >> /calamaris: Couldn't load package calamaris::calBars3d,
> >>   maybe it is not installed: Not a directory
> >> 
> >> This error comes up when I enable graph support. I installed GD and 
> >> NetAddr lib and tried different paths for the .pm files of 
> >> calamaris; but it continously seems to doesn´t find them.
> >>  
> >> Thx for any suggestions
> >> Sebastian Pasch




AW: [squid-users] Question according Calamaris 2.99[OT]

2004-12-03 Thread Sebastian Pasch
Thx, but

>calamaris::calBars3d is part of the calamaris distribution. This
calamaris::calBars3d.pm needs GD::Graph. 
>Have a look at the package, there should be inluded at least
>- calamaris
>- calamaris.conf
>- calAxestype3d.pm
>- calAxestype.pm
>- calBars3d.pm

Check, I have all these files

>The cal*.pm files are needed in Graph mode. In calamaris there is a line
like use lib '/usr/local'; You have to adapt this >path to the location,
where your calamaris::cal*.pm files reside.

Check, I found that line an already tried various things

- First I tried to copy the 3 .pm files to /usr/local
- Second I trid to move complete calamaris folder to /usr/local
- Third I tried to rename the calamaris folder to different names like
calamaris-3.0.xx, calamaris-2.99.xx

But I get the same error :-(

Thx anyway
Sebastian Pasch


>On Fri, 2004-12-03 at 11:12, Sebastian Pasch wrote:
>> Hello,
>> I tried to use the new calamaris version 2.99.xx which should have the 
>> features of the upcoming 3.x
>>  
>> I get the following error:
>>  
>> /calamaris: Couldn't load package calamaris::calBars3d,
>>   maybe it is not installed: Not a directory
>> 
>> This error comes up when I enable graph support. I installed GD and 
>> NetAddr lib and tried different paths for the .pm files of calamaris; 
>> but it continously seems to doesn´t find them.
>>  
>> Thx for any suggestions
>> Sebastian Pasch



[squid-users] Question according Calamaris 2.99[OT]

2004-12-03 Thread Sebastian Pasch
Hello,
I tried to use the new calamaris version 2.99.xx which should have the
features of the upcoming 3.x
 
I get the following error:
 
./calamaris: Couldn't load package calamaris::calBars3d,
  maybe it is not installed: Not a directory

This error comes up when I enable graph support. I installed GD and NetAddr
lib and tried different paths for the .pm files of calamaris; but it
continously seems to doesn´t find them.
 
Thx for any suggestions
Sebastian Pasch



AW: [squid-users] allow one user to acces one website and deny all others (websites)

2004-11-28 Thread Sebastian Pasch
hello,

You have to write two "acl" rules. One defining which guy allowed surfing
everywhere
And one for the website all users should be allowed visiting.
Then you should insert before "http_access deny all" another two rules.
First the website everyone should be able to visit and then denying the
other users from the created acl.

Best regards
Sebastian Pasch

I think all this is explained in some FAQs too.
  

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Sonntag, 28. November 2004 11:56
An: [EMAIL PROTECTED]
Betreff: [squid-users] allow one user to acces one website and deny all
others (websites)

hi

i need to do two level filtering

for one guy i need to allow him to go everywhere

three others persons can go on just one website and can t go anywhere else

how can i do that  with their proxy login?

thx



RE: AW: [squid-users] problems with one special ssl internet-site

2004-11-10 Thread Sebastian Pasch
Thanks for your testing. At least I know now, that I´m not too stupid to
type url in browser or configuring the general setting of squid-proxy.

It would be very nice if someone could make some suggestions how to fix
this problem.

Thanks and best regards from Germany
Sebastian Pasch


Original Message:


I tired it myself both surfing direct, and through four versions of
Squid
(2.5.STABLE3, STABLE4, STABLE6 and STABLE7) running on two different
OSes
(Linux 2.2, Linux 2.4 and FreeBSD 5.2.1).

Surfing direct, I was able to hit the site with three browsers (K-Meleon
0.8.2, Mozilla 1.7.3 and IE 5.5 all on Windows 2000 Pro).  Using the
proxy
(and K-Meleon), I experienced the same problems as the original poster
(the
browser just spins).  Letting the browser spin until the Squid timeout
is
reached results in a browser error (The connection to www.iisplus0.ch
has
terminated unexpectedly.  Some data may have been transferred.).  Using
a
parent, the access.log shows a TCP_MISS/000 in the child TCP_MISS/200 in
the
parent.  Using squid direct shows TCP_MISS/200.  The number following is
always 2535 (i.e. ...TCP_MISS/200 2535...).

The access.log entries only show up after hitting "stop" on the browser,
or
letting the connection timeout expire.  None of the proxies I tested
have
persistent connections enabled.

Don't know if this helps at all, but it does appear to be the
interaction
between that site and Squid.

Chris




[squid-users] problems with one special ssl internet-site

2004-11-09 Thread Sebastian Pasch
Hello all,
if this problem was discussed before, I´m very sorry, but I have nothing
found describing this special problem by google and other searches…

When I type the url in browser it is loading and loading and loading …
When I stop loading, the following message is written in access.log
“1100018007.822 419529 192.168.1.247 TCP_MISS/200 2535 CONNECT
www.iisplus0.ch:443 - DIRECT/212.59.165.35 - [User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; de-DE; rv:1.7) Gecko/20040803
Firefox/0.9.3\r\nProxy-Connection: keep-alive\r\nHost:
www.iisplus0.ch\r\n] []”

same problem when using different clients ...
I also tried with another squid proxy server I have access to and
experienced the same problem.

Perhaps it is because of the AES 256 bit key the site uses ?

Thank you for help and sorry for my bad English
Best regards from Germany
Sebastian Pasch