ÀÌÀü ÁÖÁ¦ º¸±â :: ´ÙÀ½ ÁÖÁ¦ º¸±â |
±Û¾´ÀÌ |
¸Þ½ÃÁö |
darkhi
°¡ÀÔ: 2004³â 12¿ù 29ÀÏ ¿Ã¸° ±Û: 7
|
¿Ã·ÁÁü: 2005.2.27 ÀÏ, 10:46 am ÁÖÁ¦: vsftpd °èÁ¤ ·Î±×ÀÎÀÌ ¾ÈµË´Ï´Ù. |
|
|
[R] Connecting to rain9.dnip.net -> IP=192.168.0.1 PORT=21
[R] Connected to rain9.dnip.net
[R] 220 Welcome to rain9.com FTP service.
[R] USER root
[R] 331 Please specify the password.
[R] PASS (hidden)
[R] 530 Login incorrect.
[R] Connection failed
local_enable=YES µÇ¾î ÀÖ±¸¿ä.
/etc/ftpusers¿¡µµ root ¾ø½À´Ï´Ù.
root »Ó¸¸ ¾Æ´Ï¶ó ´Ù¸¥ °èÁ¤µµ ±×·¸´õ±º¿ä.
½ºÅĵå¾ó·Ð ¹æ½ÄÀ̱¸¿ä.
¸î´ÞÀü ±ÛÀÎ 'vsftp°¡ Á¢¼ÓÀÌ µÇÁö ¾Ê´Â °æ¿ì'(°Ë»öÇÏ¸é ³ª¿È)°ú °°Àº °æ¿ì °°½À´Ï´Ù.
À̰ÍÀº ·Î±×ÆÄÀÏÀÔ´Ï´Ù.
Sun Feb 27 01:45:00 2005 [pid 13563] [root] FAIL LOGIN: Client "192.168.0.2"
Sun Feb 27 01:45:09 2005 [pid 13566] CONNECT: Client "192.168.0.2"
Sun Feb 27 01:45:10 2005 [pid 13565] [ftp] OK LOGIN: Client "192.168.0.2", anon password "darkhi@paran.com"
À͸í Á¢¼ÓÀº Àß µË´Ï´Ù.
[R] Connected to rain9.dnip.net
[R] 220 Welcome to rain9.com FTP service.
[R] USER anonymous
[R] 331 Please specify the password.
[R] PASS (hidden)
[R] 230 Login successful.
[R] SYST
[R] 215 UNIX Type: L8
[R] FEAT
[R] 211-Features:
[R] EPRT
[R] EPSV
[R] MDTM
[R] PASV
[R] REST STREAM
[R] SIZE
[R] TVFS
[R] 211 End
[R] PWD
[R] 257 "/"
[R] TYPE A
[R] 200 Switching to ASCII mode.
[R] PASV
[R] 227 Entering Passive Mode (61,252,245,150,138,126)
[R] Opening data connection IP: 61.252.245.150 PORT: 35454
[R] LIST -al
[R] 150 Here comes the directory listing.
[R] 226 Directory send OK.
vsftpd-2.0.1.tar.gzÀ» ÅëÇØ¼ ÄÄÆÄÀÏ·Î ¼³Ä¡Çß½À´Ï´Ù. Æäµµ¶óÄÚ¾î3ÀÔ´Ï´Ù.
¿Ö ¾ÈµÇ´Â°É±î¿ä? Èì... _________________ »ç¶ûÀ» ¸ð¸£´Â ³ª |
|
À§·Î |
|
 |
Çø¯ ¼Õ´Ô
|
|
À§·Î |
|
 |
darkhi
°¡ÀÔ: 2004³â 12¿ù 29ÀÏ ¿Ã¸° ±Û: 7
|
¿Ã·ÁÁü: 2005.2.27 ÀÏ, 5:53 pm ÁÖÁ¦: ¾Æ¹« ¹®Á¦ ¾ø³×¿ä. |
|
|
Àú ±Ûµµ Á¦°¡ ½è¾ú´ø°Çµ¥, ±×¶§´Â ¾î¼´Ù°¡ ¿îÁÁ°Ô µÇ¼ ÀÛµ¿Çß¾ú½À´Ï´Ù.
±×·±µ¥ ´Ù½Ã ¸®´ª½º¸¦ ¼³Ä¡ÇÏ´Â ¹Ù¶÷¿¡....
pam ÀÎÁõ °ÅºÎ ÇÏÁö ¾Ê³×¿ä.
Feb 27 16:01:01 rain9 crond(pam_unix)[3908]: session closed for user root
Feb 27 16:17:36 rain9 dhclient: DHCPREQUEST on eth0 to 211.174.0.36 port 67
Feb 27 16:17:36 rain9 dhclient: DHCPACK from 211.174.0.36
Feb 27 16:17:36 rain9 dhclient: bound to 61.252.245.150 -- renewal in 3084 seconds.
Feb 27 17:01:01 rain9 crond(pam_unix)[3932]: session opened for user root by (uid=0)
Feb 27 17:01:01 rain9 crond(pam_unix)[3932]: session closed for user root
Feb 27 17:09:00 rain9 dhclient: DHCPREQUEST on eth0 to 211.174.0.36 port 67
Feb 27 17:09:00 rain9 dhclient: DHCPACK from 211.174.0.36
Feb 27 17:09:00 rain9 dhclient: bound to 61.252.245.150 -- renewal in 3025 seconds.
Feb 27 17:51:59 rain9 sshd(pam_unix)[3960]: session opened for user root by root(uid=0)
¾Æ¹« ±â·Ïµµ ¾ÈµÇÁö¸¸ ±×·¡µµ ´Ù¸¥ ³»¿ëÀÌ µµ¿òÀÌ µÉ±îºÁ ¿Ã·Áº¾´Ï´Ù.
/var/log/messages ³»¿ëÀÔ´Ï´Ù.
±×¸®°í vsftpd.conf ÆÄÀÏÀ» ¹Ù²Ù¸é ¿À·ù°¡ ¶°¹ö¸³´Ï´Ù.
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
ftpd_banner=Welcome to rain9.com FTP service.
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
chroot_local_user=YES
ÇöÀç´Â ÀÌ·¸°Ô ¾²°í ÀÖ½À´Ï´Ù¸¸,
´Ù¸¥ °ÍµéÀ» »ç¿ëÇÏ¸é ¹«Á¶°Ç ¼³Á¤ÀÌ À߸øµÆ´Ù¸ç, ÇÑÁÙ ÇÑÁÙ ¿À·ù°¡ ¶å´Ï´Ù.
¿¹¸¦ µéÀÚ¸é http://blog.naver.com/hwantagexsw2/2244967
ÀÌ·±°É·Î ¹Ù²ã¼ ¾²°Ô µÈ´Ù¸é, ±×³É ¿À·ù°¡ ¶°¹ö¸².
±×·¡¼ Ȳ´ç ±× ÀÚü³×¿ä; _________________ »ç¶ûÀ» ¸ð¸£´Â ³ª |
|
À§·Î |
|
 |
truefeel Ä«Æä °ü¸®ÀÚ
°¡ÀÔ: 2003³â 7¿ù 24ÀÏ ¿Ã¸° ±Û: 1277 À§Ä¡: ´ëÇѹα¹
|
¿Ã·ÁÁü: 2005.2.27 ÀÏ, 11:41 pm ÁÖÁ¦: Re: ¾Æ¹« ¹®Á¦ ¾ø³×¿ä. |
|
|
darkhi ¾¸: | Àú ±Ûµµ Á¦°¡ ½è¾ú´ø°Çµ¥, ±×¶§´Â ¾î¼´Ù°¡ ¿îÁÁ°Ô µÇ¼ ÀÛµ¿Çß¾ú½À´Ï´Ù.
±×·±µ¥ ´Ù½Ã ¸®´ª½º¸¦ ¼³Ä¡ÇÏ´Â ¹Ù¶÷¿¡....
pam ÀÎÁõ °ÅºÎ ÇÏÁö ¾Ê³×¿ä.
Feb 27 16:01:01 rain9 crond(pam_unix)[3908]: session closed for user root
... »ý·« ...
Feb 27 17:51:59 rain9 sshd(pam_unix)[3960]: session opened for user root by root(uid=0)
¾Æ¹« ±â·Ïµµ ¾ÈµÇÁö¸¸ ±×·¡µµ ´Ù¸¥ ³»¿ëÀÌ µµ¿òÀÌ µÉ±îºÁ ¿Ã·Áº¾´Ï´Ù.
/var/log/messages ³»¿ëÀÔ´Ï´Ù.
±×¸®°í vsftpd.conf ÆÄÀÏÀ» ¹Ù²Ù¸é ¿À·ù°¡ ¶°¹ö¸³´Ï´Ù.
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
ftpd_banner=Welcome to rain9.com FTP service.
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
chroot_local_user=YES
ÇöÀç´Â ÀÌ·¸°Ô ¾²°í ÀÖ½À´Ï´Ù¸¸,
´Ù¸¥ °ÍµéÀ» »ç¿ëÇÏ¸é ¹«Á¶°Ç ¼³Á¤ÀÌ À߸øµÆ´Ù¸ç, ÇÑÁÙ ÇÑÁÙ ¿À·ù°¡ ¶å´Ï´Ù.
¿¹¸¦ µéÀÚ¸é http://blog.naver.com/hwantagexsw2/2244967
ÀÌ·±°É·Î ¹Ù²ã¼ ¾²°Ô µÈ´Ù¸é, ±×³É ¿À·ù°¡ ¶°¹ö¸².
±×·¡¼ Ȳ´ç ±× ÀÚü³×¿ä; |
ºñ¹Ð¹øÈ£´Â ¸Â´Âµ¥ ·Î±ä ¾ÈµÇ´Â °æ¿ì´Â ¿¹Àü¿¡µµ ´äÇÑ °Í ó·³ PAM ¼³Á¤ÀÌ Àß ¸øµÈ °æ¿ì°¡ ´ëºÎºÐÀÔ´Ï´Ù.
·Î±äÀÌ ¾ÈµÈ ±× »óÅ·Πµ¹¾Æ°¡ ÀÛ¾÷À» ´Ù½Ã ÇØº¸½Ç °Å¸é /etc/pam.d/ ¼³Á¤À» »ìÆìº¸¼¼¿ä. |
|
À§·Î |
|
 |
darkhi
°¡ÀÔ: 2004³â 12¿ù 29ÀÏ ¿Ã¸° ±Û: 7
|
¿Ã·ÁÁü: 2005.2.28 ¿ù, 7:35 pm ÁÖÁ¦: Á¤¸» °¨»çÇÕ´Ï´Ù. |
|
|
pam_service_name=vsftpd
°¡ ºüÁ®¼ ¾ÈµÇ¾ú´ø°Å±º¿ä.
¹«½ÄÇÑ°Ç Á˶ó°í... Á¤¸» ¾Ë·ÁÁֽôµ¥µµ ¸ø¾Ë¾Æ¸Ô´Â Á¦°¡ ÇѽÉÇϱº¿ä;
¾Æ¹«Æ° °í¸¿½À´Ï´Ù.
Àú¹ø¿£ ¿øÀÎÀ» ¸ô¶úÁö¸¸ À̹ø¿£ ¿øÀÎÀ» ¾Ë¾ÒÀ¸´Ï
¾ÕÀ¸·Î ÀÌ·± °æ¿ì´Â ¾øÀ¸¸®¶ó º¾´Ï´Ù ^_^ _________________ »ç¶ûÀ» ¸ð¸£´Â ³ª |
|
À§·Î |
|
 |
|