当前位置:网站首页>16. File transfer protocol, vsftpd service
16. File transfer protocol, vsftpd service
2020-11-07 22:18:00 【Sword emperor Xiao Jian】
SELinux Security subsystem
- Three models :
- enforcing: Force security policy mode on , Illegal requests for services will be blocked .
- permissive: In case of unauthorized access to the service , Just give a warning and not force intercept .
- disabled: Don't warn or intercept ultra vires .
- getenforce- Get the current SELinux The mode of operation of the service
- setenforce0 / 1 - temporary modify SELinux Current operating mode (0 To disable ,1 To enable )
- semanage<options>__<file>- management SELinux The strategy of
- [-l] - Inquire about ;
- [-a] - add to ;
- [-m] - modify ;
- [-d] - Delete
- restorecon- Will set up SELinux The security context takes effect immediately
File transfer protocol (FTP)
- Package: vsftpd, ftp
- Working mode
- Active mode :FTP The server initiates the connection request to the client
- Passive mode :FTP The server waits for the client to initiate a connection request (FTP The default working mode of )
- systemctl enable_<serviceName>_ Application configuration
vsftpd Working mode
- Anonymous open mode ( unsafe )【 Anonymous users :anonymous】
- Local user mode
- Virtual user mode ( Security , But the configuration is complicated , Want to use PAM)
- -6 Use IPv6 agreement
Simple file transfer protocol (TFTP)
- Package: tftp_server, tftp
TFTP Service is to use xinetd Service program to manage .xinetd Services can be used to manage a variety of lightweight network services , And it has powerful log function . Simply speaking , In the installation TFTP After the package , Still need to be in xinetd Open it in the service program , Disable by default (disable) Parameter is modified as no
TFTP The command function of is not as good as FTP Powerful service , You can't even traverse directories , It's also less secure than FTP service . and , because TFTP When transferring files, we use UDP agreement , The port number occupied is 69, So the file transfer process is not like FTP The agreement is so reliable . however , because TFTP There is no need for client authentication , It also reduces unnecessary system and network bandwidth consumption , So the transmission is trivial (trivial) Small documents , More efficient .
版权声明
本文为[Sword emperor Xiao Jian]所创,转载请带上原文链接,感谢
边栏推荐
- Python image recognition OCR
- Problems of Android 9.0/p WebView multi process usage
- Reflection on a case of bus card being stolen and swiped
- Sentry 安装
- High concurrency in ngnix cluster
- These core technology of object-oriented, after you master it, you can have a good interview
- ROS学习---远程启动ROS节点
- 汇编函数mcall systemstack asmcgocall syscall
- Python 图片识别 OCR
- laravel8更新之维护模式改进
猜你喜欢
Wechat applet request reported 400 error @ requestbody failed to receive
Data transmission of asynchronous serial communication controlled by group bus communication
Summary of the resumption of a 618 promotion project
爆一个VS2015 Update1更新带来的编译BUG【已有解决方案】
A detailed explanation of microservice architecture
use Xunit.DependencyInjection Transformation test project
一次公交卡被“盗刷”事件带来的思考
Everything is 2020, LINQ query you are still using expression tree
Got timeout reading communication packets解决方法
WPF personal summary on drawing
随机推荐
android基础-RadioButton(单选按钮)
Download, installation and configuration of Sogou input method in Ubuntu
How to learn technology efficiently
CPP (3) what is cmake
Animation techniques and details you may not know
Hand tearing algorithm - handwritten singleton mode
Adobe Lightroom / LR 2021 software installation package (with installation tutorial)
Web安全(二)---跨域资源共享
ROS学习---远程启动ROS节点
汇编函数mcall systemstack asmcgocall syscall
Go之发送钉钉和邮箱
See once to understand, graphic single chain table inversion
ngnix集群高并发
What details does C + + improve on the basis of C
Cryptography - Shangsi Valley
There's not much time left for Kwai Chung.
Recommend suicide, openai warns: gpt-3 is too risky for medical purposes
面部识别:攻击类型和反欺骗技术
CPP (4) boost installation and basic use for Mac
In the age of screen reading, we suffer from attention deficit syndrome