[질문] ftp 접속에 관해 질문 좀 하겠습니다....

pkh1112의 이미지

안녕하세요~ 허구언날 눈팅만 하다 도저히 모르겠어서 이렇게 질문을 올려 봅니다...;

말주변이 없어서 어떻게 지금 상황을 설명해야 다른분들이 파악을 하실지 모르겠습니다만 일단은...

리눅스서버에서 장비(임베디드)로의 ftp접속을 할려고 합니다.

이것저것 건드려본 결과 최종 결과는

ftp>
ftp> open 192.168.0.230
Connected to 192.168.0.230 (192.168.0.230).
220 G200 FTP server (Version 6.4/OpenBSD/Linux-ftpd-0.17) ready.
Name (192.168.0.230:pkh1112): anonymous
550 Authentication failure
Login failed.
ftp>
ftp>

이거네요;;;

이증상을 어떻게 해결해야할지 모르겠어요....;;

저의 환경은....

서버는 리눅스 페도라 코어4이구요 장비에는 busybox가 설치되있고 ftp는 proftp는 아닌거 같고...

-----------------------------------------------------------------
[root~]#
[root~]# ps -ef
PID Uid VmSize Stat Command
1 root 500 S init
2 root SW [keventd]
3 root SWN [ksoftirqd_CPU0]
4 root SW [kswapd]
5 root SW [bdflush]
6 root SW [kupdated]
7 root SW [mtdblockd]
15 root SWN [jffs2_gcd_mtd2]
22 root 604 S /usr/sbin/inetd
55 root 8300 S ./raybitapi
102 root SW [queuerun]
103 root SW [eventHisr]
129 root 8300 S ./raybitapi
130 root 8300 S ./raybitapi
132 root 8300 S ./raybitapi
144 root 8300 S ./raybitapi
162 root 8300 S ./raybitapi
163 root 8300 S ./raybitapi
164 root 8300 S ./raybitapi
179 root 2396 S /root/snmpd -b
180 root 560 S /sbin/syslogd -m 0
188 root 1208 S -bash
199 root 804 S in.ftpd: : connected: SYST
200 root 648 R ps -ef
[root~]#
[root~]#
------------------------------------------------------------

실행중인 프로세스들중에 ftp 데몬이 떠있나요? inetd가 슈퍼데몬이란것은 알고있는데...저것이

ftp 기능을 포함하고 있는건가요?

--------------------------------------------------
root::0:0:root:/root/:/root/raybitsh
nobody:*:99:99:Nobody:/:
anonymous::550:550:anonymous:/root/:/bin/ash
--------------------------------------------------

passwd안의 내용들입니다.. anonymous라고 제가 만든것이구요...

---------------------------------------------------------------
[root/etc]# ll
drwxr-xr-x 7 root root 1024 Oct 18 2007 ./
drwxr-xr-x 19 root root 1024 Oct 18 2007 ../
-rw-r--r-- 1 root root 23 Jan 13 2005 busybox.conf
drwxr-xr-x 2 root root 1024 Oct 31 2006 default/
-rwxr-xr-x 1 root root 1259 Apr 24 2006 dhcpd.conf*
-rwxr-xr-x 1 root root 785 Apr 16 2006 dhcpd.conf_org*
-rw-r--r-- 1 root root 0 Dec 6 2005 exports
-rw-r--r-- 1 root root 436 Oct 31 2006 fstab
lrwxrwxrwx 1 root root 14 Oct 18 2007 group -> ../jffs2/group
-rw-r--r-- 1 root root 26 Dec 6 2005 host.conf
-rw-r--r-- 1 root root 113 Oct 17 2007 hosts
-rw-r--r-- 1 root root 86 Oct 18 2007 hosts.allow
-rw-r--r-- 1 root root 2199 Oct 18 2007 inetd.conf
drwxr-xr-x 2 root root 1024 Oct 18 2007 init.d/
-rw-r--r-- 1 root root 422 Nov 13 2006 inittab
-rw-r--r-- 1 root root 421 Dec 6 2005 inputrc
-rw-r--r-- 1 root root 2 Mar 23 2007 issue
-rw-r--r-- 1 root root 834 Dec 16 2006 issue.aethera
-rw-r--r-- 1 root root 0 Oct 31 2006 issue.net
-rw-r--r-- 1 root root 2 Oct 31 2006 motd
lrwxrwxrwx 1 root root 12 Oct 18 2007 mtab -> /proc/mounts
-rw-r--r-- 1 root root 61 Dec 6 2005 mvl-release
-rw-r--r-- 1 root root 452 Dec 6 2005 nsswitch.conf
-rw-r--r-- 1 root root 0 Oct 18 2007 ntsysv
drwxr-xr-x 2 root root 1024 Dec 6 2005 opt/
-rw-r--r-- 1 root root 0 Oct 18 2007 pam.conf
lrwxrwxrwx 1 root root 15 Oct 18 2007 passwd -> ../jffs2/passwd
-rw-r--r-- 1 root root 491 Oct 31 2006 profile
drwxr-xr-x 10 root root 1024 Dec 6 2005 rc.d/
-rw-r--r-- 1 root root 83 Dec 6 2005 resolv.conf
-rw-r--r-- 1 root root 1615 Dec 6 2005 rpc
-rw-r--r-- 1 root root 408055 Oct 18 2007 services
-rw-r--r-- 1 root root 18 Oct 18 2007 shells
drwxr-xr-x 2 root root 1024 Oct 18 2007 ssh/
-rwxr-xr-x 1 root root 1159 Mar 21 2007 ssh_config*
-rwxr-xr-x 1 root root 2937 Oct 18 2007 sshd_config*
lrwxrwxrwx 1 root root 20 Oct 18 2007 syslog.conf -> ../jffs2/syslog.conf
-rw-r--r-- 1 root root 4 Oct 31 2006 timezone
[root/etc]#
---------------------------------------------------------------------------

장비안의 etc디렉토리 내용입니다...hosts.allow/deny이런게 다른분들은 있다는데 저는 없어서 제가 직접
만들어 넣었네요 -_-;;

-------------------------------------------------------------
[root/etc]# more shells
/bin/sh
/bin/bash
[root/etc]#
------------------------------------------------------------

shells 파일 안의 내용이구요....

-------------------------------------------------------------

Jan 1 00:01:17 G200 daemon.info init: Starting pid 188, console /dev/console: '/sbin/getty'
Jan 1 00:02:15 G200 authpriv.info in.ftpd[195]: connect from 192.168.0.100
Jan 1 00:02:21 G200 ftp.err ftpd[195]: PAM no modules loaded for `ftp' service
------------------------------------------------------------

로그 내용중 일부 입니다...

---------------------------------------------------------
[root/etc]# more inetd.conf
# /etc/inetd.conf: see inetd(8) for further informations.
#
# Internet server configuration database
#
#
# Lines starting with "#:LABEL:" or "##" should not
# be changed unless you know what you are doing!
#
# Packages should modify this file by using update-inetd(8)
#
#
#
#:INTERNAL: Internal services
#echo stream tcp nowait root internal
#echo dgram udp wait root internal
#chargen stream tcp nowait root internal
#chargen dgram udp wait root internal
#discard stream tcp nowait root internal
#discard dgram udp wait root internal
#daytime stream tcp nowait root internal
#daytime dgram udp wait root internal
#time stream tcp nowait root internal
#time dgram udp wait root internal

#:STANDARD: These are standard services.
ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd
telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd

#:BSD: Shell, login, exec and talk are BSD protocols.
#shell stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rshd
#login stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rlogind
#exec stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rexecd
#talk dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.talkd
#ntalk dgram udp wait root /usr/sbin/tcpd /usr/sbin/in.ntalkd

#:MAIL: Mail, news and uucp services.

#:INFO: Info services
#finger stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/in.fingerd
#ident stream tcp nowait nobody /usr/sbin/identd identd -i

#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tmp
#bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120

#:RPC: RPC based services
#mountd/1 dgram rpc/udp wait root /usr/sbin/tcpd /usr/sbin/rpc.mountd
#rstatd/1-3 dgram rpc/udp wait root /usr/sbin/tcpd /usr/sbin/rpc.rstatd
#rusersd/2-3 dgram rpc/udp wait root /usr/sbin/tcpd /usr/sbin/rpc.rusersd
#walld/1 dgram rpc/udp wait root /usr/sbin/tcpd /usr/sbin/rpc.rwalld

#:HAM-RADIO: amateur-radio services

#:OTHER: Other services
#ssh stream tcp nowait root /usr/sbin/tcpd /usr/sbin/sshd -i
[root/etc]#

-------------------------------------------------------------

inetd.conf 파일 내용입니다....

위 내용들을 참고해서 무엇이 문제인지 알수 있을까요....

저는 도통 모르겠는데...해결하라고 압박은 쪼여오고..ㅜㅜ 미치겠네요;;

고수님들의 조언좀 부탁드립니다....

더필요한 환경설정이 있다면 올려드리겠습니다.

댓글 달기

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 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • 사용할 수 있는 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>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • You can use Textile markup to format text.
  • 사용할 수 있는 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>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 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>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.