PROFTPD - za natem nie działa
: 18 sierpnia 2007, 12:31
Witam
2 dni juz walcze i chyba sie poddam - postawiony serwer proftpd lokalnie mozna sie zalogowac i na passive i na active z zewnatrz juz nie mimo przkierowanych portow oto wszystkie dane moze ktos ma jakis pomsyl bo mni sie skonczyly
Firewall
otworzone porty 89,90 oraz 60000-65534
Router
przkierowane porty 89,90 oraz 60000-65534
2 dni juz walcze i chyba sie poddam - postawiony serwer proftpd lokalnie mozna sie zalogowac i na passive i na active z zewnatrz juz nie mimo przkierowanych portow oto wszystkie dane moze ktos ma jakis pomsyl bo mni sie skonczyly
Firewall
otworzone porty 89,90 oraz 60000-65534
Router
przkierowane porty 89,90 oraz 60000-65534
Kod: Zaznacz cały
KONFIG PROFTDP
Include /etc/proftpd/modules.conf
ServerName "A"
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
#DefaultAddress 127.0.0.1
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
Port 21
DefaultRoot /srv/ftp
DefaultTransfermode binary
Masquaradeaddress ADRES_IP_ZEW
AllowOverwrite yes
#UseIPv6 off
PassivePorts 60000 65534
MaxInstances 30
User proftpd
Group nogroup
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
<IfModule mod_tls.c>
TLSEngine off
</IfModule>
<IfModule mod_quota.c>
QuotaEngine on
</IfModule>
<IfModule mod_ratio.c>
Ratios on
</IfModule>
IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine on
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>
<IfModule mod_ctrls_admin.c>
AdminControlsEngine on
</IfModule>
<Limit EPSV PASV>
DenyAll
</Limit>
<Limit PORT PASV>
AllowAll
</Limit>
Kod: Zaznacz cały
POLACZENIE PASYWNE
Response: 257 "/"
Command: TYPE A
Response: 200 Switching to ASCII mode.
Command: PASV
Response: 227 Entering Passive Mode (192,168,1,254,239,22)
Command: LIST
Aug 16 22:48:07 a-serwer proftpd[12673] a-serwer: error setting IPV6_V6ONLY: Protocol not available
Aug 16 22:48:07 a-serwer proftpd[12673] a-serwer: ProFTPD 1.3.0 (stable) (built Wed Nov 29 02:01:20 UTC 2006) standalone mode STARTUP
Aug 16 22:48:42 a-serwer proftpd[12716] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): error setting IPV6_V6ONLY: Protocol not available
Aug 16 22:48:52 a-serwer proftpd[12716] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): FTP session opened.
Aug 16 22:48:53 a-serwer proftpd[12716] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): USER pr: Login successful.
Aug 16 22:48:53 a-serwer proftpd[12716] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): Preparing to chroot to directory '/srv/ftp'
Aug 16 22:48:54 a-serwer proftpd[12716] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): error setting IPV6_V6ONLY: Protocol not available
Aug 16 22:49:40 a-serwer proftpd[12803] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): error setting IPV6_V6ONLY: Protocol not available
Aug 16 22:49:50 a-serwer proftpd[12803] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): FTP session opened.
Aug 16 22:49:53 a-serwer proftpd[12803] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): USER prace: Login successful.
Aug 16 22:49:53 a-serwer proftpd[12803] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): Preparing to chroot to directory '/srv/ftp'
Aug 16 22:49:55 a-serwer proftpd[12803] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): error setting IPV6_V6ONLY: Protocol not available
Kod: Zaznacz cały
POLACZENIE AKTYWNE
Response: 257 "/" is current directory.
Command: TYPE A
Response: 200 Type set to A
Command: PORT 192,168,0,155,4,31
Response: 500 Illegal PORT command
Error: Could not retrieve directory listing
Aug 16 22:51:44 a-serwer proftpd[12911] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): error setting IPV6_V6ONLY: Protocol not available
Aug 16 22:51:54 a-serwer proftpd[12911] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): FTP session opened.
Aug 16 22:51:54 a-serwer proftpd[12911] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): mod_delay/0.5: delaying for 7 usecs
Aug 16 22:51:55 a-serwer proftpd[12911] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): USER pr: Login successful.
Aug 16 22:51:55 a-serwer proftpd[12911] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): Preparing to chroot to directory '/srv/ftp'
Aug 16 22:51:58 a-serwer proftpd[12911] a-serwer (114.16.rev.vline.pl[::ffff:217.76.114.16]): Refused PORT 192,168,0,155,4,31 (address mismatch)