<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3373553234269467475</id><updated>2024-09-19T23:21:10.272+06:00</updated><title type='text'>Linux A-Z</title><subtitle type='html'>Linux Administrator</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>61</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-7992715086512244272</id><published>2012-03-16T15:10:00.001+06:00</published><updated>2012-03-16T15:10:19.752+06:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h2 class=&quot;title&quot; style=&quot;background-color: #f0f0f0; border-bottom-color: rgb(204, 0, 51); border-bottom-style: solid; border-bottom-width: 1px; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; font-size: 18px; margin-left: -20px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&amp;nbsp; SNMP and MRTG on Sarge quick start&lt;/h2&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
There appear to be no uncomplicated introductions to the subject of traffic monitoring on the internet anywhere. So here is one. The objective is to get traffic graphs for the primary interface on your server, workstation or firewall quickly and efficiently.&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
The system is fairly simple and consists of these parts:&lt;/div&gt;
&lt;ol style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
&lt;li&gt;The SNMP server. This allows access via the SNMP protocol to the system&#39;s network interface statistics and other data.&lt;/li&gt;
&lt;li&gt;The MRTG (Multi router traffic grapher). This is a large Perl script which polls the SNMP server and accumulates information about network usage. This runs periodically from cron and generates graphs at defined intervals&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
Please note that you can collect and graph anything with these - they are not limited to network statistics. Not only that, you can manage many aspects of your server with SNMP.&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
Please make sure you have apache or apache2 installed for this to work.&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;SNMP server configuration&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
Firstly, you need an SNMP server to provide network interface statstics on demand:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;# apt-get install snmpd&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
You need to edit the configuration for this as it does not allow any connections by default. With your favourite editor, edit:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;/etc/snmp/snmpd.conf&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
Comment out the following (prefix with #):&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;com2sec paranoid default public&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
Insert the following underneath the commented out section:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;com2sec readonly default public&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
That gives anyone with access to the SNMP server read-only access to the public community. This is the one that contains the interface statistics.&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
To apply the changes, restart snmpd:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;/etc/init.d/snmpd restart&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
Make sure you firewall off any SNMP related ports so that you don&#39;t get any unwanted visitors (check netstat and /etc/services for port information).&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;Installation of MRTG&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
MRTG is the main collection and graphing component of the traffic monitoring solution I am presenting here. Firstly, install MRTG:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;# apt-get install mrtg&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
You can manually or automatically generate the configuration file for mrtg. I would recommend doing it automatically as it is a lot easier. Issue the following command:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;# cfgmaker --global &#39;WorkDir: /var/www/mrtg&#39; \
    --output /etc/mrtg.cfg public@127.0.0.1&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
This will generate the configuration file. You then need to make an index file which contains a list of all of your interfaces. Issue the following command:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;# indexmaker /etc/mrtg.cfg --columns=1 \
    --output /var/www/mrtg/index.html&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
You will now need to execute mrtg manually 3 times to create the required database files. Issue the following command 3 times sequentially. On the third run, you should see no errors being reported:&lt;/div&gt;
&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-color: #f0f0f0; background-image: initial; background-origin: initial; border-bottom-style: solid; border-bottom-width: thin; border-color: initial; border-image: initial; border-left-style: solid; border-left-width: thin; border-right-style: solid; border-right-width: thin; border-top-style: solid; border-top-width: thin; border-width: initial; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 10px; padding-right: 10px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;# mrtg&lt;/pre&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
This is executed every 5 minutes by cron. The cron job was added by dpkg for you so you do not have to configure it.&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
&lt;b&gt;Conclusion&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
Finally, inspect your results! You will not see any reasonable graphs for quite some time so sit back end relax for a bit!&lt;/div&gt;
&lt;div style=&quot;background-color: #f0f0f0; font-family: Georgia, &#39;Hoefler Text&#39;, &#39;DejaVu Serif&#39;, &#39;Bistream Vera Serif&#39;, &#39;Lucida Bright&#39;, serif; text-align: -webkit-auto;&quot;&gt;
Browse to&amp;nbsp;&lt;a href=&quot;http://your-server-name/mrtg/%3C/p%3E&quot; rel=&quot;nofollow&quot; style=&quot;color: #cc0033; text-decoration: none;&quot;&gt;http://your-server-name/mrtg/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/7992715086512244272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/03/snmp-and-mrtg-on-sarge-quick-start.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/7992715086512244272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/7992715086512244272'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/03/snmp-and-mrtg-on-sarge-quick-start.html' title=''/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-630535135082906077</id><published>2012-01-01T16:52:00.003+06:00</published><updated>2012-01-01T16:52:34.740+06:00</updated><title type='text'>Setting Up Unison File Synchronization Between Two Servers On Debian Squeeze</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
This tutorial shows how to set up file synchronization between two Debian Squeeze servers with&amp;nbsp;&lt;a href=&quot;http://www.cis.upenn.edu/~bcpierce/unison/&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;Unison&lt;/a&gt;. Unison is a file-synchronization tool similar to rsync, but the big difference is that it tracks/synchronizes changes in both directions, i.e., files changed on server1 will be replicated to server2 and vice versa.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
I do not issue any guarantee that this will work for you!&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
1 Preliminary Note&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
In this tutorial I use the following two Debian Squeeze servers:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server1.example.com&lt;/span&gt;&amp;nbsp;with the IP address&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;192.168.0.100&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server2.example.com&lt;/span&gt;&amp;nbsp;with the IP address&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;192.168.0.101&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
I want to synchronize the directory&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/var/www&lt;/span&gt;&amp;nbsp;between the two servers. I will run Unison as the root user in this tutorial so that Unison has sufficient permissions to synchronize user and group permissions.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
2 Installing Unison&lt;/h3&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: white; color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; text-decoration: underline;&quot;&gt;
server1/server2:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Unison has to be installed on&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server1&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server2&lt;/span&gt;; since we connect from&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server1&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server2&lt;/span&gt;&amp;nbsp;using SSH, we also need the SSH packages. This can be achieved as follows:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
apt-get install unison openssh-server ssh&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
3 Creating A Private/Public Key Pair On server1&lt;/h3&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: white; color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; text-decoration: underline;&quot;&gt;
server1:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Now we create a private/public key pair on&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server1.example.com&lt;/span&gt;:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
ssh-keygen -t dsa&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;root@server1:~#&amp;nbsp;ssh-keygen&amp;nbsp;-t&amp;nbsp;dsa&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Generating&amp;nbsp;public/private&amp;nbsp;dsa&amp;nbsp;key&amp;nbsp;pair.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Enter&amp;nbsp;file&amp;nbsp;in&amp;nbsp;which&amp;nbsp;to&amp;nbsp;save&amp;nbsp;the&amp;nbsp;key&amp;nbsp;(/root/.ssh/id_dsa):&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;highlight&quot; style=&quot;color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline;&quot;&gt;&amp;lt;--&amp;nbsp;ENTER&lt;/span&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Created&amp;nbsp;directory&amp;nbsp;&#39;/root/.ssh&#39;.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Enter&amp;nbsp;passphrase&amp;nbsp;(empty&amp;nbsp;for&amp;nbsp;no&amp;nbsp;passphrase):&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;highlight&quot; style=&quot;color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline;&quot;&gt;&amp;lt;--&amp;nbsp;ENTER&lt;/span&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Enter&amp;nbsp;same&amp;nbsp;passphrase&amp;nbsp;again:&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;highlight&quot; style=&quot;color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline;&quot;&gt;&amp;lt;--&amp;nbsp;ENTER&lt;/span&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Your&amp;nbsp;identification&amp;nbsp;has&amp;nbsp;been&amp;nbsp;saved&amp;nbsp;in&amp;nbsp;/root/.ssh/id_dsa.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Your&amp;nbsp;public&amp;nbsp;key&amp;nbsp;has&amp;nbsp;been&amp;nbsp;saved&amp;nbsp;in&amp;nbsp;/root/.ssh/id_dsa.pub.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;The&amp;nbsp;key&amp;nbsp;fingerprint&amp;nbsp;is:&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;1b:95:bc:4a:f4:9f:d8:ea:24:31:0f:c9:72:d5:a7:80&amp;nbsp;root@server1.example.com&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;The&amp;nbsp;key&#39;s&amp;nbsp;randomart&amp;nbsp;image&amp;nbsp;is:&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;+--[&amp;nbsp;DSA&amp;nbsp;1024]----+&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;o&amp;nbsp;o&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;E&amp;nbsp;*&amp;nbsp;.&amp;nbsp;.&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;o&amp;nbsp;=&amp;nbsp;o&amp;nbsp;o&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.&amp;nbsp;S&amp;nbsp;o&amp;nbsp;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;+&amp;nbsp;O&amp;nbsp;+&amp;nbsp;.&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;+&amp;nbsp;+&amp;nbsp;+&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;o&amp;nbsp;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.o&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;|&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;+-----------------+&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;root@server1:~#&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
It is important that you do not enter a passphrase otherwise the mirroring will not work without human interaction so simply hit&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;ENTER&lt;/span&gt;!&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Next, we copy our public key to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server2.example.com&lt;/span&gt;:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
ssh-copy-id -i $HOME/.ssh/id_dsa.pub root@192.168.0.101&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;root@server1:~#&amp;nbsp;ssh-copy-id&amp;nbsp;-i&amp;nbsp;$HOME/.ssh/id_dsa.pub&amp;nbsp;root@192.168.0.101&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;The&amp;nbsp;authenticity&amp;nbsp;of&amp;nbsp;host&amp;nbsp;&#39;192.168.0.101&amp;nbsp;(192.168.0.101)&#39;&amp;nbsp;can&#39;t&amp;nbsp;be&amp;nbsp;established.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;RSA&amp;nbsp;key&amp;nbsp;fingerprint&amp;nbsp;is&amp;nbsp;25:d8:7a:ee:c2:4b:1d:92:a7:3d:16:26:95:56:62:4e.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Are&amp;nbsp;you&amp;nbsp;sure&amp;nbsp;you&amp;nbsp;want&amp;nbsp;to&amp;nbsp;continue&amp;nbsp;connecting&amp;nbsp;(yes/no)?&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;highlight&quot; style=&quot;color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline;&quot;&gt;&amp;lt;--&amp;nbsp;yes (you will see this only if this is the first time you connect to server2)&lt;/span&gt;&amp;nbsp;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Warning:&amp;nbsp;Permanently&amp;nbsp;added&amp;nbsp;&#39;192.168.0.101&#39;&amp;nbsp;(RSA)&amp;nbsp;to&amp;nbsp;the&amp;nbsp;list&amp;nbsp;of&amp;nbsp;known&amp;nbsp;hosts.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;root@192.168.0.101&#39;s&amp;nbsp;password:&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;highlight&quot; style=&quot;color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline;&quot;&gt;&amp;lt;--&amp;nbsp;server2&amp;nbsp;root&amp;nbsp;password&lt;/span&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Now&amp;nbsp;try&amp;nbsp;logging&amp;nbsp;into&amp;nbsp;the&amp;nbsp;machine,&amp;nbsp;with&amp;nbsp;&quot;ssh&amp;nbsp;&#39;root@192.168.0.101&#39;&quot;,&amp;nbsp;and&amp;nbsp;check&amp;nbsp;in:&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&amp;nbsp;&amp;nbsp;.ssh/authorized_keys&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;to&amp;nbsp;make&amp;nbsp;sure&amp;nbsp;we&amp;nbsp;haven&#39;t&amp;nbsp;added&amp;nbsp;extra&amp;nbsp;keys&amp;nbsp;that&amp;nbsp;you&amp;nbsp;weren&#39;t&amp;nbsp;expecting.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;root@server1:~#&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Now check on&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server2&lt;/span&gt;&amp;nbsp;if&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server1&lt;/span&gt;&#39;s public key has correctly been transferred:&lt;/div&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: white; color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; text-decoration: underline;&quot;&gt;
server2:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
cat $HOME/.ssh/authorized_keys&lt;/div&gt;
&lt;table align=&quot;center&quot; bgcolor=&quot;#CCCCCC&quot; border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;&quot; style=&quot;background-color: white; border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-image: initial; border-left-color: rgb(255, 255, 255); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(255, 255, 255); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 1px; color: black; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;tbody style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;tr style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td class=&quot;&quot; style=&quot;font-size: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;background-color: #efefef; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; font-size: 16px; height: 250px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 500px;&quot;&gt;ssh-dss AAAAB3NzaC1kc3MAAACBAPhiAexgEBexnw0rFG8lXwAuIsca/V+lhmv5lhF3BqUfAbL7e2sWlQlGhxZ8I2UnzZK8Ypffq6Ks+lp46yOs7MMXLqb7JBP9gkgqxyEWqOoUSt5hTE9ghupcCvE7rRMhefY5shLUnRkVH6hnCWe6yXSnH+Z8lHbcfp864GHkLDK1AAAAFQDddQckbfRG4C6LOQXTzRBpIiXzoQAAAIEAleevPHwi+a3fTDM2+Vm6EVqR5DkSLwDM7KVVNtFSkAY4GVCfhLFREsfuMkcBD9Bv2DrKF2Ay3OOh39269Z1rgYVk+/MFC6sYgB6apirMlHj3l4RR1g09LaM1OpRz7pc/GqIGsDt74D1ES2j0zrq5kslnX8wEWSHapPR0tziin6UAAACBAJHxgr+GKxAdWpxV5MkF+FTaKcxA2tWHJegjGFrYGU8BpzZ4VDFMiObuzBjZ+LrUs57BiwTGB/MQl9FKQEyEV4J+AgZCBxvg6n57YlVn6OEA0ukeJa29aFOcc0inEFfNhw2jAXt5LRyvuHD/C2gG78lwb6CxV02Z3sbTBdc43J6y root@server1.example.com&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
4 Running Unison&lt;/h3&gt;
&lt;div&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: white; color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; text-decoration: underline;&quot;&gt;
server1:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
We can now run Unison for the first time to synchronize the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/var/www&lt;/span&gt;&amp;nbsp;directory on both servers. On&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server1&lt;/span&gt;&amp;nbsp;run:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
unison /var/www ssh://192.168.0.101//var/www&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Output will be similar to this one - you might have to answer a few questions as this is the first time Unison is being run:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;root@server1:~#&amp;nbsp;unison&amp;nbsp;/var/www&amp;nbsp;ssh://192.168.0.101//var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Contacting&amp;nbsp;server...&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Connected&amp;nbsp;[//server1.example.com//var/www&amp;nbsp;-&amp;gt;&amp;nbsp;//server2.example.com//var/www]&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Looking&amp;nbsp;for&amp;nbsp;changes&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Warning:&amp;nbsp;No&amp;nbsp;archive&amp;nbsp;files&amp;nbsp;were&amp;nbsp;found&amp;nbsp;for&amp;nbsp;these&amp;nbsp;roots,&amp;nbsp;whose&amp;nbsp;canonical&amp;nbsp;names&amp;nbsp;are:&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//server2.example.com//var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;This&amp;nbsp;can&amp;nbsp;happen&amp;nbsp;either&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;because&amp;nbsp;this&amp;nbsp;is&amp;nbsp;the&amp;nbsp;first&amp;nbsp;time&amp;nbsp;you&amp;nbsp;have&amp;nbsp;synchronized&amp;nbsp;these&amp;nbsp;roots,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;or&amp;nbsp;because&amp;nbsp;you&amp;nbsp;have&amp;nbsp;upgraded&amp;nbsp;Unison&amp;nbsp;to&amp;nbsp;a&amp;nbsp;new&amp;nbsp;version&amp;nbsp;with&amp;nbsp;a&amp;nbsp;different&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;archive&amp;nbsp;format.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Update&amp;nbsp;detection&amp;nbsp;may&amp;nbsp;take&amp;nbsp;a&amp;nbsp;while&amp;nbsp;on&amp;nbsp;this&amp;nbsp;run&amp;nbsp;if&amp;nbsp;the&amp;nbsp;replicas&amp;nbsp;are&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;large.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Unison&amp;nbsp;will&amp;nbsp;assume&amp;nbsp;that&amp;nbsp;the&amp;nbsp;&#39;last&amp;nbsp;synchronized&amp;nbsp;state&#39;&amp;nbsp;of&amp;nbsp;both&amp;nbsp;replicas&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;was&amp;nbsp;completely&amp;nbsp;empty.&amp;nbsp;&amp;nbsp;This&amp;nbsp;means&amp;nbsp;that&amp;nbsp;any&amp;nbsp;files&amp;nbsp;that&amp;nbsp;are&amp;nbsp;different&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;will&amp;nbsp;be&amp;nbsp;reported&amp;nbsp;as&amp;nbsp;conflicts,&amp;nbsp;and&amp;nbsp;any&amp;nbsp;files&amp;nbsp;that&amp;nbsp;exist&amp;nbsp;only&amp;nbsp;on&amp;nbsp;one&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;replica&amp;nbsp;will&amp;nbsp;be&amp;nbsp;judged&amp;nbsp;as&amp;nbsp;new&amp;nbsp;and&amp;nbsp;propagated&amp;nbsp;to&amp;nbsp;the&amp;nbsp;other&amp;nbsp;replica.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;If&amp;nbsp;the&amp;nbsp;two&amp;nbsp;replicas&amp;nbsp;are&amp;nbsp;identical,&amp;nbsp;then&amp;nbsp;no&amp;nbsp;changes&amp;nbsp;will&amp;nbsp;be&amp;nbsp;reported.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;If&amp;nbsp;you&amp;nbsp;see&amp;nbsp;this&amp;nbsp;message&amp;nbsp;repeatedly,&amp;nbsp;it&amp;nbsp;may&amp;nbsp;be&amp;nbsp;because&amp;nbsp;one&amp;nbsp;of&amp;nbsp;your&amp;nbsp;machines&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;is&amp;nbsp;getting&amp;nbsp;its&amp;nbsp;address&amp;nbsp;from&amp;nbsp;DHCP,&amp;nbsp;which&amp;nbsp;is&amp;nbsp;causing&amp;nbsp;its&amp;nbsp;host&amp;nbsp;name&amp;nbsp;to&amp;nbsp;change&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;between&amp;nbsp;synchronizations.&amp;nbsp;&amp;nbsp;See&amp;nbsp;the&amp;nbsp;documentation&amp;nbsp;for&amp;nbsp;the&amp;nbsp;UNISONLOCALHOSTNAME&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;environment&amp;nbsp;variable&amp;nbsp;for&amp;nbsp;advice&amp;nbsp;on&amp;nbsp;how&amp;nbsp;to&amp;nbsp;correct&amp;nbsp;this.&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Donations&amp;nbsp;to&amp;nbsp;the&amp;nbsp;Unison&amp;nbsp;project&amp;nbsp;are&amp;nbsp;gratefully&amp;nbsp;accepted:&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;http://www.cis.upenn.edu/~bcpierce/unison&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&amp;nbsp;&amp;nbsp;Waiting&amp;nbsp;for&amp;nbsp;changes&amp;nbsp;from&amp;nbsp;server|&amp;nbsp;webalizer&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Reconciling&amp;nbsp;changes&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;local&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;server2.e...&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;dir&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;----&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;apps&amp;nbsp;&amp;nbsp;[f]&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;file&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;----&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;index.html&amp;nbsp;&amp;nbsp;[f]&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;link&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;----&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ispconfig&amp;nbsp;&amp;nbsp;[f]&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;dir&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;----&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;php-fcgi-scripts/apps&amp;nbsp;&amp;nbsp;[f]&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;dir&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;----&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;webalizer&amp;nbsp;&amp;nbsp;[f]&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;link&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;----&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;webmail&amp;nbsp;&amp;nbsp;[f]&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Proceed&amp;nbsp;with&amp;nbsp;propagating&amp;nbsp;updates?&amp;nbsp;[]&lt;/span&gt;&amp;nbsp;&lt;span class=&quot;highlight&quot; style=&quot;color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: underline;&quot;&gt;&amp;lt;--&amp;nbsp;y&lt;/span&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Propagating&amp;nbsp;updates&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;UNISON&amp;nbsp;2.32.52&amp;nbsp;started&amp;nbsp;propagating&amp;nbsp;changes&amp;nbsp;at&amp;nbsp;14:25:02&amp;nbsp;on&amp;nbsp;26&amp;nbsp;Jul&amp;nbsp;2011&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[BGN]&amp;nbsp;Copying&amp;nbsp;apps&amp;nbsp;from&amp;nbsp;/var/www&amp;nbsp;to&amp;nbsp;//server2.example.com//var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[BGN]&amp;nbsp;Copying&amp;nbsp;index.html&amp;nbsp;from&amp;nbsp;/var/www&amp;nbsp;to&amp;nbsp;//server2.example.com//var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[BGN]&amp;nbsp;Copying&amp;nbsp;ispconfig&amp;nbsp;from&amp;nbsp;/var/www&amp;nbsp;to&amp;nbsp;//server2.example.com//var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[BGN]&amp;nbsp;Copying&amp;nbsp;php-fcgi-scripts/apps&amp;nbsp;from&amp;nbsp;/var/www&amp;nbsp;to&amp;nbsp;//server2.example.com//var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[BGN]&amp;nbsp;Copying&amp;nbsp;webalizer&amp;nbsp;from&amp;nbsp;/var/www&amp;nbsp;to&amp;nbsp;//server2.example.com//var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[BGN]&amp;nbsp;Copying&amp;nbsp;webmail&amp;nbsp;from&amp;nbsp;/var/www&amp;nbsp;to&amp;nbsp;//server2.example.com//var/www&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[END]&amp;nbsp;Copying&amp;nbsp;ispconfig&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[END]&amp;nbsp;Copying&amp;nbsp;webmail&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[END]&amp;nbsp;Copying&amp;nbsp;apps&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[END]&amp;nbsp;Copying&amp;nbsp;webalizer&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[END]&amp;nbsp;Copying&amp;nbsp;index.html&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;[END]&amp;nbsp;Copying&amp;nbsp;php-fcgi-scripts/apps&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;UNISON&amp;nbsp;2.32.52&amp;nbsp;finished&amp;nbsp;propagating&amp;nbsp;changes&amp;nbsp;at&amp;nbsp;14:25:03&amp;nbsp;on&amp;nbsp;26&amp;nbsp;Jul&amp;nbsp;2011&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Saving&amp;nbsp;synchronizer&amp;nbsp;state&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;Synchronization&amp;nbsp;complete&amp;nbsp;at&amp;nbsp;14:25:03&amp;nbsp;&amp;nbsp;(6&amp;nbsp;items&amp;nbsp;transferred,&amp;nbsp;0&amp;nbsp;skipped,&amp;nbsp;0&amp;nbsp;failed)&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;root@server1:~#&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Check the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/var/www&lt;/span&gt;&amp;nbsp;directory on&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server1&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server2&lt;/span&gt;&amp;nbsp;now, and you should find that they are in sync now.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Of course, we don&#39;t want to run Unison interactively, therefore we can create a preferences file (&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/root/.unison/default.prf&lt;/span&gt;) that contains all settings that we otherwise would have to specify on the command line:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
vi /root/.unison/default.prf&lt;/div&gt;
&lt;table align=&quot;center&quot; bgcolor=&quot;#CCCCCC&quot; border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;&quot; style=&quot;background-color: white; border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-image: initial; border-left-color: rgb(255, 255, 255); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(255, 255, 255); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 1px; color: black; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;tbody style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;tr style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td class=&quot;&quot; style=&quot;font-size: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;background-color: #efefef; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; font-size: 16px; height: 250px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 500px;&quot;&gt;# Roots of the synchronization
root = /var/www
root = ssh://192.168.0.101//var/www

# Paths to synchronize
#path = current
#path = common
#path = .netscape/bookmarks.html

# Some regexps specifying names and paths to ignore
#ignore = Path stats    ## ignores /var/www/stats
#ignore = Path stats/*  ## ignores /var/www/stats/*
#ignore = Path */stats  ## ignores /var/www/somedir/stats, but not /var/www/a/b/c/stats
#ignore = Name *stats   ## ignores all files/directories that end with &quot;stats&quot;
#ignore = Name stats*   ## ignores all files/directories that begin with &quot;stats&quot;
#ignore = Name *.tmp    ## ignores all files with the extension .tmp

#          When set to true, this flag causes the user interface to skip
#          asking for confirmations on non-conflicting changes. (More
#          precisely, when the user interface is done setting the
#          propagation direction for one entry and is about to move to the
#          next, it will skip over all non-conflicting entries and go
#          directly to the next conflict.)
auto=true

#          When this is set to true, the user interface will ask no
#          questions at all. Non-conflicting changes will be propagated;
#          conflicts will be skipped.
batch=true

#          !When this is set to true, Unison will request an extra
#          confirmation if it appears that the entire replica has been
#          deleted, before propagating the change. If the batch flag is
#          also set, synchronization will be aborted. When the path
#          preference is used, the same confirmation will be requested for
#          top-level paths. (At the moment, this flag only affects the
#          text user interface.) See also the mountpoint preference.
confirmbigdel=true

#          When this preference is set to true, Unison will use the
#          modification time and length of a file as a `pseudo inode
#          number&#39; when scanning replicas for updates, instead of reading
#          the full contents of every file. Under Windows, this may cause
#          Unison to miss propagating an update if the modification time
#          and length of the file are both unchanged by the update.
#          However, Unison will never overwrite such an update with a
#          change from the other replica, since it always does a safe
#          check for updates just before propagating a change. Thus, it is
#          reasonable to use this switch under Windows most of the time
#          and occasionally run Unison once with fastcheck set to false,
#          if you are worried that Unison may have overlooked an update.
#          The default value of the preference is auto, which causes
#          Unison to use fast checking on Unix replicas (where it is safe)
#          and slow checking on Windows replicas. For backward
#          compatibility, yes, no, and default can be used in place of
#          true, false, and auto. See the section &quot;Fast Checking&quot; for more
#          information.
fastcheck=true

#          When this flag is set to true, the group attributes of the
#          files are synchronized. Whether the group names or the group
#          identifiers are synchronizeddepends on the preference numerids.
group=true

#          When this flag is set to true, the owner attributes of the
#          files are synchronized. Whether the owner names or the owner
#          identifiers are synchronizeddepends on the preference
#          extttnumerids.
owner=true

#          Including the preference -prefer root causes Unison always to
#          resolve conflicts in favor of root, rather than asking for
#          guidance from the user. (The syntax of root is the same as for
#          the root preference, plus the special values newer and older.)
#          This preference is overridden by the preferpartial preference.
#          This preference should be used only if you are sure you know
#          what you are doing!
prefer=newer

#          When this preference is set to true, the textual user interface
#          will print nothing at all, except in the case of errors.
#          Setting silent to true automatically sets the batch preference
#          to true.
silent=true

#          When this flag is set to true, file modification times (but not
#          directory modtimes) are propagated.
times=true&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
The comments should make the file self-explaining, except for the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;path&lt;/span&gt;&amp;nbsp;directives. If you specify no&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;path&lt;/span&gt;&amp;nbsp;directives, then the directories in the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;root&lt;/span&gt;&amp;nbsp;directives will be synchronized. If you specify&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;path&lt;/span&gt;&amp;nbsp;directives, then the paths are relative to the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;root&lt;/span&gt;&amp;nbsp;path (e.g.&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;root = /var/www&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;path = current&lt;/span&gt;&amp;nbsp;translates to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/var/www/current&lt;/span&gt;), and only these subdirectories will be synchronized, not the whole directory specified in the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;root&lt;/span&gt;&amp;nbsp;directive.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
You can find out more about the available options by taking a look at Unison&#39;s man page:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
man unison&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Now that we have put all settings in a preferences file (especially the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;root&lt;/span&gt;&amp;nbsp;(and optionally the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;path&lt;/span&gt;) directives), we can run Unison without any arguments:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
unison&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
5 Creating A Cron Job&lt;/h3&gt;
&lt;div class=&quot;highlight&quot; style=&quot;background-color: white; color: red; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto; text-decoration: underline;&quot;&gt;
server1:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
We want to automate synchronization, that is why we create a cron job for it on&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;server1.example.com&lt;/span&gt;:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
crontab -e&lt;/div&gt;
&lt;table align=&quot;center&quot; bgcolor=&quot;#CCCCCC&quot; border=&quot;1&quot; bordercolor=&quot;#000000&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;&quot; style=&quot;background-color: white; border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-bottom-width: 1px; border-collapse: collapse; border-color: initial; border-image: initial; border-left-color: rgb(255, 255, 255); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(255, 255, 255); border-right-style: solid; border-right-width: 1px; border-style: initial; border-top-color: rgb(255, 255, 255); border-top-style: solid; border-top-width: 1px; color: black; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 1em; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;tbody style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;tr style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;td class=&quot;&quot; style=&quot;font-size: 11px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 2px; padding-left: 2px; padding-right: 2px; padding-top: 2px; vertical-align: top;&quot;&gt;&lt;pre style=&quot;background-color: #efefef; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; font-size: 16px; height: 250px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 500px;&quot;&gt;*/5 * * * * /usr/bin/unison &amp;amp;&amp;gt; /dev/null&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
This would run Unison every 5 minutes; adjust it to your needs (see&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
man 5 crontab&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
). I use the full path to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;unison&lt;/span&gt;&amp;nbsp;here (&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/usr/bin/unison&lt;/span&gt;) just to go sure that cron knows where to find&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;unison&lt;/span&gt;. Your&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;unison&lt;/span&gt;&amp;nbsp;location might differ. Run&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
which unison&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
to find out where yours is.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
6 Links&lt;/h3&gt;
&lt;ul style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Unison:&amp;nbsp;&lt;a href=&quot;http://www.cis.upenn.edu/~bcpierce/unison/&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;http://www.cis.upenn.edu/~bcpierce/unison/&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Debian:&amp;nbsp;&lt;a href=&quot;http://www.debian.org/&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;http://www.debian.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/630535135082906077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/setting-up-unison-file-synchronization.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/630535135082906077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/630535135082906077'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/setting-up-unison-file-synchronization.html' title='Setting Up Unison File Synchronization Between Two Servers On Debian Squeeze'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-468705582406095113</id><published>2012-01-01T16:41:00.000+06:00</published><updated>2012-01-01T16:41:10.816+06:00</updated><title type='text'>Lan Management System (LMS) On Debian Squeeze</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
LMS (Lan Management System) is a good system for small ISPs made in Poland. Documentation for LMS GUI is available in english&amp;nbsp;&lt;a href=&quot;http://lms.org.pl/doc_en/user.html&quot; mce_real_href=&quot;http://lms.org.pl/doc_en/user.html&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_self&quot;&gt;here&lt;/a&gt;. But installation, configuration and integration with firewall or traffic shaping mechanisms could take a lot of time. Here you can try my scripts for express-installation of LMS. The scripts were tested in several companies.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
First download and install Debian Squeeze in netinstall version i386 or amd64. Install it with basic system only (no X GUI, no services except ssh). Choose&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;eth0&lt;/span&gt;for your primary interface and configure network settings (IP address, netmask, gateway and DNS servers). Make sure you have a second interface described as&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;eth1&lt;/span&gt;. Next log into your root account (via ssh by PuTTY or directly on the console) and type the magic three lines for i386 architecture:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
wget http://files.v-smart.pl/v-smart-2.0/install-vsmart-2.0-en-32bit.sh&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;chmod +x install-vsmart-2.0-en-32bit.sh&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;./install-vsmart-2.0-en-32bit.sh&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
and for amd64 architecture:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
wget http://files.v-smart.pl/v-smart-2.0/install-vsmart-2.0-en-64bit.sh&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;chmod +x install-vsmart-2.0-en-64bit.sh&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;./install-vsmart-2.0-en-64bit.sh&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
The scripts will download necessary packages from debian repositories and my deb packages:&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: dashed; border-left-width: 0px; border-right-color: rgb(221, 221, 221); border-right-style: dashed; border-right-width: 0px; border-top-color: rgb(221, 221, 221); border-top-style: dashed; border-top-width: 1px; font-family: verdana, sans-serif; font-size: 12px; font-style: italic; line-height: 18px; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; margin-top: 0.5em; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em; text-align: -webkit-auto;&quot;&gt;
&lt;ul style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;linux kernel 2.6.32 with patches: layer-7, imq, esfq&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;iptables 1.4.8 with patches: layer-7 and imq&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;iproute 20101221 with esfq patch&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;ppp 2.4.3 with mppe and mppc&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;pppoe 3.10 with mppe, mppc and kernel plugin&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;pptpd 1.3.4 with mppe and mppc&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
All the packages are available for independent download from:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&amp;nbsp;&lt;a href=&quot;http://files.v-smart.pl/v-smart-2.0/&quot; mce_real_href=&quot;http://files.v-smart.pl/v-smart-2.0/&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_self&quot;&gt;http://files.v-smart.pl/v-smart-2.0/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
You may view the scripts before executing to see what they exactly do. You have to write down the MySQL root password and type it when the install script ask for. After reboot you can go to the router GUI via browser. Simply open the router IP address in the browser. First time LMS will ask you for creating an admin account. Don&#39;t forget to check full access option for admin. Example configuration is available for view after installation. You have to set up your WAN bandwidth in the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/router/router.conf&lt;/span&gt;&amp;nbsp;file in kilobits-per-second. Default is 10Mbps.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
How does it work? Network administrator adds clients, computers and tariffs (download and upload speed) into LMS. There is my daemon running in the background which checks if something was changed in the GUI configuration. If so, the daemon will update the configuration file for the firewall (&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/router/lms.conf&lt;/span&gt;) and reload firewall, NAT and traffic shaping. Firewall scripts and configs are in the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/router&lt;/span&gt;&amp;nbsp;directory. LMS GUI is installed in the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/var/www&lt;/span&gt;&amp;nbsp;directory. Other stuff (messages, daemon, etc.) are in&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/var/v-smart&lt;/span&gt;&amp;nbsp;directory. Network configuration you can find in&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/rc.local&lt;/span&gt;&amp;nbsp;script.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Installed LMS is pure and unmodified. In the database there is&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;vsmart&lt;/span&gt;&amp;nbsp;table with to-do records that are read by the daemon in 3-second period. I added MySQL triggers to follow changes in the LMS tables. The triggers will update to-do records when something is changed in customers&#39; devices configuration. Then the daemon makes a decision about reloading firewall, traffic shaper and NAT. Finally - changes in LMS GUI are set in the router almost instantly. This is the main idea of my project.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
In the crontab there are periodicaly run some LMS scripts (stats, payments, host alive checking and other). Feel free to view or adjust&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/cron.d/vsmart&lt;/span&gt;&amp;nbsp;file.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
List of router main functions:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
- Dynamic traffic shaping on WAN port using IMQ with HTB/esfq and service priority,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- Static traffic shaping on LAN port (LMS tariffs),&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- MAC + IP authorization for clients,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- DHCP server,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- DNS server,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- PPPoE server,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- PPtP server (Windows VPN),&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- Messages: payment reminder, total block, no authorization,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- LMS GUI - see manual,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- LMS functions: customers, computers, networks, network devices, network map, tariffs, invoices, helpdesk, calendar,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- LMS USERPANEL - access via&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;http://router_ip/userpanel&lt;/span&gt;,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- Night tarrifs for LAN and WAN,&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- Port forward (&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/router/forward.conf&lt;/span&gt;)&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;- local speedtest in&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;http://router_ip/freemeter&lt;/span&gt;&amp;nbsp;taken from&amp;nbsp;&lt;a href=&quot;http://speed-meter.net/&quot; mce_real_href=&quot;http://speed-meter.net&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_self&quot;&gt;http://speed-meter.net&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Technical solutions&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;1.&amp;nbsp;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;How to add new network(s) to my LAN?&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Let us consider new LAN network:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;192.168.102.0/24&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;with&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;192.168.102.254&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;gateway address on the&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;eth1&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;interface. In LMS GUI&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;(IP Networks -&amp;gt; New network) we add:&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;blockquote style=&quot;border-bottom-color: rgb(221, 221, 221); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: dashed; border-left-width: 0px; border-right-color: rgb(221, 221, 221); border-right-style: dashed; border-right-width: 0px; border-top-color: rgb(221, 221, 221); border-top-style: dashed; border-top-width: 1px; font-style: italic; margin-bottom: 0.5em; margin-left: 1em; margin-right: 1em; margin-top: 0.5em; padding-bottom: 0.3em; padding-left: 0.3em; padding-right: 0.3em; padding-top: 0.3em;&quot;&gt;
&lt;ul style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Network name:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;LAN2&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Network addres/mask:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;192.168.102.0 / 24&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;(256-addresses)&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Interface:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;eth1&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Gateway:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;192.168.102.254&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;DNS servers:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;192.168.102.254, 8.8.8.8&lt;/span&gt;&lt;/u&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;In the file&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/rc.local&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;we add before&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;/usr/sbin/ip link set eth1 up&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;:&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/usr/sbin/ip a a 192.168.102.254/24 brd 192.168.102.255 dev eth1&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;u style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;In the file&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/rc.local&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;we add on the bottom:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/usr/sbin/pppoe-server -I eth1 -L 192.168.102.254 -N 1000 -k&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;In the file&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/router/router.conf&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;we add&amp;nbsp;&lt;span style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;&lt;/span&gt;variable with value:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;INTNET2=192.168.102.0/24&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;In the file&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/router/scripts/firewall.sh&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/router/scripts/nat.sh&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;we find all lines that include&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;$INTNET1&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;variable and we copy them bellow changing&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;$INTNET1&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;nbsp;for&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;$INTNET2&lt;/span&gt;. For example&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;$IPTABLES -A INPUT -s $INTNET1 -m state --state NEW -p tcp --sport 1024: --dport 53 -j ACCEPT&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;$IPTABLES -A INPUT -s $INTNET2 -m state --state NEW -p udp --sport 1024: --dport 53 -j ACCEPT&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
etc..&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;b style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Tip&lt;/b&gt;: If you want to use public subnet on LAN you have to comment MASQUERADE for this subnet in&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/router/scripts/nat.sh&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#$IPTABLES -t nat -A POSTROUTING -s $INTNET2 -o $EXTDEV -j MASQUERADE&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
After reboot everything should work fine.&amp;nbsp;&lt;/div&gt;
&lt;/u&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/468705582406095113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/lan-management-system-lms-on-debian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/468705582406095113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/468705582406095113'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/lan-management-system-lms-on-debian.html' title='Lan Management System (LMS) On Debian Squeeze'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-6554289344858322268</id><published>2012-01-01T16:19:00.002+06:00</published><updated>2012-01-01T16:19:38.067+06:00</updated><title type='text'>Tiny Web Proxy And Content Filtering Appliance (Version 1.2) With Debian Squeeze</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Set up a small virtual machine to speed up and secure your home / small enterprise web surfing network using Debian 6, Squid 3.1 and QuintoLabs Content Security 1.2 applications deployed in a VMWare Virtual Player running on Windows 7 x64 as a host operating system. This howto is targeted at novice users and may sometimes seem too thorough for more advanced gurus.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
While preparing this howto I have tried several different Linux distributions to act as the base for the virtual appliance we are going to create and found out that the one easiest to deploy, having smallest memory footprint and latest packages available is Debian Linux 6. In case you disagree please adjust the instructions of this howto for your favorite distribution and mention the needed changes in comments. I will try to integrate them into the next version of the howto.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Step 1. Download And Install Debian 6&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Go to&amp;nbsp;&lt;a href=&quot;http://www.debian.org/&quot; mce_real_href=&quot;http://www.debian.org&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;http://www.debian.org&lt;/a&gt;&amp;nbsp;and get the smallest ISO image of the latest version of Debian 6 32-bit. The site says the recommended version for a modern server is x64 bit but as we are trying to create a small virtual machine the 32bit will suffice for our purposes.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Start up the VMWare Virtual Player and create a new virtual machine with the following hardware parameters: name - virtual-proxy, hard disk - 8Gb. Press the &quot;Customize the hardware&quot; button and delete the floppy, USB controller, printer and sound card, set the amount of memory to 256Mb. Switch the network adapter from &quot;NAT&quot; mode into &quot;Bridged&quot;. Point the virtual CDROM to the ISO image that you have downloaded earlier and start the virtual machine.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Follow the steps of the Debian install wizard mostly accepting the defaults. Deselect all packages in the &quot;Software Selection&quot; wizard step except for &quot;SSH server&quot; and &quot;Standard system utilities&quot;. Configure machine hostname as &quot;proxy&quot; and root password as &quot;P@ssw0rd&quot; (without quotation marks). Now wait a little until the installation is complete and then reboot the system.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
The following screenshots of the installation show most important steps of the installation process.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;img height=&quot;447&quot; mce_real_src=&quot;http://static.howtoforge.com/images/tiny_web_proxy_debian_squeeze/picture1.gif&quot; src=&quot;http://static.howtoforge.com/images/tiny_web_proxy_debian_squeeze/picture1.gif&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; width=&quot;550&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;img height=&quot;447&quot; mce_real_src=&quot;http://static.howtoforge.com/images/tiny_web_proxy_debian_squeeze/picture2.gif&quot; src=&quot;http://static.howtoforge.com/images/tiny_web_proxy_debian_squeeze/picture2.gif&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; width=&quot;550&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
After reboot check the amount of free memory available and note that it is around 200Mb (kind of cool comparing to default CentOS 5 installation with 140Mb of free memory available after similar install).&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;img height=&quot;346&quot; mce_real_src=&quot;http://static.howtoforge.com/images/tiny_web_proxy_debian_squeeze/picture3.gif&quot; src=&quot;http://static.howtoforge.com/images/tiny_web_proxy_debian_squeeze/picture3.gif&quot; style=&quot;border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; width=&quot;550&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Step 2. Perform Post Install Configuration Of Debian&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
The IP address of the network interface card of our freshly installed Debian server is set to DHCP. While it is possible to leave it like this it means that every time the server is restarted it may be assigned a different IP address so accessing this server later by IP address may become a little irritating. The easiest way is to set the IP address to static one. To do it we must change the file located at&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/network/interfaces&lt;/span&gt;&amp;nbsp;by typing the following in the terminal&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;background-color: white; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-size: 12px; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em; text-align: -webkit-auto;&quot;&gt;
# nano /etc/network/interfaces&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
Find the line with&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;iface eth0 inet dhcp&lt;/span&gt;&amp;nbsp;in the file, remove or comment it out and add the following:&lt;/div&gt;
&lt;pre style=&quot;background-color: white; border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; font-size: 18px; height: 250px; line-height: 18px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; text-align: -webkit-auto; width: 500px;&quot;&gt;# iface eth0 inet dhcp
iface eth0 inet static
                address 192.168.1.2
                netmask 255.255.255.0
                network 192.168.1.0
                broadcast 192.168.1.255
                gateway 192.168.1.1&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
NOTE: The provided above settings (IP addresses) are valid for my environment that connects to the ISP using the LinkSys Wireless N Broadband Router (with custom dd-wrt firmware) that has a DHCP server build in that gives out internal IP addresses from the 192.168.1.* private subnet. Your router may give other addresses so please beware :) !&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
One more thing left to do is adjust the DNS settings. Run the following command in the terminal and add the IP address of the DNS server that runs on router:&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: verdana, sans-serif; font-size: 12px; line-height: 18px; margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# nano /etc/resolv.conf&lt;/div&gt;
&lt;pre style=&quot;border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; font-size: 18px; height: 250px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 500px;&quot;&gt;nameserver 192.168.1.1
&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Now restart your networking by typing&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#/etc/init.d/networking&lt;/span&gt;&amp;nbsp;in the root terminal or just restarting the virtual machine. After restart confirm that the networking functions correctly by typing in the terminal (there should not be any errors in the outputs on these commands):&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
ping -c 3 192.168.1.1&lt;br style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; /&gt;nslookup google.com&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Next small step prior to installing squid is to update the system to the latest version of packages. This will require disabling Debian repositories that refer to CDROM that we used to install the system from and enabling the online repositories.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Type the following in the root terminal&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#nano /etc/apt/sources.list&lt;/span&gt;&amp;nbsp;then find and comment all lines that start with&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;deb cdrom:&lt;/span&gt;. Save the file by pressing&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;CTRL+o&lt;/span&gt;&amp;nbsp;followed by&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;CTRL+x&lt;/span&gt;&amp;nbsp;and exit nano. Then perform system update by typing&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# apt-get update &amp;amp;&amp;amp; apt-get upgrade&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
in the root terminal. Wait until the system downloads all the updates.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Step 3. Install Squid Web Caching Proxy&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Next we need to install the latest version of the squid proxy server. In order to do that type the following in the root terminal:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# apt-get install squid3&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The squid packages is downloaded from the Internet and installed automatically. The only thing to do is to let the external users from our network access the squid. Open the squid configuration file by typing&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# nano /etc/squid3/squid.conf&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
and uncomment the following lines:&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;acl localnet src 192.168.0.0/16&lt;/span&gt;&amp;nbsp;(approximately line 651) and&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;http_access allow localnet&lt;/span&gt;&amp;nbsp;(approximately line 786).&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Save the file and restart the squid by typing&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# service squid3 restart&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
To verify that squid runs correctly point your browser to the IP address of the proxy server (192.168.1.2) and surf to some of your favorite websites.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Step 4. Install Apache 2&lt;/h3&gt;
&lt;div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
t is also a good idea to have a web server installed on the virtual machine. This web server will later host the status and report information for Squid and Content Security for Squid Proxy. In order to have the Apache2 installed issue the following commands in the root terminal:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# apt-get install apache2 libapache2-mod-php5&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Then open your browser and navigate to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;http://192.168.1.2&lt;/span&gt;. You should see the “It Works!” greetings from Apache.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Step 5. Install QuintoLabs Content Security 1.2&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Next step would be to install the Content Security 1.2 for Squid from QuintoLabs (I will refer to it as qlproxy further in text).&amp;nbsp;&lt;i style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;NOTE: this part was upgraded from the previous version of this howto. The 1.2 version of qlproxy now supports ICAP based integration with Squid and is much easier to install.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
For those who do not know, qlproxy is a content filtering server to be used as a companion to the Squid web proxy that (citation) &quot;allows the administrator to filter/block web downloads, remove advertisements and banners and control web site usage by the proxy clients&quot; (i.e. prohibit explicit and adult content).&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Unfortunately QuintoLabs does not yet have online package repository with qlproxy but I heard it will change in the future :). So until it happens we have to get the Debian 6 package of qlproxy manually from the QuintoLabs web site at&amp;nbsp;&lt;a href=&quot;http://www.quintolabs.com/qlicap_download.php&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;http://www.quintolabs.com/qlicap_download.php&lt;/a&gt;&amp;nbsp;using your favorite browser (thorough your new squid of course :) ) and upload the package to the system using&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;scp&lt;/span&gt;. Another (much easier) way would be to type the following commands in the root terminal:&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# wget http://www.quintolabs.com/qlproxy/binaries/1.2.217.0/qlproxy-1.2-debian-1.2.217_i386.deb&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Wait a little until the download completes (approx. 20Mb) and run the following command to install the downloaded package&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# dpkg –install qlproxy-1.2-debian-1.2.217_i386.deb&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Installer will run and after a short while the program will be installed into&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/opt/quintolabs/qlproxy&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Now we need to configure it and integrate it with Squid. The configuration files are plain text and stored in&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/opt/quintolabs/qlproxy/etc/*.conf&lt;/span&gt;&amp;nbsp;and rather simple to modify with a handful of comments inside. I am going to perform the following modifications:&lt;/div&gt;
&lt;ol style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Change the default blocked template to the minimal by commenting out the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;blocked_page=/opt/quintolabs/qlproxy/redirect/blocked.html&lt;/span&gt;&amp;nbsp;and uncommenting&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;blocked_page=/opt/quintolabs/qlproxy/redirect/blocked_minimal.html&lt;/span&gt;. This is done to get the empty blank page on the screen when qlproxy blocks something. The idea for this is to have nothing on the browser screen instead of default text “this item was blocked…”. When QuintoLabs adds a default 1x1 pixel for blocked ads in the next version this step would be irrelevant… but for now it is ok.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;I personally do not like excessive advertizing on the web sites so as I often browse through Russian and German web sites I will also enable adblock filtering by uncommenting the corresponding Russian and German adblock subscriptions in&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/opt/quintolabs/qlproxy/etc/adblock.conf&lt;/span&gt;&amp;nbsp;file. I also do not like sites tracking me so I usually uncomment easy_privacy subscription in the same file.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;My kids sometimes play online games on my computer so I prefer to set the level of adult blocking heuristics to high in the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/opt/quintolabs/qlproxy/etc/adultblock.conf&lt;/span&gt;&amp;nbsp;file –by changing from&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;heuristics_level = normal&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;heuristics_level = high&lt;/span&gt;. If anything is falsely blocked by the qlproxy I can later add it to the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;exceptions.conf&lt;/span&gt;&amp;nbsp;file to have it passed through.&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;I heard that worms, trojans and other malware related software often connect to the world by IP addresses so I put a magic regexp into the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/opt/quintolabs/qlproxy/etc/httpblock.conf&lt;/span&gt;&amp;nbsp;file to filter them out&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;url = http://\d+\.\d+\.\d+\.\d+/.*&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Good for now, let us issue a restart command to make the qlproxyd daemon reload the configuration:&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
#/etc/init.d/qlproxy restart&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Next we need to integrate it with Squid. As the qlproxy daemon now supports the shiny ICAP protocol this is a little bit different from the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;url_rewrite_program&lt;/span&gt;&amp;nbsp;integration described in the previous version of this howto. By the way, README file in&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/opt/quintolabs/qlproxy/&lt;/span&gt;&amp;nbsp;contains instructions on how to do that. Anyway here are the steps required:&lt;/div&gt;
&lt;ol style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Open the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/squid3/squid.conf&lt;/span&gt;&amp;nbsp;in nano by typing&lt;div class=&quot;command&quot; style=&quot;background-color: #f9f9f9; border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
#nano /etc/squid3/squid.conf&lt;/div&gt;
in the root terminal&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Find and change the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_enable off&lt;/span&gt;&amp;nbsp;directive to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_enable on&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Uncomment&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_preview_enable on&lt;/span&gt;&amp;nbsp;directive&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Uncomment and change&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_preview_size -1&lt;/span&gt;&amp;nbsp;directive to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_preview_size 4096&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Uncomment directive&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_persistent_connections on&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Uncomment and change directive&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_send_client_ip off&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_send_client_ip on&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Uncomment and change directive&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_send_client_username off&lt;/span&gt;&amp;nbsp;to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_send_client_username on&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Find the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_service&lt;/span&gt;&amp;nbsp;section with commented out samples for different services and add somewhere there two lines&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_service qlproxy1 reqmod_precache bypass=0 icap://127.0.0.1:1344/reqmod&lt;/span&gt;&amp;nbsp;and&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;icap_service qlproxy2 respmod_precache bypass=0 icap://127.0.0.1:1344/respmod&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Find the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;adaptation_access&lt;/span&gt;&amp;nbsp;section and add the following two lines&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;adaptation_access qlproxy1 allow all&lt;/span&gt;&amp;nbsp;and&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;adaptation_access qlproxy2 allow all&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Write the changes to file and close nano by typing&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Ctrl+o&lt;/span&gt;&amp;nbsp;and then&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Ctrl+x&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Now restart the squid by typing&lt;/div&gt;
&lt;div class=&quot;command&quot; style=&quot;border-bottom-color: rgb(47, 111, 171); border-bottom-style: dashed; border-bottom-width: 1px; border-image: initial; border-left-color: rgb(47, 111, 171); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(47, 111, 171); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(47, 111, 171); border-top-style: dashed; border-top-width: 1px; font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; line-height: 1.1em; margin-bottom: 0.8em; padding-bottom: 1em; padding-left: 1em; padding-right: 1em; padding-top: 1em;&quot;&gt;
# service squid3 restart&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
in the root terminal. After restart try surfing the same sites with your browser and see how nicely ads are blocked. Another useful test is to go to the&amp;nbsp;&lt;a href=&quot;http://www.eicar.com/&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;eicar.com web site&lt;/a&gt;&amp;nbsp;and try to download a sample artificial eicar.com virus to see that com files are blocked by the download filter.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Note: for those of you who must stick with squid 2.6 for performance reasons the url rewriter integration is quite straightforward. Open&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/squid3/squid.conf&lt;/span&gt;&amp;nbsp;and find the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;url_rewrite_program&lt;/span&gt;&amp;nbsp;section. Add the following&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;url_rewrite_program /opt/quintolabs/qlproxy/sbin/qlproxyd_redirector --config_path=/opt/quintolabs/qlproxy/etc/qlproxyd.conf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
The last thing to do is to integrate the qlproxy with Apache to be able to see the reports on user activities generated once a day. This is actually quite easy, open the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/etc/apache2/sites-enabled/default&lt;/span&gt;&amp;nbsp;file and add the following to it near the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/span&gt;&amp;nbsp;directive:&lt;/div&gt;
&lt;pre style=&quot;border-bottom-style: inset; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-style: inset; border-left-width: 1px; border-right-style: inset; border-right-width: 1px; border-top-style: inset; border-top-width: 1px; font-size: 18px; height: 250px; overflow-x: auto; overflow-y: auto; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px; width: 500px;&quot;&gt;Alias /reports /opt/quintolabs/qlproxy/reports
   &amp;lt;Directory /opt/quintolabs/qlproxy/reports &amp;gt;
        Options FollowSymLinks
        AllowOverride None
   &amp;lt;/Directory&amp;gt;&lt;/pre&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Now reload the apache by typing in the terminal&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;#service apache2 restart&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
You can navigate to&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;http://192.168.1.2/reports&lt;/span&gt;&amp;nbsp;to see the generated reports. The funny thing is that qlproxy blocks access by the IP address according to our settings in&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;httpblock.conf&lt;/span&gt;&amp;nbsp;described earlier. Solution would be to add the 192.168.1.2 as entry to the&amp;nbsp;&lt;span class=&quot;system&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, mono; font-style: italic; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;/opt/quintolabs/qlproxy/etc/exceptions.conf&lt;/span&gt;&amp;nbsp;or just tell the browser not to use proxy for this address.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Resume&lt;/h3&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Finally everything is in place to start the accelerated secure web surfing without adverts – point your browser to 192.168.1.2 port 3128 and browse to your favorite website and see the difference. The IP addresses in URLs are blocked and explicitly adult content sites too. The VMWare takes not more than 256 MB and surfing experience is quite acceptable. The system is automatically updated once a day for the latest url block list and advert subscriptions and requires minimal additional maintenance.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.8em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: arial, verdana, sans-serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 1em; padding-bottom: 0.2em; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Used Documentation Links&lt;/h3&gt;
&lt;ul style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.debian.org/&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;http://www.debian.org&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.squid-cache.org/&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;http://www.squid-cache.org&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://www.quintolabs.com/qlicap_info.php&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;http://www.quintolabs.com/qlicap_info.php&lt;/a&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.2em; margin-left: 0px; margin-right: 0px; margin-top: 0.2em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;a href=&quot;http://issues.quintolabs.com/trac/quintolabs_qlicap/wiki/QlicapDocs&quot; style=&quot;color: #003399; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; target=&quot;_blank&quot;&gt;http://issues.quintolabs.com/trac/quintolabs_qlicap/wiki/QlicapDocs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/6554289344858322268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/tiny-web-proxy-and-content-filtering.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/6554289344858322268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/6554289344858322268'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/tiny-web-proxy-and-content-filtering.html' title='Tiny Web Proxy And Content Filtering Appliance (Version 1.2) With Debian Squeeze'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-5683711454332164231</id><published>2012-01-01T11:26:00.000+06:00</published><updated>2012-01-01T11:26:09.240+06:00</updated><title type='text'>Program to monitor log-files</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;xlogmaster&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;xlogmaster - A program to monitor logfiles&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Xlogmaster can monitor an almost infinite number of logfiles and all devices that can be read via &quot;cat&quot; like the /proc ones.On a regular expression base, you can hide, raise or lower lines in the logfile and set triggers, which can launch scripts or pop-up a window&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install xlogmaster in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install xlogmaster&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/5683711454332164231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/program-to-monitor-log-files.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/5683711454332164231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/5683711454332164231'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/program-to-monitor-log-files.html' title='Program to monitor log-files'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-7950046127880275584</id><published>2012-01-01T11:24:00.006+06:00</published><updated>2012-01-01T11:24:58.048+06:00</updated><title type='text'>httpd logfile analysis package</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;wwwstat&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;wwwstat - httpd logfile analysis package&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;wwwstat processes a sequence of httpd Common Logfile Format access_log files and prior summary outputs, and then outputs a summary of the access statistics in a nice HTML format.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;splitlog processes a sequence of httpd Common Logfile Format access_log files (or CLF with a one-field prefix) and splits the entries into separate files according to the requested URL and/or vhost prefix.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install wwwstat in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install wwwstat&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/7950046127880275584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/httpd-logfile-analysis-package.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/7950046127880275584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/7950046127880275584'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/httpd-logfile-analysis-package.html' title='httpd logfile analysis package'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-8190106619598242820</id><published>2012-01-01T11:24:00.003+06:00</published><updated>2012-01-01T11:24:25.641+06:00</updated><title type='text'>Real-time user logins monitoring tool</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;whowatch&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;whowatch - Real-time user logins monitoring tool&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;whowatch is a ncurses who-like utility that displays information about the users currently logged on to the machine, in real-time. Besides standard information (login name, tty, host, user&#39;s process), the type of the connection (ie. telnet or ssh) is shown.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install whowatch in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install whowatch&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/8190106619598242820/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/real-time-user-logins-monitoring-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/8190106619598242820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/8190106619598242820'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/real-time-user-logins-monitoring-tool.html' title='Real-time user logins monitoring tool'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-2362818943731788740</id><published>2012-01-01T11:24:00.000+06:00</published><updated>2012-01-01T11:24:00.640+06:00</updated><title type='text'>VA RAID monitor</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;varmon&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;varmon - VA RAID monitor&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;A text-based tool to monitor DAC 960 RAID controllers. This includes Mylex RAID cards from the 960 and 1100 series, eXteremeRAID 2000 &amp;amp; 3000, AcceleRAID 352 &amp;amp; 170.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install varmon in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install varmon&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/2362818943731788740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/va-raid-monitor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/2362818943731788740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/2362818943731788740'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/va-raid-monitor.html' title='VA RAID monitor'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-2943158737122209089</id><published>2012-01-01T11:23:00.002+06:00</published><updated>2012-01-01T11:23:23.340+06:00</updated><title type='text'>Display informations about a local user</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;userinfo&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;userinfo - display informations about a local user&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Userinfo is a small console utility to display as much information about a local user as possible. It currently supports: password file info, home directory mode, mail forwards/aliases/last read time/new time/folder size, utmp info and more&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install userinfo in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install userinfo&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/2943158737122209089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/display-informations-about-local-user.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/2943158737122209089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/2943158737122209089'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/display-informations-about-local-user.html' title='Display informations about a local user'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-7151729322315942990</id><published>2012-01-01T11:22:00.002+06:00</published><updated>2012-01-01T11:22:57.437+06:00</updated><title type='text'>Report system security vulnerabilities</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;tiger&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;tiger - Report system security vulnerabilities&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;TIGER, or the &#39;tiger&#39; scripts, is a set of Bourne shell scripts, C programs and data files which are used to perform a security audit of UNIX systems. TIGER has one primary goal: report ways &#39;root&#39; can be compromised.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Debian&#39;s TIGER incorporates new checks primarily oriented towards Debian distribution including: md5sums checks of installed files, location of files not belonging to packages, check of security advisories and analysis of local listening processes.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install tiger in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install tiger&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/7151729322315942990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/report-system-security-vulnerabilities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/7151729322315942990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/7151729322315942990'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/report-system-security-vulnerabilities.html' title='Report system security vulnerabilities'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-3633105490459131018</id><published>2012-01-01T11:21:00.002+06:00</published><updated>2012-01-01T11:21:38.361+06:00</updated><title type='text'>Fast, Flexible and Detailed log analysis for the Squid Proxy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;srg&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;srg - Fast, Flexible and Detailed log analysis for the Squid Proxy&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;SRG provides fast and flexible analysis of squid proxy log files while retaining a high level of detail, including down the the exact URLs visited by users and the times at which they were visited. SRG also contains support for generated PHP reports that can be integrated with your existing authentication system to provide granular access to report output.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install srg in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install srg&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/3633105490459131018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/fast-flexible-and-detailed-log-analysis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/3633105490459131018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/3633105490459131018'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/fast-flexible-and-detailed-log-analysis.html' title='Fast, Flexible and Detailed log analysis for the Squid Proxy'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-4944720906756857243</id><published>2012-01-01T11:20:00.005+06:00</published><updated>2012-01-01T11:20:42.182+06:00</updated><title type='text'>Data integrity and host intrusion alert system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;samhain&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;samhain - Data integrity and host intrusion alert system&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Samhain is an integrity checker and host intrusion detection system that can be used on single hosts as well as large, UNIX-based networks. It supports central monitoring as well as powerful (and new) stealth features to run undetected on memory using steganography.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Main features&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Complete integrity check&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;+ uses cryptographic checksums of files to detect modifications,&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;+ can find rogue SUID executables anywhere on disk, and&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Centralized monitoring&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;+ native support for logging to a central server via encrypted and authenticated connections&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Tamper resistance&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;+ database and configuration files can be signed&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;+ logfile entries and e-mail reports are signed&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;+ support for stealth operation&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install samhain in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install samhain&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/4944720906756857243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/data-integrity-and-host-intrusion-alert.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/4944720906756857243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/4944720906756857243'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/data-integrity-and-host-intrusion-alert.html' title='Data integrity and host intrusion alert system'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-6708629689110800324</id><published>2012-01-01T11:20:00.002+06:00</published><updated>2012-01-01T11:20:19.916+06:00</updated><title type='text'>Tool for auditing Cisco router configuration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;router-audit-tool&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;router-audit-tool - Tool for auditing Cisco router configuration&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;The Router Audit Tool (rat) audits router configurations. It will log into the routers specified using provided login&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;information, download the configuration and audit against a set of provided rules.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;This package also provides the NSA&#39;s Cisco Router Configuration Guide&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install router-audit-tool in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install router-audit-tool&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/6708629689110800324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/tool-for-auditing-cisco-router.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/6708629689110800324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/6708629689110800324'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/tool-for-auditing-cisco-router.html' title='Tool for auditing Cisco router configuration'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-8922470644675414776</id><published>2012-01-01T11:19:00.005+06:00</published><updated>2012-01-01T11:19:48.555+06:00</updated><title type='text'>Undelete files on ext2 partitions Recover</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;recover&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;recover - Undelete files on ext2 partitions&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Recover automates some steps as described in the ext2-undeletion howto. This means it seeks all the deleted inodes on your hard drive with debugfs. When all the inodes are indexed, recover asks you some questions about the deleted file. These questions are:&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Hard disk device name&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Year of deletion&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Month of deletion&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Weekday of deletion&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* First/Last possible day of month&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Min/Max possible file size&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Min/Max possible deletion hour&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* Min/Max possible deletion minute&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* User ID of the deleted file&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* A text string the file included (can be ignored)&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;If recover found any fitting inodes, it asks to give a directory name and dumps the inodes into the directory. Finally it asks you if you want to filter the inodes again (in case you typed some wrong answers).&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Note that recover works only with ext2 filesystems - it does not support ext3.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install recover in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install recover&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/8922470644675414776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/undelete-files-on-ext2-partitions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/8922470644675414776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/8922470644675414776'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/undelete-files-on-ext2-partitions.html' title='Undelete files on ext2 partitions Recover'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-3485143617605309030</id><published>2012-01-01T11:19:00.002+06:00</published><updated>2012-01-01T11:19:15.698+06:00</updated><title type='text'>Tk-based printer configuration tool</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;printtool&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;printtool - Tk-based printer configuration tool&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;This is an enhanced version of the Red Hat printtool, with autodetection of printers and PPD support.&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install printtool in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install printtool&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/3485143617605309030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/tk-based-printer-configuration-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/3485143617605309030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/3485143617605309030'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/tk-based-printer-configuration-tool.html' title='Tk-based printer configuration tool'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-6026629507399665044</id><published>2012-01-01T11:18:00.005+06:00</published><updated>2012-01-01T11:18:45.958+06:00</updated><title type='text'>Tool to tune system for optimal performance</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;powertweak&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;powertweak - Tool to tune system for optimal performance&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Powertweak is a tool for tweaking Linux systems to peak performance. It tunes PCI devices to use optimal settings and enables performance enhancing features of the CPU(s).&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;This package contains no files. It merely ensures that you install the following packages: powertweakd, powertweak-extra, powertweak-gtk&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install powertweak in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install powertweak&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/6026629507399665044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/tool-to-tune-system-for-optimal.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/6026629507399665044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/6026629507399665044'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/tool-to-tune-system-for-optimal.html' title='Tool to tune system for optimal performance'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-6361214359559916797</id><published>2012-01-01T11:18:00.002+06:00</published><updated>2012-01-01T11:18:17.786+06:00</updated><title type='text'>The GNU Parted disk partition resizing program</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;parted&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;parted - The GNU Parted disk partition resizing program&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;GNU Parted is a program that allows you to create, destroy, resize, move and copy hard disk partitions. This is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks. This package contains the Parted binary and manual page.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Parted currently supports DOS, Mac, Sun, BSD, GPT, MIPS and PC98 disklabels/partition tables, as well as a &#39;loop&#39; (raw disk) type which allows use on RAID/LVM. Filesystems which are currently fully supported are ext2, ext3, fat (FAT16 and FAT32), ReiserFS (with libreiserfs) and linux-swap. Parted can also detect and remove HFS (Mac OS), JFS, NTFS, UFS (Sun and HP), XFS and ASFS/AFFS/APFS (Amiga) filesystems, but cannot create, resize or check these filesystems yet.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Note that ReiserFS support is only enabled if you install the libreiserfs0.3-0 package. Since libreiserfs0.3-0 has been removed from sarge, ReiserFS support is not compiled in the default package.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;The nature of this software means that any bugs could cause massive data loss. While there are no known bugs at the moment, they could exist, so please back up all important files before running it, and do so at your own risk.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install parted in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install parted&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/6361214359559916797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/gnu-parted-disk-partition-resizing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/6361214359559916797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/6361214359559916797'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/gnu-parted-disk-partition-resizing.html' title='The GNU Parted disk partition resizing program'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-7188694551647147481</id><published>2012-01-01T11:17:00.005+06:00</published><updated>2012-01-01T11:17:54.844+06:00</updated><title type='text'>GUI for searching packages and viewing package information</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;packagesearch&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;packagesearch - GUI for searching packages and viewing package information&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;This tool is aimed to help you search the packages you need. It should make the task of searching a pleasant experience.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Search can be done by&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* pattern&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* tags (based on the debtags system, a new way of categorizing Debian packages)&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* files&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* installed status&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;* orphaned packages&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Additionally a lot of information about the packages is displayed, including the files belonging to them.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;It is possible to install or remove packages.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install packagesearch in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install packagesearch&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/7188694551647147481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/gui-for-searching-packages-and-viewing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/7188694551647147481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/7188694551647147481'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/gui-for-searching-packages-and-viewing.html' title='GUI for searching packages and viewing package information'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-3349506889178845644</id><published>2012-01-01T11:17:00.002+06:00</published><updated>2012-01-01T11:17:23.628+06:00</updated><title type='text'>Remote network security auditor, the server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;nessusd&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;nessusd - Remote network security auditor, the server&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;The Nessus Security Scanner is a security auditing tool. It makes possible to test security modules in an attempt to find vulnerable spots that should be fixed.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;It is made up of two parts: a server, and a client. The server/daemon, nessusd, is in charge of the attacks, whereas the client, nessus, provides the user a nice X11/GTK+ interface.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;This package contains the nessusd server, which must be run as root.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install nessusd in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install nessusd&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/3349506889178845644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/remote-network-security-auditor-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/3349506889178845644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/3349506889178845644'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/remote-network-security-auditor-server.html' title='Remote network security auditor, the server'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-8272745325943141411</id><published>2012-01-01T11:16:00.005+06:00</published><updated>2012-01-01T11:16:56.656+06:00</updated><title type='text'>Remote network security auditor, the client</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;nessus&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;nessus - Remote network security auditor, the client&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;The Nessus Security Scanner is a security auditing tool. It makes possible to test security modules in an attempt to find vulnerable spots that should be fixed.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;It is made up of two parts: a server, and a client. The server/daemon, nessusd, is in charge of the attacks, whereas the client, nessus, provides the user a nice X11/GTK+ interface.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;This package contains the GTK+ client, which exists in other forms and on other platforms, too.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install nessus in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install nessus&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/8272745325943141411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/remote-network-security-auditor-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/8272745325943141411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/8272745325943141411'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/remote-network-security-auditor-client.html' title='Remote network security auditor, the client'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-5794756327572583849</id><published>2012-01-01T11:16:00.002+06:00</published><updated>2012-01-01T11:16:20.039+06:00</updated><title type='text'>Distributed password cracking system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;medussa&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;medussa - Distributed password cracking system&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Medussa is a distributed password cracking system that can attempt various types of attacks to crypted passwords distributing the work on many machines.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install medussa in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install medussa&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/5794756327572583849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/distributed-password-cracking-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/5794756327572583849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/5794756327572583849'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/distributed-password-cracking-system.html' title='Distributed password cracking system'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-4319225428928677376</id><published>2012-01-01T11:15:00.005+06:00</published><updated>2012-01-01T11:15:49.403+06:00</updated><title type='text'>Hardware monitoring without kernel dependencies (text client)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;mbmon&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;mbmon - Hardware monitoring without kernel dependencies (text client)&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;(x)mbmon allows you to monitor hardware status using your motherboard&#39;s sensors. This information can be: temperatures, voltages and/or fan speeds.This package contains the console client.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install mbmon in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install mbmon&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/4319225428928677376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/hardware-monitoring-without-kernel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/4319225428928677376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/4319225428928677376'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/hardware-monitoring-without-kernel.html' title='Hardware monitoring without kernel dependencies (text client)'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-347121320963204486</id><published>2012-01-01T11:15:00.002+06:00</published><updated>2012-01-01T11:15:16.731+06:00</updated><title type='text'>List all SCSI devices (or hosts) currently on system</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;lsscsi&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;lsscsi - list all SCSI devices (or hosts) currently on system&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Uses information in sysfs (linux kernels 2.6.0 and later) to list all scsi devices (or hosts) currently attached to the system. Options can be used to control the amount and form of information provided for each device.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install lsscsi in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install lsscsi&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/347121320963204486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/list-all-scsi-devices-or-hosts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/347121320963204486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/347121320963204486'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/list-all-scsi-devices-or-hosts.html' title='List all SCSI devices (or hosts) currently on system'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-4347510254545046216</id><published>2012-01-01T11:14:00.001+06:00</published><updated>2012-01-01T11:14:36.049+06:00</updated><title type='text'>Automagically remove unnecessary locale data</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;localepurge&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;localepurge - Automagically remove unnecessary locale data&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;This is just a simple script to recover diskspace wasted for unneeded locale files and localized man pages. It will&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;automagically be invoked upon completion of any apt installation run.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Please note, that this tool is a hack which is *not* integrated with Debian&#39;s package management system and therefore is not for the faint of heart. This program interferes with the Debian package management and does provoke strange, but usually harmless, behaviour of programs related with apt/dpkg like dpkg-repack, debsums, reportbug, etc. Responsibility for its usage and possible breakage of your system therefore lies in the sysadmin&#39;s (your) hands.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Please definitely do abstain from reporting any such bugs blaming localepurge if you break your system by using it. If you don&#39;t know what you are doing and can&#39;t handle any resulting breakage on your own then please simply don&#39;t use this package.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install localepurge in Debian&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install localepurge&lt;/span&gt; &lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;output&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;localepurge: Disk space freed in /usr/share/locale: 32672K&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/4347510254545046216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/automagically-remove-unnecessary-locale.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/4347510254545046216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/4347510254545046216'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/automagically-remove-unnecessary-locale.html' title='Automagically remove unnecessary locale data'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3373553234269467475.post-8605505468212953571</id><published>2012-01-01T11:13:00.002+06:00</published><updated>2012-01-01T11:13:13.164+06:00</updated><title type='text'>Distributed resource monitor</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;jmon&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;jmon - distributed resource monitor&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;Resource monitoring for large networks. The jMon system allows for the real time monitoring of CPU, memory and swap usage. The system makes use of a small daemon running on each of the machines that are to be monitored.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;The client makes a TCP/IP connection with each of the servers specified in the configuration file. The statistics of all the host machines are displayed in an ncurses window on the console.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #cc0066; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;Install jmon in Debian&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Verdana; text-align: -webkit-auto;&quot;&gt;#apt-get install jmon&lt;/span&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxadminatoz.blogspot.com/feeds/8605505468212953571/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/distributed-resource-monitor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/8605505468212953571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3373553234269467475/posts/default/8605505468212953571'/><link rel='alternate' type='text/html' href='http://linuxadminatoz.blogspot.com/2012/01/distributed-resource-monitor.html' title='Distributed resource monitor'/><author><name>Motin</name><uri>http://www.blogger.com/profile/00447172705164766523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4bqBoMarioRBKeogek1ULZNbbMiH2ntL_TksFEUtnANxcADDVKDTbElvb-kUpKrCfwxeEaLl9Byg3ZF7zvVdeLsXEzlJCrXMqTfJfeGYR4NP57cxHkyGU31DCrNb931E/s220/DSC_0822.JPG'/></author><thr:total>0</thr:total></entry></feed>