08-26-2012
redirect http traffic
hi,
i have freebsd gateway with ipfw as router. Recently i have setup squid-3.1.10 caching server for my lan.
I want to redirect http,https traffic from gateway to linux squid box. below is my setup
rl0--->xxx.xxx.xxx.xxx (connected to ISP)
rl1 -->192.168.1.0/24 (my lan)
================================
192.168.1.4 my centos6.2 squid box.
how can i redirect http,https traffic to squid box.
10 More Discussions You Might Find Interesting
1. Solaris
i have 3 servers running at home. i always connect to these servers from a windows box via ssh. recently i was snooping my interface on my database server and saw a lot of ssh traffic. this is a few lines of the snoop:
deathstar -> xstar TCP D=22 S=3190 Ack=662538517 Seq=1676539194... (2 Replies)
Discussion started by: pupp
2 Replies
2. Infrastructure Monitoring
Hi all,
Got a strange one here, well not so much strange, different :-)
I need to work out if a server is particulary chatty, whether its talking / communicating heavily to a particular server, as Im planning to physically move the server to a different server, over a link. Hence the... (6 Replies)
Discussion started by: sbk1972
6 Replies
3. Programming
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies
4. Shell Programming and Scripting
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 Replies
5. Web Development
i read thru a few article how to do it, but i could not get it to work the way i want it.
vi ../httpd.conf
Redirect permanent /dev https://servername/portal/
when i type servername, works fine.
my goal is to type dev, and it takes me to https://servername/portal/ (4 Replies)
Discussion started by: lawsongeek
4 Replies
6. Shell Programming and Scripting
Hello everyone,
I need to write a shell script, that redirects all traffic in your browser to a website x.
That means:
1. User sends a request to load website "www-somerandomwebsite-com"
2. the script redirects the request to a local file that is stored on the hard drive
3. User will... (5 Replies)
Discussion started by: runtimeError
5 Replies
7. Web Development
Hypertext Transfer Protocol -- HTTP/1.1 for Reference - HTTP Headers
10 Status Code Definitions
Each Status-Code is described below, including a description of which method(s) it can follow and any metainformation required in the response. (1 Reply)
Discussion started by: Neo
1 Replies
8. Proxy Server
Hi there,
I have a VPS and am working on a little side project for myself and friend which is a DNS proxy. Everything was great till recently. My VPS IP has been detected by some botnet or something, and I believe SMURF attacks are occuring. The VPS provider keeps shutting down my VPS... (3 Replies)
Discussion started by: phi0x
3 Replies
9. Shell Programming and Scripting
Hi,
I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log.
Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
10. UNIX for Beginners Questions & Answers
<SNIP>
edit by bakunin: You could have shown the courtesy to ask if it is OK to advertise your forum here. As generous as i know Neo to be and given you are probably a non-profit organisation he might have allowed it. But simply using us as your free advertising vehicle without as much as giving... (0 Replies)
Discussion started by: thomen
0 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)