Debian Server’s basic security configuration

If you using the Debian Web Server, Check these security configurations.

 

======Changing TELNET banner======

# more /etc/issue.net
!!!!!WARNNING!!!!!! %h                   <== Warnning Message

 

======Disable ICMP ECHO======

# echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
or
# more /etc/sysctl.conf
#
# /etc/sysctl.conf – Configuration file for setting system variables
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
#net/ipv4/icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_echo_ignore_all=1

 

======Remove identd======

# more /etc/inetd.conf
#ident stream tcp wait identd /usr/sbin/identd identd   <=Insert “#”
# ps -ef | grep inetd   <=process of inetd
# kill -HUP id_num

 

======Remove portmapper daemon======

# apt-get remove portmapp

저작권
Creative Commons License

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Spam Protection by WP-SpamFree