Current time: 07-03-2024, 10:57 PM Hello There, Guest! (LoginRegister)


Post Reply 
proftpd problem auf lenny 64bit
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #21
RE: proftpd problem auf lenny 64bit
Habe mir die FTP Users table noch mal angeschaut, hierbei fällt mir auf das einige Passwörter (neuere) so aussehen:
Code:
$1$G~6I12E1$rgkTozJwMjSWMWoe59Xy6/
und ältere so:
Code:
p~KIPaAkLhlTk
könnte da etwas schief gelaufen sein bei einem Update bzw. wurden die FTP Passwörter irgendwann höher verschlüsselt?

Noch eine Info - ich habe hier ein 64-bit Lenny verwendet und von einem 32-bit Etch alles importiert (migriert) ...

Wie gesagt der Login klappt an sich, jedoch sehr verzögert:
Code:
FileZilla > 10 sec
Net2FTP > 30 sec
(This post was last modified: 07-20-2009 09:42 PM by fulltilt.)
07-20-2009 09:32 PM
Find all posts by this user Quote this message in a reply
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #22
RE: proftpd problem auf lenny 64bit
Also ich hab mir mal das query vom proftp angeschaut.
Das ist nur der Connect :

Quote:090720 14:12:16 130 Connect vftp@localhost on ispcp
130 Query SELECT userid, passwd, uid, gid, homedir, shell FROM ftp_users WHERE (userid='ftp@xxx.de') LIMIT 1
130 Query SELECT groupname FROM ftp_group WHERE (gid = 2001) LIMIT 1
130 Query SELECT groupname, gid, members FROM ftp_group WHERE (groupname = 'xxx.de')
130 Query SELECT groupname, gid, members FROM ftp_group WHERE (members = 'ftp@xxx.de' OR members LIKE 'ftp@xxx.de,%' OR members LIKE '%,ftp@xxx.de' OR members LIKE '%,ftp@xxx.de,%')
130 Query SELECT groupname, gid, members FROM ftp_group WHERE (members = 'ftp@xxx.de' OR members LIKE 'ftp@xxx.de,%' OR members LIKE '%,ftp@xxx.de' OR members LIKE '%,ftp@xxx.de,%')
090720 14:12:19 130 Query SELECT name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = 'ftp@xxx.de' AND quota_type = 'user'
130 Query SELECT name, quota_type, per_session, limit_type, bytes_in_avail, bytes_out_avail, bytes_xfer_avail, files_in_avail, files_out_avail, files_xfer_avail FROM quotalimits WHERE name = 'xxx.de' AND quota_type = 'group'
130 Query SELECT name, quota_type, bytes_in_used, bytes_out_used, bytes_xfer_used, files_in_used, files_out_used, files_xfer_used FROM quotatallies WHERE name = 'xxx.de' AND quota_type = 'group'
130 Query SELECT groupname FROM ftp_group WHERE (gid = 33) LIMIT 1
130 Query SELECT groupname FROM ftp_group WHERE (gid = 33) LIMIT 1
130 Query SELECT groupname FROM ftp_group WHERE (gid = 33) LIMIT 1

Man beachte auch hier die Zeit (/b) ... und die Doppelten abfragen.

Wo steht dein Server ? Zufällig bei EUserv ?


grüße
(This post was last modified: 07-20-2009 10:21 PM by Top44.)
07-20-2009 10:13 PM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #23
RE: proftpd problem auf lenny 64bit
(07-20-2009 10:13 PM)Top44 Wrote:  Man beachte auch hier die Zeit (/b) ... und die Doppelten abfragen.
Wo steht dein Server ? Zufällig bei EUserv ?

meinst Du es könnte an der min UID liegen?
lief wie gesagt im gleichen Netz vorher auf Etch ohne Probleme ...

Gruss
(This post was last modified: 07-20-2009 10:56 PM by fulltilt.)
07-20-2009 10:35 PM
Find all posts by this user Quote this message in a reply
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #24
RE: proftpd problem auf lenny 64bit
Also ich würde mir eher um die doppelten und dreifachen QUERYS sorgen machen als um die uid.

Das Problem dabei ist, das diese QUERY´s in der proftp.conf nur einmal auftauchen, warum führt er dieses dann sooft aus ?

Und warum :
Quote:130 Query SELECT groupname FROM ftp_group WHERE (gid = 33) LIMIT 1

Woher hat er gid=33 ? Usergids fangen bei 2000 an ...
Hmm, sehe grad dass www-data GID 33 hat. Ich habe jedoch nur mit FileZilla getestet, warum führt er dann die QUERY´s für NetFTP aus ?


Also ich habe dieses Phänomen seitdem ich bei EUserv bin. Davor kein bisschen.

Grüße

[EDIT]
Du kannst mal versuchen in der proftp.conf die folgendes Werte zu ändern.
Und dann mal per NetFTP Probieren, weil mit meinem hab ich keine Probs, läuft zügig :
www-data hat ja uid/gid 33 also :

Quote:SQLMinUserUID 33
SQLMinUserGID 33
(This post was last modified: 07-20-2009 11:24 PM by Top44.)
07-20-2009 11:18 PM
Find all posts by this user Quote this message in a reply
pl.zenon Offline
Junior Member
*

Posts: 10
Joined: Nov 2008
Reputation: 0
Post: #25
RE: proftpd problem auf lenny 64bit
I had this problem too ["check pass; user unknown in auth.log"] but I found a solution:

Quote:# ispCP SQL Managment
AuthOrder mod_sql.c
SQLBackend mysql
SQLAuthTypes Crypt
SQLAuthenticate on
SQLConnectInfo ispcp@localhost vftp yourpass
SQLUserInfo ftp_users userid passwd uid gid homedir shell
SQLGroupInfo ftp_group groupname gid members
SQLMinUserUID 2000
SQLMinUserGID 2000

Moreover you have to remember about unhash LoadModule mod_sql.c and LoadModule mod_sql_mysql.c in modules.conf
(This post was last modified: 07-22-2009 02:00 PM by pl.zenon.)
07-22-2009 01:58 PM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #26
RE: proftpd problem auf lenny 64bit
thanks, i tried this but it looks like a problem with proftpd on lenny 64-bit.
I also installed this system in virtualbox and i get same timeouts and error logs.

Regards

(07-22-2009 01:58 PM)pl.zenon Wrote:  I had this problem too ["check pass; user unknown in auth.log"] but I found a solution:
[quote]# ispCP SQL Managment
AuthOrder mod_sql.c
(This post was last modified: 07-22-2009 07:58 PM by fulltilt.)
07-22-2009 07:58 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)