# Logs
## 95分
```
------------------------------------
Your ID: 84
Your IP: 10.113.0.84
---------------[Log]: Ping----------------
PING 10.113.0.84 (10.113.0.84): 56 data bytes
64 bytes from 10.113.0.84: seq=0 ttl=63 time=50.142 ms
--- 10.113.0.84 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 50.142/50.142/50.142 ms
---------------[Log] Check ssh:---------------
Tue Nov 30 19:36:25 CST 2021
SSH => OK.
---------------[Log] Check shell:---------------
You are using /bin/sh as default shell.
---------------[Log] Check sudo:---------------
/usr/local/bin/sudo
Judge sudo => OK.
root
Judge sudo without password => OK.
---------------[Log]: Checking pure-ftpd----------------
---------------[Log]: Check TLS----------------
TLS => OK.
---------------[Log]: sysadmSSH----------------
Login with sysadm successfully.
Checking public...
-------------[Log]: sysadm authorization-------------
Sysadm access to /ftp/public => OK.
-------------[Log]: Anonymous authorization-------------
mkdir: Access failed: 550 Sorry, anonymous users are not allowed to create directories (mkdirtest)
rm: Access failed: 550 Anonymous users can not delete files (test.anon)
Anonymous access to /ftp/public => OK.
-------------[Log]: ftp-vip authorization-------------
ftp-vip access to /ftp/public => OK.
Checking upload...
-------------[Log]: sysadm authorization-------------
Sysadm access to /ftp/upload/ => OK.
-------------[Log]: Anonymous authorization-------------
mkdir: Access failed: 550 Sorry, anonymous users are not allowed to create directories (mkdirtest)
rm: Access failed: 550 Anonymous users can not delete files (test.anon)
Anonymous access to /ftp/upload/ => OK.
-------------[Log]: ftp-vip authorization-------------
rm: Access failed: 550 Could not delete forvip.log: Operation not permitted
rm: Access failed: 550 Can't remove directory: Operation not permitted (forvip)
ftp-vip access to /ftp/upload/ => OK.
Checking hidden...
-------------[Log]: sysadm authorization-------------
Sysadm access to /ftp/hidden/ => OK.
-------------[Log]: ftp-vip authorization-------------
ftp-vip access to /ftp/hidden/ => OK.
-------------[Log]: Anonymous authorization-------------
Anonymous access to /ftp/hidden/ => OK.
SYSADM PERMISSON => OK.
VIP PERMISSON => OK.
ANON PERMISSION => OK.
---------------Checking Anonymous chrooted----------------
Anonymous is chrooted.
---------------Checking ftp-vip chrooted----------------
Virtual user is chrooted.
CHROOT => OK.
---------------[Log]: Pure-ftpd Log----------------
login.log => OK.
pureftpd.log => OK.
---------------[Log] Check pure-uploadscript function----------------
rm: Access failed: 550 Could not delete hidden/.exe/test.exe: No such file or directory
uploaded exe file cannot found in hidden/.exe
---------------[Log] ftp-watchd check log----------------
cat: can't open '84.log': No such file or directory
rm: can't remove '84.log': No such file or directory
Log format error
---------------[Log] ftp-watchd autostart----------------
OK.
---------------[Log] Check FTP Config ----------------
pure-uploadscript avtivated => OK
---------------[Log] ftp-watchd basic command----------------
pure-uploadscript.pid
ftpwatchd is running as pid 9425.
Kill: 9425
Starting ftpwatchd.
Basic commands' tests => OK.
---------------[Log] Check ftp-watchd log handler----------------
Using syslog handle logs => OK
---------------[Log] Check Syslog filter setting----------------
Kill: 9723
Starting ftpwatchd.
Syslog setting of Facility and Level => OK
---------------[Log] ZFS----------------
Mount OK.
Compression OK.
Atime OK.
---------------[Log] Check usage---------------
Usage ok.
ID DATASET TIME
---------------[Log] Check delete---------------
Destroy NAME
cannot open 'NAME': dataset does not exist
Destroy mypool/public@2021-11-30-19:37:39
Delete => OK.
Snap mypool/public@2021-11-30-19:37:40
cannot open 'NAME': dataset does not exist
Delete with ID => OK.
cannot open 'NAME': dataset does not exist
Delete with dataset's name => OK.
cannot open 'NAME': dataset does not exist
Delete with dataset's name and ID => OK.
cannot open 'NAME': dataset does not exist
Delete multi dataset => OK.
---------------[Log] Check Create---------------
cannot open 'NAME': dataset does not exist
Create => OK.
cannot open 'NAME': dataset does not exist
Rotation => Rotation:20 for each dataset OK.
cannot open 'NAME': dataset does not exist
Create with rotation => OK.
cannot open 'NAME': dataset does not exist
Create different than latest => OK.
---------------[Log] Check list---------------
cannot open 'NAME': dataset does not exist
List => OK.
cannot open 'NAME': dataset does not exist
List with ID => OK.
cannot open 'NAME': dataset does not exist
List with dataset => OK.
cannot open 'NAME': dataset does not exist
List with dataset and ID => OK.
Log => OK.
cannot open 'NAME': dataset does not exist
```
## 60分
```
------------------------------------
Your ID: 84
Your IP: 10.113.0.84
---------------[Log]: Ping----------------
PING 10.113.0.84 (10.113.0.84): 56 data bytes
64 bytes from 10.113.0.84: seq=0 ttl=63 time=59.286 ms
--- 10.113.0.84 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 59.286/59.286/59.286 ms
---------------[Log] Check ssh:---------------
Thu Dec 2 04:29:00 CST 2021
SSH => OK.
---------------[Log] Check shell:---------------
You are using /bin/sh as default shell.
---------------[Log] Check sudo:---------------
/usr/local/bin/sudo
Judge sudo => OK.
root
Judge sudo without password => OK.
---------------[Log]: Checking pure-ftpd----------------
---------------[Log]: Check TLS----------------
TLS => OK.
---------------[Log]: sysadmSSH----------------
Login with sysadm successfully.
Checking public...
-------------[Log]: sysadm authorization-------------
Sysadm access to /ftp/public => OK.
-------------[Log]: Anonymous authorization-------------
mkdir: Access failed: 550 Sorry, anonymous users are not allowed to create directories (mkdirtest)
rm: Access failed: 550 Anonymous users can not delete files (test.anon)
Anonymous access to /ftp/public => OK.
-------------[Log]: ftp-vip authorization-------------
ftp-vip access to /ftp/public => OK.
Checking upload...
-------------[Log]: sysadm authorization-------------
Sysadm access to /ftp/upload/ => OK.
-------------[Log]: Anonymous authorization-------------
mkdir: Access failed: 550 Sorry, anonymous users are not allowed to create directories (mkdirtest)
rm: Access failed: 550 Anonymous users can not delete files (test.anon)
Anonymous access to /ftp/upload/ => OK.
-------------[Log]: ftp-vip authorization-------------
rm: Access failed: 550 Could not delete forvip.log: Operation not permitted
rm: Access failed: 550 Can't remove directory: Operation not permitted (forvip)
ftp-vip access to /ftp/upload/ => OK.
Checking hidden...
-------------[Log]: sysadm authorization-------------
Sysadm access to /ftp/hidden/ => OK.
-------------[Log]: ftp-vip authorization-------------
ftp-vip access to /ftp/hidden/ => OK.
-------------[Log]: Anonymous authorization-------------
Anonymous access to /ftp/hidden/ => OK.
SYSADM PERMISSON => OK.
VIP PERMISSON => OK.
ANON PERMISSION => OK.
---------------Checking Anonymous chrooted----------------
Anonymous is chrooted.
---------------Checking ftp-vip chrooted----------------
Virtual user is chrooted.
CHROOT => OK.
---------------[Log]: Pure-ftpd Log----------------
login.log => OK.
pureftpd.log => OK.
---------------[Log] Check pure-uploadscript function----------------
put: testfile/test.exe: Fatal error: max-retries exceeded
pure-uploadscript file filter => OK
---------------[Log] ftp-watchd check log----------------
Log format error
---------------[Log] ftp-watchd autostart----------------
OK.
---------------[Log] Check FTP Config ----------------
pure-uploadscript avtivated => OK
---------------[Log] ftp-watchd basic command----------------
pure-uploadscript.pid
ftpwatchd is running as pid 4906.
Kill: 4906
Starting ftpwatchd.
Basic commands' tests => OK.
---------------[Log] Check ftp-watchd log handler----------------
Using syslog handle logs => OK
---------------[Log] Check Syslog filter setting----------------
Kill: 5234
Starting ftpwatchd.
█████[Error]: Cannot fetch log from pureftpd.viofile
---------------[Log] ZFS----------------
Mount OK.
Compression OK.
Atime OK.
---------------[Log] Check usage---------------
Usage ok.
ID DATASET TIME
---------------[Log] Check delete---------------
Destroy NAME
cannot open 'NAME': dataset does not exist
Destroy mypool/public@2021-12-02-04:31:05
Delete => OK.
Snap mypool/public@2021-12-02-04:31:08
cannot open 'NAME': dataset does not exist
█████[Warn]: Delete log doesn't exist or it is not correct.
Delete with ID => OK.
cannot open 'NAME': dataset does not exist
Delete with dataset's name => OK.
cannot open 'NAME': dataset does not exist
Delete with dataset's name and ID => OK.
cannot open 'NAME': dataset does not exist
█████[Error]: Delete multi dataset => Can't delete multi specify dataset.
---------------[Log] Check Create---------------
cannot open 'NAME': dataset does not exist
█████[Error]: Create log doesn't exist or it is not correct.
Create => OK.
cannot open 'NAME': dataset does not exist
█████[Error]: Rotation => No default rotate restriction.
---------------[Log] Check list---------------
cannot open 'NAME': dataset does not exist
List => OK.
cannot open 'NAME': dataset does not exist
List with ID => OK.
cannot open 'NAME': dataset does not exist
█████[Error]: List with dataset => Number of the result is not correct.
Log => Missing zfsbak logs.
cannot open 'NAME': dataset does not exist
```