[squid-users] Using Squid as a proxy to change network devices' properties instead of web broswers'?

2009-04-14 Thread Phillip Pi
Hello.

I got Squid v2.7 stable 6 installed and working in a Windows XP Pro. SP2 
machine, with its IIS, as a proxy server. I can make clients' web 
browsers (e.g., IE and Firefox in Windows XP), go through this proxy 
server with no problems.

I am wondering if I can use Squid to do the same proxy for network 
devices (e.g., onboard network). I would like to be able to set up PCs' 
Internet access instead of web browsers.

Thank you in advance. :)
-- 
"In an ant colony, dew is a flood." --Afghan
  /\___/\
 / /\ /\ \  Phil/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o   o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
   \ _ / E-mail: phi...@earthlink.net or a...@zimage.com
( )


Re: [squid-users] Using Squid as a proxy to change network devices' properties instead of web broswers'?

2009-04-15 Thread Phillip Pi
Thanks. So Squid cannot do what I am looking for and is only for http.

I will check out proxycfg.exe command. This is a new one to me. I hope 
Vista and Windows 7 have it too.


On Thu, Apr 16, 2009 at 12:32:15AM +1200, Amos Jeffries wrote:

> >I got Squid v2.7 stable 6 installed and working in a Windows XP Pro. SP2 
> >machine, with its IIS, as a proxy server. I can make clients' web 
> >browsers (e.g., IE and Firefox in Windows XP), go through this proxy 
> >server with no problems.
> >
> >I am wondering if I can use Squid to do the same proxy for network 
> >devices (e.g., onboard network). I would like to be able to set up PCs' 
> >Internet access instead of web browsers.
> >
> >Thank you in advance. :)
> 
> The use of Squid as HTTP proxy is limited only individual app or devices 
> capabilities.
> 
> On windows XP the command "proxycfg -u" IIRC is sufficient to get the 
> MS-produced apps using the same settings as IE, whether they are proxy 
> or not.
> 
> I've heard tell of people using ActiveDirectory to push out proxy 
> settings to all machines in a controlled network environment, mayhap an 
> expert on that will say how if you need it.
> 
> Other devices and apps you will have to check out individually and see 
> what can be done.
> 
> As a fallback for the really limited apps there is always interception 
> at the network gateway device. Though this has a whole other set of 
> problems and should only be considered as a last resort.


Re: [squid-users] Using Squid as a proxy to change network devices' properties instead of web broswers'?

2009-04-15 Thread Phillip Pi
> > >I got Squid v2.7 stable 6 installed and working in a Windows XP Pro. SP2 
> > >machine, with its IIS, as a proxy server. I can make clients' web 
> > >browsers (e.g., IE and Firefox in Windows XP), go through this proxy 
> > >server with no problems.
> > >
> > >I am wondering if I can use Squid to do the same proxy for network 
> > >devices (e.g., onboard network). I would like to be able to set up PCs' 
> > >Internet access instead of web browsers.
> > 
> > The use of Squid as HTTP proxy is limited only individual app or devices 
> > capabilities.
> > 
> > On windows XP the command "proxycfg -u" IIRC is sufficient to get the 
> > MS-produced apps using the same settings as IE, whether they are proxy 
> > or not.

OK, I think this is perfect after trying it in a Dell OEM Windows XP 
Home SP2. Is this a common method for Windows' proxy setups?
-- 
"In an ant colony, dew is a flood." --Afghan
  /\___/\
 / /\ /\ \  Phil/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o   o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
   \ _ / E-mail: phi...@earthlink.net or a...@zimage.com
( )


Re: [squid-users] Using Squid as a proxy to change network devices' properties instead of web broswers'?

2009-04-15 Thread Phillip Pi
Question about this proxycfg.exe in XP: Does this work for all Internet 
program? I can get it to work with IE (v6-v7) and CDBurnerXP (to 
download its update for the program), but not Firefox. I read that the 
program has to know winHTTP. Am I understanding this correctly? If so, 
then how do I know which programs support that to do proxy?
-- 
"In an ant colony, dew is a flood." --Afghan
  /\___/\
 / /\ /\ \  Phil/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o   o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
   \ _ / E-mail: phi...@earthlink.net or a...@zimage.com
( )


Re: [squid-users] Using Squid as a proxy to change network devices' properties instead of web broswers'?

2009-04-16 Thread Phillip Pi
On Thu, Apr 16, 2009 at 10:38:44PM +1200, Amos Jeffries wrote:
> Phillip Pi wrote:
> >Question about this proxycfg.exe in XP: Does this work for all Internet 
> >program? I can get it to work with IE (v6-v7) and CDBurnerXP (to 
> >download its update for the program), but not Firefox. I read that the 
> >program has to know winHTTP. Am I understanding this correctly? If so, 
> >then how do I know which programs support that to do proxy?
> 
> The command is born from the fact that MS use more than one 'web access' 
> DLL API for their web backend(s) in Windows XP.  IE sets the config for 
> one of the DLL, certain apps (WU amongst them) use the other library. 
> The command syncs the settings used by both DLL, nothing more.
> 
> So the result is that various MS software are 'fixed' and start working 
> again with a proxy or after a proxy config is changed. But most non-MS 
> software is not affected.

Thanks. Is there a list of non-MS programs that use this? It seems like
it is WinHTTP API?


[squid-users] Can't get my Squid proxy to use my c:\windows\system32\drivers\etc\hosts file.

2010-04-10 Thread Phillip Pi
Hello!

I just configured a new Squid proxy
(http://squid.acmeconsulting.it/download/squid-2.7.STABLE8-bin.zip) in
an updated Windows XP Pro. SP2 box for a testing proxy network setup for
a network program. I got its manual (no PAC scripts) proxy to work on
both client computer and server via Internet Explorer correctly. I am 
not using any PAC scripts either.

I couldn't get my prerelease network software to connect to the correct
test internal server. It ends up on the production one which I do not
want! According to
http://www.eu.squid-cache.org/mail-archive/squid-users/200903/index.html#226
thread's replies, Squid proxy does not read the Windows' hosts file by
default. Administrator has to tell Squid to do that in its Squid's
folder/directory's etc\squid.conf file (hosts_file section). I told 
Squid to use c:\windows\system32\drivers\etc\hosts with my custom hosts 
list.

However, I still could not get it to work in my activated 64-bit W7 
HP's IE8 client PC. I even tried public internet Web sites like:
157.166.255.19 msnbc.com
So client's IE8 should take me to CNN's Web site instead of 
www.msnbc.com, but it didn't (gave me MSNBC's Web site). I tried 
rebooting both PCs, restarting Squid service, etc.

What am I missing? Thank you in advance. :)
-- 
Quote of the Week: "You feel the faint grit of ants beneath your shoes,
but keep on walking because in this world you have to decide what you're
willing to kill."  --Tony Hoagland from "Candlelight"
  /\___/\  Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
 / /\ /\ \ Ant's Quality Foraged Links: http://aqfl.net
| |o   o| | E-mail: phi...@earthlink.net/a...@zimage.com
   \ _ /  If crediting, then please kindly use Ant nickname
( )  and AQFL URL/link.