alma linux 9.1 中 kernel ssh ssl httpd 版本

Alma Linux 9.1安装

镜像选择:Aliyun的almalinux镜像

参考URL:https://zhuanlan.zhihu.com/p/549307723

内存建议1G+

kernel版本为Linux kernel 5.14.0-162

查看kernel版本

# uname -a
Linux localhost.localdomain 5.14.0-162.6.1.el9_1.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 15 07:49:10 EST 2022 x86_64 x86_64 x86_64 GNU/Linux

SSH版本为OpenSSH-8.7p1,默认禁用root登录

使用OpenSSH-8.7p1几点注意:

  • 支持使用 SFTP 协议作为之前使用 SCP/RCP 协议的替换。SFTP 提供更可预测的文件名处理,不需要由远程端的 shell 扩展 glob(3)模式。
  • 支持 Include 方式加载其他配置文件
  • 默认禁止 root 登录, 开启方法

查看ssh版本

# ssh -V
OpenSSH_8.7p1, OpenSSL 3.0.1 14 Dec 2021

允许root用户ssh登录

# cp -p  /etc/ssh/sshd_config /etc/ssh/sshd_config.org
# vi /etc/ssh/sshd_config
增加如下三行配置
PermitRootLogin yes
PubkeyAuthentication yes
PasswordAuthentication yes
# diff   /etc/ssh/sshd_config /etc/ssh/sshd_config.org
41d40
< PermitRootLogin yes
46c45
< PubkeyAuthentication yes
---
> #PubkeyAuthentication yes
66c65
< PasswordAuthentication yes
---
> #PasswordAuthentication yes
重启sshd服务
# systemctl restart sshd
# systemctl status sshd

SSL版本为OpenSSL-3.0.1

  • 支持 enable-ktls Linux Kernel TLS(KTLS)的支持。
  • 对 nginx 卸载SSL 有性能提升

查看ssl版本

# rpm -qa |grep openssl
openssl-pkcs11-0.4.11-7.el9.x86_64
openssl-libs-3.0.1-43.el9_0.x86_64
openssl-3.0.1-43.el9_0.x86_64

4.httpd版本为2.4.53

默认安装的httpd版本为2.4.53,对应的CVE安全漏洞修复和httpd官方2.4.54版本同步。

查看httpd版本
# httpd -v
Server version: Apache/2.4.53 (AlmaLinux)
Server built:   Jul 20 2022 00:00:00
查看完整更新履历
# yum changelog all httpd  

Changelogs for httpd-2.4.53-7.el9.x86_64

* Wed Jul 20 00:00:00 2022 Lubo拧 Uhliarik <luhliari@redhat.com> - 2.4.53-7

- Resolves: #2094997 - CVE-2022-26377 httpd: mod_proxy_ajp: Possible request
  smuggling
- Resolves: #2097032 - CVE-2022-28615 httpd: out-of-bounds read in 
  ap_strcmp_match()
- Resolves: #2098248 - CVE-2022-31813 httpd: mod_proxy: X-Forwarded-For dropped
  by hop-by-hop mechanism
- Resolves: #2097016 - CVE-2022-28614 httpd: out-of-bounds read via ap_rwrite()
- Resolves: #2097452 - CVE-2022-29404 httpd: mod_lua: DoS in r:parsebody
- Resolves: #2097459 - CVE-2022-30522 httpd: mod_sed: DoS vulnerability
- Resolves: #2097481 - CVE-2022-30556 httpd: mod_lua: Information disclosure

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值