当前位置:网站首页>16.文件传输协议、vsftpd服务
16.文件传输协议、vsftpd服务
2020-11-07 22:18:00 【剑皇萧剑】
SELinux安全子系统
- 三种模式:
- enforcing:强制启用安全策略模式,将拦截服务的不合法请求。
- permissive:遇到服务越权访问时,只发出警告而不强制拦截。
- disabled:对于越权的行为不警告也不拦截。
- getenforce- 获得当前SELinux服务的运行模式
- setenforce0 / 1 -临时修改SELinux当前的运行模式(0为禁用,1为启用)
- semanage<options>__<file>- 管理SELinux的策略
- [-l] - 查询;
- [-a] - 添加;
- [-m] - 修改;
- [-d] - 删除
- restorecon- 将设置好的SELinux安全上下文立即生效
文件传输协议(FTP)
- Package: vsftpd, ftp
- 工作模式
- 主动模式:FTP服务器主动向客户端发起连接请求
- 被动模式:FTP服务器等待客户端发起连接请求(FTP的默认工作模式)
- systemctl enable_<serviceName>_应用配置
vsftpd工作模式
- 匿名开放模式(不安全)【匿名用户:anonymous】
- 本地用户模式
- 虚拟用户模式(安全,但配置较复杂,要用到PAM)
- -6 使用IPv6协议
简单文件传输协议 (TFTP)
- Package: tftp_server, tftp
TFTP服务是使用xinetd服务程序来管理的。xinetd服务可以用来管理多种轻量级的网络服务,而且具有强大的日志功能。简单来说,在安装TFTP软件包后,还需要在xinetd服务程序中将其开启,把默认的禁用(disable)参数修改为no
TFTP的命令功能不如FTP服务强大,甚至不能遍历目录,在安全性方面也弱于FTP服务。而且,由于TFTP在传输文件时采用的是UDP协议,占用的端口号为69,因此文件的传输过程也不像FTP协议那样可靠。但是,因为TFTP不需要客户端的权限认证,也就减少了无谓的系统和网络带宽消耗,因此在传输琐碎(trivial)不大的文件时,效率更高。
版权声明
本文为[剑皇萧剑]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/2427652/blog/4707745
边栏推荐
- Adobe Prelude /Pl 2020软件安装包(附安装教程)
- Got timeout reading communication packets解决方法
- Web Security (4) -- XSS attack
- Improvement of maintenance mode of laravel8 update
- Get tree menu list
- CPP (2) creating CPP project
- Reflection on a case of bus card being stolen and swiped
- How to think in the way of computer
- High concurrency in ngnix cluster
- 密码学-尚硅谷
猜你喜欢

来自不同行业领域的50多个对象检测数据集

Git代码提交操作,以及git push提示failed to push some refs'XXX'

Download, installation and configuration of Sogou input method in Ubuntu

On the coverage technology and best practice of go code
![[original] the influence of arm platform memory and cache on the real-time performance of xenomai](/img/cb/0395507ece572556b2bab373f013a5.jpg)
[original] the influence of arm platform memory and cache on the real-time performance of xenomai

delphi10的rest.json与system.json的踩坑

leetcode之判断路径是否相交

See once to understand, graphic single chain table inversion

WPF personal summary on drawing

On hiz buffer
随机推荐
Python 图片识别 OCR
洞察——风格注意力网络(SANet)在任意风格迁移中的应用
LadonGo开源全平台渗透扫描器框架
Fortify漏洞之 Privacy Violation(隐私泄露)和 Null Dereference(空指针异常)
How to learn technology efficiently
Adobe Lightroom /Lr 2021软件安装包(附安装教程)
Basic operation of database
How to deal with data leakage and deletion related to business life and death?
The prediction accuracy of the model is as high as 94%! Using machine learning to solve the 200 billion dollar inventory problem perfectly
CPP (1) installation of cmake
Web安全(四)---XSS攻击
Cpp(四) Boost安装及基本使用 for Mac
CPP (3) what is cmake
More than 50 object detection datasets from different industries
Design pattern of facade and mediator
Supervisor process management installation and use
Tail delivery
delphi10的rest.json与system.json的踩坑
14000 word distributed transaction principle analysis, master all of them, are you afraid of being asked in the interview?
Face recognition: attack types and anti spoofing techniques