[squid-users] deny_info macaddress error page

From: Angelo Iannello <angelo.iannello@dont-contact.us>
Date: Fri, 24 Aug 2007 08:53:25 +0200

Hello all,
and one tnx for Henrik for help me with mailing list.

For a particolar request, I had to create a kind of acl that permits to some
clients to authenticate it with USER + MAC + IP.

# ACL
acl user1_maxconn maxconn 10
acl user1_auth proxy_auth user1
acl user1_mac arp "/etc/squid/acl_squid/macaddress/user1"
acl user1_ip src "/etc/squid/acl_squid/ipaddress/user1"
http_access allow user1_auth user1_mac user1_ip !user1_maxconn
http_access deny user1_auth
deny_info ERR_CREDENTIAL user1_auth

I created a squid error page ERR_CREDENTIAL where inside is
present the following contest:

The server do not accept the following combination of access credential:
" USER %a + MACADDRESS + CLIENT %i "
because not satisfied the minimal authentication requirement.

The page is displayed correctly, but
there is a metod to put inside this page also the macaddress of relative
client?

I use squid-2.6.STABLE14

Thanks for all.

Angelo Iannello
Received on Fri Aug 24 2007 - 00:54:41 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT