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/10 20:32]
fischerm [Part 6 - Tips and Tricks]
en:tips_and_tricks [2016/12/04 13:01] (current)
fischerm
Line 6: Line 6:
 </​style>​ </​style>​
  
 +{{ :​images:​line.png?​620x3&​nolink |}}
 \\ \\
-\\+
 ====== Part 6 - Tips and Tricks ====== ====== Part 6 - Tips and Tricks ======
  
Line 16: 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 26: Line 27:
   * **[color=red]What'​s that thing called RESTORE?​[/​color]**   * **[color=red]What'​s that thing called RESTORE?​[/​color]**
   * **[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?​620x3&​nolink |}}
  
 {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}} {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}}
Line 33: 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 57: Line 61:
 fi</​code>​ fi</​code>​
  
-After a reboot (or manually executing **/​etc/​rc.d/​rc.local**) IPCop will now perform a clean "​shutdown"​ and power off the machine by simply pressing a button.\\+After a reboot (or manually executing **/​etc/​rc.d/​rc.local**) IPCop will now perform a clean "​shutdown"​ and power off the machine by simply pressing a button.
 \\ \\
 +
 +{{ :​images:​line.png?​nolink |}}
  
 {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}} {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}}
Line 95: Line 101:
  
 {{en:​images:​menue_tuning.png?​nolink|Menu-Tuning}} {{en:​images:​menue_tuning.png?​nolink|Menu-Tuning}}
-\\+ 
 +{{ :​images:​line.png?​nolink |}} 
 ===== 3. Options in '​setup_util'​ ===== ===== 3. Options in '​setup_util'​ =====
  
Line 131: 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 |}}
  
-===== 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 165: 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 172: Line 181:
  
 Problem should be solved... Problem should be solved...
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 5. Turn off E-Mail notifications ===== ===== 5. Turn off E-Mail notifications =====
Line 180: 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 206: 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 |}}
  
 ===== 6. '​crontab'​ prevents Copfilter-Installation ===== ===== 6. '​crontab'​ prevents Copfilter-Installation =====
Line 237: Line 248:
  
 <​code>​rm /​etc/​crontab</​code>​ <​code>​rm /​etc/​crontab</​code>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}} {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}}
Line 245: 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 289: Line 301:
 If you're still not sure, use [[http://​www.blockouttraffic.de/​faq.php#​FAQ_11|BOT FAQ No.11]]. If you're still not sure, use [[http://​www.blockouttraffic.de/​faq.php#​FAQ_11|BOT FAQ No.11]].
 </​note>​ </​note>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 ===== 8. Testing sendEmail ===== ===== 8. Testing sendEmail =====
Line 295: 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 321: 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 401: Line 414:
 For testing, just copy the desired '​sendEmail'​-[version] to '​sendEmail':​ For testing, just copy the desired '​sendEmail'​-[version] to '​sendEmail':​
 <​code>​cp sendEmail-1.54 sendEmail</​code>​By overwriting the destination file you can immediately start a new testrun. <​code>​cp sendEmail-1.54 sendEmail</​code>​By overwriting the destination file you can immediately start a new testrun.
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 {{ :​images:​copfilter_v2_logo1.png?​nolink&​90|V2-Logo}} {{ :​images:​copfilter_v2_logo1.png?​nolink&​90|V2-Logo}}
Line 471: 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 511: Line 524:
  
 <​note>​**The ISO files, which are available at the above URL for downloading are __no official IPCop versions__!**</​note>​ <​note>​**The ISO files, which are available at the above URL for downloading are __no official IPCop versions__!**</​note>​
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}} {{ :​images:​copfilter_v1_logo1.png?​nolink&​90|V1-Logo}}
Line 538: 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 553: 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 559: 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 677: Line 695:
  
 {{  :​images:​v1_havp_ramdisk_neustart.png?​nolink& ​ |HAVP Restart}} {{  :​images:​v1_havp_ramdisk_neustart.png?​nolink& ​ |HAVP Restart}}
-\\+ 
 +{{ :​images:​line.png?​nolink |}}
  
 {{ :​images:​copfilter_v2_logo1.png?​nolink&​90|V2-Logo}} {{ :​images:​copfilter_v2_logo1.png?​nolink&​90|V2-Logo}}
Line 718: 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 734: 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 |}}
  
 ===== 12. HAVP - Authentification-Problem ===== ===== 12. HAVP - Authentification-Problem =====
Line 770: 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 854: 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 |}}
  
 <style background-lwhite center> <style background-lwhite center>
en/tips_and_tricks.1384111923.txt.gz · Last modified: 2013/11/10 20:32 by fischerm