{"id":1246,"date":"2008-03-21T00:00:00","date_gmt":"2008-03-20T15:00:00","guid":{"rendered":"http:\/\/tsaitoh.net\/wp\/2008\/03\/21\/squidguard\/"},"modified":"2008-03-21T00:00:00","modified_gmt":"2008-03-20T15:00:00","slug":"squidguard","status":"publish","type":"post","link":"https:\/\/tsaitoh.net\/wp\/2008\/03\/21\/squidguard\/","title":{"rendered":"squidGuard\u304c\u3046\u307e\u304f\u52d5\u304b\u306a\u3044&#8230;"},"content":{"rendered":"<p> \u307f\u3064\u304f\u3093\u3082\u300c\u30de\u30ea\u30aa \u30b2\u30fc\u30e0\u300d\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22\u3092\u59cb\u3081\u3001YouTube \u52d5\u753b\u3092\u306e\u3093\u3073\u308a\u898b\u308b\u306e\u304c \u5897\u3048\u3066\u304d\u305f\u3002\u3055\u3089\u306b\u3042\u3086\u3061\u3083\u3093\u307e\u3067\u691c\u7d22\u3092\u306f\u3058\u3081\u308b\u3002 \u305d\u308d\u305d\u308d\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u30d5\u30a3\u30eb\u30bf\u3092\u3061\u3083\u3093\u3068\u52d5\u304b\u3055\u306d\u3070&#8230; <\/p>\n<p> Microsoft Windows Live OneCare \u3092\u8a66\u3059\u304c\u3001\u8272\u3005\u3068\u3046\u3056\u3063\u305f\u3044\u306e\u3067\u3001 \u4ed6\u306e\u65b9\u304c\u793a\u3057\u3066\u3044\u305f\u3001 \u300c <a href=\"http:\/\/kids.goo.ne.jp\/\" target=\"_new\">kids.goo.ne.jp<\/a> \uff0b\u03b1\u300d \u3060\u3051\u898b\u3048\u308b Proxy \u3092\u7acb\u3066\u308b\u3053\u3068\u3092\u76ee\u6307\u3059\u3002 proxy \u5207\u3089\u308c\u305f\u3089\u7d42\u308f\u308a\u306a\u3093\u3060\u3051\u3069\u3001\u307f\u3064\u3042\u3086\u76f8\u624b\u306a\u3089\u3001\u5f53\u5206\u3053\u308c\u3067\u5341\u5206\u3002 \u3057\u304b\u3057\u3001\u81ea\u5206\u305f\u3061\u306e\u4f7f\u3046 cache proxy \u3082\u6b8b\u3057\u305f\u3044\u3002 <\/p>\n<h4>CacheProxy(8080) &amp; SquidGuard(8081)<\/h4>\n<p> \u3068\u3044\u3046\u3053\u3068\u3067\u30012\u3064\u306e Proxy \u3092\u540c\u6642\u306b\u52d5\u304b\u3059\u3053\u3068\u3092\u3081\u3056\u3057\u3001 \u4e0b\u8a18\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u304c\u3001\u3069\u3046\u3082\u52d5\u304b\u306a\u3044\u3002 8080 \u306f\u3001\u305d\u306e\u307e\u307e\u3067\u3001 8081 \u3078\u306e\u63a5\u7d9a\u3060\u3051 redirect_access \u3067 squidGuard \u306b\u6e21\u3057\u3066\u3044\u308b\u3064\u3082\u308a\u306a\u3093\u3060\u3051\u3069\u3001 \u307e\u308b\u3063\u304d\u308a\u3001\u5236\u9650\u6a5f\u80fd\u304c\u52d5\u304b\u306a\u3044\u3002 <\/p>\n<pre>\n\u226a \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u226b\n# aptitude install squidguard\n\u226a \/etc\/squid\/squid.conf \u226b\n# 2\u3064\u306e\u30dd\u30fc\u30c8\u3067 Squid \u3092\u52d5\u304b\u3059\nhttp_port 8080\nhttp_port 8081\n# \u63a5\u7d9a\u3057\u3066\u304f\u308b\u30dd\u30fc\u30c8\u304c 8081 \u306a\u3089  squidGuard \u306b redirect \u3059\u308b\u3002\nacl proxy_normal     myport 8080\nacl proxy_guard      myport 8081\nacl proxy_all        src    0\/0\nredirector_access deny  !proxy_guard\nredirect_program \/usr\/bin\/squidGuard -c \/etc\/squid\/squidGuard.conf\n\u226a \/etc\/squid\/squidGuard.conf \u226b\n# \u3061\u3087\u3063\u3068\u66f8\u304d\u63db\u3048\ndbhome \/var\/lib\/squidguard\/db\nlogdir \/var\/log\/squid\n# \u672c\u5f53\u306f\u8907\u6570\u884c\u306b\u66f8\u3044\u3066\u3042\u308b\u3051\u3069...\ntime kidshours { weekly smtwhfa   05:30-22:00      }\nsrc localnet   { ip     127.0.0.1 192.168.XXX.0\/24 }\ndest good  { domainlist good\/domains  }\ndest local { domainlist local\/domains }\ndest porn  { domainlist porn\/domains  }\nacl {\nlocalnet within kidshours {\npass\tgood !porn all\n}\ndefault {\npass\t !porn all\n}\n}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u307f\u3064\u304f\u3093\u3082\u300c\u30de\u30ea\u30aa \u30b2\u30fc\u30e0\u300d\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u691c\u7d22\u3092\u59cb\u3081\u3001YouTube \u52d5\u753b\u3092\u306e\u3093\u3073\u308a\u898b\u308b\u306e\u304c \u5897\u3048\u3066\u304d\u305f\u3002\u3055\u3089\u306b\u3042\u3086\u3061\u3083\u3093\u307e\u3067\u691c\u7d22\u3092\u306f\u3058\u3081\u308b\u3002 \u305d\u308d\u305d\u308d\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u30d5\u30a3\u30eb\u30bf\u3092\u3061\u3083\u3093\u3068\u52d5\u304b\u3055\u306d\u3070&#8230; Microso [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1246","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/1246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/comments?post=1246"}],"version-history":[{"count":0,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/posts\/1246\/revisions"}],"wp:attachment":[{"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/media?parent=1246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/categories?post=1246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tsaitoh.net\/wp\/wp-json\/wp\/v2\/tags?post=1246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}