[prev in list] [next in list] [prev in thread] [next in thread]
List: pureftpd-list
Subject: tcp port ftp unreachable problem
From: john harkcom <jxxh () earthlink ! net>
Date: 2007-08-22 12:03:26
Message-ID: 46CC260E.3080309 () earthlink ! net
[Download RAW message or body]
...have a null modem cable between Linux client and Linux ftp server
...private network/no internet
...using standalone pure-ftpd server (version pure-ftpd-1.0.20)
...no firewall active
...xinetd killed
...ppp up and running;
...ppp started with following command
pppd /dev/ttyS0 nodetach novj noaccomp no... etc (no
compression used)
...pure-ftpd started w/ following command;
/usr/local/sbin/pure-ftpd -4 -S 199.168.1.2,21
client 199.168.1.3 ------> server 199.168.1.2
...able to pling remote node in both directions
... ftp client cannot connect to pure-ftpd server with the following
error:
ftp: connect: connection refused
tcpdump on ftp server shows following output:
15:34:17.616064 199.168.1.3.1026 > 199.168.1.2.ftp: S
2913324875:2913324875(0) win 5840 <mss 1460,sackOK,timestamp 66794
0,nop,wscale 0> (DF)
15:34:17.616064 199.168.1.2 > 199.168.1.3: icmp: 199.168.1.2 tcp
port ftp unreachable [tos 0xc0]
(I could understand tcp server being unreachable if
pure-ftpd was not running, but that is not the case)
...pure-ftpd hangs in ftpd.c, in routine standalone_server(void), at
line 5693, in the select system call:
while(stop_server == 0) {
safe_fd_set(listenfd, &rs);
safe_fd_set(listenfd6, &rs);
5693: if (select(max_fd, &rs, NULL, NULL, NULL) <= 0) {
if (errno != EINTR) {
(void) sleep(1);
}
continue;
I would appreciate any help you can provide and I hope this is enough
info. If not, please let me know so that I can supply same. Thanks.
John
jxxh@earthlink.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic