# wget --spider -S 192.168.110.1 //ルータのIPアドレスを指定するとサーバ情報調べられます。
--21:12:59-- http://192.168.110.1/
=> `index.html'
Connecting to 192.168.1.110:80... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Tue, 25 Sep 2007 12:12:41 GMT
Server: Apache/1.3.19 (Unix) (MontaVista Software Hard Hat Linux)
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
Length: unspecified [text/html]
200 OK

参考
WebサーバのバージョンやOSを調べるには - @IT
# cd /usr/ports/security/denyhosts/
# make install clean //Pythonがなければ自動的にインストールされます。
# touch /etc/hosts.deniedssh //ファイルがなければ作成
# vi /usr/local/etc/denyhosts.conf
BLOCK_SERVICE = sshd //コメントアウト

# vi /etc/hosts.allow
sshd : /etc/hosts.deniedssh : deny //ALL : ALL : allowより上に書き込む
sshd : ALL : allow
# vi /etc/rc.conf
denyhosts_enable="YES" //自動起動
syslogd_flags="-c"

# /usr/local/etc/rc.d/denyhosts start //手動起動

参考
FreeBSDでDenyHostsのインストール (Bloom World)
  top  
SEO 忍者ブログ


Copyright (C) 2007-2010 大塚味噌醸造所 All Rights Reserved.