You are not logged in.

#1 2007-07-08 10:58:39

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 83
Website

vsftpd problem

hi, i use vsftpd in standlone mode, and turn on the tcp_wrapper.  But  it dosn't work.
if i turn off the tcp_wrapper, vsftpd work well.

anyone know how to solve this problem?

[md@Arch ~]$ lftp
[md@Arch ~]$ lftp
lftp :~> debug 3
lftp :~> o 192.168.1.100
lftp 192.168.1.100:~> ls
---- Connecting to 192.168.1.100 (192.168.1.100) port 21
<--- 220 (vsFTPd 2.0.5)
`ls' at 0 [Sending commands...]

hosts.allow

#
# /etc/hosts.allow
#
sshd : 192.168.1. , 127.0.0.1 : allow
vsftpd : 192.168.1. , 127.0.0.1 :allow
# End of file

vsftpd.conf

# Example config file /etc/vsftpd.conf
#
# Use this to use vsftpd in standalone mode, otherwise it runs through (x)inetd
listen=YES
background=YES
tcp_wrappers=YES
#
#allow to use passive mode
pasv_enable=YES

Offline

#2 2007-07-08 16:49:15

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: vsftpd problem

Did you modprobe capability?


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#3 2007-07-09 13:42:40

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 83
Website

Re: vsftpd problem

Stalwart wrote:

Did you modprobe capability?

yes

[md@Arch ~]$ lsmod |grep capability
capability              3592  0 
commoncap               5632  1 capability
[md@Arch ~]$

Offline

#4 2007-07-11 19:41:27

PenguinFlavored
Member
From: Chicago, IL, USA
Registered: 2006-06-06
Posts: 66
Website

Re: vsftpd problem

I don't know about the :allow at the end

try

#
# /etc/hosts.allow
#
sshd : 192.168.1. , 127.0.0.1
vsftpd : 192.168.1. , 127.0.0.1
# End of file

Also, what does the vsftpd log say?

Offline

#5 2007-08-16 11:16:51

hongy19
Member
From: China
Registered: 2005-04-08
Posts: 83
Website

Re: vsftpd problem

PenguinFlavored wrote:

I don't know about the :allow at the end

try

#
# /etc/hosts.allow
#
sshd : 192.168.1. , 127.0.0.1
vsftpd : 192.168.1. , 127.0.0.1
# End of file

Also, what does the vsftpd log say?

thanks , it work!
vsftpd log say nothing

Wed Aug 15 22:58:54 2007 [pid 7339] CONNECT: Client "192.168.1.100"
Wed Aug 15 23:13:36 2007 [pid 7408] CONNECT: Client "192.168.1.100"
Wed Aug 15 23:19:50 2007 [pid 7471] CONNECT: Client "192.168.1.100"

Offline

Board footer

Powered by FluxBB