XFERLOG
์ด๋ฆ
xferlog - FTP server logfile์ค๋ช
The xferlog file์ FTP server daemon ( ftpd(8) ) ์ logging ์ ๋ณด๋ฅผ ํฌํจํ๋ค. ์ด 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
- ๋ถ์์ ํ ์ ์ก
-
-
'๋ฆฌ๋ ์ค' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
apache log ๋ ์ง๋ณ๋ก ์๋์์ฑํ๊ธฐ (0) | 2016.06.16 |
---|---|
๋ฆฌ๋ ์ค๋ฅผ ์ฒ์ ์ฌ์ฉ๋ถ๋ค์ ์ํ ๋ถ๋งํฌ (0) | 2016.06.16 |