Revision: 14423
Author: adrian.chadd
Date: Fri Feb 19 19:58:24 2010
Log: More documentation


http://code.google.com/p/lusca-cache/source/detail?r=14423

Modified:
 /branches/LUSCA_HEAD/src/acl.c
 /branches/LUSCA_HEAD/src/cf.data.pre

=======================================
--- /branches/LUSCA_HEAD/src/acl.c      Fri Feb 19 19:48:39 2010
+++ /branches/LUSCA_HEAD/src/acl.c      Fri Feb 19 19:58:24 2010
@@ -2097,6 +2097,8 @@
return aclMatchWordList(ae->data, hier_strings[checklist->request->hier.code]);
        /* NOTREACHED */
     case ACL_DSTFWD_IP:
+ /* XXX make sure this checks that the dstfwdip is SET to something non-blank and
+        * XXX error out in case. */
        return 0;               /* XXX for now just always deny */
     case ACL_NONE:
     case ACL_ENUM_MAX:
=======================================
--- /branches/LUSCA_HEAD/src/cf.data.pre        Fri Feb 19 19:52:10 2010
+++ /branches/LUSCA_HEAD/src/cf.data.pre        Fri Feb 19 19:58:24 2010
@@ -515,7 +515,16 @@
        acl aclname src      addr1-addr2/netmask ... (range of addresses)
        acl aclname dst      ip-address/netmask ... (URL host's IP address)
        acl aclname myip     ip-address/netmask ... (local socket IP address)
-       acl aclname dstfwdip ip-address/netmask .. (IP of the forwarded host)
+
+       acl aclname dstfwdip ip-address/netmask
+         # This ACL matches on the IP address of the host being forwarded to.
+         # This will be the IP of either the upstream origin server or the
+         # parent/sibling peer.
+         #
+         # Since the IP address of the forwarding host may change depending
+         # upon the current state of the forwarding process, this ACL is only
+         # really useful for one specific directive (which will be coded up
+         # shortly) and will always fail when used elsewhere.

        acl aclname arp      mac-address ... (xx:xx:xx:xx:xx:xx notation)
          # The arp ACL requires the special configure option --enable-arp-acl.

--
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en.

Reply via email to