[zorp-hu] http-plug kerdes

Balazs Scheidler bazsi@balabit.hu
Fri, 23 Feb 2001 14:01:10 +0100


> 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"],
                  ^                ^  csak akkor kell, ha felsorolasod van
> 	inbound_services=["id_http"],
> 	outbound_services=[]),

                             ^ - nem kell vesszo

> 
> InetZone("internet", ["0.0.0.0/0"],
                       ^           ^  szinten nem felsorolas
> 	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")

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1