[zorp-hu] Hibauzenet
Kosa Attila
atkosa@shinwa.hu
Mon, 22 Jan 2001 12:35:25 +0100
On Mon, Jan 22, 2001 at 11:22:45AM +0100, Balazs Scheidler wrote:
>
> Valoszinuleg nincs olyan zonad, ami tartalmazna a 192.168.2.2 cimet.
Az elejet nem idezem, mert igy sem keves.
InetZone("levelezes", "192.168.2.2/24",
inbound_services=["bd_smtp"],
outbound_services=["bd_smtp"]),
InetZone("DMZ", ["192.168.1.2"],
inbound_services=["bd_smtp"],
outbound_services=["bd_smtp"])
class BDSmtp(PlugProxy):
pass
def init(name):
debug(5, "Policy init, name=%s" % name)
Service("bd_smtp", DirectedChainer(SockAddrInet("192.168.1.2", 25)), BDSmtp)
Listener(SockAddrInet("192.168.2.1", 2025), "bd_smtp")
Ehhez meg tarsult egy:
ipchains -A input -p tcp -i ethX -s 192.168.2.2/32 -d 192.168.1.2 25 -j REDIRECT 2025
A pontos hibauzenet:
zorp-mail[9665]: Verbosity level: 6
zorp-mail[9665]: zorp version 0.7.12 starting up
zorp-mail[9667]: stderr log thread: thread starting
zorp-mail[9665]: Zone(levelezes): outbound service=bd_smtp
zorp-mail[9665]: Zone(levelezes): inbound service=bd_smtp
zorp-mail[9665]: Zone(DMZ): outbound service=bd_smtp
zorp-mail[9665]: Zone(DMZ): inbound service=bd_smtp
zorp-mail[9665]: (noname/nosession): Setting capabilities: = cap_net_bind_service+ep cap_net_admin+p
zorp-mail[9665]: (noname/nosession): Setting capabilities: = cap_net_bind_service,cap_net_admin+ep
zorp-mail[9665]: (noname/nosession): Resetting capabilities: = cap_net_bind_service,cap_net_admin+p
zorp-mail[9665]: Policy init, name=zorp-mail
zorp-mail[9665]: (zorp-mail/nosession): Incoming connection from: AF_INET(192.168.2.2:1059)
zorp-mail[9665]: (zorp/bd_smtp): Zone not found: Address Domain not found for address AF_INET(192.168.2.2:1059)
--
Udvozlettel
Zsiga