/var/log/xferlog

记录内容举例

Thu Sep 6 09:07:48 2007 7 192.168.57.1 4323279   /home/student/phpMyadmin-2.11.0-all-languages.tar.gz  b -i r student ftp 0 * c

/var/log/vsftpd.log

记录内容举例

Tue Sep 11 14:59:03 2007 [pid 3460]    CONNECT: Client "127.0.0.1"

Tue Sep 11 14:59:24 2007 [pid 3459] [ftp] OK LOGIN;Client "127.0.0.1" ,anon   password ”?"

/var/log/xferlog日志文件中数据的分析和参数说明

Thu Mar 4 08:12:30 2004 current-time

1                                       transfer-time

202.114.40.242                remote-host

37                                     byte-count

/incoming/index.html        filename

a                                       transfer-type

_                                       special-action-flag

o                                       direction

a                                       access-mode

guest@my.netusername

ftp                                     service-name

0                                       authentication-method

*                                       authenticated-user-id

c                                       completion-status

current-time   The current local time in the form "DDD MMM dd hh:mm:ss

YYYY", where DDD is the day of the week, MMM is the month,

dd is the day of the month, hh is the hour, mm is the min-

utes, ss is the seconds, and YYYY is the year.

transfer-time  The total time of the transfer in seconds.

remote-host    The remote host name.

byte-count     The amount of transferred bytes.

filename            The canonicalized (all symbolic links are resolved) abso-

lute pathname of the transferred file.

In case of the chrooted FTP session this field can be

interpreted as the pathname in the chrooted environment

(the default interpretation) or as the one in the real

file system. The second type of interpretation can be

enabled by the command-line options of the ftpd(8).

transfer-type  The single character that indicates the type of the trans-

fer. The set of possible values is:

a         An ascii transfer.

b         A binary transfer.

special-action-flag

One or more single character flags indicating any special

action taken. The set of possible values is:

_         No action was taken

C         The file was compressed (not in use).

U         The file was uncompressed (not in use).

T         The file was tar'ed (not in use).

direction            The direction of the transfer. The set of possible values

is:

o         The outgoing transfer.

i         The incoming transfer.

access-mode    The method by which the user is logged in. The set of pos-

sible values is:

a (anonymous)  The anonymous guest user.

g (guest)           The real but chrooted user (this capability

is guided by ftpchroot(5) file).

r (real)           The real user.

username            The user's login name in case of the real user, or the

user's identification string in case of the anonymous user

(by convention it is an email address of the user).

service-name  The name of the service being invoked. The ftpd(8) utility

uses the ``ftp'' keyword.

authentication-method

The used method of the authentication. The set of possible

values is:

0         None.

1         RFC931 Authentication (not in use).

authenticated-user-id

The user id returned by the authentication method. The `*'

symbol is used if an authenticated user id is not avail-

able.

completion-status

The single character that indicates the status of the

transfer. The set of possible values is:

c         A complete transfer.

i         An incomplete transfer.

vsftpd与log有关的选项:

vsftpd_log_file

xferlog_enable

xferlog_std_format

xferlog_file

dual_log_enable

syslog_enable

log_ftp_protocol

no_log_lock

FTP数字代码的意义

110 重新启动标记应答。

120 服务在多久时间内ready。

125 数据链路端口开启,准备传送。

150 文件状态正常,开启数据连接端口。

200 命令执行成功。

202 命令执行失败。

211 系统状态或是系统求助响应。

212 目录的状态。

213 文件的状态。

214 求助的讯息。

215 名称系统类型。

220 新的联机服务ready。

221 服务的控制连接端口关闭,可以注销。

225 数据连结开启,但无传输动作。

226 关闭数据连接端口,请求的文件操作成功。

227 进入passive mode。

230 使用者登入。

250 请求的文件操作完成。

257 显示目前的路径名称。

331 用户名称正确,需要密码。

332 登入时需要账号信息。

350 请求的操作需要进一部的命令。

421 无法提供服务,关闭控制连结。

425 无法开启数据链路。

426 关闭联机,终止传输。

450 请求的操作未执行。

451 命令终止:有本地的错误。

452 未执行命令:磁盘空间不足。

500 格式错误,无法识别命令。

501 参数语法错误。

502 命令执行失败。

503 命令顺序错误。

504 命令所接的参数不正确。

530 未登入。

532 储存文件需要账户登入。

550 未执行请求的操作。

551 请求的命令终止,类型未知。

552 请求的文件终止,储存位溢出。

553 未执行请求的的命令,名称不正确。

vsftp日志查看_vsftp日志内容详解相关推荐

  1. vsftp日志查看_vsftp日志xferlog格式分析(示例代码)

    1.开始vsftp记录日志.修改/etc/vsftpd/vsftpd.conf 如下: xferlog_enable=YES xferlog_std_format=YES xferlog_file=/ ...

  2. vsftp日志查看_vsftp日志配置

    1.开始vsftp记录日志.修改/etc/vsftpd/vsftpd.conf 如下: xferlog_enable=YES xferlog_std_format=YES xferlog_file=/ ...

  3. kinux查日志_Linux实时查看日志的四种命令详解

    原标题:Linux实时查看日志的四种命令详解 如何在Linux中实时查看日志文件的内容?那么有很多实用程序可以帮助用户在文件更改或不断更新时输出文件的内容.在Linux中实时显示文件内容的常用命令是t ...

  4. IBM服务器如何登录IMM管理口及IMM内容详解

    IBM服务器如何登录IMM管理口及IMM内容详解 IBM服务器的管理口IMM登录,主机后面有一个专用的管理端口(端口如下图) 连接电脑后,可以通过此端口登录IMM界面,IMM默认的IP地址是192.1 ...

  5. SQL Server DBA工作内容详解

    原文:SQL Server DBA工作内容详解 在Microsoft SQL Server 2008系统中,数据库管理员(Database Administration,简称为DBA)是最重要的角色. ...

  6. 不思议迷宫 服务器维护,不思议迷宫精英服为什么进不去了 不思议迷宫精英服12月1日更新内容详解...

    不思议迷宫精英服为什么进不去了,很多玩家发现今天进不去精英服务器了,这是为什么呢?其实是因为更新,那么这次都有那些更新呢?很多玩家还不是特别清楚,今天小编便给大家带来不思议迷宫手游精英服务器12月1日 ...

  7. matlab的NLP功能,pyhanlp 共性分析与短语提取内容详解

    pyhanlp 共性分析与短语提取内容详解 简介 HanLP中的词语提取是基于互信息与信息熵.想要计算互信息与信息熵有限要做的是 文本分词进行共性分析.在作者的原文中,有几个问题,为了便于说明,这里首 ...

  8. fgo1月23号服务器维护,FGO1月23号更新一览 1月23号更新内容详解

    fgo国服ipad版v1.8.5 [bilibili官方版] 类型:ios卡牌战棋大小:307M语言:中文 评分:10.0 标签: 立即下载 FGO1月23号更新一览,这次更新之后大家期待已久的梅林就 ...

  9. Unity Shader中各部分定义内容详解

    Unity Shader中各部分定义内容详解 样板 Shader "Practice/Unlit/SimpleUnlit" {Properties{_MainTex (" ...

最新文章

  1. 反射式红外光电管 ITR8307
  2. 关于Qstring.replace传参Qstring.length为0引起程序退出的记录
  3. 程序员法律考试(6)-民法(3)
  4. 添加右键用Sublime Text3 打开文件和文件夹
  5. 学习笔记(48):Python实战编程-grid布局
  6. MySQL的常见存储引擎介绍与参数设置调优(转载)
  7. HDU5528 - Count a * b
  8. outlook邮箱邮件内容乱码_VBA:Outlook和Excel综合运用
  9. java跳转html页面_springboot 2.0.8 跳转html页面
  10. mysql 获取下一条记录数,如何在MySQL中查询当前数据上一条和下一条的记录
  11. 在VB中如何让线程或进程在指定的CPU上运行
  12. 20、Tabs底部导航栏
  13. LeetCode:每日一题(2020.4.15)
  14. prometheus实战(一) 原理介绍
  15. 二、伊森商城 环境 虚拟机配置 p3
  16. 也说说ADC以及ADC的主要技术参数及分类介绍
  17. 香港HongKong之旅
  18. 数据库如何修改编码格式?
  19. 4大区块链技术高盈利方式盘点
  20. 微信小程序悬浮按钮-点击传参

热门文章

  1. 在VScode 中使用EASYX详细教程(VScode+MSVC+Easy X)
  2. 做web开发,怎么能不懂cookie、session和token呢?
  3. 地理坐标系、投影坐标系及对应WKIDW在生成缓冲区时的应用
  4. 推荐几款好用的开源的内网映射工具
  5. 《2020/01/07》sparks代码编写
  6. 洛谷试练场入门之“洛谷的第一个任务”讲解
  7. 如何选用计算机硬盘,组装电脑选择硬盘技巧?怎么挑选硬盘才好?
  8. 【食家巷】品尝西北传统美食老油饼,感受节日的氛围
  9. 从机械自动化专业到百度腾讯拼多多Java工程师转行之路
  10. 浏览器缓存和CDN缓存基本介绍