I have a Linux box which has two network interfaces: the first one listens on a public IP address, the second listens on a local IP address. I'd like to configure xinetd so that an incoming request on port 110 (on
Please, see my comments... Thanks -----Messaggio originale----- Da: Yuri Robbers [mailto:yuri@rulbii.leidenuniv.nl] Inviato: mercoledì 24 ottobre 2001 15.44 A: Fiorenza Meini Cc: 'suse-security@suse.com' Oggetto: Re: [suse-security] xinetd: redirecting pop3 service... Hi Fiorenza! the
interface which has the public address) is redirected to our real POP3 server, which is on a local intranet. I installed Linux 7.2. I connect successfully to the port 110 of linux box, but as I'm connected the connection is closed. Probably it is a configuration mistake.
I see two potential problems:
service pop3 { socket_type = stream protocol = tcp wait = no user = root server = /usr/sbin/ipop3d
I may be wrong with this one, but when you use "server" and "redirect" together, then "server" gets precedence, and "redirect" is ignored, if I remember correctly. FIORENZA: I deleted the line "server", but the behaviour is the same.
server_args = -s redirect = mail.robinson.it 110 only_from = 10.10.3.7 10.10.3.4 }
The only_from field looks like it only allows access to the pop3-port from your private network, while from your description it seems you want to access the pop3 port from the internet. That would explain the problems... FIORENZA: now I'm in a test environment, and this is why I configured the "only_from" field. Do you think this can cause problem? Ciao, Yuri.