Re: [squid-users] Cannot access internet on XP through squid on OS X

From: Andrew Scott <andrew.scott@dont-contact.us>
Date: Mon, 10 Mar 2003 11:21:36 +0000

Thanks Henrik,
This is the output of the cache log:

2003/03/10 11:00:52| Starting Squid Cache version 2.5.STABLE1 for
powerpc-apple-darwin6.3...
2003/03/10 11:00:52| Process ID 501
2003/03/10 11:00:52| With 1024 file descriptors available
2003/03/10 11:00:52| DNS Socket created at 0.0.0.0, port 49330, FD 5
2003/03/10 11:00:52| Adding nameserver 213.120.62.100 from
/etc/resolv.conf
2003/03/10 11:00:52| Adding nameserver 213.120.62.101 from
/etc/resolv.conf
2003/03/10 11:00:52| User-Agent logging is disabled.
2003/03/10 11:00:52| Referer logging is disabled.
2003/03/10 11:00:52| Unlinkd pipe opened on FD 10
2003/03/10 11:00:52| Swap maxSize 102400 KB, estimated 7876 objects
2003/03/10 11:00:52| Target number of buckets: 393
2003/03/10 11:00:52| Using 8192 Store buckets
2003/03/10 11:00:52| Max Mem size: 8192 KB
2003/03/10 11:00:52| Max Swap size: 102400 KB
2003/03/10 11:00:52| Rebuilding storage in /sw/var/cache/squid (CLEAN)
2003/03/10 11:00:52| Using Least Load store dir selection
2003/03/10 11:00:52| Set Current Directory to /sw/var/cache/squid
2003/03/10 11:00:52| Loaded Icons.
2003/03/10 11:00:52| Accepting HTTP connections at 10.0.1.2, port 3128,
FD 12.
2003/03/10 11:00:52| Accepting ICP messages at 0.0.0.0, port 3130, FD
13.
2003/03/10 11:00:52| Accepting HTCP messages on port 4827, FD 14.
2003/03/10 11:00:52| Accepting SNMP messages on port 3401, FD 15.
2003/03/10 11:00:52| WCCP Disabled.
2003/03/10 11:00:52| Pinger socket opened on FD 17
2003/03/10 11:00:52| Ready to serve requests.
2003/03/10 11:00:52| Done reading /sw/var/cache/squid swaplog (39
entries)
2003/03/10 11:00:52| Finished rebuilding storage from disk.
2003/03/10 11:00:52| 39 Entries scanned
2003/03/10 11:00:52| 0 Invalid entries.
2003/03/10 11:00:52| 0 With invalid flags.
2003/03/10 11:00:52| 39 Objects loaded.
2003/03/10 11:00:52| 0 Objects expired.
2003/03/10 11:00:52| 0 Objects cancelled.
2003/03/10 11:00:52| 0 Duplicate URLs purged.
2003/03/10 11:00:52| 0 Swapfile clashes avoided.
2003/03/10 11:00:52| Took 0.7 seconds ( 54.2 objects/sec).
2003/03/10 11:00:52| Beginning Validation Procedure
2003/03/10 11:00:53| Completed Validation Procedure
2003/03/10 11:00:53| Validated 39 Entries
2003/03/10 11:00:53| store_swap_size = 280k
2003/03/10 11:00:53| storeLateRelease: released 0 objects

Is this what I should expect?
Andy

On Monday, March 10, 2003, at 08:16 am, Henrik Nordstrom wrote:

> Check that is Squid running. If not, start it.
>
> If it refuses to start, see cache.log and the output of "squid -k
> parse". If nothing is found there see the output of "squid -Dd1".
>
> Regards
> Henrik
>
> On Monday 10 March 2003 02.29, Andrew Scott wrote:
>> Hi,
>>
>> I have two computers in a wireless network.
>> One is a Apple Powerbook (ip 10.0.1.2) running squid v2.5stable1
>> and Apache under OS X.
>> The other is a Dell Latitude (ip 10.0.1.4) running MS XP and IIS.
>> Both computers can see (ping) each other and I can load each
>> machines home pages.
>> I can access the internet with the powerbook.
>> However, when I try to access the internet with Mozilla on the
>> Dell, connections are always refused.
>> I have set the Mozilla preferences to look at my powerbooks ip
>> address and port 3128, to go though squid.
>> Strangely enough, when I run the squid client on the powerbook, it
>> also always fails.
>>
>> In squid.conf I have the following lines:
>> http_port 10.0.1.2:3128
>> acl home src 10.0.1.2
>> acl myclients src 10.0.0.4
>> http_access allow localhost
>> http_access allow home
>> http_access allow myclients
>> http_access deny all
>> visible_hostname 10.0.1.2
>> never_direct deny home
>> never_direct allow all
>>
>>
>>
>> I've been at this for hours now, please anyone, HELP!!
>>
>> Andy
>
Received on Mon Mar 10 2003 - 04:17:33 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:58 MST