´ÙÀ½ ÀÌÀü Â÷·Ê

9. XFERLOG

9.1 À̸§

xferlog - FTP server logfile

9.2 ¼³¸í

The xferlog fileÀº FTP server daemon ( ftpd(8) ) ÀÇ log? ging Á¤º¸¸¦ Æ÷ÇÔÇÑ´Ù. ÀÌ fileÀº º¸Åë /usr/adm ¿¡¼­ º¼¼ö ÀÖÀ¸³ª, ftpd(8) ÀÇ optionsÀ» »ç¿ëÇÔ¿¡ µû¶ó ¾îµðµçÁö À§Ä¡µÇ¾î Áú¼ö ÀÖ´Ù. Each server entry is composed of a single line of the following form, with all fields being separated by spaces. °¢ server Ç׸ñÀº ¾Æ·¡ÀÇ formÀ¸·Î ÀÌ·ç¾îÁø ÇÑÁÙ·Î ±¸¼ºµÇ¾î Áö¸ç, ¸ðµç field´Â space·Î ±¸ºÐ µÇ¾î Áø´Ù.

current-time transfer-time remote-host file-size filename transfer-type special-action-flag direction access-mode username service-name authentication-method authenticated-user-id completion-status

current-time

"DDD MMM dd hh:mm:ss YYYY" Çü½ÄÀÇ ÇöÀç local ½Ã°£ÀÌ´Ù. DDD´Â ÁÖÁßÀÇ ¿äÀÏÀ», MMMÀº ¿ùÀ», dd´Â ³¯Â¥¸¦, hh´Â ½Ã¸¦, mmÀº ºÐÀ», ss´Â Ãʸ¦, ±×¸®°í YYYY´Â ³âµµ¸¦ ³ªÅ¸³½´Ù.

transfer-time

Àü¼ÛÀ» À§ÇÑ ÃÑ ½Ã°£À» ¸»Çϸç ÃÊ´ÜÀ§·Î Ç¥½ÃÇÑ´Ù.

remote-host

¿ø°Ý host À̸§ÀÌ´Ù.

file-size

byte´ÜÀ§ÀÇ Àü¼ÛµÈ fileÀÇ Å©±âÀÌ´Ù.

filename

Àü¼ÛµÈ fileÀÇ À̸§ÀÌ´Ù.

transfer-type

Àü¼ÛÀÇ ÇüŸ¦ ³ªÅ¸³»´Â ÇϳªÀÇ characterÀÌ´Ù.

a ´Â ascii Àü¼ÛÀ» ¶æÇÑ´Ù.
b ´Â binary Àü¼ÛÀ» ¶æÇÑ´Ù.

special-action-flag

¾î¶² ƯÁ¤ÇÑ actionÀÌ ¹ß»ýÇÏ´Â °ÍÀ» ³ªÅ¸³»´Â Çϳª ¶Ç´Â ±× ÀÌ»óÀÇ character flag ÀÌ´Ù. ¾Æ·¡¿¡ ³ª¿­µÈ °Í ÁßÀÇ Çϳª ¶Ç´Â ±× ÀÌ»óÀ¸·Î »ç¿ëÇÒ¼ö ÀÖ´Ù.

C fileÀº ¾ÐÃàµÇ¾îÁ® ÀÖ´Ù.
U fileÀº ¾ÐÃàÀÌ µÇ¾îÁ® ÀÖÁö ¾Ê´Ù.
T fileÀÌ tar·Î ¹­¿©Á® ÀÖ´Ù.
_ ¾Æ¹«·±actionÀÌ ¹ß»ýÇÏÁö ¾Ê¾Ò´Ù.

direction

Àü¼ÛÀÇ Áö½ÃÀÌ´Ù.

o outgoing
i incoming

access-mode

user°¡ ¾î¶»°Ô loginÀ» Çϴ°¡¿¡ ´ëÇÑ ¹æ¹ýÀÌ´Ù.

a (anonymous) ´Â ÀÍ¸í ¼Õ´Ô userµéÀ» À§ÇÑ °ÍÀÌ´Ù.
g (guest) is for an passworded guest user (see the (guest) ´Â password¸¦ ¼ÒÀ¯ÇÑ ¼Õ´Ô userµéÀ» À§ÇÑ °ÍÀÌ´Ù. ( ftpaccess(5) ÀÇ guestgroup ¸í·ÉÀ» ÂüÁ¶Ç϶ó)
r (real) Àº ÀÎÁõÀÌ °¡´ÉÇÑ local user¸¦ À§ÇÑ °ÍÀÌ´Ù.

username

local username ÀÌ´Ù. ¸¸¾à ¼Õ´Ô À̶ó¸é, ÁÖ¾îÁø ID ¹®ÀÚ¿­À» ¶æÇÑ´Ù.

service-name

¹ß»ýµÇ¾îÁö´Â serviceÀÇ À̸§ÀÌ¸ç º¸ÅëÀº FTPÀÌ´Ù.

authentication-method

ÀÎÁõ¿¡ »ç¿ëµÇ¾î Áö´Â ¹æ¹ýÀÌ´Ù. ¾Æ·¡ÁßÀÇ Çϳª¸¦ »ç¿ëÇÑ´Ù.

0 none
1 RFC931 Authentication

authenticated-user-id

ÀÎÁõ ¹æ¹ý¿¡ ÀÇÇØ µÇµ¹·ÁÁö´Â user id ÀÌ´Ù. ÀÎÁõµÇ¾îÁø user id°¡ »ç¿ëºÒ°¡ ÇÏ´Ù¸é * ÀÌ »ç¿ëµÇ¾î Áø´Ù.

completion-status

Àü¼Û »óŸ¦ ³ªÅ¸³»´Â ÇϳªÀÇ characterÀÌ´Ù.

c ¿ÏÀüÇÑ Àü¼Û
i ºÒ¿ÏÀüÇÑ Àü¼Û

9.3 FILES

/usr/adm/xferlog

9.4 SEE ALSO

ftpd(8), ftpaccess(5)


´ÙÀ½ ÀÌÀü Â÷·Ê