小编Mar*_*Ala的帖子

如果“验证密钥应存储在外部”,journalctl 如何签署日志?

$ man journalctl
...
--setup-keys
Instead of showing journal contents, generate a new key pair for Forward Secure Sealing (FSS). This will generate a
sealing key and a verification key. The sealing key is stored in the journal data directory and shall remain on the
host. The verification key should be stored externally. Refer to the Seal= option in journald.conf(5) for
information on Forward Secure Sealing and for a link to a refereed scholarly paper detailing the cryptographic
theory it …
Run Code Online (Sandbox Code Playgroud)

encryption journalctl

9
推荐指数
1
解决办法
1518
查看次数

"w" 与 urandom 有什么关系?

> strace w 2>&1 | grep urandom
read(4, "/usr/bin/grep\0urandom\0", 2047) = 22
> 
Run Code Online (Sandbox Code Playgroud)

为什么“w”需要urandom?如何避免这种情况?

更新:

> strace w 2>&1 | awk '/urandom/'
read(4, "awk\0/urandom/\0", 2047)       = 14
> 
Run Code Online (Sandbox Code Playgroud)

那么过滤与urandom有关吗?

> strace who 2>&1 | grep urandom
> 
Run Code Online (Sandbox Code Playgroud)

那么为什么“谁”没有受到影响呢?

random w

8
推荐指数
2
解决办法
1256
查看次数

什么进程正在监听端口?

[root@SERVER ~]# netstat -tulpn | grep 44316
tcp        0      0 :::44316                    :::*                        LISTEN      -                   
[root@SERVER ~]# lsof -i | grep 44316
[root@SERVER ~]# rpcinfo
   program version netid     address                service    owner
    100000    4    tcp6      ::.0.111               portmapper superuser
    100000    3    tcp6      ::.0.111               portmapper superuser
    100000    4    udp6      ::.0.111               portmapper superuser
    100000    3    udp6      ::.0.111               portmapper superuser
    100000    4    tcp       0.0.0.0.0.111          portmapper superuser
    100000    3    tcp       0.0.0.0.0.111          portmapper superuser
    100000    2    tcp       0.0.0.0.0.111          portmapper superuser
    100000    4    udp       0.0.0.0.0.111          portmapper superuser
    100000    3 …
Run Code Online (Sandbox Code Playgroud)

process tcp netstat

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

encryption ×1

journalctl ×1

netstat ×1

process ×1

random ×1

tcp ×1

w ×1