Re: services not working at same time??
- From: "MZ" <nospam@xxxxxxxxxx>
- Date: Fri, 18 May 2007 17:26:52 -0400
"Giorgos Keramidas" <keramida@xxxxxxxxxxxxxxx> wrote in message
news:87tzu93ksy.fsf@xxxxxxxxxxxxxx
On Fri, 18 May 2007 15:20:29 -0400, "MZ" <nospam@xxxxxxxxxx> wrote:
This is puzzling. I just did a fresh installation of FreeBSD-current.
The ftp, telnet, apache, and dovecot IMAP servers are all working.
But when one is open, the others don't work. So, for example, when I
have ftp open, I timeout when trying to connect to the others. This
has to be something simple I'm missing...
It's not really easy to guess what went wrong, without at least *some*
information about the way you did the installation, the configuration of
these services, and so on.
* How did you try to find out what is going on when the
services seem to be unresponsive?
* What was the result of your efforts to troubleshoot the
problem?
* What do you _precisely_ mean when you write ``The X, Y and Z
servers are all working''?
* What do you _exactly_ mean by writing ``I timeout when trying
to connect to the others''?
I've tried operating these services simultaneously from two different remote
machines. From a dos command line, I've used telnet to access the server.
I've used ftp to access the server in the same way (as well as two versions
of WS_FTP). I've used outlook express to access the dovecot server (IMAP),
and a web browser to access the apache server. All of them work, as long as
I don't already have a telnet, ftp, or IMAP connection open. If I do, then
it times out. That is, I get an error saying that it failed to connect to
the server. When I start a telnet request with the IMAP connection open
it'll sit there and wait until it eventually times out. If I close the IMAP
connection before it times out, it'll connect to telnet within about 5
seconds.
I can ping the server with any of them open.
I've also tried accessing them from two different IP addresses at once. For
instance, I've left the IMAP connection open from one computer and then
telnet'd in from the other. That doesn't work either. I get "trying
<ipaddress>...operation timed out. Unable to connect to remote host."
I didn't do anything to configure telnetd and ftpd aside from enable them
from inetd. Dovecot and apache both use custom config files that worked
fine in this machine before I reinstalled the OS. They don't generate any
error messages during startup. I've currently left IPFW more or less open
in order to troubleshoot this issue (as well as another issue I've been
having with vonage). Here's the ipfw configuration file in its current
form:
#!/bin/sh
cmd="ipfw -q add"
skip="skipto 500"
pif=xl0
ks="keep-state"
ipfw -q -f flush
$cmd 002 allow all from any to any via vr0 # exclude LAN traffic
$cmd 003 allow all from any to any via lo0 # exclude loopback traffic
$cmd 100 divert natd ip from any to any in via $pif
$cmd 101 check-state
# Authorized outbound packets
$cmd 110 $skip tcp from any to any out via $pif setup $ks
$cmd 120 $skip udp from any to any out via $pif $ks
$cmd 130 $skip icmp from any to any out via $pif $ks
# Authorized inbound packets
$cmd 400 allow tcp from any to any in via $pif setup limit src-addr 1
$cmd 410 allow udp from any to any in $ks
$cmd 420 allow icmp from any to any in $ks
$cmd 450 deny log ip from any to any
# This is skipto location for outbound stateful rules
$cmd 500 divert natd ip from any to any out via $pif
.
- Follow-Ups:
- References:
- services not working at same time??
- From: MZ
- Re: services not working at same time??
- From: Giorgos Keramidas
- services not working at same time??
- Prev by Date: Re: need help in diagnosing network problem
- Next by Date: Re: Partitioning Help
- Previous by thread: Re: services not working at same time??
- Next by thread: Re: services not working at same time??
- Index(es):
Relevant Pages
|