Re: squid on OS X with pppoe?

From: James Weisbin <jweisbin@dont-contact.us>
Date: Thu, 04 Jan 2001 17:44:14 -0500

I've gotten squid to run on Mac OS X/Darwin 1.2, however I need some
pointers. (BTW, the link to the docs page from www.squid-cache.org is
broken, as far as I can tell).

OS X can run OS 9 apps in "classic" mode (sort of a VM), but while running
that way, classic apps can't access ppp connections. I get around this for
some apps by using a program called "PortReflector", which can redirect ftp,
mail, and telnet requests by mapping to a different port. It doesn't work
with http connections, though. I thought that I could get around this by
setting up squid as a web-caching proxy server. However, I am connecting to
Mindspring on a DSL modem using rp-pppoe (I don't have a static IP). Can
squid work with pppoe, or does it require a dhcp connection?

After running squid -z and then squid -NCd1, this is some output:

2001/01/03 18:22:40| Starting Squid Cache version 2.3.STABLE4 for ...
2001/01/03 18:22:40| Process ID 347
2001/01/03 18:22:40| With 256 file descriptors available
2001/01/03 18:22:40| Performing DNS Tests...
2001/01/03 18:22:40| Successful DNS name lookup tests...
2001/01/03 18:22:40| DNS Socket created on FD 4
2001/01/03 18:22:40| Adding nameserver 207.69.188.185 from /etc/resolv.conf
2001/01/03 18:22:40| Adding nameserver 207.69.188.186 from /etc/resolv.conf
2001/01/03 18:22:40| Adding nameserver 207.69.188.187 from /etc/resolv.conf
2001/01/03 18:22:40| Unlinkd pipe opened on FD 9
2001/01/03 18:22:40| Swap maxSize 102400 KB, estimated 7876 objects
2001/01/03 18:22:40| Target number of buckets: 157
2001/01/03 18:22:40| Using 8192 Store buckets
2001/01/03 18:22:40| Max Mem size: 8192 KB
2001/01/03 18:22:40| Max Swap size: 102400 KB
2001/01/03 18:22:40| Rebuilding storage in /usr/local/squid/cache (DIRTY)
2001/01/03 18:22:40| Set Current Directory to /usr/local/squid/cache
2001/01/03 18:22:40| Loaded Icons.
2001/01/03 18:22:40| Accepting HTTP connections at 0.0.0.0, port 3128, FD
10.
2001/01/03 18:22:40| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
2001/01/03 18:22:40| WCCP Disabled.
2001/01/03 18:22:40| Ready to serve requests.
2001/01/03 18:22:42| Done scanning /usr/local/squid/cache swaplog (0
entries)

Then I ran client http://www.netscape.com, I got "access denied" - here is
the log:
978565222.791 27 192.168.0.2 TCP_DENIED/403 997 GET
http://www.netscape.com/ - NONE/- -

Any help would be appreciated.
----------------------------
Jim Weisbin
jim@savagetranscendental.com
http://www.savagetranscendental.com/OSX.html

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Jan 04 2001 - 19:10:32 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:20 MST