User Tools

Site Tools


en:tips_and_tricks

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:tips_and_tricks [2013/11/13 20:41]
fischerm
en:tips_and_tricks [2016/12/04 13:01] (current)
fischerm
Line 6: Line 6:
 </​style>​ </​style>​
  
-{{ :​images:​line.png?​nolink |}}+{{ :​images:​line.png?​620x3&nolink |}}
 \\ \\
  
Line 17: Line 17:
   * ** The main purpose of this part is to collect and describe several //__Tips and Tricks__// regarding - __**not only**__ - the Copfilter-Addon but IPCop in general**.   * ** The main purpose of this part is to collect and describe several //__Tips and Tricks__// regarding - __**not only**__ - the Copfilter-Addon but IPCop in general**.
  
-  * I won't repeat the usual __safety precautions and notes__ from [[en:​modifications_and_extensions|Part 4]] at this point, but of course they'​re still have validity!+  * I won't repeat the usual __safety precautions and notes__ from [[:en:​modifications_and_extensions|Part 4]] at this point, but of course they'​re still have validity!
  
 [size=15]**[color=red]Please note:​[/​color]**[/​size]\\ [size=15]**[color=red]Please note:​[/​color]**[/​size]\\
Line 28: Line 28:
   * **[color=red]Who or what is a "​Vi",​ where does it live, what does it eat ..?​[/​color]** :-)\\ \\ Quick-Reference-Card for '​Vi':​ [url]http://​st23.org/​misc/​sysadmin//​downloads/​referenzkarte-vi.pdf[/​url]   * **[color=red]Who or what is a "​Vi",​ where does it live, what does it eat ..?​[/​color]** :-)\\ \\ Quick-Reference-Card for '​Vi':​ [url]http://​st23.org/​misc/​sysadmin//​downloads/​referenzkarte-vi.pdf[/​url]
  
-{{ :​images:​line.png?​nolink |}}+{{ :​images:​line.png?​620x3&nolink |}}
  
 {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}} {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}}
Line 35: Line 35:
 **See:** [url]http://​www.ipcop-forum.de/​forum/​viewtopic.php?​t=11690[/​url]\\ **See:** [url]http://​www.ipcop-forum.de/​forum/​viewtopic.php?​t=11690[/​url]\\
  
-<note>+<WRAP center round info 60%> 
 [size=15][color=red]**__IPCop 1.4.x ONLY:​__**[/​color][/​size] [size=15][color=red]**__IPCop 1.4.x ONLY:​__**[/​color][/​size]
  
 :!: In IPCop 1.9.x/2.x [color=red]**(V2)**[/​color] this feature is already installed. :!: In IPCop 1.9.x/2.x [color=red]**(V2)**[/​color] this feature is already installed.
-</note>+ 
 +</WRAP>
  
 ==== Description ==== ==== Description ====
Line 137: Line 139:
 http://​www.copfilter.org</​code>​ http://​www.copfilter.org</​code>​
  
-<note tip>'​setup_util'​ is particularly important during an [[en:​update-installation#​installation|update installation]],​ or the installation of an additional virus scanner, such as\\ [[en:​component_updates#​f-prot|F-Prot]].</​note>​+<note tip>'​setup_util'​ is particularly important during an [[:en:​update-installation#​installation|update installation]],​ or the installation of an additional virus scanner, such as\\ [[:en:​component_updates#​f-prot|F-Prot]].</​note>​
  
 {{ :​images:​line.png?​nolink |}} {{ :​images:​line.png?​nolink |}}
  
-===== 4. 'Monit' does not start due to incorrect file permissions of '​monit.rc'​ =====+===== 4. 'monit' does not start due to incorrect file permissions of '​monit.rc'​ =====
  
 **See also:**\\ **See also:**\\
Line 172: Line 174:
 ==== Solution ==== ==== Solution ====
  
-Log in on the console as '​root'​ using a suitable client (ssh, [[en:​tools#​putty|PuTTY]],​ ...) and initiate the following commands:+Log in on the console as '​root'​ using a suitable client (ssh, [[:en:​tools#​putty|PuTTY]],​ ...) and initiate the following commands:
  
 <​code>​cd /​var/​log/​copfilter/​default/​opt/​monit/​etc</​code>​ <​code>​cd /​var/​log/​copfilter/​default/​opt/​monit/​etc</​code>​
Line 188: Line 190:
 <​note>​ <​note>​
 [size=15]**[color=red]Please note:​[/​color]**[/​size] [size=15]**[color=red]Please note:​[/​color]**[/​size]
-  * This mod is already included in [[en:​modifications_and_extensions#​rd_party_signatures|3rd Party Signatures]] since version **0.55.0**. Notification is switched ON/OFF via [[en:​modifications_and_extensions#​screenshots|Email GUI]].+  * This mod is already included in [[:en:​modifications_and_extensions#​rd_party_signatures|3rd Party Signatures]] since version **0.55.0**. Notification is switched ON/OFF via [[:en:​modifications_and_extensions#​screenshots|Email GUI]].
   * **Don'​t use** this mod if you use a newer version!   * **Don'​t use** this mod if you use a newer version!
 </​note>​ </​note>​
Line 214: Line 216:
 ==== Installation ==== ==== Installation ====
  
-**Installation proceeds as described in [[en:​copfilter_-_installation_and_update#​the_installation_of_the_software_archives|The installation of the software archives]]:​**\\ +**Installation proceeds as described in [[:en:​copfilter_-_installation_and_update#​the_installation_of_the_software_archives|The installation of the software archives]]:​**\\ 
-  - [[en:​copfilter_-_installation_and_update#​login|Login]] +  - [[:en:​copfilter_-_installation_and_update#​login|Login]] 
-  - [[en:​copfilter_-_installation_and_update#​download|Download]] +  - [[:en:​copfilter_-_installation_and_update#​download|Download]] 
-  - [[en:​copfilter_-_installation_and_update#​check_md5_sum|Check MD5 sum]] +  - [[:en:​copfilter_-_installation_and_update#​check_md5_sum|Check MD5 sum]] 
-  - [[en:​copfilter_-_installation_and_update#​extract_the_installation_archive|Extract the installation archive]] +  - [[:en:​copfilter_-_installation_and_update#​extract_the_installation_archive|Extract the installation archive]] 
-  - [[en:​copfilter_-_installation_and_update#​change_to_installation_directory|Change to installation directory]] +  - [[:en:​copfilter_-_installation_and_update#​change_to_installation_directory|Change to installation directory]] 
-  - [[en:​copfilter_-_installation_and_update#​starting_the_installation|Starting the installation]] +  - [[:en:​copfilter_-_installation_and_update#​starting_the_installation|Starting the installation]] 
-  - [[en:​copfilter_-_installation_and_update#​installation_ok|Installation ok?]] +  - [[:en:​copfilter_-_installation_and_update#​installation_ok|Installation ok?]] 
-  - [[en:​copfilter_-_installation_and_update#​deleting_the_installation_directories_optional|Deleting the installation directories (optional)]]+  - [[:en:​copfilter_-_installation_and_update#​deleting_the_installation_directories_optional|Deleting the installation directories (optional)]]
  
 {{ :​images:​line.png?​nolink |}} {{ :​images:​line.png?​nolink |}}
Line 255: Line 257:
  
 <note important>​ <note important>​
-The following method applies to IPCop **V1** (1.4.xx) **ONLY** - in **V2** (2.x), the BOT addon was integrated by default. You only have to define administrative access to the [[en:​component_updates#​screenshot|Monit Service Manager (port 446)]].+The following method applies to IPCop **V1** (1.4.xx) **ONLY** - in **V2** (2.x), the BOT addon was integrated by default. You only have to define administrative access to the [[:en:​component_updates#​screenshot|Monit Service Manager (port 446)]].
 </​note>​ </​note>​
  
Line 306: Line 308:
 ==== Problem ==== ==== Problem ====
  
-Unfortunately,​ it happens every now and then that [[en:​component_updates#​sendemail|sendEmail]] has problems with the current service provider.+Unfortunately,​ it happens every now and then that [[:en:​component_updates#​sendemail|sendEmail]] has problems with the current service provider.
  
 ==== Solution ==== ==== Solution ====
Line 332: Line 334:
 **Check all outputs for errors!** **Check all outputs for errors!**
  
-To be sure, successively press the buttons "Send test email virus",​ "Send test e-mail SPAM" and "Send a test email" in [[en:​copfilter-basics_-_features_and_first_setup#​tests_logs|Copfilter Test & Logs]].+To be sure, successively press the buttons "Send test email virus",​ "Send test e-mail SPAM" and "Send a test email" in [[:en:​copfilter-basics_-_features_and_first_setup#​tests_logs|Copfilter Test & Logs]].
  
 {{  en:​images:​copfilter_testmails.png?​nolink ​ |Testmails}} {{  en:​images:​copfilter_testmails.png?​nolink ​ |Testmails}}
Line 483: Line 485:
  
 **11.** The following command creates a **root**-Partition with **8** GB.\\ **11.** The following command creates a **root**-Partition with **8** GB.\\
-Ignore **//​Warning:​ The resulting partition is not properly aligned for best performance. Ignore/​Cancel?//​**). +<​code>​mkpart primary ext2 2048s 8191</​code>​
-<​code>​mkpart primary ext2 64k 8192</​code>​+
 **[ENTER]** **[ENTER]**
  
 **12.** Next, a second partition must be created for **var** - the following command uses the entire remaining disk space: **12.** Next, a second partition must be created for **var** - the following command uses the entire remaining disk space:
-<​code>​mkpart primary ext2 8193 100%</​code>​+<​code>​mkpart primary ext2 8192 100%</​code>​
 **[ENTER]** **[ENTER]**
  
Line 551: Line 552:
 ==== Environment ==== ==== Environment ====
  
-This optimization was performed on a IPCop 1.4.21, using current [[en:​component_updates#​havp|HAVP]] and [[en:​clamav-update|ClamAV]]-versions. HAVP-parameter were as follows (Copfilter **0.84beta4**,​ ClamAV running in library-mode):​+This optimization was performed on a IPCop 1.4.21, using current [[:en:​component_updates#​havp|HAVP]] and [[:en:​clamav-update|ClamAV]]-versions. HAVP-parameter were as follows (Copfilter **0.84beta4**,​ ClamAV running in library-mode):​
  
 ^Option^Value^Unit^ ^Option^Value^Unit^
Line 566: Line 567:
 |CLAMMAXFILESIZE| ​ 25  |MB| |CLAMMAXFILESIZE| ​ 25  |MB|
 |CLAMMAXRECURSION| ​ 16  |Number| |CLAMMAXRECURSION| ​ 16  |Number|
 +\\
  
 +<WRAP center round important 95%>
 [size=15]**[color=red]Please note:​[/​color]**[/​size] [size=15]**[color=red]Please note:​[/​color]**[/​size]
  
Line 572: Line 575:
  
   * In IPCop-versions 1.9.x/2.x [color=red]**(V2)**[/​color],​ kernel modul for Ramdisk has been removed.\\   * In IPCop-versions 1.9.x/2.x [color=red]**(V2)**[/​color],​ kernel modul for Ramdisk has been removed.\\
-  * [url=de:​grund-installation#​download]Copfilter-Version 2.0.x (IPCop 1.9.x/​2.x)[/​url] therefore uses [[http://​de.wikipedia.org/​wiki/​Tmpfs|TMPFS]] - this option can be switched ON/OFF using //**Enable HAVP Scanner to run in Memory**// via HAVP-GUI:+  * [url=de:​grund-installation#​download]Copfilter-Version 2.0.x (IPCop 1.9.x/​2.x)[/​url] therefore uses [[http://​de.wikipedia.org/​wiki/​Tmpfs|TMPFS]] - this option can be switched ON/OFF using //Enable HAVP Scanner to run in Memory// via HAVP-GUI:
  
-{{en:​images:​v2_havp_tmps_switch.png?​nolink&​|TMPFS-Switch}}+{{  en:​images:​v2_havp_tmps_switch.png?​nolink& ​ |TMPFS-Switch}} 
 +</​WRAP>​ 
 +\\
  
 ==== Method ==== ==== Method ====
Line 732: Line 737:
 {{:​en:​images:​traffic_accounting.png?​nolink&​|Traffic Accounting}} {{:​en:​images:​traffic_accounting.png?​nolink&​|Traffic Accounting}}
  
-2. With the following patch for Copfilter version **2.0.90** and **2.0.91beta1** RBL checks can be disabled in [[en:​copfilter-basics_-_features_and_first_setup#​antispam|Antispam GUI]] when Razor, DCC and DNSBL are enabled:+2. With the following patch for Copfilter version **2.0.90** and **2.0.91beta1** RBL checks can be disabled in [[:en:​copfilter-basics_-_features_and_first_setup#​antispam|Antispam GUI]] when Razor, DCC and DNSBL are enabled:
  
 {{:​en:​images:​copfilter_antispam-patch_-_rbl_check.png?​nolink&​|AntiSpam-Patch}} {{:​en:​images:​copfilter_antispam-patch_-_rbl_check.png?​nolink&​|AntiSpam-Patch}}
Line 748: Line 753:
 ==== Installation ==== ==== Installation ====
  
-**Installation proceeds as described in [[en:​copfilter_-_installation_and_update#​the_installation_of_the_software_archives|The installation of the software archives]]:​**\\ +**Installation proceeds as described in [[:en:​copfilter_-_installation_and_update#​the_installation_of_the_software_archives|The installation of the software archives]]:​**\\ 
-  - [[en:​copfilter_-_installation_and_update#​login|Login]] +  - [[:en:​copfilter_-_installation_and_update#​login|Login]] 
-  - [[en:​copfilter_-_installation_and_update#​download|Download]] +  - [[:en:​copfilter_-_installation_and_update#​download|Download]] 
-  - [[en:​copfilter_-_installation_and_update#​check_md5_sum|Check MD5 sum]] +  - [[:en:​copfilter_-_installation_and_update#​check_md5_sum|Check MD5 sum]] 
-  - [[en:​copfilter_-_installation_and_update#​extract_the_installation_archive|Extract the installation archive]] +  - [[:en:​copfilter_-_installation_and_update#​extract_the_installation_archive|Extract the installation archive]] 
-  - [[en:​copfilter_-_installation_and_update#​change_to_installation_directory|Change to installation directory]] +  - [[:en:​copfilter_-_installation_and_update#​change_to_installation_directory|Change to installation directory]] 
-  - [[en:​copfilter_-_installation_and_update#​starting_the_installation|Starting the installation]] +  - [[:en:​copfilter_-_installation_and_update#​starting_the_installation|Starting the installation]] 
-  - [[en:​copfilter_-_installation_and_update#​installation_ok|Installation ok?]] +  - [[:en:​copfilter_-_installation_and_update#​installation_ok|Installation ok?]] 
-  - [[en:​copfilter_-_installation_and_update#​deleting_the_installation_directories_optional|Deleting the installation directories (optional)]]+  - [[:en:​copfilter_-_installation_and_update#​deleting_the_installation_directories_optional|Deleting the installation directories (optional)]]
  
 {{ :​images:​line.png?​nolink |}} {{ :​images:​line.png?​nolink |}}
Line 785: Line 790:
 ==== Solution ==== ==== Solution ====
  
-Log in on the console as '​root'​ using a suitable client (ssh, [[en:​tools#​putty|PuTTY]],​ ...) and initiate the following commands:\\+Log in on the console as '​root'​ using a suitable client (ssh, [[:en:​tools#​putty|PuTTY]],​ ...) and initiate the following commands:\\
 (The code paragraphs contain __always a single command line__, the bold formatted words in angular clips in between are standing for the corresponding __keystrokes__.)\\ (The code paragraphs contain __always a single command line__, the bold formatted words in angular clips in between are standing for the corresponding __keystrokes__.)\\
 [code]cd /tmp [/​code]**[ENTER]** [code]cd /tmp [/​code]**[ENTER]**
Line 869: Line 874:
 http_access deny ipacl</​code>​ http_access deny ipacl</​code>​
 \\ \\
-An overview of the Squid access list options can be found here: [url]http://​wiki.squid-cache.org/​SquidFaq/​SquidAcl[/​url]+An overview of the Squid access list options can be found here:\\ 
 +[url]http://​wiki.squid-cache.org/​SquidFaq/​SquidAcl[/​url]
  
 {{ :​images:​line.png?​nolink |}} {{ :​images:​line.png?​nolink |}}
en/tips_and_tricks.1384371715.txt.gz · Last modified: 2013/11/13 20:41 by fischerm