> [2009/07/16-10:37:30 - 14246] [CORE] INFO: Starting "1" children
> [2009/07/16-10:37:30 - 14255] [CORE] INFO: 2009/07/16-10:37:30 CONNECT 
> TCP Peer: "127.0.0.1:43258" Local: "127.0.0.1:10031"
> [2009/07/16-10:37:30 - 14292] [CORE] DEBUG: Child Preforked (14292)
> [2009/07/16-10:37:30 - 14292] [CBPOLICYD] DEBUG: Starting up caching engine
> [2009/07/16-10:37:30 - 14255] [POLICIES] INFO: [ID:8/Name:swift_IP]: 
> Source matching result: matched=1
> [2009/07/16-10:37:30 - 14255] [QUOTAS] WARNING: Unknown key 
> specification in TrackSenderIP '0.0.0.0/0'
> [2009/07/16-10:37:30 - 14255] [QUOTAS] ERROR: No key found for quota ID '3'
>
> And I just wanted to ask if it's possible to limit messages per each IP 
> to for example 500 per day using policyd ? Doesn't 0.0.0.0/0 mean 
> 192.168.0.1 and 10.0.0.1 in the same time ? It must be unique. 
> 192.168.0.1 must be allowed to accept 500 messages and 10.0.0.1 too and 
> other too. The problem is I'm going to run it on the smart host where 
> I've got 220 allowed full class C and 800 smaller classes or singular 
> IPs. The best way would be if I could limit it by a one simple rule for 
> example 0.0.0.0/0 means to track IP address which is unique. It's important.
> I hope you know what I mean.
>   
WebUI fixed in r475.

Patch for v2.0.7 attached.

Regards
Nigel
Index: webui/quotas-change.php
===================================================================
--- webui/quotas-change.php	(revision 474)
+++ webui/quotas-change.php	(revision 475)
@@ -112,7 +112,7 @@
 
 									if (myobj.selectedIndex == 1) {
 										myobj2.disabled = false;
-										myobj2.value = '0.0.0.0/0';
+										myobj2.value = '/32';
 									} else if (myobj.selectedIndex != 1) {
 										myobj2.disabled = true;
 										myobj2.value = 'n/a';
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to