[zorp-hu] http-plug kerdes

Kosa Attila atkosa@shinwa.hu
Fri, 23 Feb 2001 13:46:53 +0100


Hello!
A kovetkezo uzenet van a logban:

proxy_start, module=http
thread starting
variable request fetched, value=<Zorp hash object at 80b09d8>
variable transparent_mode set to 1
fetching request and headers
processing request and headers
exiting keep-alive loop
error, serving /usr/share/zorp/http/policyviolation.html
proxy_destroy, module=http

Es nem mukodik :( A konfig:
InetZone("DMZ", ["192.168.1.0/24"],
	inbound_services=["id_http"],
	outbound_services=[]),

InetZone("internet", ["0.0.0.0/0"],
	inbound_services=[],
	outbound_services=["id_http"])

class IDHttp(HttpProxy):
	def config(self):
		HttpProxy.config(self)
		self.transparent_mode = 1

def init(name):
	debug(5, "Policy init, name=%s" % name)

Service("id_http", DirectedChainer(SockAddrInet("192.168.1.2", 80), forge_addr=1), IDHttp)

Listener(SockAddrInet("195.228.198.70", 80), "id_http")

Verzio: 0.7.14-1
Bocsanat a hosszu sorokert.

-- 
		Udvozlettel
				    Zsiga