[zorp-hu] Zorp konfiguralasa

MG makgab@freemail.hu
Wed, 10 Oct 2001 00:14:06 +0200 (CEST)


Hi!

> Ezt probaltam, instances.conf:
>#instance  arguments
>#zorp-http --verbose=5 --policy /etc/zorp/policy-http.py
>#zorp-plug --policy /etc/zorp/policy-plug.py
> zorp-http --policy /usr/local/zorp/etc/zorp/policy.py --verbose=5
> 
> -----------------------------------------------------------
> 
> A policy.py:
> from Zorp.Core import *
> from Zorp.Http import *
> 
> InetZone("intranet", "10.0.0.0/24",
>     outbound_services=["intra_HTTP"],
>     inbound_services=[])
>  
> InetZone("internet", "0.0.0.0/0",
>     outbound_services=[],
>     inbound_services=["intra_HTTP"])
>  
> def intra():
>     Service("intra_HTTP", HttpProxy)
>     Listener(SockAddrInet('10.0.0.1', 50080), "intra_HTTP")
> 
> ------------------------------------------------------------

Szoval ez van a logban:
Oct 10 00:07:30 server zorp-http[4332]: Verbosity level: 5
Oct 10 00:07:30 server zorp-http[4332]: zorp version 1.4.0rc2 starting up
Oct 10 00:07:31 server zorp-http[4332]: Zone(intranet): outbound
service=intra_HTTP
Oct 10 00:07:31 server zorp-http[4332]: Zone(internet): inbound
service=intra_HTTP
Oct 10 00:07:31 server zorp-http[4332]: Instance definition not found in policy.
Oct 10 00:07:31 server zorp-http[4334]: (zorp/nosession): Traceback (innermost
last):
Oct 10 00:07:31 server zorp-http[4334]: (zorp/nosession):   File
"/usr/local/zorp/share/zorp/pylib/Zorp/Zorp.py", line 139, in init
Oct 10 00:07:31 server zorp-http[4334]: (zorp/nosession):     func()
Oct 10 00:07:31 server zorp-http[4334]: (zorp/nosession): NameError: func
Oct 10 00:07:31 server zorp-http[4332]: (zorp/nosession): Error initializing
policy
Oct 10 00:07:31 server zorp-http[4332]: zorp version 1.4.0rc2 going down.

Mi a baj?

Bye!
----------------------
Linux RedHat 7.1
----------------------