Re: [squid-users] getting dhcpd client-hostname (or other name) in access log

From: Nick Bartos <spam@dont-contact.us>
Date: Tue, 8 Jul 2003 12:34:18 -0500 (CDT)

Yes, the external_acl_type appears to work nicely. I wrote a small C prog
that gets the client hostname & mac address using the dhcpctl api provided
with the isc dhcp server. I should have looked more closely at the
squid.conf before posting. Thanks!

> You can't query DHCP who an IP address belongs to using standard
> protocols, but real DHCP servers supports automatic DNS updates these
> days to keep DNS data in synch with DHCP updates..
>
> There is also the option (for Windows netowrks) to use Microsoft DNS
> with a WINS fallback which works to some level..
>
> However, if you find a way to query the user name (including looking
> direclty into the dhcpd database of IP addresses) or equivalent based
> on the source IP address then you can easily plug this into Squid via
> an external acl returning the information as user name (see
> external_acl_type).
>
> Regards
> Henrik
>
> --
> Donations welcome if you consider my Free Squid support helpful.
> https://www.paypal.com/xclick/business=hno%40squid-cache.org
>
> If you need commercial Squid support or cost effective Squid or
> firewall appliances please refer to MARA Systems AB, Sweden
> http://www.marasystems.com/, info@marasystems.com
>
Received on Tue Jul 08 2003 - 11:34:20 MDT

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