vsftpd.log内容的意义
vsftpd日志(xferlog格式)的含义
引用:
Thu
Mar 4 08:12:30 2004 1 202.114.40.242 37 /incoming/index.html a _ o a guest@my.net ftp 0 * c
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.net
username
ftp
service-name
0
authentication-method
*
authenticated-user-id 已认证IP
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(
smilieid=44 v:shapes="_x0000_i1025">.
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( 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
vsftpd.log内容的意义的更多相关文章
- FTP:500 OOPS: failed to open vsftpd log file:/var/log/vsftpd.log
如下:从10.12.8.165 FTP 到 10.1.3.34,报failed to open vsftpd log[a4_csbdc@localhost ~]$ ftp 10.1.3.34Conn ...
- 【记录】尝试用android-logging-log4j去实现log输出内容到sd卡中的文件的功能
[背景] 折腾: [记录]给Android中添加log日志输出到文件 期间,已经试了: [记录]尝试用android中microlog4android实现log输出到文件的功能 但是不好用. 然后就是 ...
- vsftpd配置参数详细整理
vsftpd配置参数详细整理 -|白王斧三又干一 vsftpd配置参数详细整理 -|白王斧三又干一 发表于 2005-10-23 20:30:00 1.vsftpd配置参数详细整理#接受 ...
- 启用VSFTPD日志及其解读
启用vsftpd日志及其解读(转贴)在vsftpd.conf中有如下内容定义了日志的记录方式:# 表明FTP服务器记录上传下载的情况xferlog_enable=YES# 表明将记录的上传下载情况写在 ...
- vsftpd.conf 联机手册
vsftpd.conf - vsftpd 的配置文件 描述vsftpd.conf 可以用于控制 vsftpd, 以实现各种各样的功能. vsftpd 缺省到 /etc/vsftpd.conf 处查找此 ...
- Liunx 环境下vsftpd的三种实现方法(超详细参数)
以下文章介绍Liunx 环境下vsftpd的三种实现方法 ftp://vsftpd.beasts.org/users/cevans/vsftpd-2.0.3.tar.gz,目前已经到2.0.3版本.假 ...
- CentOS下安装vsftpd
因为FTP的端口是 两个,一个是固定21端口,还有一个任意端口的数据通道.关键是任意端口不好搞. 首先在vsftpd的配置文件中设置 任意端口的范围 [root@localhost root]# vi ...
- 如何在CentOS 7上使用vsftpd(FTP)的配置文件介绍
vsftpd.conf - vsftpd的配置文件. 描述 vsftpd.conf可用于控制vsftpd行为的各个方面. 默认情况下,vsftpd在/etc/vsftpd.conf位置查找此文件. 但 ...
- 【转】vsftpd用户登入不进去问题
实在是登陆不上... 我已经加了一个新的用户UID和GID都设置到1000以后 /etc/vsftpd.conf也加了local_enable=yes 以standalone模式运行. 重启服务器后, ...
随机推荐
- 洛谷 P2195 HXY造公园 解题报告
P2195 HXY造公园 题目描述 现在有一个现成的公园,有\(n\)个休息点和\(m\)条双向边连接两个休息点.众所周知,\(HXY\)是一个\(SXBK\)的强迫症患者,所以她打算施展魔法来改造公 ...
- dfs序七个经典问题(转)
我这个人不怎么喜欢写轻重链剖分和LCT 还是喜欢dfs序.括号序列之类的 毕竟线段树好写多了 然后就有了这篇转载的文章 写在这边以后有时间看看 原文链接:https://www.cnblogs.com ...
- 用dtree实现树形菜单 dtree使用说明
http://www.jb51.net/article/28566.htm 准备工作: 请从脚本之家http://www.jb51.net/jiaoben/31974.html下载dtree.zip文 ...
- C++中添加配置文件读写方法
比如有一个工程,一些变量有可能需要不时的修改,这时候可以通过从配置文件中读取该数值,需要修改时只需要修改配位文件即可. 比如有一个这样的变量m_nTest; 我么可以写两个函数ReadConfig() ...
- Codeforces 937.D Sleepy Game
D. Sleepy Game time limit per test 2 seconds memory limit per test 256 megabytes input standard inpu ...
- mac命令行快捷键
其实不想每次输入host和user,可以在 ~/.ssh/config文件写上配置alias信息,以后ssh的时候根据alias即可.如: Host alias-name HostName ip_ad ...
- isnotblank与isnotempty的区别
- Qt ------ QString 操作
QStringList QString::arg ------- 字符串的格式化处理,类始于sprintf 比如:QString("%1").arg(10,2,16,QLa ...
- 给上传文件的input控件“美容”
在工作中经常会遇到form表单这种东西.然而表单的其他input控件样式还是很好改变的.但是,唯独input类型是file的文件上传控件可能就没那么好打扮的漂亮. demo: html代码 <b ...
- [DeeplearningAI笔记]序列模型3.6Bleu得分/机器翻译得分指标
5.3序列模型与注意力机制 觉得有用的话,欢迎一起讨论相互学习~Follow Me 3.6Bleu得分 在机器翻译中往往对应有多种翻译,而且同样好,此时怎样评估一个机器翻译系统是一个难题. 常见的解决 ...