par PolluxX » 30 Jan 2004 15:26
Re bijour a tous ......
<BR>
<BR>
<BR>
<BR>Alors voila, j'ai encore une question a 10 balles <IMG SRC="images/smiles/icon_smile.gif">
<BR>
<BR>Je voudrai configurer les acl de mon squid avec les adresse mac et non pas avec les adresses ip, pour cela j'utilise la commande ACL exemple ARP adressemac
<BR>
<BR>Mais IPcop ne prend pas en conte la ligne, il est dit sur le manuelle d'utilisation :
<BR><!-- BBCode Quote Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-2>En réponse à:</font><HR></TD></TR><TR><TD><FONT SIZE=-2><BLOCKQUOTE>Acl Type: arp
<BR>Usage acl aclname arp ARP-ADDRESS
<BR>
<BR>Description
<BR>Ethernet (MAC) address matching This acl is supported on Linux, Solaris, and probably BSD variants.
<BR>
<BR>To use ARP (MAC) access controls, you first need to compile in the optional code.
<BR>Do this with the --enable-arp-acl configure option:
<BR>% ./configure --enable-arp-acl ...
<BR>% make clean
<BR>% make
<BR>
<BR>If everything compiles, then you can add some ARP ACL lines to your squid.conf
<BR>
<BR>Default acl all src 0.0.0.0/0.0.0.0
<BR>acl manager proto cache_object
<BR>acl localhost src 127.0.0.1/255.255.255.255
<BR>acl SSL_ports port 443 563
<BR>acl Safe_ports port 80 21 443 563 70 210 1025-65535
<BR>acl Safe_ports port 280 # http-mgmt
<BR>acl Safe_ports port 488 # gss-http
<BR>acl Safe_ports port 591 # filemaker
<BR>acl Safe_ports port 777 # multiling http
<BR>acl CONNECT method CONNECT
<BR>
<BR>
<BR>Example
<BR>acl ACLARP arp 11:12:13:14:15:16
<BR>ACLARP refers MACADDRESS of the ethernet 11:12:13:14:15:16
<BR>
<BR>Note
<BR>Squid can only determine the MAC address for clients that are on the same subnet. If the client is on a different subnet, then Squid cannot find out its MAC address.
<BR></BLOCKQUOTE></FONT></TD></TR><TR><TD><HR></TD></TR></TABLE><!-- BBCode Quote End -->
<BR>
<BR>Mais je sais po comment l'activer <IMG SRC="images/smiles/icon_frown.gif">
<BR>Si qq1 peut m'aider merci d'avance <IMG SRC="images/smiles/icon_wink.gif">