User Tools

Site Tools


en:v2_-_bugfixes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:v2_-_bugfixes [2013/11/09 15:23]
127.0.0.1 external edit
en:v2_-_bugfixes [2019/05/26 10:40] (current)
fischerm [3. TMPFS is mounted multiple times (2.0.90)]
Line 6: Line 6:
 </​style>​ </​style>​
  
 +{{ :​images:​line.png?​620x3&​nolink |}}
 +\\
  
- 
-\\ 
-\\ 
 ====== Copfilter V2 - Bugfixes ====== ====== Copfilter V2 - Bugfixes ======
  
   * ** The main purpose of this part is to collect and describe several //​__Bugfixes__//​ regarding the Copfilter-Addon for IPCop 1.9.x/2.x [color=red](abbreviated:​ V2)[/​color].**   * ** The main purpose of this part is to collect and describe several //​__Bugfixes__//​ regarding the Copfilter-Addon for IPCop 1.9.x/2.x [color=red](abbreviated:​ V2)[/​color].**
-  * **The respective currently affected Copfilter release is given in brackets.**\\ +  * **The respective currently affected Copfilter release is given in brackets.** 
-  * If there are problems regarding this guidances, please open a new thread in the **[[http://​www.copfilter.org/​forum|Copfilter-Forum]]** or send us (karesmakro,​ severus, fischerm) a PM //​(**P**rivate **M**essage)//​ via Copfilter Forum.\\ Any requests for changes or extensions will be taken in account.+  * If there are problems regarding this guidances, please open a new thread in the **[[http://​www.copfilter.org/​forum|Copfilter-Forum]]**, write a report on **[[http://​www.copfilter.org/​bugtracker/​|Copfilter-Bugtracker]]** or send us (karesmakro,​ severus, fischerm) a PM //​(**P**rivate **M**essage)//​ via Copfilter Forum.\\ Any requests for changes or extensions will be taken in account.
  
- +[size=15]**[color=red]Please note:​[/​color]**[/​size]
-\\ +
-[size=15]**[color=red]Please note:​[/​color]**[/​size]\\+
  
   * These problems were found unfortunately only after the publication of the respective version.   * These problems were found unfortunately only after the publication of the respective version.
Line 25: Line 22:
   * **[color=red]This comes with absolutely no functional guarantees![/​color]**   * **[color=red]This comes with absolutely no functional guarantees![/​color]**
  
 +[color=red][size=15]**ATTENTION!**[/​size][/​color]
 +  * [color=red]**Extensive knowledge about the working(s) of the [[http://​www.ipcop.org|IPCop-Firewall]] and [[http://​www.copfilter.org|Copfilter]] in general, plus extensive Linux experiences are an absolute must for the updates and modifications that are described!**[/​color]
  
-\\ +  ​* [color=red]**This is not for novices to experiment, you need to know what you are doing and what the consequences may be...**[/​color]
-\\ +
-[color=red][size=15]**ATTENTION!**[/​size][/​color]\\ +
-  ​* [color=red]**Extensive knowledge about the working(s) of the [[http://​www.ipcop.org|IPCop-Firewall]] and [[http://​www.copfilter.org|Copfilter]] in general, plus extensive Linux experiences are an absolute must for the updates and modifications that are described!**[/color]\\+
  
-  * [color=red]**This is not for novices to experimentyou need to know what you are doing and what the consequences may be...**[/color]\\+  * [color=red]**A full backup, a functioning restore, and the willingness to reinstall a defective IPCop-system are prerequisites!**[/color]
  
-  * [color=red]**A full backup, a functioning restore, and the willingness to reinstall a defective IPCop-system are prerequisites!**[/​color] +And, **[size=9]as said before...[/​size]**:​
-\\ +
-And, **[size=9]as said before...[/​size]**:​\\+
   * **[color=red]It is an absolutely __must__ to use a __Linux-compatible text editor__ - on a Linux OS - for __all__ changes to be made![/​color]**   * **[color=red]It is an absolutely __must__ to use a __Linux-compatible text editor__ - on a Linux OS - for __all__ changes to be made![/​color]**
-\\ 
-====== ====== 
  
- +{{ :​images:​line.png?​620x3&​nolink |}}
-\\+
  
 {{anchor:​bugfixes_2090:​}} {{anchor:​bugfixes_2090:​}}
Line 51: Line 42:
  
 //The counter for ClamAV + F-Prot jumps from 0 to 120 minutes - despite being set to 4 hours = 240 minutes.// //The counter for ClamAV + F-Prot jumps from 0 to 120 minutes - despite being set to 4 hours = 240 minutes.//
- 
- 
  
 ==== Cause ==== ==== Cause ====
  
 Incorrect multiplier value in '/​home/​httpd/​cgi-bin/​**copfilter_antivirus.cgi**'​. Incorrect multiplier value in '/​home/​httpd/​cgi-bin/​**copfilter_antivirus.cgi**'​.
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 65: Line 52:
 '/​home/​httpd/​cgi-bin/​**copfilter_antivirus.cgi**'​ '/​home/​httpd/​cgi-bin/​**copfilter_antivirus.cgi**'​
  
- +**Replace:​** (Line ~628 **and** line ~651)
-\\ +
-**Replace:​** (Line ~628 **and** line ~651)\\+
 <​code>​ <​code>​
 $clamd_updateperiod = $copfiltersettings{'​CLAMD_UPDATE_VALUE'​} * 30; } $clamd_updateperiod = $copfiltersettings{'​CLAMD_UPDATE_VALUE'​} * 30; }
 </​code>​ </​code>​
  
-**With:**\\+**With:**
 <​code>​ <​code>​
 $clamd_updateperiod = $copfiltersettings{'​CLAMD_UPDATE_VALUE'​} * 60; } $clamd_updateperiod = $copfiltersettings{'​CLAMD_UPDATE_VALUE'​} * 60; }
 </​code>​ </​code>​
-\\+
 Afterwards settings of the antivirus Copfilter page must be saved through WebGUI - no restart required. Afterwards settings of the antivirus Copfilter page must be saved through WebGUI - no restart required.
-\\ 
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 2. POP3S not receiving emails (2.0.90) ===== ===== 2. POP3S not receiving emails (2.0.90) =====
Line 96: Line 73:
  
 //Receiving Emails through POP3S is not working.// //Receiving Emails through POP3S is not working.//
- 
- 
  
 ==== Cause ==== ==== Cause ====
  
 Commented line in '/​var/​log/​copfilter/​default/​opt/​p3scan/​etc/​init.d/​**copfilter_p3scan**'​. Commented line in '/​var/​log/​copfilter/​default/​opt/​p3scan/​etc/​init.d/​**copfilter_p3scan**'​.
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 111: Line 84:
  
 Delete hash-sign at line ~84. Delete hash-sign at line ~84.
- +  
- +**Replace:​**
-\\  +
-**Replace:​**\\+
 <​code>​ <​code>​
 #​$IPTABLES_BIN -t nat -A SCAN_POP3_PREROUTING -p tcp -i $GREEN_1_DEV --dport 995 -j REDIRECT --to 8110 > /dev/null 2>&1 #​$IPTABLES_BIN -t nat -A SCAN_POP3_PREROUTING -p tcp -i $GREEN_1_DEV --dport 995 -j REDIRECT --to 8110 > /dev/null 2>&1
 </​code>​ </​code>​
  
-**With:**\\+**With:**
 <​code>​ <​code>​
 $IPTABLES_BIN -t nat -A SCAN_POP3_PREROUTING -p tcp -i $GREEN_1_DEV --dport 995 -j REDIRECT --to 8110 > /dev/null 2>&1 $IPTABLES_BIN -t nat -A SCAN_POP3_PREROUTING -p tcp -i $GREEN_1_DEV --dport 995 -j REDIRECT --to 8110 > /dev/null 2>&1
 </​code>​ </​code>​
-\\+
 Afterwards restart P3SCAN-service. Afterwards restart P3SCAN-service.
-\\ 
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 3. TMPFS is mounted multiple times (2.0.90) ===== ===== 3. TMPFS is mounted multiple times (2.0.90) =====
Line 141: Line 104:
 and [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2875#​p2875[/​url] (german)\\ and [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2875#​p2875[/​url] (german)\\
  
-//...I had just noticed that /​var/​log/​copfilter/​2.0.90/​opt/​havp/​tmp is mounted 6 times...//​ +==== Problem ====
  
 +//...I had just noticed that /​var/​log/​copfilter/​2.0.90/​opt/​havp/​tmp is mounted 6 times...//
  
 ==== Cause ==== ==== Cause ====
  
 Error in '/​var/​log/​copfilter/​default/​opt/​havp/​etc/​init.d/​**copfilter_havp**'​ Error in '/​var/​log/​copfilter/​default/​opt/​havp/​etc/​init.d/​**copfilter_havp**'​
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 161: Line 122:
  
 Next, install the following patch. Next, install the following patch.
- 
- 
  
 ==== Download ==== ==== Download ====
Line 168: Line 127:
 |[[http://​www.it-connect-unix.de/​copfilter/​ipcop-v2/​copfilter-2.0.90_havp-tmpfs.patch|copfilter-2.0.90_havp-tmpfs.patch]]| ​ 3 KB  | |[[http://​www.it-connect-unix.de/​copfilter/​ipcop-v2/​copfilter-2.0.90_havp-tmpfs.patch|copfilter-2.0.90_havp-tmpfs.patch]]| ​ 3 KB  |
 |**MD5SUM:​**|95DE7EDF917207909015F4C92B92C981| |**MD5SUM:​**|95DE7EDF917207909015F4C92B92C981|
- 
- 
  
 ==== Installation ==== ==== Installation ====
Line 183: Line 140:
  
 Afterwards restart HAVP service. Afterwards restart HAVP service.
-\\ 
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 4. F-PROT not updating (2.0.90) ===== ===== 4. F-PROT not updating (2.0.90) =====
- 
  
 **Initiated by**: [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2928#​p2928[/​url] **Initiated by**: [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2928#​p2928[/​url]
- 
- 
  
 ==== Problem ==== ==== Problem ====
  
-No F-PROT Updates (free version) are performed - counter is always at the same time, although all [[en:​v2_-_bugfixes|fixes]] were applied. +No F-PROT Updates (free version) are performed - counter is always at the same time, although all [[:en:​v2_-_bugfixes|fixes]] were applied.
- +
  
 ==== Cause ==== ==== Cause ====
  
 File '/​var/​log/​copfilter/​default/​etc/​**fprotd_enable**'​ is missing. File '/​var/​log/​copfilter/​default/​etc/​**fprotd_enable**'​ is missing.
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 218: Line 160:
 '/​home/​httpd/​cgi-bin/​**copfilter_antivirus.cgi**'​ '/​home/​httpd/​cgi-bin/​**copfilter_antivirus.cgi**'​
  
- +**Replace**:​
-\\ +
-**Replace**:​\\+
 <​code>​ <​code>​
 if ( -e "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscand"​ ) { if ( -e "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscand"​ ) {
 </​code>​ </​code>​
  
-**With**:\\+**With**:
 <​code>​ <​code>​
 if ( -e "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscan"​ || -e "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscand"​ ) { if ( -e "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscan"​ || -e "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscand"​ ) {
 </​code>​ </​code>​
-\\+
 Afterwards, settings of the antivirus Copfilter page must be saved once through WebGUI - **no restart required**. Afterwards, settings of the antivirus Copfilter page must be saved once through WebGUI - **no restart required**.
  
- +If [[:en:​modifications_and_extensions#​rd_party_signatures|3rd Party Signaturen]] have been installed, the following fix must be applied:\\
-\\ +
-If [[en:​modifications_and_extensions#​rd_party_signatures|3rd Party Signaturen]] have been installed, the following fix must be applied:\\+
 |[[http://​www.it-connect-unix.de/​copfilter/​copfilter_antivirus.cgi-v1.tgz|copfilter_antivirus.cgi-v1.tgz]]| ​ 13 KB  | |[[http://​www.it-connect-unix.de/​copfilter/​copfilter_antivirus.cgi-v1.tgz|copfilter_antivirus.cgi-v1.tgz]]| ​ 13 KB  |
 |**MD5SUM:​**| ​ 441EBAD676A5BB3C822A1A0BBB628FC9 ​ | |**MD5SUM:​**| ​ 441EBAD676A5BB3C822A1A0BBB628FC9 ​ |
  
-**Installation**:​\\+**Installation**:​
 <​code>​tar xzf copfilter_antivirus.cgi-v1.tgz -C /​home/​httpd/​cgi-bin</​code>​ <​code>​tar xzf copfilter_antivirus.cgi-v1.tgz -C /​home/​httpd/​cgi-bin</​code>​
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 5. HAVP and HTTPS traffic (2.0.90) ===== ===== 5. HAVP and HTTPS traffic (2.0.90) =====
Line 255: Line 186:
  
 **See also:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2973#​p2973[/​url] (english) **See also:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=2973#​p2973[/​url] (english)
- 
- 
  
 ==== Problem ==== ==== Problem ====
  
 While opening a HTTPS-Site, user receives error message: "Proxy server refused the connection"​ While opening a HTTPS-Site, user receives error message: "Proxy server refused the connection"​
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 268: Line 195:
 Apply patch. Apply patch.
  
-**Please use at first the [[en:​v2_-_bugfixes#​tmpfs_is_mounted_multiple_times_2090|TMPS patch]] above before using this patch!** +**Please use at first the [[:en:​v2_-_bugfixes#​tmpfs_is_mounted_multiple_times_2090|TMPS patch]] above before using this patch!**
- +
  
 ==== Download ==== ==== Download ====
Line 276: Line 201:
 |[[http://​www.it-connect-unix.de/​copfilter/​ipcop-v2/​copfilter-2.0.90_havp_SSL.patch|copfilter-2.0.90_havp_SSL.patch]]| ​ 749  B  | |[[http://​www.it-connect-unix.de/​copfilter/​ipcop-v2/​copfilter-2.0.90_havp_SSL.patch|copfilter-2.0.90_havp_SSL.patch]]| ​ 749  B  |
 |**MD5SUM:​**|E23B602D48A26C0BA2FF261E8993E5C9| |**MD5SUM:​**|E23B602D48A26C0BA2FF261E8993E5C9|
- 
- 
- 
  
 ==== Installation ==== ==== Installation ====
Line 292: Line 214:
  
 Afterwards restart HAVP service. Afterwards restart HAVP service.
-\\ 
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 6. '​Monit'​ tries to start '​fpscand',​ although not present (2.0.90) ===== ===== 6. '​Monit'​ tries to start '​fpscand',​ although not present (2.0.90) =====
Line 307: Line 221:
 ==== Problem ==== ==== Problem ====
  
-After installing the __free__ [[en:​component_updates#​f-prot|F-PROT-Home-User-Version]] the following messages appear in '/​var/​log/​copfilter/​default/​opt/​monit/​var/​log/​**monit.log**':​+After installing the __free__ [[:en:​component_updates#​f-prot|F-PROT-Home-User-Version]] the following messages appear in '/​var/​log/​copfilter/​default/​opt/​monit/​var/​log/​**monit.log**':​
  
 <​code>​Execution failed Service fpscand ​ <​code>​Execution failed Service fpscand ​
Line 322: Line 236:
  Host: ​       coprouter.localdomain  Host: ​       coprouter.localdomain
  Description:​ service restarted 5 times within 5 cycles(s) - unmonitor</​code>​  Description:​ service restarted 5 times within 5 cycles(s) - unmonitor</​code>​
- 
- 
  
 ==== Cause ==== ==== Cause ====
Line 332: Line 244:
  
 This file is not available in the __free__ version, only in the __licensed__. This file is not available in the __free__ version, only in the __licensed__.
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 340: Line 250:
 '/​var/​log/​copfilter/​default/​opt/​monit/​etc/​init.d/​**copfilter_monit**'​ '/​var/​log/​copfilter/​default/​opt/​monit/​etc/​init.d/​**copfilter_monit**'​
  
- +**Replace**:​
-\\ +
-**Replace**:​\\+
 <​code>​ <​code>​
 if [ -f $BASEDIR/​etc/​fprotd_enable ]; then if [ -f $BASEDIR/​etc/​fprotd_enable ]; then
 </​code>​ </​code>​
  
-**With**:\\+**With**:
 <​code>​ <​code>​
 if [ -f $BASEDIR/​etc/​fprotd_enable ] && [ -f "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscand"​ ] ; then if [ -f $BASEDIR/​etc/​fprotd_enable ] && [ -f "​${copfilter_swroot}/​opt/​f-prot/​default/​fpscand"​ ] ; then
 </​code>​ </​code>​
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 7. Avoid F-PROT-Update-Messages in '​copfilter_cron.log'​ (2.0.90) ===== ===== 7. Avoid F-PROT-Update-Messages in '​copfilter_cron.log'​ (2.0.90) =====
Line 375: Line 276:
 ... ...
 </​code>​ </​code>​
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 383: Line 282:
 '/​var/​log/​copfilter/​default/​opt/​tools/​bin/​**check-updates_f-prot.sh**'​ (Line ~29) '/​var/​log/​copfilter/​default/​opt/​tools/​bin/​**check-updates_f-prot.sh**'​ (Line ~29)
  
- +**Replace:​**
-\\ +
-**Replace:​**\\+
 <​code>​ <​code>​
 $BASEDIR/​opt/​f-prot/​default/​fpupdate $BASEDIR/​opt/​f-prot/​default/​fpupdate
 </​code>​ </​code>​
  
-**With:**\\+**With:**
 <​code>​ <​code>​
 $BASEDIR/​opt/​f-prot/​default/​fpupdate ​ >/​dev/​null 2>&1 $BASEDIR/​opt/​f-prot/​default/​fpupdate ​ >/​dev/​null 2>&1
 </​code>​ </​code>​
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 {{anchor:​bugfixes_2091beta1:​}} {{anchor:​bugfixes_2091beta1:​}}
Line 408: Line 298:
  
 **Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=3334#​p3334[/​url] **Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=3334#​p3334[/​url]
- 
- 
  
 ==== Problem ==== ==== Problem ====
Line 417: Line 305:
 **Error!**\\ **Error!**\\
 **Your settings file could not be found.**// **Your settings file could not be found.**//
- 
- 
  
 ==== Cause ==== ==== Cause ====
Line 425: Line 311:
  
 Directory and file rights must be corrected. Directory and file rights must be corrected.
- 
- 
  
 ==== Solution ==== ==== Solution ====
  
-Install [[en:​component_updates#​php|PHP 5.3.9 update]] and initiate following commands on the console:+Install [[:en:​component_updates#​php|PHP 5.3.9 update]] and initiate following commands on the console:
  
 <​code>​chmod 755 /​var/​log/​copfilter/​default/​etc/​cp_spam_whitelist <​code>​chmod 755 /​var/​log/​copfilter/​default/​etc/​cp_spam_whitelist
 chmod 666 /​var/​log/​copfilter/​default/​etc/​cp_spam_whitelist/​local_webgui.cf</​code>​ chmod 666 /​var/​log/​copfilter/​default/​etc/​cp_spam_whitelist/​local_webgui.cf</​code>​
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 9. '​wget'​ cannot be found (2.0.91beta3) ==== ===== 9. '​wget'​ cannot be found (2.0.91beta3) ====
Line 449: Line 326:
  
 //Because wget is now a standard addon since IPCop 2.0.3, I removed it from our package.// //Because wget is now a standard addon since IPCop 2.0.3, I removed it from our package.//
- 
- 
  
 ==== Problem ==== ==== Problem ====
Line 457: Line 332:
  
 <​code>/​var/​log/​copfilter/​default/​opt/​tools/​bin/​cron.daily:​ line 93: /​var/​log/​copfilter/​default/​opt/​tools/​bin/​wget:​ No such file or directory</​code>​ <​code>/​var/​log/​copfilter/​default/​opt/​tools/​bin/​cron.daily:​ line 93: /​var/​log/​copfilter/​default/​opt/​tools/​bin/​wget:​ No such file or directory</​code>​
- 
- 
  
 ==== Cause ==== ==== Cause ====
  
 Missing symlink for '/​usr/​bin/​**wget**'​ in '/​var/​log/​copfilter/​default/​opt/​tools/​bin/'​. Missing symlink for '/​usr/​bin/​**wget**'​ in '/​var/​log/​copfilter/​default/​opt/​tools/​bin/'​.
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 471: Line 342:
  
 <​code>​ln -s /​usr/​bin/​wget /​var/​log/​copfilter/​default/​opt/​tools/​bin/​wget</​code>​ <​code>​ln -s /​usr/​bin/​wget /​var/​log/​copfilter/​default/​opt/​tools/​bin/​wget</​code>​
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 10. F-PROT not updating (2.0.91beta3) ===== ===== 10. F-PROT not updating (2.0.91beta3) =====
- 
  
 **Initiated by**: [url]http://​www.copfilter.org/​forum/​viewtopic.php?​f=9&​t=705#​p3509[/​url] **Initiated by**: [url]http://​www.copfilter.org/​forum/​viewtopic.php?​f=9&​t=705#​p3509[/​url]
- 
- 
  
 ==== Problem ==== ==== Problem ====
Line 496: Line 357:
 The time until next F-Prot update is always the same (60 minutes).\\ The time until next F-Prot update is always the same (60 minutes).\\
 Manual update works fine.//\\ Manual update works fine.//\\
- 
- 
  
 ==== Cause ==== ==== Cause ====
  
 Error (variable) in '/​usr/​local/​bin/​**copfilter_cron**'​. Error (variable) in '/​usr/​local/​bin/​**copfilter_cron**'​.
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 512: Line 369:
  
 No restart required. No restart required.
- 
- 
  
 ==== Download ==== ==== Download ====
Line 519: Line 374:
 |[[http://​www.it-connect-unix.de/​copfilter/​ipcop-v2/​copfilter_cron-fprot-periodic_fix.tgz|copfilter_cron-fprot-periodic_fix.tgz]]| ​ 1.2 KB  | |[[http://​www.it-connect-unix.de/​copfilter/​ipcop-v2/​copfilter_cron-fprot-periodic_fix.tgz|copfilter_cron-fprot-periodic_fix.tgz]]| ​ 1.2 KB  |
 |**MD5SUM:​**| ​ 4821A76099F3F997376504B4D334851C ​ | |**MD5SUM:​**| ​ 4821A76099F3F997376504B4D334851C ​ |
- 
- 
  
 ==== Installation ==== ==== Installation ====
  
 <​code>​tar xzf ./​copfilter_cron-fprot-periodic_fix.tgz -C /</​code>​ <​code>​tar xzf ./​copfilter_cron-fprot-periodic_fix.tgz -C /</​code>​
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 11. ProxSMTP on strike (2.0.91beta3) ===== ===== 11. ProxSMTP on strike (2.0.91beta3) =====
  
 **Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=3603#​p3603[/​url] (german) **Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=3603#​p3603[/​url] (german)
- 
- 
  
 ==== Problem ==== ==== Problem ====
Line 545: Line 389:
 (Translated quote)\\ (Translated quote)\\
 //​...recently had problems with the SMTP proxy. Almost every day I have the phenomenon that the proxy is closing down.// //​...recently had problems with the SMTP proxy. Almost every day I have the phenomenon that the proxy is closing down.//
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 553: Line 395:
 '/​etc/​rc.d/​**rc.firewall.local**'​ '/​etc/​rc.d/​**rc.firewall.local**'​
  
- +**Replace:​**
-\\ +
-**Replace:​**\\+
 <​code>​ <​code>​
 start) start)
Line 561: Line 401:
 </​code>​ </​code>​
  
-**With:**\\+**With:**
 <​code>​ <​code>​
 start) start)
Line 567: Line 407:
     /​etc/​rc.d/​init.d/​copfilter_proxsmtpd config_fwrules     /​etc/​rc.d/​init.d/​copfilter_proxsmtpd config_fwrules
 </​code>​ </​code>​
-\\ 
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 12. Daily Spam Digest is not delivered (2.0.91beta3) ==== ===== 12. Daily Spam Digest is not delivered (2.0.91beta3) ====
Line 581: Line 414:
 **Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​f=10&​t=777&​p=3945&​hilit=digest#​p3942[/​url] (german)\\ **Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​f=10&​t=777&​p=3945&​hilit=digest#​p3942[/​url] (german)\\
 **See:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​f=9&​p=4046#​p4044[/​url] (english) **See:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​f=9&​p=4046#​p4044[/​url] (english)
- 
- 
  
 ==== Problem ==== ==== Problem ====
  
 //The daily spam digest is a small but useful piece of functionality that worked in Copfilter V1 but appears broken in IPCop **2.0.4** with Copfilter **2.0.91beta3**.//​ //The daily spam digest is a small but useful piece of functionality that worked in Copfilter V1 but appears broken in IPCop **2.0.4** with Copfilter **2.0.91beta3**.//​
- 
- 
  
 ==== Solution ==== ==== Solution ====
Line 595: Line 424:
 '/​var/​log/​copfilter/​default/​opt/​tools/​bin/​**spam_mail_daily_digest.sh**'​ '/​var/​log/​copfilter/​default/​opt/​tools/​bin/​**spam_mail_daily_digest.sh**'​
  
- +**1. Replace:** (Line ~34)
-\\ +
-**1. Replace:** (Line ~34)\\+
 <​code>​ <​code>​
 SUBJECT=`cat $EMAIL |sed -n '​1,/​^$/​p'​ |grep -i "​Subject:"​ -m 1` SUBJECT=`cat $EMAIL |sed -n '​1,/​^$/​p'​ |grep -i "​Subject:"​ -m 1`
 </​code>​ </​code>​
  
-**With:**\\+**With:**
 <​code>​ <​code>​
 SUBJECT=`cat $EMAIL |sed -n '​1,/​^$/​p'​ |grep -i "​^Subject:"​ -m 1` SUBJECT=`cat $EMAIL |sed -n '​1,/​^$/​p'​ |grep -i "​^Subject:"​ -m 1`
 </​code>​ </​code>​
  
- +**2. Replace:** (Line ~58)
-\\ +
-**2. Replace:** (Line ~58)\\+
 <​code>​ <​code>​
 test -f /​var/​log/​copfilter/​default/​opt/​tmp/​spam_digest.* || rm /​var/​log/​copfilter/​default/​opt/​tmp/​*not* && exit 0 test -f /​var/​log/​copfilter/​default/​opt/​tmp/​spam_digest.* || rm /​var/​log/​copfilter/​default/​opt/​tmp/​*not* && exit 0
 </​code>​ </​code>​
  
-**With:**\\+**With:**
 <​code>​ <​code>​
 if [ $(ls /​var/​log/​copfilter/​default/​opt/​tmp/​ | grep spam_digest.* | wc -w) = 0 ]; then if [ $(ls /​var/​log/​copfilter/​default/​opt/​tmp/​ | grep spam_digest.* | wc -w) = 0 ]; then
Line 622: Line 447:
 </​code>​ </​code>​
  
- +**3. Replace:** (Line ~60)
-\\ +
-**3. Replace:** (Line ~60)\\+
 <​code>​ <​code>​
 for ii in `ls /​var/​log/​copfilter/​default/​opt/​tmp/​spam_digest.* &>/​dev/​null` for ii in `ls /​var/​log/​copfilter/​default/​opt/​tmp/​spam_digest.* &>/​dev/​null`
 </​code>​ </​code>​
  
-**With:**\\+**With:**
 <​code>​ <​code>​
 for ii in `ls /​var/​log/​copfilter/​default/​opt/​tmp/​spam_digest.*` for ii in `ls /​var/​log/​copfilter/​default/​opt/​tmp/​spam_digest.*`
 </​code>​ </​code>​
  
- +{{ :images:line.png?nolink |}}
-\\ +
- +
-===== ===== +
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 ===== 13. "Use own Domain-Blacklist:"​ not working (2.0.91beta3) ==== ===== 13. "Use own Domain-Blacklist:"​ not working (2.0.91beta3) ====
  
 **Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​f=9&​t=804[/​url]\\ **Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​f=9&​t=804[/​url]\\
- 
- 
  
 ==== Problem ==== ==== Problem ====
Line 659: Line 471:
 //In some situtations there is created the q.load file (blacklist prepared file) with a new line, before the categories are listed. This leads to an empty srv_url_check.conf!\\ You can check this by opening the in srv_url_check.conf in /​var/​log/​copfilter/​default/​opt/​c_icap/​etc//​\\ //In some situtations there is created the q.load file (blacklist prepared file) with a new line, before the categories are listed. This leads to an empty srv_url_check.conf!\\ You can check this by opening the in srv_url_check.conf in /​var/​log/​copfilter/​default/​opt/​c_icap/​etc//​\\
 //The content only consists comments (# in front of each line)//\\ //The content only consists comments (# in front of each line)//\\
- 
- 
  
 ==== Solution ==== ==== Solution ====
  
 Install fix. Install fix.
- 
- 
  
 ==== Download ==== ==== Download ====
Line 672: Line 480:
 |[[http://​www.it-connect-unix.de/​copfilter/​ipcop-v2/​dbmaker_fix.tgz|dbmaker_fix.tgz]]| ​ 2.1 KB  | |[[http://​www.it-connect-unix.de/​copfilter/​ipcop-v2/​dbmaker_fix.tgz|dbmaker_fix.tgz]]| ​ 2.1 KB  |
 |**MD5SUM:​**| ​ F7211B3B5F98A76DEF1F2CA79A962EAB ​ | |**MD5SUM:​**| ​ F7211B3B5F98A76DEF1F2CA79A962EAB ​ |
- 
- 
  
 ==== Installation ==== ==== Installation ====
Line 682: Line 488:
 </​code>​ </​code>​
  
-//After installing this fix, you have to disable the blacklist and afterwards activate it again.//\\+//After installing this fix, you have to disable the blacklist and afterwards activate it again.//
 \\ \\
  
-===== ===== +{{ :images:line.png?nolink |}}
-[[http://​www.copfilter.org/​wiki/​doku.php?​id=en:​v2_-_bugfixes#​dokuwiki__top|{{:images:backtotop.png}}]] +
- +
-===== ===== +
- +
- +
-\\+
  
 {{anchor:​bugfixes_2091beta4:​}} {{anchor:​bugfixes_2091beta4:​}}
Line 700: Line 500:
 Typos in '/​var/​spool/​cron/​**root.orig**',​ '/​home/​httpd/​cgi-bin/​**copfilter_testlog.cgi**'​ and '/​etc/​logrotate.d/​**3rdpsigs**'​. Typos in '/​var/​spool/​cron/​**root.orig**',​ '/​home/​httpd/​cgi-bin/​**copfilter_testlog.cgi**'​ and '/​etc/​logrotate.d/​**3rdpsigs**'​.
  
-This leads to empty (or growing) logs, logs that cannot be accessed from the [[en:​copfilter-basics_-_features_and_first_setup#​tests_logs|Test & Logs]] page and URLFilter-Blacklist updating one hour late. +This leads to empty (or growing) logs, logs that cannot be accessed from the [[:en:​copfilter-basics_-_features_and_first_setup#​tests_logs|Test & Logs]] page and URLFilter-Blacklist updating one hour late.
- +
  
 ==== Solution ==== ==== Solution ====
Line 709: Line 507:
 '/​var/​spool/​cron/​**root.orig**'​ '/​var/​spool/​cron/​**root.orig**'​
  
- 
-\\ 
 **Replace**:​ **Replace**:​
 <​code>​ <​code>​
Line 721: Line 517:
 </​code>​ </​code>​
  
- 
-\\ 
 Afterwards, enter the following command on the console: ​ Afterwards, enter the following command on the console: ​
 <​code>​ <​code>​
Line 728: Line 522:
 </​code>​ </​code>​
  
- 
- 
-\\ 
 **2.** - **Edit:**\\ **2.** - **Edit:**\\
 '/​home/​httpd/​cgi-bin/​**copfilter_testlog.cgi**'​ '/​home/​httpd/​cgi-bin/​**copfilter_testlog.cgi**'​
  
- 
-\\ 
 **Replace**:​ (Line ~443) **Replace**:​ (Line ~443)
 <​code>​ <​code>​
Line 746: Line 535:
 </​code>​ </​code>​
  
- 
- 
-\\ 
 **3.** - **Edit:**\\ **3.** - **Edit:**\\
 '/​etc/​logrotate.d/​**3rdpsigs**'​ '/​etc/​logrotate.d/​**3rdpsigs**'​
  
- 
-\\ 
 **Replace:​** (Line 1) **Replace:​** (Line 1)
 <​code>​ <​code>​
Line 764: Line 548:
 </​code>​ </​code>​
  
- 
- 
-\\ 
 **4.** - **Edit:**\\ **4.** - **Edit:**\\
 '/​usr/​local/​bin/​**copfilter_cron**'​ '/​usr/​local/​bin/​**copfilter_cron**'​
  
- 
-\\ 
 **Replace:​** (Line 118) **Replace:​** (Line 118)
 <​code>​ <​code>​
Line 781: Line 560:
 if [ $(cat $BASEDIR/​etc/​icap_counter) -gt 5 ]; then if [ $(cat $BASEDIR/​etc/​icap_counter) -gt 5 ]; then
 </​code>​ </​code>​
-\\ 
  
-====== ======+{{ :​images:​line.png?​nolink |}} 
 + 
 +===== 15. Error message during IPCop-Start:​ "stty: standard input: Inappropriate ioctl for device" ​===== 
 + 
 +**Initiated by:** [url]http://​www.copfilter.org/​forum/​viewtopic.php?​p=3452#​p3452[/​url] 
 + 
 +{{ :​images:​line.png?​nolink |}} 
 + 
 +==== Problem ==== 
 + 
 +//Booting the IPCop ends with messages that I don't understand://​ 
 + 
 +//Starting interface RED...stty: standard input: Inappropriate ioctl for device//​\\ 
 +//stty: standard input: Inappropriate ioctl for device//​\\ 
 +//stty: standard input: Inappropriate ioctl for device//​\\ 
 +//stty: standard input: Inappropriate ioctl for device//​\\ 
 + 
 +{{ :​images:​line.png?​nolink |}} 
 + 
 +==== Cause ==== 
 + 
 +When IPCop backup is executed from the GUI, it saves '/​etc/​rc.d/​**rc.firewall.local**',​ '/​etc/​rc.d/​**rc.event.local**'​ and\\ '/​var/​ipcop/​main/​**menu.lst**'​ (**V2**) automatically. 
 + 
 +After reinstalling the complete IPCop and a subsequent restore and reinstallation of Copfilter these files can contain duplicated Copfilter entries which can lead to these error messages. 
 + 
 +{{ :​images:​line.png?​nolink |}} 
 + 
 +==== Solution ==== 
 + 
 +**Edit**:​\\ 
 + 
 +'/​var/​ipcop/​backup/​**exclude.system**'​ 
 + 
 +**If they don't exist, add the following lines:​**\\ 
 + 
 +<code - copfilter_exclude.system>#​ Copfilter exceptions start - do not modify 
 +/​etc/​rc.d/​rc.copfilter 
 +/​etc/​rc.d/​rc.event.local 
 +/​etc/​rc.d/​rc.firewall.local 
 +/​var/​ipcop/​main/​menu.lst 
 +/​var/​log/​copfilter 
 +# Copfilter exceptions end - do not modify</​code>​ 
 + 
 +Furthermore,​ the current '/​etc/​rc.d/​**rc.event.local**'​ and '/​etc/​rc.d/​**rc.firewall.local**'​ should be checked for duplicate or incorrect Copfilter entries.
  
 +This is especially true when updating an older Copfilter-version (for example **2.0.90**)!
  
 +{{ :​images:​line.png?​nolink |}}
  
 <style background-lwhite center> <style background-lwhite center>
en/v2_-_bugfixes.1384007002.txt.gz · Last modified: 2013/11/10 20:52 (external edit)