快速业务通道

Linux网络服务器配置基础

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-05-12
、ntalk、 imap、 pop-2、pop-3、finger、auth,等等.如果你觉得某些服务有用,可以不禁止这些服务.但是,把这些服务禁止掉,系统受攻击的可能性就会小很多.改变后的“inetd.conf”文件的内容如下面所示:

  # To re-read this file after changes, just do a ''killall -HUP inetd''

  #

  #echo stream tcp nowait root internal

  #echo dgram udp wait root internal

  #discard stream tcp nowait root internal

  #discard dgram udp wait root internal

  #daytime stream tcp nowait root internal

  #daytime dgram udp wait root internal

  #chargen stream tcp nowait root internal

  #chargen dgram udp wait root internal

  #time stream tcp nowait root internal

  #time dgram udp wait root internal

  #

  # These are standard services.

  #

  #ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd -l -a

  #telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

  #

  # Shell, login, exec, comsat and talk are BSD protocols.

  #

  #shell stream tcp nowait root /usr/sbin/tcpd in.rshd

  #login stream tcp nowait root /usr/sbin/tcpd in.rlogind

  #exec stream tcp nowait root /usr/sbin/tcpd in.rexecd

  #comsat dgram udp wait root /usr/sbin/tcpd in.comsat

  #talk dgram udp wait root /usr/sbin/tcpd in.talkd

  #ntalk dgram udp wait root /usr/sbin/tcpd in.ntalkd

  #dtalk stream tcp wait nobody /usr/sbin/tcpd in.dtalkd

  #

  # Pop and imap mail services et al

  #

  #pop-2 stream tcp nowait root /usr/sbin/tcpd ipop2d

  #pop-3 stream tcp nowait root /usr/sbin/tcpd ipop3d

  #imap stream tcp nowait root /usr/sbin/tcpd imapd

  #

  # The Internet UUCP service.

  #

  #uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l

  #

  # Tftp service is provided primarily for booting. Most sites

  # run this only on machines acting as "boot servers." Do not uncomment

  # this unless you *need* it.

  #

  #tftp dgram udp wait root /usr/sbin/tcpd in.tftpd

  #bootps dgram udp wait root /usr/sbin/tcpd bootpd

  #

  # Finger, systat and netstat give out user information which may be

  # valuable to potential "system crackers." Many sites choose to disable

  # some or all of these services to improve security.候,系统又会重新创建这两个文件. 发表您的高见!

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号