Temat: Problem z ftp
Witajcie
Znowu mam problem z ftp. Wyswietla:
220 server ready
530 Permission denied
Probowalem
# /etc/init.d/ftp restart
# /etc/init.d/vsftpd restartale nie pomoglo. Ponizej logread:
May 25 20:49:59 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:49:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 20:51:01 Gargoyle cron.info crond[2234]: crond: USER root pid 3458 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 20:51:59 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 20:52:01 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:52:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 20:54:01 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 20:54:03 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:54:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 20:54:15 Gargoyle user.info kernel: warning: `smbd' uses 32-bit capabilities (legacy support in use)
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 20:56:03 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 20:56:05 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:56:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 20:58:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 20:58:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 20:58:05 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 20:58:06 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 20:58:06 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 20:58:08 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 20:58:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:00:01 Gargoyle cron.info crond[2234]: crond: USER root pid 3610 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 21:00:08 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 21:00:10 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 21:00:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:01:01 Gargoyle cron.info crond[2234]: crond: USER root pid 3648 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 21:02:10 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 21:02:12 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 21:02:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 21:04:12 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 21:04:14 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 21:04:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Inactivity timeout (--ping-restart), restarting
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: TCP/UDP: Closing socket
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Closing TUN/TAP interface
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: SIGUSR1[soft,ping-restart] received, process restarting
May 25 21:06:14 Gargoyle daemon.notice openvpn(myvpn)[2360]: Restart pause, 2 second(s)
May 25 21:06:16 Gargoyle daemon.warn openvpn(myvpn)[2360]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Static Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Socket Buffers: R=[114688->131072] S=[114688->131072]
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP device tap0 opened
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: TUN/TAP TX queue length set to 100
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:4 ET:32 EL:0 ]
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link local (bound): [undef]:1194
May 25 21:06:16 Gargoyle daemon.notice openvpn(myvpn)[2360]: UDPv4 link remote: [undef]
May 25 21:07:08 Gargoyle authpriv.info dropbear[3758]: Child connection from 192.168.1.100:1146
May 25 21:07:13 Gargoyle authpriv.notice dropbear[3758]: password auth succeeded for 'root' from 192.168.1.100:1146a takze config ftp:
config 'vsftpd'
option 'anonmode' 'ro'
option 'anonroot' '/tmp/usb_mount'
option 'access' 'local'
option 'publicroot' '/tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f'
option 'privateroot' '/tmp/usb_mount/abac62d0-0a80-49e3-80f4-38d5089d5e6f/udostepniony'
config 'user' 'user_0'
option 'username' 'aaa'
option 'password' '****'
option 'mode' 'rw'
config 'user' 'user_1'
option 'username' 'bbb'
option 'password' '****'
option 'mode' 'private'
[...]
config 'user' 'user_8'
option 'username' 'xxx'
option 'password' '****'
option 'mode' 'private'i firewall:
config 'defaults'
option 'syn_flood' '1'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
config 'zone'
option 'name' 'lan'
option 'input' 'ACCEPT'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
config 'zone'
option 'name' 'wan'
option 'input' 'REJECT'
option 'output' 'ACCEPT'
option 'forward' 'REJECT'
option 'masq' '1'
config 'forwarding'
option 'src' 'lan'
option 'dest' 'wan'
config 'rule'
option 'src' 'wan'
option 'proto' 'udp'
option 'dest_port' '68'
option 'target' 'ACCEPT'
option 'family' 'ipv4'
config 'rule'
option 'src' 'wan'
option 'proto' 'icmp'
option 'icmp_type' 'echo-request'
option 'target' 'ACCEPT'
config 'include'
option 'path' '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
config 'rule' 'ftp_wan'
option 'src' 'wan'
option 'target' 'ACCEPT'
option 'proto' 'tcp'
option 'dest_port' '21'
config 'rule'
option '_name' 'openvpn'
option 'src' 'wan'
option 'target' 'ACCEPT'
option 'dest_port' '1194'
option 'proto' 'udp'
config 'remote_accept' 'ra_22_22'
option 'local_port' '22'
option 'remote_port' '22'
option 'proto' 'tcp'
option 'zone' 'wan'Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)