[NBLUG/talk] WINS lookups with Squid?

ME dugan at passwall.com
Fri Apr 18 08:14:01 PDT 2003


I have not used the feature you mention in Squid, butI would wonder how it
gets you the IP address information per host.
I seem to recall that samba could act as a master browser and keep lists
of machines/names, but this is probably not what you want.

If you have a single network with one collision domain, and no switching
for DHCP packets or an analizerport that can see all DHCP traffic across
your network(s), then you may be able to filter the requests and responses
to see WINS server IP served per machine by hostname. If Squid can't do
this natively, perhaps you could write a simple tcpdump filter that pulls
out the information you want to a file and then have another app parse the
output to make it pretty.

If you only have one DHCP server, and it is configured to hand out WINS
addresses for clients, then all your clients using DHCP server for WINS
addresses should have the same settings.

If you have clients who have manually configured their own WINS addresses,
then the reports you get will not be accurate, since they will still get a
response with the WINS, but drop the suggested WINS addresses and use
their own.

> I've set up a proxy server here at my work and have been generating
> reports
> monthly to determine the performance of the server.  The program however
> is
> only giving me IP addresses of the hosts on the internal network.  The
> machines on the internal network DHCP for their addresses from a WinNT
> Server, which also runs WINS to collate the browse lists between the two
> offices I administrate.  I would like to have Squid do a WINS lookup on
> each
> IP address so I can have the host name of each machine for easier report
> readability.  Any suggestions?  Anything else I can think of would either
> 1)
> not be dynamic or 2) take too much time to configure.  I am using
> calamaris
> to generate the reports.
>
> Specs:
> Redhat 7.2
> squid-2.4.STABLE6-6.7.3
> calamaris-2.50-1
>
> Any ideas or suggestions would be cool, no matter how silly. :)
>
> - Christopher Wagner
> chrisw at pacaids.com
>
> Packaging Aids Corporation - Information Systems
> P.O. Box 9144
> San Rafael, CA 94912-9144
> http://www.pacaids.com/
> (415) 454-4868 x116
>
>
> _______________________________________________
> talk mailing list
> talk at nblug.org
> http://nblug.org/mailman/listinfo/talk
>
>




More information about the talk mailing list