
max at iukkoth
Jan 29, 2010, 1:41 PM
Post #1 of 2
(663 views)
Permalink
|
Hello all, I seem to be experiencing a problem with Cherokee 0.99.38, running on Debian 5, where I am trying to restrict access to a given directory rule based on IP address. I can either set a list of IPv4 address or IPv6 address but not both at the same time. I am binding both my IPv4 address and IPv6 address in Cherokee's general settings to port 80. This seems to be working. First I set up one virtual server and attempted to use both IPv4 and 6 addresses in the same rule. This Cherokee the server to crash. Setting only IPv4 or 6 addresses worked without problem. So I thought I would try to create a new virtual server and separate the IPv4 and 6 addresses, e.g. static.iukkoth.net/secure (static.iukkoth.net being the IPv4 virtual server) and ipv6.iukkoth.net/secure (ipv6.iukkoth.net being the IPv6 virtual server). This caused the same problem as before. The server will not launch with both IPv4 and 6 even if they are sequestered to different virtual servers. Also on a side note, when I attempt to restart Cherokee with the former settings (both IPv4 and 6), a memory leak seems to be opened, as Python (the Cherokee processes run through it) eat more than 200% of the CPU. Restarting Python resolves this issue. Is there another method for securing directory rules based on IP address I should be using to resolve this conflict? I appreciate any insight into the issue, thank you, Max Countryman
|