squid acls
Hi,
I'd like to know if it is possible to enforce a squid acl to check, at the same time, the couple IP and MAC address; I mean to verify that a requests come from a couple ip and mac specified. Anybody had already done it?
Luca
Signature · 2 lines
Luca Ferrari, [email protected]
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 src2http_access allow USERARP USERSRC
Since ACL entries are or'd and ACCESS is AND'd.
Quoted 8 lines · Luca Ferrari
Hi,
I'd like to know if it is possible to enforce a squid acl to check, at the
same time, the couple IP and MAC address; I mean to verify that a requests
come from a couple ip and mac specified. Anybody had already done it?Luca
Signature · 4 lines
| Richard Nairn Specializing in Linux | Nairn Consulting Web / Database Solutions | Calgary, AB | [email protected]
Quoted 7 lines · On Wednesday 20 April 2005 21:25 Richard Nairn's cat walking on the keyboard…
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.
Quoted 8 lines
I think you would use it such:
acl USERARP arp arp1 arp2
acl USERSRC src src1 src2http_accessallow USERARP USERSRCSince 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
Signature · 2 lines
Luca Ferrari, [email protected]
I think it's best for you to use INPUT chain for such filtering. Just match port number for squid.
--Adrian.
Quoted 28 lines · Luca Ferrari
Quoted 7 lines · On Wednesday 20 April 2005 21:25 Richard Nairn's cat walking on the keyboard…
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.
Quoted 10 lines
I think you would use it such:
acl USERARP arp arp1 arp2
acl USERSRC src src1 src2http_accessallow USERARP USERSRCSince 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