Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Czolem.
Nie wiem co jest grane z tym moim proftpd, klientem wszystko jest dobrze az do momentu:
LIST -la
wtedy sie zatrzymuje na jakas chwile i zaczyna od nowa, potwierdzenie usera i hasla jest poprawne ale potem cos sie dzieje nie tak. oto co mi wypisuje flashget:
Wed Aug 17 07:18:43 2005 Connecting 193.193.1.4 [IP=193.193.1.4:21]
Wed Aug 17 07:18:43 2005 Socket connected, Waiting for welcome message.
Wed Aug 17 07:18:53 2005 220 ProFTPD 1.2.10 Server (Debian) [193.193.1.4]
Wed Aug 17 07:18:53 2005 USER usnar
Wed Aug 17 07:18:53 2005 331 Password required for uzi.
Wed Aug 17 07:18:53 2005 PASS ********
Wed Aug 17 07:18:53 2005 230 User uzi logged in.
Wed Aug 17 07:18:53 2005 Login Successful
Wed Aug 17 07:18:53 2005 REST 100
Wed Aug 17 07:18:53 2005 350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer
Wed Aug 17 07:18:53 2005 This site can resume broken downloads.
Wed Aug 17 07:18:53 2005 REST 0
Wed Aug 17 07:18:53 2005 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
Wed Aug 17 07:18:53 2005 PWD
Wed Aug 17 07:18:53 2005 257 "/home/uzi" is current directory.
Wed Aug 17 07:18:53 2005 TYPE A
Wed Aug 17 07:18:53 2005 200 Type set to A
Wed Aug 17 07:18:53 2005 PASV
Wed Aug 17 07:18:53 2005 227 Entering Passive Mode (193,193,1,4,4,34).
Wed Aug 17 07:18:53 2005 LIST -la
Wed Aug 17 07:19:14 2005 Error occured!
Wed Aug 17 07:19:14 2005 Wait 5 second for retry
Oto moj plik konfiguracyjny:
ServerName "Debian" ServerType standalone DeferWelcome off ShowSymlinks on MultilineRFC2228 on DefaultServer on ShowSymlinks on AllowOverwrite on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter *.*/ #DefaultRoot ~ # Uncomment this if you are using NIS or LDAP to retrieve passwords: #PersistentPasswd off # Port 21 is the standard FTP port. Port 21 # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd) MaxInstances 30 # Set the user and group that the server normally runs at. User nobody Group nogroup # Normally, we want files to be overwriteable. <Directory /*> # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 AllowOverwrite on </Directory>
Czy ktos z was wie co jest grane?
Offline
nie pomoglo, dalej go cos boli, dziwi mnie to bo nigdy wczesniej nie mialem takiego problemu, zawsze podstawowa konfiguracja dzialala.
OK juz wiem o co chodzi. Moj firewall wpuszcza tylko 22, 21, 80 port, a blokuje reszte. Jak wpuscilem wszystko to dziala. Kiedys czytalem taki artykul ze jak sie jakis komputer zaloguje na port 21 to iptables otwiera na czas sesji port ktory zada serwer ftp, lub cos w tym stylu i faktycznie zawsze to dzialalo a teraz nie. Powiedzcie mi w takim razie jak to obejsc na firewallu, wpuszczac porty ktore ustawie w proftpd.conf jako passive?
Offline
dorzuc w regulki cos takiego..:
iptables -A INPUT -p tcp --sport 1024: --dport 21 -j ACCEPT iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A OUTPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
poza tym zauwazylem, ze proftpd w nowej wersji szybko zrywa mi polaczenia..
pomoglo dopisanie w konfigu:
DelayEngine off
pzdr!
Offline
Dzieki za pomoc, wlasciwie to dalem sobie spokoj z proftpd.
Teraz uzywam ssh. Ten programik ma w sobie sftp i jest duzo bezpieczniejszy od zwyklego ftp. A klient na windowsa jest tutaj http://download.chip.pl/download_123839.html
Offline
Time (s) | Query |
---|---|
0.00011 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00096 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.15.225.177' WHERE u.id=1 |
0.00211 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.15.225.177', 1732583511) |
0.00056 | SELECT * FROM punbb_online WHERE logged<1732583211 |
0.00044 | SELECT topic_id FROM punbb_posts WHERE id=11708 |
0.00119 | SELECT id FROM punbb_posts WHERE topic_id=1347 ORDER BY posted |
0.00077 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=1347 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00073 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=1347 ORDER BY p.id LIMIT 0,25 |
0.00077 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=1347 |
Total query time: 0.00773 s |