Sponsored Content
Full Discussion: Squid proxy shell script
Top Forums Shell Programming and Scripting Squid proxy shell script Post 302913148 by Skrynesaver on Thursday 14th of August 2014 04:45:53 AM
Old 08-14-2014
We're going to need a lot more detail to provide a useful answer, Squid logging is almost infinitely configurable, it can log to a remote server, its own log files or a local logging daemon, you can set a rollover period on the log files (which may be what you're asking) in /etc/logrotate.d/squid.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

squid proxy and apache servers

hi. pardon my noob question id just like to have a quick answer. i am planning to install a jabber webclient and a jabber server in our apache server. my boss said this wouldnt work because squid filters port 5222 connections (jabber). i told him we can simply 'unfilter' the port then but he said... (0 Replies)
Discussion started by: marcpascual
0 Replies

2. IP Networking

Squid Proxy URL rewriting

I have an architecture as below <> <> There is a program in the AIX server which sends SMS to the internet, by sending HTTP request to the SMS processing server. Like, http://smsserver/mysms=test However the application does not have an option to specify where the Proxy server... (1 Reply)
Discussion started by: firdousamir
1 Replies

3. IP Networking

SQUID Transparent Proxy Server

hi guys! We are setting up Squid Server. we want the server to be transparent. But I don't know how will i be able to set the network up. is it possible to set the squid server in the same LAN with the Squid Client and still functions as a transparent server? if so, can anybody help me do it? ... (1 Reply)
Discussion started by: init6_
1 Replies

4. UNIX for Dummies Questions & Answers

newbie Help configuring Fedora as a proxy using SQUID

I am an intern at a company which requires me to configure Fedora 8 as a proxy server for the network. I am only supposed to test it and practice configuring it. Now, I installed fedora, and SQUID is running properly on it. Now, about the configuration, I know it has to be done by the file... (1 Reply)
Discussion started by: ELBestion
1 Replies

5. IP Networking

How to set up Squid Proxy as a web page

I have Squid set up, but when my friend wants to use it, he has to enter my IP and port in his browser settings every time. How can I make it so that he only has to go a webpage I create, and use the proxy from there instead of having to change his browser Network settings every single time? I also... (1 Reply)
Discussion started by: guitarscn
1 Replies

6. UNIX for Advanced & Expert Users

Setup a Reverse Proxy on Squid

Hi all, The scenario is: http://img834.imageshack.us/img834/7990/1234z.jpg - With: + 192.168.100.0/24 : internet link (simulation) + Multiple Websites are hosting in local. + Complete DNS configuration. + OS: CentOS 5 - Requirements: Configure Squid Proxy as... (0 Replies)
Discussion started by: kidzer0
0 Replies

7. IP Networking

SQUID Proxy server configuration

Can any one direct me to the resources where I can find in-depth instructions on Squid Proxy server and its configuration? Thanks in advance.:) (1 Reply)
Discussion started by: admin_xor
1 Replies

8. UNIX for Advanced & Expert Users

Squid Dynamic Proxy Server Configuration

Hello all, I am trying to configure squid proxy server for different organizations. These organizations will have different blocked ports, different acls, etc. But, I can use only one proxy server for this purpose. Thinking of making a shell script with iptables and squid. For an example: a... (1 Reply)
Discussion started by: admin_xor
1 Replies

9. IP Networking

Does Translated IP Matter For Proxy Server (SQUID)

I am using Squid to create a proxy server for framework related to an application. My users sit on a private network in 191.xx.xx.xx space and my proxy sits in a different private network in 188.xx.xx.xx space. There will be a NAT in place to allow bidirectional communications but is there an... (5 Replies)
Discussion started by: BobSpero
5 Replies

10. Linux

Squid using 2 Ethernet in Proxy System

Hi All Im using squid Proxy in centos Squid version = squid.x86_64 7:3.1.10-20.el6_5 CentOS release 6.5 (Final) Router IP = 192.168.1.1 My proxy System have 2 Ethernet port eth0 eth1 Using IP address for eth0 = 192.168.1.15/24 using IP address for eth1 = 192.168.1.16/24 Default... (1 Reply)
Discussion started by: babinlonston
1 Replies
OCF_HEARTBEAT_SQUID(7)						OCF resource agents					    OCF_HEARTBEAT_SQUID(7)

NAME
ocf_heartbeat_Squid - Manages a Squid proxy server instance SYNOPSIS
Squid [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
The resource agent of Squid. This manages a Squid instance as an HA resource. SUPPORTED PARAMETERS
squid_exe This is a required parameter. This parameter specifies squid's executable file. (required, string, no default) squid_conf This is a required parameter. This parameter specifies a configuration file for a squid instance managed by this RA. (unique, required, string, no default) squid_pidfile This is a required parameter. This parameter specifies a process id file for a squid instance managed by this RA. (unique, required, string, no default) squid_port This is a required parameter. This parameter specifies a port number for a squid instance managed by this RA. If plural ports are used, you must specifiy the only one of them. (unique, required, integer, no default) squid_stop_timeout On stop, a squid shutdown is invoked first. If the resource doesn't stop within this timeout, we resort to stopping processes by sending signals and finally KILLing them. (optional, integer, default 10) debug_mode This is an optional parameter. This RA runs in debug mode when this parameter includes 'x' or 'v'. If 'x' is included, both of STDOUT and STDERR redirect to the logfile specified by "debug_log", and then the builtin shell option 'x' is turned on. It is similar about 'v'. (optional, string, no default) debug_log This is an optional and omittable parameter. This parameter specifies a destination file for debug logs and works only if this RA run in debug mode. Refer to "debug_mode" about debug mode. If no value is given but it's requied, it's made by the following rules: "/var/log/" as a directory part, the basename of the configuration file given by "syslog_ng_conf" as a basename part, ".log" as a suffix. (optional, string, no default) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 60s. stop Stops the resource. Suggested minimum timeout: 120s. status Performs a status check. Suggested minimum timeout: 60. monitor Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a Squid resource using the crm(8) shell: primitive p_Squid ocf:heartbeat:Squid params squid_exe=string squid_conf=string squid_pidfile=string squid_port=integer op monitor depth="0" timeout="30s" interval="10s" SEE ALSO
http://www.linux-ha.org/wiki/Squid_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 06/09/2014 OCF_HEARTBEAT_SQUID(7)
All times are GMT -4. The time now is 05:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy