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模式运行. 重启服务器后, ...
随机推荐
- 【BZOJ5333】荣誉称号(动态规划)
[BZOJ5333]荣誉称号(动态规划) 题面 BZOJ 洛谷 题解 今天早上贱狗老师讲的.然而我还是不会. 只好照着\(zsy\)代码大力理解一波. 首先观察等式,如果比较熟悉线段树,会发现就是线段 ...
- spark(二)
一.spark的提交模式 --master(standalone\YRAN\mesos) standalone:-client -cluster 如果我们用client模式去提交程序,我们在哪个地方 ...
- powerdesigner中物理模型与sql脚本的以及与数据库的连接设置
使用JDBC连接失败的解决方案: http://blog.csdn.net/t37240/article/details/51595097 使用powerdesigner工具我们可以方便的根据需求分析 ...
- 练习calico的网络policy
1.安装docker,kubelet kubeadm kubectl 1 ssh-keygen 2 cat .ssh/authorized_keys 3 cat .ssh/id_rsa.pub 4 s ...
- Python之文件操作:os模块
Python os 模块提供了一个统一的操作系统接口函数 一.对于系统的操作 1.os.name 当前使用平台 其中 ‘nt’ 是 windows,’posix’ 是linux 或者 unix 2.o ...
- centos中设置swap交换空间的大小设置和swappiness的比例设置
首先使用free -m命令查看内存使用情况和swap的大小 关闭swap: 设置swap的大小: bs指的是Block Size,就是每一块的大小.这里的例子是1M,意思就是count的数字,是以1M ...
- 《Apache HttpClient 4.3开发指南》
转载自:http://blog.csdn.net/chszs/article/details/16854747 作者:chszs,转载需注明.博客主页:http://blog.csdn.net/chs ...
- HDU6129 规律
LINK 题意:n个数进行m次前缀和异或和后的情况,其中$n,m(1\leq n\leq2\times10^5,1\leq m\leq10^9)$. 思路:看到m这么大,肯定要分解m的,又是异或和,二 ...
- 2015/9/29 Python基础(20):类的授权
类的授权 1.包装包装在Python编程世界中时经常会被提到的一个术语.它是一个通用的名字,意思是对一个已存在的对象进行包装,不管它是数据类型,还是一段代码,可以是对一个已存在的对象,增加新的,删除不 ...
- $.extend()与$.fn.extend()
jQuery.extend(object) 扩展jQuery对象本身.用来在jQuery命名空间上增加新函数.jQuery.fn.extend(object) 扩展 jQuery 元素集来提供新的方法 ...