squid の話だから NetBSD ってカテゴライズは間違ってるのだけれど。
なんだか mrtg が刺さったようで、しかーも kill で殺せなくなってたんで NetBSD を再起動。そしたら pf 経由(?) で透過プロクシさせてる squid がエラーを返して Web が見れない風味。なんでかなー、と思いつつ
sudo /usr/pkg/etc/rc.d/squid restart
とかかますと
2006/10/07 09:12:42| parseConfigFile: line 2061 unrecognized: 'httpd_accel_host virtual'
2006/10/07 09:12:42| parseConfigFile: line 2062 unrecognized: 'httpd_accel_port 80'
2006/10/07 09:12:42| parseConfigFile: line 2092 unrecognized: 'httpd_accel_with_proxy on'
2006/10/07 09:12:42| parseConfigFile: line 2113 unrecognized: 'httpd_accel_uses_host_header on'
とか言い出してるじゃーありませんか。
こいつは困った、と man を読んでみたんだけど、それっぽい記述が見当たらない。じゃあってんで squid本家の FAQ で httpd_accel_with_proxy で検索して出てきたページを読んでみたところ SquidFaq/InterceptionProxyのConfigure Squid to accept and process the redirected port 80 connectionsに
For Squid-2.6 and Squid-3.0 you simply need to add the keyword transparent on the http_port that your proxy will receive the redirected requests on as the above directives are not necessary and in fact have been removed in those releases:http_port 3128 transparentFor Squid-2.5 and earlier the configuration is a little more complex. Here are the important settings in squid.conf for Squid-2.5 and earlier:http_port 3128 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on
などとばっちり書いてあったのでした…。そーいや squid はバージョンアップしてるけど、squid.conf はここ最近全然いじってなかったや。
バージョンアップした後はちゃんとリリースノートを読もう、という教訓ということで(笑
on line phentermine http://phentermine-on-line.beeplog.de