{"id":342,"date":"2009-01-25T16:01:08","date_gmt":"2009-01-25T15:01:08","guid":{"rendered":"http:\/\/www.bdjl.de\/localhost\/?p=342"},"modified":"2009-04-18T16:05:06","modified_gmt":"2009-04-18T15:05:06","slug":"ipcop-memo","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=342","title":{"rendered":"IPCop Memo"},"content":{"rendered":"<p>Es sieht so aus, als w\u00fcrde 2009 noch das Jahr des IPCop werden. Jetzt spinnt der paedML Linux Cop meiner Schule auch noch &#8211; und trennt uns dauernd vom Netz.<\/p>\n<p>Hier eine Reihe von Memos zum Thema &#8211; mehr f\u00fcr mich, als f\u00fcr andere:<\/p>\n<h3>Neuinstallation<\/h3>\n<p>Bei Konfigurationsproblemen nach dem Neuaufsetzen des paedML IPCops hilft es wohl, vorher den Inhalt von<\/p>\n<blockquote><p>\/var\/backup\/linuxmuster\/ipcop\/<\/p><\/blockquote>\n<p>zu l\u00f6schen und dann nochmal den IPCop nach Handbuch aufzusetzen. Ausf\u00fchrlichere Informationen zur Neuinstallation sind <a href=\"http:\/\/www.bdjl.de\/localhost\/?p=247\">hier<\/a> zu finden.<\/p>\n<h3>Trennungsschmerzen<\/h3>\n<p>Ich hoffe mal, dass ich meinen IPCop jetzt wieder im Griff habe. Ziemlich schnell hatte ich f\u00fcr die dauernd um 9, 12 und 15 Uhr erfolgenden Trennungen vom Netz den Squid im Verdacht. Das hat sich nun erh\u00e4rtet. Auf die Spur gebracht hat mich freshclam, das nicht mehr wollte:<\/p>\n<blockquote><p># freshclam<br \/>\nClamAV update process started at Sat Jan 24 19:29:24 2009<br \/>\nmain.cld is up to date (version: 49, sigs: 437972, f-level: 35, builder:<br \/>\nsven)<br \/>\nconnect_error: getsockopt(SO_ERROR): fd=4 error=111: Connection refused<br \/>\nCan&#8217;t connect to port 80 of host db.local.clamav.net (IP: 130.59.10.36)<br \/>\nTrying host db.local.clamav.net (193.1.193.64)&#8230;<\/p><\/blockquote>\n<p>usw usw. Auf der Suche nach einer Ursache bin ich auf einen Fehler in unserer squid.conf gesto\u00dfen, der den sauberen Restart des Squid nach dem Neuaufbau des Caches verhindert.<\/p>\n<p>Auf dem IPCop:<\/p>\n<blockquote><p># \/usr\/local\/bin\/restartsquid<br \/>\n2009\/01\/24 19:36:03| squid.conf line 14: acl QUERY urlpath_regex cgi-bin ?<br \/>\n2009\/01\/24 19:36:03| aclParseRegexList: Invalid regular expression &#8218;?&#8216;:<br \/>\nInvalid preceding regular expression<br \/>\n2009\/01\/24 19:36:03| Creating Swap Directories<br \/>\n2009\/01\/24 19:36:14| squid.conf line 14: acl QUERY urlpath_regex cgi-bin ?<br \/>\n2009\/01\/24 19:36:14| aclParseRegexList: Invalid regular expression &#8218;?&#8216;:<br \/>\nInvalid preceding regular expression<\/p><\/blockquote>\n<p>Sieht offensichtlich nicht gut aus.<\/p>\n<blockquote><p># vi \/var\/ipcop\/proxy\/squid.conf<\/p><\/blockquote>\n<p>Dort stand in Zeile 14:<\/p>\n<blockquote><p>acl QUERY urlpath_regex cgi-bin ?<\/p><\/blockquote>\n<p>Es m\u00fcsste aber lauten &#8211; so zeigte ein Vergleich mit meinem eigenen IPCop:<\/p>\n<blockquote><p>acl QUERY urlpath_regex cgi-bin \\\\?<\/p><\/blockquote>\n<p>Das hab ich ver\u00e4ndert und dann den Squid auf dem IPCop neu gestartet:<\/p>\n<blockquote><p># \/usr\/local\/bin\/restartsquid<br \/>\n2009\/01\/24 19:44:02| Creating Swap Directories<\/p><\/blockquote>\n<p>Jetzt geht freshclam vom Server aus wieder (das so oder so automatisiert ist):<\/p>\n<blockquote><p># freshclam<br \/>\nClamAV update process started at Sat Jan 24 19:36:33 2009<br \/>\nmain.cld is up to date (version: 49, sigs: 437972, f-level: 35, builder:<br \/>\nsven)<br \/>\nDownloading daily-8896.cdiff [100%]<br \/>\nDownloading daily-8897.cdiff [100%]<br \/>\nDownloading daily-8898.cdiff [100%]<br \/>\nDownloading daily-8899.cdiff [100%]<br \/>\ndaily.cld updated (version: 8899, sigs: 61181, f-level: 38, builder: edwin)<br \/>\nDatabase updated (499153 signatures) from db.local.clamav.net (IP:<br \/>\n130.59.10.36)<br \/>\nClamd successfully notified about the update.<\/p><\/blockquote>\n<p>Jetzt bin ich mal gespannt. Komisch ist es aber schon, dass ein backslash so einfach verschwinden kann.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Es sieht so aus, als w\u00fcrde 2009 noch das Jahr des IPCop werden. Jetzt spinnt der paedML Linux Cop meiner Schule auch noch &#8211; und trennt uns dauernd vom Netz. Hier eine Reihe von Memos zum Thema &#8211; mehr f\u00fcr mich, als f\u00fcr andere: Neuinstallation Bei Konfigurationsproblemen nach dem Neuaufsetzen des paedML IPCops hilft es [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,19,10],"tags":[],"class_list":["post-342","post","type-post","status-publish","format-standard","hentry","category-memo","category-paedml","category-schule"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=342"}],"version-history":[{"count":8,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions"}],"predecessor-version":[{"id":349,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/342\/revisions\/349"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}