当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Face recognition: attack types and anti spoofing techniques
- Get started, GIT
- What magic things can a line of Python code do?
- Jingtao project day09
- Get tree menu list
- How to think in the way of computer
- Count the frequency of letters in text (case insensitive)
- 关于update操作并发问题
- 数据库基本操作
- Delphi10's rest.json And system.json Step on the pit
猜你喜欢
Problems of Android 9.0/p WebView multi process usage
use Xunit.DependencyInjection Transformation test project
获取树形菜单列表
构造请求日志分析系统
Jingtao project day09
Face recognition: attack types and anti spoofing techniques
Git code submission operation, and git push prompt failed to push some refs'xxx '
[C + + learning notes] how about the simple use of the C + + standard library STD:: thread?
What kind of technical ability should a programmer who has worked for 1-3 years? How to improve?
面部识别:攻击类型和反欺骗技术
随机推荐
Recommend suicide, openai warns: gpt-3 is too risky for medical purposes
关于晋升全栈工程师,从入门到放弃的神功秘籍,不点进来看一看?
工作1-3年的程序员,应该具备怎么样的技术能力?该如何提升?
Adobe media encoder /Me 2021软件安装包(附安装教程)
Code Review Best Practices
static+代码块+多态+异常
use Xunit.DependencyInjection Transformation test project
CPP (2) creating CPP project
洞察——风格注意力网络(SANet)在任意风格迁移中的应用
获取树形菜单列表
Adobe media encoder / me 2021 software installation package (with installation tutorial)
How Facebook open source framework simplifies pytorch experiment
Principles of websocket + probuf
Hand tearing algorithm - handwritten singleton mode
How to learn technology efficiently
The instanceof operator in ecmascript7 specification
awk实现类sql的join操作
Design pattern of facade and mediator
团灭 LeetCode 股票买卖问题
Web安全(二)---跨域资源共享