[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

[squid-users] Strange 503 on https sites

2011-06-27 Thread ICT Department
Hi, I am very confused now as to why 99% of https access has 503, even yahoo which is very fast.. This problem arises when my network is at peak use. This problem arises when I upgraded my connection from Copper connection 4mbps to Fiber optic 6mbps. Hope could someone point me to the

Re: [squid-users] Memory issues

2011-06-27 Thread Go Wow
Pls find below the link to excel file containing memory info from squid cache manager. https://www.yousendit.com/download/MFo3c0w5bTh0TW14dnc9PQ Now my squid.conf looks like this, is this okay? auth_param negotiate program /usr/lib/squid/squid_kerb_auth -d -s GSS_C_NO_NAME auth_param negotiate

Re: [squid-users] Squid SDK

2011-06-27 Thread Leonardo Rodrigues
squid is a completly open-source project, you can simply grab its entire source code and do whatever modifications you need to acchieve your goals. if you're using squid installed by your distro or download in some binary format and dont have its source, you can go to

Re: [squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
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. Can you get me name of those func instead of hack? --mohsen On Mon, 2011-06-27 at

RE: [squid-users] Reverse Proxy - order of cache_peer_access rules

2011-06-27 Thread Nick Duda
I'm no pro at squid-cache, but I do run a handful of reverse proxies doing things similar to what you want. You might want to consider using url_regex? Maybe something along the lines of this: http_port 80 accel defaultsite=www.example1.com vhost cache_peer 10.0.0.3 parent 80 0 no-query

Re: [squid-users] Squid SDK

2011-06-27 Thread Leonardo Rodrigues
i think you can analyse the squidclient command line utility, which is on squid source code, and find out how what the '-m PURGE' option calls ... that would be what you need. you can use that utility for PURGing URLs from command line, for example: squidclient -m PURGE

[squid-users] Why doesn't REQUEST_HEADER_ACCESS work properly with aclnames?

2011-06-27 Thread Sean Butler
Dear Jenny and Amos, I thought it worth mentioning that I too am having troubles with the ACL processing of the request_header_access User-Agent configuration directive.  It seems like Jenny's issue is the same one I am seeing. Using a src ACL in the directive doesn't work when you have a cache

Re: [squid-users] Squid DNS Issues

2011-06-27 Thread Amos Jeffries
On Mon, 27 Jun 2011 08:05:59 +0300, Richard Zulu wrote: Hey, I have squid version 3.1.9 working as a web forward proxy serving close to 500 users with over 54000 requests every other day. However, of recent, it is failing to communicate with the DNS Server completely which leads to few requests

Re: [squid-users] Squid SDK

2011-06-27 Thread Amos Jeffries
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. Can you get me

Re: [squid-users] Strange 503 on https sites

2011-06-27 Thread Amos Jeffries
On Mon, 27 Jun 2011 15:40:10 +0800, ICT Department wrote: Hi, I am very confused now as to why 99% of https access has 503, even yahoo which is very fast.. This problem arises when my network is at peak use. This problem arises when I upgraded my connection from Copper connection 4mbps

RE: [squid-users] Strange 503 on https sites [ipv6 edition]

2011-06-27 Thread Jenny Lee
NP: (rant warning) if you followed most any online tutorial for disabling IPv6 in RHEL. Most only go so far as to make the kernel drop IPv6 packets. Rather than actually turning the OFF kernel control which would inform the relevant software that it cannot use IPv6 ports. So it sends a

RE: [squid-users] Why doesn't REQUEST_HEADER_ACCESS work properly with aclnames?

2011-06-27 Thread Jenny Lee
Dear Jenny and Amos, I thought it worth mentioning that I too am having troubles with the ACL processing of the request_header_access User-Agent configuration directive. It seems like Jenny's issue is the same one I am seeing. Using a src ACL in the directive doesn't work when you have a

RE: [squid-users] Strange 503 on https sites [ipv6 edition]

2011-06-27 Thread Amos Jeffries
On Tue, 28 Jun 2011 00:20:04 +, Jenny Lee wrote: NP: (rant warning) if you followed most any online tutorial for disabling IPv6 in RHEL. Most only go so far as to make the kernel drop IPv6 packets. Rather than actually turning the OFF kernel control which would inform the relevant software

RE: [squid-users] Strange 503 on https sites [ipv6 edition]

2011-06-27 Thread Jenny Lee
Ouch! Add these at least: $IPT6 -A INPUT -j REJECT $IPT6 -A OUTPUT -j REJECT $IPT6 -A FORWARD -j REJECT $IPT6 -P INPUT DROP $IPT6 -P OUTPUT DROP $IPT6 -P FORWARD DROP fi And *that* is exactly the type of false disable I was talking about. Squid and other software will

Re: [squid-users] Squid SDK

2011-06-27 Thread Mohsen Pahlevanzadeh
Hi, 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. So, we decided code PURGE and insert that our program doesn't depend on other program same as squidclient. Yours, Mohsen On Tue, 2011-06-28 at 11:30 +1200, Amos Jeffries

Re: [squid-users] Memory issues

2011-06-27 Thread Go Wow
Any info for me regarding my last post? On 27 June 2011 13:02, Go Wow gow...@gmail.com wrote: Pls find below the link to excel file containing memory info from squid cache manager. https://www.yousendit.com/download/MFo3c0w5bTh0TW14dnc9PQ Now my squid.conf looks like this, is this okay?

Re: [squid-users] Memory issues

2011-06-27 Thread Amos Jeffries
On 27/06/11 21:02, Go Wow wrote: Pls find below the link to excel file containing memory info from squid cache manager. https://www.yousendit.com/download/MFo3c0w5bTh0TW14dnc9PQ Shows Squid using 4MB of RAM. Now my squid.conf looks like this, is this okay? Looks fine now. snip Are