当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- easyui dialog“缓存问题”
- When tidb and Flink are combined: efficient and easy to use real-time data warehouse
- Tail delivery
- On the coverage technology and best practice of go code
- AFO
- 状态压缩:对动态规划进行降维打击
- Dynamic programming -- state compression DP of set represented by binary
- How to deal with data leakage and deletion related to business life and death?
- Awk implements SQL like join operation
- 看一遍就理解,图解单链表反转
猜你喜欢

Face recognition: attack types and anti spoofing techniques

A detailed explanation of microservice architecture

leetcode之判断路径是否相交
![[C + + learning notes] how about the simple use of the C + + standard library STD:: thread?](/img/3e/3e7bc16c04d0d0ea953e2f739137d3.jpg)
[C + + learning notes] how about the simple use of the C + + standard library STD:: thread?

The emergence and significance of micro service

获取树形菜单列表

Analysis of kubernetes service types: from concept to practice

Improvement of maintenance mode of laravel8 update

Three steps, one pit, five steps and one thunder, how to lead the technical team under the rapid growth?

The road of cloud computing: a free AWS cloud server
随机推荐
A compilation bug brought by vs2015 Update1 update [existing solutions]
Lay UI left tree Dtree right list table
How to think in the way of computer
Analysis of kubernetes service types: from concept to practice
Implementation of Caesar cipher
How did I lose control of the team?
High concurrency in ngnix cluster
Writing method of field and field comparison condition in where condition in thinkphpp6
Everything is 2020, LINQ query you are still using expression tree
What kind of technical ability should a programmer who has worked for 1-3 years? How to improve?
Thinkphp6中where条件中字段与字段比较条件的写法
Cryptography - Shangsi Valley
一次公交卡被“盗刷”事件带来的思考
Dynamic programming -- state compression DP of set represented by binary
How Facebook open source framework simplifies pytorch experiment
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
ECMAScript7规范中的instanceof操作符
[C + + learning notes] how about the simple use of the C + + standard library STD:: thread?
Deep into web workers (1)
Implementation of multi GPU distributed training with horovod in Amazon sagemaker pipeline mode