作業日記@HatenaBlog

各種の作業メモ

2011-09-01から1ヶ月間の記事一覧

Proxy のエラー

エラーログ Apacheのログに、以下のようなエラーが時々記録される。 # tail -n 1 /var/log/HOGE_proxy-error.log [Fri Jan 01 HH:MM:SS 20xx] [error] [client PPP.QQQ.RRR.SSS] (20014)Internal error: proxy: error reading status line from remote serve…

swatch の導入

概要 jail で運用している複数の apache サーバに対し、不正アクセス攻撃があるのでこれを防ぐ。 各 jail 内の apache サーバは、ホストの apache から proxy で代理アクセスされているので、ホストの apache に対し監視設定をする。 導入 インストール # po…

Apacheの情報を隠す

外部から Apache の情報を知られるのを防ぐ。 httpd-default.conf を有効にする。(コメントアウトを外す) # cd /usr/local/etc/apache22/ # vi httpd.conf #Include etc/apache22/extra/httpd-default.conf ↓ Include etc/apache22/extra/httpd-default.co…

cups-client と cups-image が upgrade できない

portupgrade -a 実行時の不具合 ports を全てバージョンアップするため portupgrade -a したところ、一部 ports が update できない現象が発生。 cups-client の場合 # portupgrade cups-client ** Port marked as IGNORE: print/cups-client: is marked as …