[zorp-hu] Beginner
Hegedüs Ervin
zorp-hu@lists.balabit.hu
Wed, 16 Jul 2003 16:24:15 +0200
Hal,
miutan a stable siman lefordult, nekiestem konfiguralni a Zorpot,
hatha rabeszelem valami eredmenyre.
policy.py tartalma:
######
from Zorp.Core import *
from Zorp.Plug import *
from Zorp.Http import *
from Zorp.Ftp import *
Zorp.firewall_name = 'zorp@site'
InetZone("site-net", "192.168.1.0/24",
outbound_services=["intra_http"],
inbound_services=[])
InetZone("local", "127.0.0.0/8", inbound_services=["*"], outbound_services=[])
InetZone("internet", "0.0.0.0/0", inbound_services=["*"], outbound_services=[])
def zorp_http():
plug_direct_service = Service ("directplug", DirectChainer(None,SockAddrInet("127.0.0.1", 80)), PlugProxy)
Listener(SockAddrInet("192.168.0.1", 80), plug_direct_service)
######
instances.conf tartalma:
######
zorp_http --verbose=9 --policy /usr/local/etc/zorp/policy.py
######
es ezek utan:
Jul 16 16:19:35 test1 zorp_http[24693]: zorp version 2.0.2 starting up
Jul 16 16:19:35 test1 zorp_http[24693]: (noname/nosession): Zone(site-net): outbound service=intra_http
Jul 16 16:19:35 test1 zorp_http[24693]: (noname/nosession): Zone(local): inbound service=*
Jul 16 16:19:35 test1 zorp_http[24693]: (noname/nosession): Zone(internet): inbound service=*
Jul 16 16:19:35 test1 zorp_http[24695]: (Log thread): Traceback (most recent call last):
Jul 16 16:19:35 test1 zorp_http[24695]: (Log thread): File "/usr/local/share/zorp/pylib/Zorp/Zorp.py", line 169, in init
Jul 16 16:19:35 test1 zorp_http[24693]: (noname/nosession): Error initializing policy
Jul 16 16:19:35 test1 zorp_http[24693]: zorp version 2.0.2 going down.
Jul 16 16:19:35 test1 zorp_http[24698]: (conntrack/thread): thread exiting;
???
es meg egy kerdes: hogy lehet ravenni kicsit "bobeszedubb"
logolasra?
ha mashol van a hiba (pl: policy.py), akkor a sort kiirja, de
hogy azon belul mi a baja, azt nem.
Koszonom:
airween
--
Minden baj forrása az 1/x függvény.