eltech Guru
Joined: 05 Nov 2002 Posts: 582 Location: New York
|
Posted: Thu Sep 25, 2003 7:44 pm Post subject: glftpd-tls and cant log in .. |
|
|
hello all ..
ok .. let me stat the facts ..
- hosts.allow = glftpd: ALL
- here is my baselayout version
Latest version available: 1.8.6.10-r1
Latest version installed: 1.8.5.9
upgrade?
- i have followed the directions for tls setup
my key is in /etc
glftpd-dsa.pem
- my /etc/xinet.d/glftpd looks like this
Code: | service glftpd
{
disable = no
flags = REUSE NAMEINARGS
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/sbin/tcpd
server_args = /opt/glftpd/bin/glftpd -l -i -o -r /opt/glftpd/glftpd.conf -s/opt/glftpd/bin/glstrings.bin -z cert=/etc/glftpd-dsa.pem
} |
- my /etc/xinetd.d/conf looks like below
Code: | defaults
{
#only_from = localhost
instances = 60
log_type = SYSLOG authpriv info
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
|
- netstat -nap | grep 2021 shows
Code: | tcp 0 0 0.0.0.0:2021 0.0.0.0:* LISTEN 2868/xinetd
tcp 0 0 127.0.0.1:2021 127.0.0.1:1079 ESTABLISHED 2753/glftpd:localho
tcp 0 0 127.0.0.1:1088 127.0.0.1:2021 ESTABLISHED 2776/ncftp
tcp 0 0 127.0.0.1:1079 127.0.0.1:2021 ESTABLISHED 2752/ncftp
tcp 0 0 127.0.0.1:2021 127.0.0.1:1088 ESTABLISHED 2777/glftpd:localho
tcp 0 0 24.229.xx.xx:2021 24.229.15.74:3533 ESTABLISHED 2873/glftpd:office.
tcp 7 0 24.229.xx.xx:2021 24.229.15.74:3532 CLOSE_WAIT 2827/glftpd:office. |
you can see the connections from the local host and the windows box using flashfxp
when trying to connect using ncftp LOCALLY
ncftp -P 2021 -u glftpd localhost
i can login
Code: |
Connecting to 127.0.0.1...
PCNS (glftpd 1.30_Linux+TLS) ready.
Logging in...
Password requested by 127.0.0.1 for user "glftpd".
Password required for glftpd.
Password: ******
_____
______________________________|__ |____ ________________________________
\ _ / _ / _ / | | _ / _ / _ /
\ \ / / / /____/. | | / / /____/. /_____/
\________/____/ /______ |___|____|___/ /______ |____|
.-=----------- /____/ ---- |____| --------- /____/ ---- |____| -------=-.
`-=-------------------------------------------------------------------=-'
`-----( Type 'site onel MESSAGE' to enter your message )-----'
User glftpd logged in.
Logged in to localhost. |
i can login using ncftp from another box on the lan.. but i get the following error .. i obviously dont know the ncftp command for ssl/tls connection ..
Code: | ncftp -P 2021 -u glftpd 24.229.xx.xx
NcFTP 3.1.5 (Oct 13, 2002) by Mike Gleason (ncftp@ncftp.com).
Copyright (c) 1992-2002 by Mike Gleason.
All rights reserved.
Connecting to 24.229.xx.xx...
PCNS (glftpd 1.30_Linux+TLS) ready.
User glftpd access denied. Use secure access
Sleeping 20 seconds... |
by removing or commenting
Code: | userrejectsecure !*
userrejectinsecure *
denydiruncrypted *
denydatauncrypted * |
i can connect from the other box on the lan also..
but from a windows xp box running flashfxp i can not connect
i get this error..
Code: | Connected to JULISSA -> IP=24.229.xx.xx PORT=2021
220 PCNS (glftpd 1.30_Linux+TLS) ready.
AUTH TLS
234 AUTH TLS successful
Negotiating SSL/TLS session...
Error: Failed to load SSL DLLS. ssleay32.dll or libeay32.dll
Connection failed (Connection closed by client) |
where is the problem?
windows related?[/b] |
|