Op donderdag 8 december 2005 07:32, schreef Chadley Wilson:
On Wed, 2005-12-07 at 13:29 +0100, wavesurf@planet.nl wrote:
Chadley,
Still working on it. I have 2 cards, one internal and one external. The 2 files are the same now, was missing "disable = yes".
great.,, :')
It still won't work, i think the problem is port 20....
PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 10082/tcp filtered amandaidx 10083/tcp filtered amidxtape
#netstat --tulpen this one won't work?
Its probably not installed, use yast. It is on the cds.
Maby you will look here to see what the problem is;
<snipped>
Looks like your firewall is fine from this, and that your config file is fine to, as it allowed you to login.
Dec 7 13:18:00 linux vsftpd: Wed Dec 7 13:18:00 2005 [pid 9782] [gerritjanftp] OK LOGIN: Client "123.123.123.123" Dec 7 13:18:00 linux vsftpd: Wed Dec 7 13:18:00 2005 [pid 9784] [gerritjanftp] FTP response: Client "123.123.123.123", "230 Login successful."
I believe the problem is the ownership and access rights of your directory. I would start by making sure gerritjanftp is a member of the correct group, which on my system is "ftp".
And you must also make sure your server is not running as user root but rather as user "ftp" (my case). Then change the group ownership of all files on your server to ftp and give the read and execute permissions. #chgrp ftp /path/to/files #chmod -R 750 /path/to/files
The -R will be recursive and modify the whole directory and it contents.
There are many different ways to run vsftp, but I would like to suggest that you enable the option to chroot users, as there will be problems when they leave there home directories, I take it you are running an authenticated server..
Chadley
Chadley, I have try all you say, but with no success. The problem still is the susefirewall, with the susefirewall on it won't work, with the firewall off no problems. I have tried an other ftp server also.... Here a firewalllog; Dec 8 13:43:57 linux kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.1.102 DST=192.168.1.255 LEN=251 TOS=0x00 PREC=0x00 TTL=64 ID=23 DF PROTO=UDP SPT=138 DPT=138 LEN=231 Dec 8 13:43:57 linux kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC= SRC=192.168.1.102 DST=192.168.1.255 LEN=234 TOS=0x00 PREC=0x00 TTL=64 ID=24 DF PROTO=UDP SPT=138 DPT=138 LEN=214 Dec 8 13:44:46 linux kernel: SFW2-INext-ACC-TCP IN=eth0 OUT= MAC=00:0c:6e:8c:2b:ae:00:04:ed:10:08:a5:08:00 SRC=123.123.123.123. DST=192.168.1.102 LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=3280 DF PROTO=TCP SPT=10175 DPT=21 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204055001010402) Dec 8 13:44:48 linux kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0c:6e:8c:2b:ae:00:04:ed:10:08:a5:08:00 SRC=123.123.123.123. DST=192.168.1.102 LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=3323 DF PROTO=TCP SPT=10177 DPT=23869 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204055001010402) Dec 8 13:44:48 linux kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0c:6e:8c:2b:ae:00:04:ed:10:08:a5:08:00 SRC=123.123.123.123. DST=192.168.1.102 LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=3354 DF PROTO=TCP SPT=10179 DPT=65501 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204055001010402) Dec 8 13:44:51 linux kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0c:6e:8c:2b:ae:00:04:ed:10:08:a5:08:00 SRC=123.123.123.123. DST=192.168.1.102 LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=3360 DF PROTO=TCP SPT=10179 DPT=65501 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204055001010402) Dec 8 13:44:57 linux kernel: SFW2-INext-DROP-DEFLT IN=eth0 OUT= MAC=00:0c:6e:8c:2b:ae:00:04:ed:10:08:a5:08:00 SRC=123.123.123.123. DST=192.168.1.102 LEN=48 TOS=0x00 PREC=0x00 TTL=127 ID=3361 DF PROTO=TCP SPT=10179 DPT=65501 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204055001010402) -- Gerrit Jan Eldering KDE-versie: 3.5.0 Level "a" Systeem: SuSELinux 10.0 Kernel: 2.6.13-15.7-default