질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

fedora 12 vsftp 500 illegal port command 에러 해결방법좀 알려주세요.

작성자 정보

  • 김양현 작성
  • 작성일

컨텐츠 정보

본문

fedora 12를 설치하고 vsftp를 설치중에 있습니다.
vsftp 환경설정을 마치고 사험을 하고 있는데 페도라 12 서버까지는 연결되고 /home/계정id 까지는 연결되는데
500 illegal port command 에러가 발생합니다.
검색을 해서 찾아보니 공유기를 사용하고 iptable과 관련된 문제라며 ip_conntrack_ftp가 iptable에 모듈로 들어있지않아 생긴문제라고 하며
vi /etc/sysconfig/iptables-config 화일에 IPTABLES_MODULES="ip_conntrack_ftp" 이런식으로 올려주고 iptable을 재시작해주면 된다고 하는데
ip_conntrack_ftp 모듈이 올라가지를 낳습니다.
위와 같은 작업을 한뒤 모듈에 적재되었는지 lsmod로 확인해보면 ip_conntrack_ftp가 보이지를 않네요.

왜그런지 해결책을 알려주시면 감사하겠습니다.

iptables-config 화일
# Load additional iptables modules (nat helpers)
#   Default: -none-
# Space separated list of nat helpers (e.g. 'ip_nat_ftp ip_nat_irc'), which
# are loaded after the firewall rules are applied. Options for the helpers are
# stored in /etc/modprobe.conf.
#IPTABLES_MODULES=""
IPTABLES_MODULES="ip_conntrack_ftp"
# Unload modules on restart and stop
#   Value: yes|no,  default: yes
# This option has to be 'yes' to get to a sane state for a firewall
# restart or stop. Only set to 'no' if there are problems unloading netfilter
# modules.
IPTABLES_MODULES_UNLOAD="yes"
 
# Save current firewall rules on stop.
#   Value: yes|no,  default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets stopped
# (e.g. on system shutdown).
IPTABLES_SAVE_ON_STOP="no"
 
# Save current firewall rules on restart.
#   Value: yes|no,  default: no
# Saves all firewall rules to /etc/sysconfig/iptables if firewall gets
# restarted.
IPTABLES_SAVE_ON_RESTART="no"
 
iptable 재시작, 저장
 
모듈 적재여부 확인
[root@**** ~]# lsmod
Module                  Size  Used by
sunrpc                158388  1 
nf_conntrack_ftp       11088  0 
ip6t_REJECT             4620  2 
nf_conntrack_ipv6      17548  2 
ip6table_filter         3168  1 
ip6_tables             11144  1 ip6table_filter
ipv6                  239428  24 ip6t_REJECT,nf_conntrack_ipv6
p4_clockmod             4364  0 
dm_multipath           14472  0 
uinput                  6852  0 
snd_intel8x0           28144  0 
snd_ac97_codec         92136  1 snd_intel8x0
ac97_bus                1424  1 snd_ac97_codec
snd_seq                46960  0 
snd_seq_device          6232  1 snd_seq
snd_pcm                64932  2 snd_intel8x0,snd_ac97_codec
snd_timer              17992  2 snd_seq,snd_pcm
snd                    50908  6 snd_intel8x0,snd_ac97_codec,snd_seq,snd_seq_device,snd_pcm,snd_timer
ppdev                   8200  0 
parport_pc             22748  0 
soundcore               5672  1 snd
parport                29300  2 ppdev,parport_pc
ne2k_pci                8064  0 
ns558                   4468  0 
i2c_sis96x              5552  0 
i2c_core               23160  1 i2c_sis96x
gameport                9672  2 ns558
sis900                 18044  0 
8390                    7836  1 ne2k_pci
snd_page_alloc          7892  2 snd_intel8x0,snd_pcm
mii                     4120  1 sis900
ata_generic             4320  0 
pata_acpi               3676  0 
pata_sis                9388  7 
floppy                 47700  0 

ip_conntrack_ftp 모듈적재를 위해 /sbin/modprobe ip_conntrack_ftp 이런식으로 명령을 주어도 에러 없이 잘 되는데 모듈에는 올라가지를 않는군요.

그리고 콘솔 터미날에는 ftp를 연결할때마다 lo: disabled privacy extensions 라는 에러가 두번씩 뜨는데 그 이유를 알수가 없습니다.
여기 저기 검색을 해봐도 전혀 감을 잡지 못하겠군요.
참고로 ssh는 아무런 문제 없이 잘 됩니다.
아시는분 도와주시면 감사하겠습니다.

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,138 명
  • 현재 강좌수 :  36,196 개
  • 현재 접속자 :  427 명