페도라4에서 proftpd 작동이 안됩니다.

saerome의 이미지

버젼은 1.2.10 fc1이구요

/etc/proftpd.conf 설정은 다음과 같습니다.

Quote:
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "SNUJN Server (By Proftpd)"
ServerType standalone
DefaultServer on

# Port 21 is the standard FTP port.
Port 100

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# 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 under which the server will run.
User nobody
Group nobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directoty>

# Bar use of SITE CHMOD by default
#<Limit SITE_CHMOD>
# DenyAll
#</Limit>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous /home/ftp>
User ftp
Group ftp
RequireValidShell off

# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit LOGIN>
AllowAll
</Limit>

<Limit WRITE>
DenyAll
</Limit>

<Directory /home/ftp/public>
Umask 000
AllowStoreRestart on
AllowRetrieveRestart on

<Limit READ>
AllowAll
</Limit>

<Limit STOR>
AllowAll
</Limit>

<Limit MKD>
AllowAll
</Limit>
</Directory>
</Anonymous>

처음에 부팅 할 때는 실행 된다고 뜨는데, 나중에 /etc/rc.d/proftpd restart 하면 close 하는데 실패 합니다.

포트는 100번으로 쓰려고 하는거 맞구요, 설치파일은 inetd파일 말고 그냥 파일만 깔았습니다. (proftpd-1.2.10-1.fc1.i386.rpm)

그리고 iptables는 다음과 같은 구절이 포함되어 있습니다.

Quote:
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 100 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT

http 서버는 작동이 되는데 ftp만 안되는건.... 왜 이런 걸까요... ㅜㅠ

참고로, 알FTP로 접속하면,

Quote:

connecting to 147.46.102.XXX
connecting to 147.46.102.XXX
connecting to 147.46.102.XXX

이라고만 계속 뜨고 접속이 불가능합니다.

도와주세요 고수님들 ㅜㅠ

지리즈의 이미지

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1024:65535 -j ACCEPT

추가해 보세요 라고 하고 싶은데...
좀 위험해 보이네요...

일단 로컬에서 ftp 로는 붙나요?

그럼 방화벽이 없는 곳(공인IP)에서 알FTP같은 것으로
active(능동)모드로는 접속이 되는지 알아 봅니다.

일단은 위의 설정으로는 되야 할 겁니다.

There is no spoon. Neo from the Matrix 1999.

saerome의 이미지

위에 적은 내용이 로컬에서 접속한 결과입니다.

리눅스 서버가 현재 인터넷 공유기로 작동하고 있고, 그 클라이언트에서 접속한 결과가 위와 같이 나옵니다.

active 모드로 접속을 한다는 게 무슨 뜻인지요? 지금은 패시브 모드로 접속하는데...

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.