Re: [squid-users] squid upgrade issue and tunnelled ssh connections

2014-01-11 Thread Eliezer Croitoru
Hey Simon, The above is Debian\Ubuntu version of nc.. It seems like a regular netcat to me: $ apt-cache showsrc netcat Package: netcat Binary: netcat, netcat-traditional Version: 1.10-40 Priority: optional Section: universe/net Maintainer: Ruben Molina Build-Depends: quilt, debhelper (>= 9) Arch

Re: [squid-users] Re: squidclient PURGE is not working

2014-01-11 Thread Hussam Al-Tayeb
On Sunday 12 January 2014 14:30:35 Amos Jeffries wrote: > On 12/01/2014 6:42 a.m., Hussam Al-Tayeb wrote: > > On Saturday 11 January 2014 19:12:25 you wrote: > >> This is what I tried: squidclient PURGE -m > >> http://i.imgur.com/OtvOiYIb.jpg Sending HTTP request ... done. > >> > >> relevant squid

Re: [squid-users] Re: squidclient PURGE is not working

2014-01-11 Thread Amos Jeffries
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/01/2014 6:42 a.m., Hussam Al-Tayeb wrote: > On Saturday 11 January 2014 19:12:25 you wrote: >> This is what I tried: squidclient PURGE -m >> http://i.imgur.com/OtvOiYIb.jpg Sending HTTP request ... done. >> >> relevant squid.conf entry >> >> ac

Re: [squid-users] squid upgrade issue and tunnelled ssh connections

2014-01-11 Thread Simon Beale
On 11 Jan 2014, at 18:48, Eliezer Croitoru wrote: > So the issue is: > # nc -v -x192.168.10.1:3128 -Xconnect 213.151.33.10 22 > nc: Proxy error: "HTTP/1.1 403 Forbidden" > # nc -v -x192.168.10.1:3128 -Xconnect 213.151.33.10 22 > nc: Proxy error: "HTTP/1.1 200 Connection established" > > So as fa

Re: [squid-users] possible typo in source code

2014-01-11 Thread Hussam Al-Tayeb
On Saturday 11 January 2014 22:34:06 Eliezer Croitoru wrote: > What line? > What version of squid? > > Eliezer > > On 11/01/14 22:05, Hussam Al-Tayeb wrote: > > in compat/os/hpux.h > > > > #ifndef SQUID_OS_HPUX_H > > #define SQUID_OS_PHUX_H > > > > should be > > > > #ifndef SQUID_OS_HPUX_H > >

Re: [squid-users] possible typo in source code

2014-01-11 Thread Eliezer Croitoru
What line? What version of squid? Eliezer On 11/01/14 22:05, Hussam Al-Tayeb wrote: in compat/os/hpux.h #ifndef SQUID_OS_HPUX_H #define SQUID_OS_PHUX_H should be #ifndef SQUID_OS_HPUX_H #define SQUID_OS_HPUX_H ? (change HPUX to HPUX)

[squid-users] possible typo in source code

2014-01-11 Thread Hussam Al-Tayeb
in compat/os/hpux.h #ifndef SQUID_OS_HPUX_H #define SQUID_OS_PHUX_H should be #ifndef SQUID_OS_HPUX_H #define SQUID_OS_HPUX_H ? (change HPUX to HPUX) signature.asc Description: This is a digitally signed message part.

Re: [squid-users] squidclient PURGE is not working

2014-01-11 Thread Eliezer Croitoru
On 11/01/14 21:40, Hussam Al-Tayeb wrote: 3.4.2 but changing from http_access allow PURGE localhost hussam to http_access allow PURGE localhost http_access allow PURGE hussam somehow fixed it. Great! Thanks, Eliezer

Re: [squid-users] squidclient PURGE is not working

2014-01-11 Thread Hussam Al-Tayeb
On Saturday 11 January 2014 21:36:36 Eliezer Croitoru wrote: > Hey Hussam, > > I want to make sure again. > What version of squid is it? > > Did you tried to strictly re-validate the object before puring it? > > Eliezer > 3.4.2 but changing from http_access allow PURGE localhost hussam to

Re: [squid-users] squidclient PURGE is not working

2014-01-11 Thread Eliezer Croitoru
Hey Hussam, I want to make sure again. What version of squid is it? Did you tried to strictly re-validate the object before puring it? Eliezer On 11/01/14 19:12, Hussam Al-Tayeb wrote: This is what I tried: squidclient PURGE -mhttp://i.imgur.com/OtvOiYIb.jpg Sending HTTP request ... done. re

Re: [squid-users] squid upgrade issue and tunnelled ssh connections

2014-01-11 Thread Eliezer Croitoru
So the issue is: # nc -v -x192.168.10.1:3128 -Xconnect 213.151.33.10 22 nc: Proxy error: "HTTP/1.1 403 Forbidden" # nc -v -x192.168.10.1:3128 -Xconnect 213.151.33.10 22 nc: Proxy error: "HTTP/1.1 200 Connection established" So as far as I understand the nc tool is compatible with 1.0 while not b

[squid-users] warning "This cache hit is still fresh and more than 1 day old"

2014-01-11 Thread Hussam Al-Tayeb
sometimes wget something that is already cached gets a warning "This cache hit is still fresh and more than 1 day old". What causes this? Also a while ago, I complained about unValidated objects in cache.conf The above warning seems to be the reason behind those unvalidated objects. For example

[squid-users] Re: squidclient PURGE is not working

2014-01-11 Thread Hussam Al-Tayeb
On Saturday 11 January 2014 19:12:25 you wrote: > This is what I tried: > squidclient PURGE -m http://i.imgur.com/OtvOiYIb.jpg > Sending HTTP request ... done. > > relevant squid.conf entry > > acl PURGE method PURGE > http_access allow PURGE localhost hussam > http_access deny PURGE > > > The

[squid-users] squidclient PURGE is not working

2014-01-11 Thread Hussam Al-Tayeb
This is what I tried: squidclient PURGE -m http://i.imgur.com/OtvOiYIb.jpg Sending HTTP request ... done. relevant squid.conf entry acl PURGE method PURGE http_access allow PURGE localhost hussam http_access deny PURGE The file is not purged. Any ideas? signature.asc Description: This is a dig

Re: [squid-users] squid upgrade issue and tunnelled ssh connections

2014-01-11 Thread Simon Beale
On 11 Jan 2014, at 02:54, Amos Jeffries wrote: > On 11/01/2014 6:45 a.m., Simon Beale wrote: >> Hi >> >> I'm trying to upgrade our squid proxies from 3.1.19 to 3.4.2, and have hit >> a problem where I can no longer proxy ssh/sftp connections through after >> the upgrade. >> >> For testing, I'v

Re: [squid-users] squid upgrade issue and tunnelled ssh connections

2014-01-11 Thread Simon Beale
Heya Squid Cache: Version 3.4.2 configure options: '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/shar