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模式运行. 重启服务器后, ...
随机推荐
- 【转】Unable to load embedded resource from assembly 无法加载的程序集嵌入的资源
转自:http://blog.sina.com.cn/s/blog_994678b90101f035.html 项目运用IbatisNet 今天更新项目,编译完点击运行,报错如下: [“/”应用程序中 ...
- 【题解】CF#713 E-Sonya Partymaker
这题真的想了挺久的,然而到最后也还是没想到怎样处理环的情况……网上竟然也完全没有题解,无奈之下到 CF 的 AC 代码里面去找了一份膜拜了一下.感谢~ 由于觉得这题有一定的难度,自己看代码也看了比较久 ...
- 【TopCoder10697】RabbitNumbering
[TopCoder10697]RabbitNumbering 题面 Vjudge 给定\(n\)个数,每个数的范围是\([1,ai]\),求所有数都不同的方案数. 题解 把这个直接当做一个套路来用 对 ...
- Unity3D动态加载外部MovieTexture视频
网上大家也写了很多Unity3D中播放视频的教程,关于播放外部视频的还是比较少,所以写这篇文章,不足之处,还望读者指正. 在Unity3D中,我们一般使用播放视频的方法:将*.mov,*.mp4等格式 ...
- ZJOI 2017 day2 4.27
明天就要比赛啦,今天早点休息. 既然是随便扯,首先就是yyzx的wifi(宁波的这种wifi系统我第一次见,要打开任意一个浏览器,才能跳出界面,网还是挺快的) 上午是学车的翁伊嘉&猪猪侠讲课, ...
- BZOJ4070 [Apio2015]雅加达的摩天楼 【分块 + 最短路】
题目链接 BZOJ4070 题解 考虑暴力建图,将每个\(B_i\)向其能到的点连边,复杂度\(O(\sum \frac{n}{p_i})\),当\(p\)比较小时不适用 考虑优化建图,每个\(dog ...
- 洛谷 P2261 [CQOI2007]余数求和 解题报告
P2261 [CQOI2007]余数求和 题意: 求\(G(n,k)=\sum_{i=1}^n k \ mod \ i\) 数据范围: \(1 \le n,k \le 10^9\) \(G(n,k)\ ...
- 2656: [Zjoi2012]数列(sequence)(递归+高精度)
好久没写题了T T NOIP 期中考双血崩 显然f(x)=f(x>>1)+f((x>>1)+1),考虑每次往x>>1递归,求出f(x),复杂度O(logN) 我们设 ...
- Codeforces 892 C.Pride
C. Pride time limit per test 2 seconds memory limit per test 256 megabytes input standard input outp ...
- opencv函数制作的秒针模型
曾经做过,没想到这次再次写这篇代码却用了这么久的时间.这回我要记住他. #include"cv.h" #include"highgui.h" int main( ...