当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- C++在C的基础上改进了哪些细节
- Summary of the resumption of a 618 promotion project
- The instanceof operator in ecmascript7 specification
- Code Review Best Practices
- static+代码块+多态+异常
- Go sending pin and email
- Adobe media encoder / me 2021 software installation package (with installation tutorial)
- Face recognition: attack types and anti spoofing techniques
- Web Security (3) -- CSRF attack
- What do you think of the most controversial programming ideas?
猜你喜欢

laravel8更新之维护模式改进

Ladongo open source full platform penetration scanner framework

数据库基本操作

Git code submission operation, and git push prompt failed to push some refs'xxx '

Deep into web workers (1)

Face recognition: attack types and anti spoofing techniques

Everything is 2020, LINQ query you are still using expression tree

团灭 LeetCode 股票买卖问题

Cryptography - Shangsi Valley

The instanceof operator in ecmascript7 specification
随机推荐
On the coverage technology and best practice of go code
Get tree menu list
Adobe Prelude /Pl 2020软件安装包(附安装教程)
什么都2020了,LINQ查询你还在用表达式树
京淘项目day09
See once to understand, graphic single chain table inversion
Let's talk about the locks in the database
[C + + learning notes] how about the simple use of the C + + standard library STD:: thread?
Stack bracket matching
Hand tearing algorithm - handwritten singleton mode
获取树形菜单列表
使用jsDelivr加速你的网站
Android Basics - RadioButton (radio button)
go wire 依赖注入入门
In the age of screen reading, we suffer from attention deficit syndrome
看一遍就理解,图解单链表反转
delphi10的rest.json与system.json的踩坑
Tail delivery
Basic operation of database
How to think in the way of computer