[squid-users] FQDN by subnet

From: Kulig, Peter <kulig@dont-contact.us>
Date: Fri, 29 Sep 2006 08:56:01 -0500

Hello,

I apologize if this question is somewhat amateur, but I'm fairly new to this, so bear with me please.

I just set up SquidNT 2.6.STABLE3-NT for a portion of our userbase. I would like to log FQDNs instead of IPs, but I'm only able to do this on the 192.168.0.x and 192.168.1.x subnets. 192.168.2.x and 192.168.3.x logs IP only. This is a problem as the majority of our DHCP pool is on 192.168.3.x. Here is my configuration as of 5 minutes ago:

------------------------------------------

http_port 3128
logformat squid %ts %>A %ul %ru %rm %Hs %mt
cache_access_log c:/squid/var/logs/access.log squid

cache_dir ufs c:/squid/var/cache 1000 16 256
cache_mem 128 MB
fqdncache_size 1024

visible_hostname MPM_SQUIDNT
log_fqdn on
log_mime_hdrs off

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

auth_param ntlm program c:/squid/libexec/mswin_ntlm_auth.exe
auth_param ntlm children 15
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl authmpmnet proxy_auth REQUIRED src 192.168.0.0 - 192.168.3.254
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow authmpmnet
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir c:/squid/var/cache

------------------------------------------

Any ideas?
Thanks for any help,

Peter Kulig
Information Services
Milwaukee Public Museum
Received on Fri Sep 29 2006 - 07:56:02 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT