[zorp-hu] 0.6 Zorp halal...
Farago Andras
farago@harga.pilatuscomp.hu
Thu, 18 Jan 2001 11:21:48 +0100 (CET)
Sziasztok!
Kelloen nagy forgalom mellett 0.6-os Zorp 5 nap utan a kovetkezo uzenettel
elhalalozik:
---cikk---
Jan 18 09:17:31 tanyer zorp-firewall[203]: GThread-ERROR **: file gthread-posix.c: line 279 (g_thread_create_posix_impl): error Resource temporarily unavailable during pthread_create (thread, &attr, (void* (*)(void*))thread_func, arg)
Jan 18 09:17:31 tanyer zorp-firewall[203]: aborting...
---cakk---
Ez normalis meg a 0.6-os Zorpnal vagy a konfigot rontottam el?
Andras
Ps:
A policy a kovetkezo:
---cikk---
from Zorp import Zorp, SockAddr, Listener, Zone, Service, Chainer, Stream
from Zorp import Plug, Session, Http, Ftp, Sink
from Zorp.Zorp import *
Zorp.firewall_name = 'Test@firewall'
Zorp.zones= \
[
Zone.InetZone("dmz","192.168.2.0","255.255.255.0",None,
outbound_services=["dihttp","diftp","diplug"],
inbound_services=["diplug"]),
Zone.InetZone("internet","0.0.0.0","0.0.0.0",None,
outbound_services=["diplug"],
inbound_services=["dihttp","diftp","diplug"])
]
class MyHttp(Http.HttpProxy):
def config(self):
self.transparent_mode=1
class MyFtp(Ftp.FtpProxyAllow):
def config(self):
self.NAT=1
self.fw_external_data_address="194.55.116.112"
self.fw_internal_data_address="192.168.2.1"
self.internal_server=0
self.client_portpasv=0
self.max_password_length=128
def init(name):
trans_http = \
Service.Service("dihttp",
Chainer.TransparentChainer(None, 0),
MyHttp)
trans_ftp = \
Service.Service("diftp",
Chainer.TransparentChainer(None,0),
MyFtp)
trans_plug = \
Service.Service("diplug",
Chainer.TransparentChainer(None,0),
Plug.PlugProxy)
Listener.Listen(SockAddr.SockAddrInet("192.168.2.1",2021),trans_ftp)
Listener.Listen(SockAddr.SockAddrInet("192.168.2.1",2022),trans_plug)
Listener.Listen(SockAddr.SockAddrInet("192.168.2.1",2025),trans_plug)
Listener.Listen(SockAddr.SockAddrInet("194.55.116.112",2025),trans_plug)
Listener.Listen(SockAddr.SockAddrInet("192.168.2.1",2080),trans_http)
Listener.Listen(SockAddr.SockAddrInet("192.168.2.1",2110),trans_plug)
Listener.Listen(SockAddr.SockAddrInet("192.168.2.1",2443),trans_plug)
---cakk---