IBM®
跳转到主要内容
    中国 [选择]    使用条款
 
 
Select a scope: Search for:    
    首页    产品    服务与解决方案     支持与下载    个性化服务    
跳转到主要内容

developerWorks 中国  >  Linux  >

让 Linux 更安全,第 3 部分: 加固系统

如何通过一些配置保持您的系统不受攻击

developerWorks

返回文章


清单 5. 使用 netstat 来显示进程
				
itvm06:~ # netstat -atup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 *:5900                  *:*                     LISTEN      900/X
tcp        0      0 *:sunrpc                *:*                     LISTEN      509/portmap
tcp        0      0 *:x11                   *:*                     LISTEN      900/X
tcp        0      0 localhost:smtp          *:*                     LISTEN      881/master
tcp        0      0 localhost:x11           *:*                     LISTEN      12876/sshd
tcp        0      0 *:ssh                   *:*                     LISTEN      538/sshd
tcp        0      0 localhost:x11           *:*                     LISTEN      12876/sshd
tcp        0    144 server.example.com:ssh  client.example.co:35603 ESTABLISHED 12876/sshd
tcp        0      0 server.example.com:ssh  client.example:miva-mqs ESTABLISHED 11446/sshd
udp        0      0 *:sunrpc                *:*                                 509/portmap

返回文章

    关于 IBM 隐私条约 联系 IBM 使用条款