From: Luca Ferrari Subject: Re: squid acls Date: Thu, 21 Apr 2005 09:11:22 +0200 Message-ID: <200504210911.22672.fluca1978@infinito.it> References: <200504201843.53350.fluca1978@infinito.it> Reply-To: fluca1978@infinito.it Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org On Wednesday 20 April 2005 21:25 Richard Nairn's cat walking on the keyboard wrote: > Hi Luca > > It can be done. The FAQ says so... > > The access control has the "arp" keyword. According the FAQ you have to > have compiled squid with the --enable-arp-acl switch to enable this. > > I think you would use it such: > > acl USERARP arp arp1 arp2 > acl USERSRC src src1 src2 > http_access allow USERARP USERSRC > > Since ACL entries are or'd and ACCESS is AND'd. > I already do this, but this implies that a valid ip and mac in the two acls can connect, while I need to check if a couple ip and mac (not any combination of them) can connect. Luca -- Luca Ferrari, fluca1978@infinito.it