01-10-2010
Need help with a shell script:Config Transparent Proxy using Shell
I want to config Transparent Proxy using Shell Script.
I have more questions<exercise of me
>:
+ Check that the squid is installed or not install and version is installed
+Allows users to choose to run a transparent proxy or not
+Perform configuration and turn on service in accordance with the requirements of users and the correct version of the squid proxy
+Print out information about user options and configuration parameters corresponding
Are u help me?
Thanks
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi!
My situation:
I have an OpenBSD firewall/proxy (192.168.0.1), running IPF/IPNAT w/ Squid as transparent proxy. This machine is configured to be gateway to the network.
This works great, all the clients WWW-requests on the internal network are rerouted to the proxyport by this... (0 Replies)
Discussion started by: indo1144
0 Replies
2. IP Networking
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
3. Shell Programming and Scripting
hi , i have problem with writing script shell to create proxy grid like this:
grid-proxy-init -cert cert.pem -key key.pem
the server will prompt me to enter passphrase(similar to password) in return. the problem is that i don't know how to respond to that request, i try writing script like... (1 Reply)
Discussion started by: vitid
1 Replies
4. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
5. IP Networking
All traffic on the LAN is routed through a single machine and filtered using iptables. I'd like to redirect this traffic to a transparent proxy running on the same machine that will rewrite the URL if it matches a specified regex, in which case the user will be redirected to a local server. In... (0 Replies)
Discussion started by: crottyan
0 Replies
6. Shell Programming and Scripting
i need squid proxy log file daily auto generate by shell script (1 Reply)
Discussion started by: sanjeetkumar086
1 Replies
7. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
8. Shell Programming and Scripting
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
9. OS X (Apple)
Well after the transparent QuickTime Player means of capture for OSX 10.7.x became broken in at least Yosemite I decided to persevere with a version of command line capture for OSX 10.12.x.
A derivative of this DEMO is now inside AudioScope.sh to give my MBP and iMac a means of capturing an... (3 Replies)
Discussion started by: wisecracker
3 Replies
10. UNIX for Advanced & Expert Users
Hello,
We are migrating our gateways from CentOS 6 to CentOS 7 and for setting up a transparent proxy using squid and Firewalld i am using below configuration.
#Firewalld configurations
firewall-cmd --permanent --zone=public --add-forward-port=port=80:proto=tcp:toport=3128:toaddr=LAN_IP... (4 Replies)
Discussion started by: sunnysthakur
4 Replies
LEARN ABOUT CENTOS
basic_radius_auth
basic_radius_auth(8) System Manager's Manual basic_radius_auth(8)
NAME
basic_radius_auth - Squid RADIUS authentication helper
SYNOPSIS
basic_radius_auth -f config file
basic_radius_auth -h server name port ] [-i identifier ] -w secret [-t timeout ]
DESCRIPTION
basic_radius_auth allows Squid to connect to a RADIUS server to validate the user name and password of Basic HTTP authentication.
OPTIONS
-f configfile
Specifies the path to a configuration file. See the CONFIGURATION section for details on the file content.
-h server Alternative method of specifying the server to connect to
-p port Specify another server port where the RADIUS server listens for requests if different from the default RADIUS port. Normally
not specified.
-i identifier
Unique identifier identifying this Squid proxy to the RADIUS server. If not specified the IP address is used to identify the
proxy.
-w secret Alternative method of specifying the shared secret. Using the -f option with a configuration file is generally more secure and
recommended.
-t timeout RADIUS request timeout. Default is 10 seconds.
CONFIGURATION
The configuration specifies how the helper connects to RADIUS. The file contains a list of directives (one per line). Lines beginning with
a # are ignored.
server radiusserver
specifies the name or address of the RADIUS server to connect to.
secret somesecretstring
specifies the shared RADIUS secret.
identifier nameofserver
specifies what name the proxy should use to identify itself to the RADIUS server. This directive is optional.
port portnumber
Specifies the port number or service name where the helper should connect.
timeout seconds
Specifies the RADIUS request timeout.
AUTHOR
This program is written by Marc van Selm <selm@cistron.nl> Henrik Nordstrom <hno@squid-cache.org>
With contributions from many others.
This manual was written by Henrik Nordstrom <hno@squid-cache.org>
COPYRIGHT
This program and documentation is copyright to the authors named above.
Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+).
QUESTIONS
Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@squid-cache.org>
Or contact your favorite RADIUS list/friend if the question is more related to RADIUS than Squid.
REPORTING BUGS
Bug reports need to be made in English. See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with
your bug report.
Report bugs or bug fixes using http://bugs.squid-cache.org/
Report serious security bugs to Squid Bugs <squid-bugs@squid-cache.org>
Report ideas for new improvements to the Squid Developers mailing list <squid-dev@squid-cache.org>
SEE ALSO
squid(8), GPL(7),
RFC2058 - Remote Authentication Dial In User Service (RADIUS)
The Squid FAQ wiki http://wiki.squid-cache.org/SquidFaq
The Squid Configuration Manual http://www.squid-cache.org/Doc/config/
7 August 2004 basic_radius_auth(8)