[squid-users] UFS or ext4

2023-11-22 Thread Mohsen Pahlevanzadeh
Dear All, I need to install a www cache, However  I don't know use UFS or ext4? Please help me with fact. Best regards, ___ squid-users mailing list squid-users@lists.squid-cache.org

Re: [squid-users] Redirect traffic

2022-11-05 Thread Mohsen Pahlevanzadeh
On 11/4/22 12:00, Amos Jeffries wrote: On 4/11/2022 4:09 pm, Mohsen Pahlevanzadeh wrote: Dear all, I have a Linux Box and squid is installed in the given Linux box. The given linux box connected to Internet

[squid-users] Redirect traffic

2022-11-03 Thread Mohsen Pahlevanzadeh
Dear all, I have a Linux Box and squid is installed in the given Linux box. The given linux box connected to Internet. I want to connect to linux box via my browser and get Internet. How can I redirect traffic to my client machine? How can I configure my squid? Yours, Mohsen

[squid-users] How to conceal my country

2017-07-29 Thread Mohsen Pahlevanzadeh
Dear all, I have hub.docker.com , It blocked some country such as Iran, Then I have A server in CA->LA , my client is in Tehran, I have a Squid in A server, When I initialize http_proxy variable to my server , It can't handle & docker can know me, How can I

Re: [squid-users] i have problem for first request

2012-04-14 Thread Mohsen Pahlevanzadeh
-convenience and squid.conf is its defual.conf + cache_effectiv_user and group directives. On Thu, 2012-04-12 at 00:42 +1200, Amos Jeffries wrote: On 11/04/2012 11:26 p.m., Mohsen Pahlevanzadeh wrote: my config is : acl all src all acl manager proto cache_object acl localhost src 127.0.0.1/32 acl

[squid-users] i have problem for first request

2012-04-11 Thread Mohsen Pahlevanzadeh
Dear all, I run squid under debian, my when i restart squid or squid -z , my client has problem with first open facebook.com, it's very slow, but in the next request is not slow.slow means 45 minutes, i tested myself. but youtube or other site doesn't has problem in first request. Even facebook

Re: [squid-users] i have problem for first request

2012-04-11 Thread Mohsen Pahlevanzadeh
apache rep_header Server ^Apache broken_vary_encoding allow apache extension_methods REPORT MERGE MKACTIVITY CHECKOUT coredump_dir /var/spool/squid On Wed, 2012-04-11 at 14:02 +0430, Mohsen Pahlevanzadeh wrote: Dear all, I run squid under debian, my when i restart squid or squid -z , my client has

Re: [squid-users] invalid url in curl

2011-08-10 Thread Mohsen Pahlevanzadeh
On Wed, 2011-08-10 at 16:56 +1200, Amos Jeffries wrote: On Tue, 09 Aug 2011 19:57:47 +0430, Mohsen Pahlevanzadeh wrote: On Wed, 2011-08-10 at 01:20 +1200, Amos Jeffries wrote: On 10/08/11 00:31, Mohsen Pahlevanzadeh wrote: Dear all, I recall when use squidclient url and our url

[squid-users] sending file

2011-08-09 Thread Mohsen Pahlevanzadeh
Dear all, Suppose i save as vi browser a web page such as google.com, yahoo.com and blah blah.So,I want to sending a web page to squid and squid cache it, but i don't know sequence of files and http headers, What i do append to http for accepting from squid? --mohsen signature.asc Description:

[squid-users] invalid url in curl

2011-08-09 Thread Mohsen Pahlevanzadeh
Dear all, I recall when use squidclient url and our url is not valid, now i tested with telnet google, and save html file too google.html and changed a bit its header for cacheable: -- curl -H HTTP/1.1 200 OK -H Date: Tue, 09 Aug 2011 12:12:54 GMT -H Expires: Thu, 08 Sep 2011

Re: [squid-users] invalid url in curl

2011-08-09 Thread Mohsen Pahlevanzadeh
On Wed, 2011-08-10 at 01:20 +1200, Amos Jeffries wrote: On 10/08/11 00:31, Mohsen Pahlevanzadeh wrote: Dear all, I recall when use squidclient url and our url is not valid, now i tested with telnet google, and save html file too google.html and changed a bit its header for cacheable

[squid-users] dump from cache

2011-08-02 Thread Mohsen Pahlevanzadeh
Dear all, I'm using milestone 3.1.14, I need to dump cache and use it in the other squid, its not for sysadmin aspect, it's a test, when i use squid -z;squid, then i use 'squidclient http://google.com;',i see with cachemgr and it was chached.But didn't anything in /opt/squid/var/cache Question:

[squid-users] ICP or HTCP

2011-07-23 Thread Mohsen Pahlevanzadeh
Dear all, I need to run squid that never any responds.(such as MISS and so on.)I decides to use cache_peer, Of course , speed of between 2 machine is very critical for me.Because i have just 2 machine: ICP or HTCP? which has better efficiency? --mohsen signature.asc Description: This is a

[squid-users] RFC2616 and old http

2011-07-14 Thread Mohsen Pahlevanzadeh
Dear all, I read in RFC2616 the following context: When a directive appears without any 1#field-name parameter, the directive applies to the entire request or response. When such a directive appears with a 1#field-name parameter, it applies only to the named field or fields, and not to

[squid-users] no-cache and origin servers

2011-07-14 Thread Mohsen Pahlevanzadeh
Dear all, Suppose i have an origin server and squid, my origin server fill cache header and send squid-box, now if put no-cache squid does cache my page? It's very important that squid doesn't response.How do i implement it? Yours, Mohsen signature.asc Description: This is a digitally signed

[squid-users] insert into cache

2011-07-02 Thread Mohsen Pahlevanzadeh
Dear all, i have a squid server and separate server which has a million page from million URL,you know that i can insert page into cache via squidclient MYURL,but it uses GET http command and download page,now i have this page and just wanna insert into cache(already downloaded), do you have

RE: [squid-users] insert into cache

2011-07-02 Thread Mohsen Pahlevanzadeh
Why you question it? -mohsen On Sat, 2011-07-02 at 07:24 +, Jenny Lee wrote: Are you cloning interent for Iran? Jenny Dear all, i have a squid server and separate server which has a million page from million URL,you know that i can insert page into cache via squidclient

Re: [squid-users] insert into cache

2011-07-02 Thread Mohsen Pahlevanzadeh
I fill response.txt file with the following text: HTTP/1.1 200 OK Date: Mon, 23 May 2005 22:38:34 GMT Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux) Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT Etag: 3f80f-1b6-3e1cb03b Accept-Ranges: bytes Content-Length: 438 Connection: close Content-Type:

Re: [squid-users] insert into cache

2011-07-02 Thread Mohsen Pahlevanzadeh
, 2011-07-02 at 15:07 +0430, Mohsen Pahlevanzadeh wrote: I fill response.txt file with the following text: HTTP/1.1 200 OK Date: Mon, 23 May 2005 22:38:34 GMT Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux) Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT Etag: 3f80f-1b6-3e1cb03b Accept-Ranges: bytes

Re: [squid-users] Jobs

2011-06-29 Thread Mohsen Pahlevanzadeh
On Wed, 2011-06-29 at 02:32 +1200, Amos Jeffries wrote: On 29/06/11 01:37, Mohsen Pahlevanzadeh wrote: On Tue, 2011-06-28 at 06:01 -0700, John Doe wrote: From: Mohsen Pahlevanzadehmoh...@pahlevanzadeh.org We must write a program that along with normal tasks, it had do a variety of jobs

Re: [squid-users] Jobs

2011-06-29 Thread Mohsen Pahlevanzadeh
On Wed, 2011-06-29 at 21:04 +1200, Amos Jeffries wrote: On 29/06/11 19:28, Mohsen Pahlevanzadeh wrote: On Wed, 2011-06-29 at 02:32 +1200, Amos Jeffries wrote: On 29/06/11 01:37, Mohsen Pahlevanzadeh wrote: On Tue, 2011-06-28 at 06:01 -0700, John Doe wrote: From: Mohsen Pahlevanzadehmoh

[squid-users] ext4 vs reiserfs

2011-06-28 Thread Mohsen Pahlevanzadeh
Dear all, I don't know to use which ext4 stable or reiserFS for squid. Which has high performance? Yours, Mohsen signature.asc Description: This is a digitally signed message part

Re: [squid-users] Squid SDK

2011-06-28 Thread Mohsen Pahlevanzadeh
Dear Amos, I must a write a web appl thet it manages squid with many extra job. normal job: every work that squid can do. Variety of job: a range of task that my boss ordered. Yours, Mohsen On Tue, 2011-06-28 at 18:40 +1200, Amos Jeffries wrote: On 28/06/11 16:21, Mohsen Pahlevanzadeh wrote

Re: [squid-users] Jobs

2011-06-28 Thread Mohsen Pahlevanzadeh
On Tue, 2011-06-28 at 06:01 -0700, John Doe wrote: From: Mohsen Pahlevanzadeh moh...@pahlevanzadeh.org We must write a program that along with normal tasks, it had do a variety of jobs,But i need to PURGE and insert cache. I must a write a web appl thet it manages squid with many extra

[squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
Dear all, I know that squid doesn't release its SDK, but i need to its syscall.What i do? Do you know good way for using squid syscall? Yours, Mohsen signature.asc Description: This is a digitally signed message part

Re: [squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
source, you can go to www.squid-cache.org and download it ! Em 27/06/11 04:33, Mohsen Pahlevanzadeh escreveu: Dear all, I know that squid doesn't release its SDK, but i need to its syscall.What i do? Do you know good way for using squid syscall? signature.asc

Re: [squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
wrote: On Mon, 27 Jun 2011 17:12:32 +0430, Mohsen Pahlevanzadeh wrote: I know it, and compiled it, But can i get hook or i must hack it for a syscall? i need to on demand delete Object from cache same PURGE, But want to use it in my code. After it, I need to Push to cache in my code