当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 使用jsDelivr加速你的网站
- Cpp(四) Boost安装及基本使用 for Mac
- 手撕算法-手写单例模式
- 构造请求日志分析系统
- Annual salary of 900000 programmers is not as good as 3800 civil servants a month? How to choose between stability and high income?
- 微信小程序request报400错误 @RequestBody接收不到
- go wire 依赖注入入门
- 工作1-3年的程序员,应该具备怎么样的技术能力?该如何提升?
- Python 图片识别 OCR
- Exploration and practice of growingio responsive programming
猜你喜欢
Analysis of kubernetes service types: from concept to practice
Improvement of maintenance mode of laravel8 update
Download, installation and configuration of Sogou input method in Ubuntu
Go sending pin and email
use Xunit.DependencyInjection Transformation test project
什么都2020了,LINQ查询你还在用表达式树
Data structure and sorting algorithm
数据库基本操作
How to choose a good company
android基础-RadioButton(单选按钮)
随机推荐
Download, installation and configuration of Sogou input method in Ubuntu
Face recognition: attack types and anti spoofing techniques
leetcode之判断路径是否相交
Principles of websocket + probuf
How to think in the way of computer
wanxin金融
Android Basics - RadioButton (radio button)
IDEA-项目未自动生成 .iml 文件
云计算之路-出海记:整一台 aws 免费云服务器
Count the frequency of letters in text (case insensitive)
Web Security (4) -- XSS attack
What magic things can a line of Python code do?
Go sending pin and email
Cryptography - Shangsi Valley
What is the relationship between low code vs model driven?
Basic operation of database
A compilation bug brought by vs2015 Update1 update [existing solutions]
delphi10的rest.json与system.json的踩坑
Ladongo open source full platform penetration scanner framework
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment