LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-11-2008, 05:48 AM   #1
rude_reality
Member
 
Registered: Feb 2004
Location: Gainesville, Fl
Distribution: Debian 6
Posts: 41

Rep: Reputation: 15
Question help on how-to force set browser to proxy server


I'm having a little problem with my firewall and SafeSquid. When I try to transparent proxy my wireless users to SafeSquid. SafeSquid prompt the user repeatly to login their information for every element on the page they are requesting. When I manually setting to browser to use SafeSquid directly. The users only have to enter their login information once. Is there away to redirect any request on port 80 to load only one page with javascript to auto config the user's browser to SafeSquid Proxy server. I have the JavaScript page made already. I just need to how to redirect all port 80 request to proxyconfig.html..

My server box:
Slackware 11.0 running kernel 2.6.17.13 (Never been recompile yet)
2 ethernet cards - eth0 = internet, eth1 = local network
linksys wireless access point

Wireless user's computer:
Just laptop running Windows Vista
Linux Box assigns ip-addresses 192.168.1.200-210

Any and all suggestion on this matter are and is welcome.

thank you
 
Old 05-11-2008, 08:15 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
I think you would have to run some sort of web server and redirect requests to it similar to what you do now. Obviously, your requirements for the server are quite minimal! I think there are several small servers to choose from. The one I have played with is the Monkey Web Server (small enough to be included in Damn Small Linux!).

That was my first thought. Upon further reflection, you might be able to script a simple daemon for the purpose using netcat. This might work for the occasional request but I imagine it would have problems scaling. Again, you would need to redirect.

Last edited by blackhole54; 05-11-2008 at 08:16 AM. Reason: repaired link
 
Old 05-11-2008, 08:37 AM   #3
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
have you investigated using wpad instead for your proxy auto configurations ?
 
Old 05-12-2008, 12:27 AM   #4
prajakta0shimpi
LQ Newbie
 
Registered: May 2007
Posts: 16

Rep: Reputation: 0
Use auto proxy configuration script generated by safesquid proxy.pac or use wpad.

Last edited by prajakta0shimpi; 05-12-2008 at 02:18 AM.
 
Old 05-12-2008, 12:37 AM   #5
prajakta0shimpi
LQ Newbie
 
Registered: May 2007
Posts: 16

Rep: Reputation: 0
Cool

Quote:
Originally Posted by blackhole54 View Post
I think you would have to run some sort of web server and redirect requests to it similar to what you do now. Obviously, your requirements for the server are quite minimal! I think there are several small servers to choose from. The one I have played with is the Monkey Web Server (small enough to be included in Damn Small Linux!).

That was my first thought. Upon further reflection, you might be able to script a simple daemon for the purpose using netcat. This might work for the occasional request but I imagine it would have problems scaling. Again, you would need to redirect.

Use auto proxy configuration script generated by safesquid proxy.pac or use wpad.

Last edited by prajakta0shimpi; 05-12-2008 at 02:18 AM.
 
Old 05-12-2008, 12:44 AM   #6
prajakta0shimpi
LQ Newbie
 
Registered: May 2007
Posts: 16

Rep: Reputation: 0
Use auto proxy configuration script generated by safesquid proxy.pac or use wpad.

Last edited by prajakta0shimpi; 05-12-2008 at 02:19 AM.
 
Old 05-13-2008, 09:06 AM   #7
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
I think we got the message the first time, yo. . . lawls

Anyway, check out wpad.
 
Old 05-15-2008, 01:43 PM   #8
rsean
LQ Newbie
 
Registered: Jun 2007
Posts: 15

Rep: Reputation: 0
Hi guys,

I came across the response on the safesquid forum for this question -
http://www.safesquid.com/html/viewtopic.php?t=2624
So it seems WPAD is the choice of the majority.

It was interesting, though, to know that safesquid can serve proxy.pac in real-time to the users, without having to place the file on a web server. I tried it out and it works well.

Cheers!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Easiest way to set up a proxy server? LinuxBlackBox Linux - Networking 3 10-28-2008 09:50 PM
Squid proxy server--- Please set 'visible_hostname' 50197433 Linux - Software 1 06-13-2006 04:18 AM
how can I force port 80 to a proxy server using iptables scheney Linux - Security 1 10-21-2005 01:25 PM
how to set up a proxy server? h3xis Linux - Networking 5 06-15-2005 03:37 PM
Set up Proxy Server sanmadjack Linux - Software 6 02-15-2005 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration