<?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: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-4938443720602924137</id><updated>2012-02-16T05:56:38.226-08:00</updated><category term='Linux Cups'/><category term='Linux Servers'/><category term='How To'/><category term='Linx and Unix'/><category term='MRTG'/><category term='Squid 3'/><category term='Samba Print Server'/><category term='Kernel'/><category term='Password Technique'/><category term='Beachwear'/><category term='Freeradious Server'/><category term='Freeradious'/><category term='named.conf'/><category term='Cache Codes'/><category term='Linux Cacti'/><category term='Linux Linx'/><category term='XP Dual Booting'/><category term='Unix DNS'/><category term='HOw Setup Mail Server'/><category term='Linux Squid'/><category term='Networking'/><category term='Transparent Proxy'/><category term='Apache'/><category term='Blogs'/><category term='Summer Vocation'/><category term='Linux Tips'/><category term='LInux Unix'/><category term='Web Server'/><category term='linux dual booting'/><category term='NFS Linux'/><category term='Red Hat Squid'/><category term='LInux Wireless'/><category term='LINUX PAM'/><category term='NFS'/><category term='Samba Linux'/><category term='Apache Tomcat'/><category term='Linux Backup  Recovery'/><category term='Linux Management'/><category term='Slackware'/><category term='How to Configure Mail Server'/><category term='Linux Password'/><category term='Delay Pools'/><category term='Corel Linux'/><category term='User Administration'/><category term='Samba Red Hat Enterprise Linux 4'/><category term='OS'/><category term='Ubuntu Installation'/><category term='Unix'/><category term='Vista'/><category term='Linux Swap Partition'/><category term='How To Dual Boot Ubuntu'/><category term='Microsoft'/><category term='Good Password'/><category term='File System'/><category term='Unix Linux'/><category term='Cache'/><category term='Using Standard DNS'/><category term='Samba'/><category term='LInux Web Mail'/><category term='tomcat'/><category term='Webdirectories'/><category term='Linux Permission'/><category term='Squid Sticky bit'/><category term='Shell'/><category term='Swinsuites'/><category term='Bandwidth Control'/><category term='MY Sql'/><category term='Http'/><category term='Apache Web Server'/><category term='linux services'/><category term='Linux Tricks'/><category term='Structure Linux file'/><category term='Router Transparent Proxy'/><category term='Routing'/><category term='Linux DSN'/><category term='How To Dual Boot'/><category term='Suse Linux'/><category term='Cacti SNMP'/><category term='Network'/><category term='Linux Gateway'/><category term='Redhat'/><category term='Squid Proxy'/><category term='Umask Unix LInux'/><category term='Linux System Components'/><category term='Load Balancing'/><category term='DSN'/><category term='DNS Linux'/><category term='Triple Boot'/><category term='Farmville'/><category term='Linux File System'/><category term='Usefull Linux Tips'/><category term='Bind9'/><category term='Squid'/><category term='Unix Shell Scripts'/><category term='XP Trick'/><category term='Email Server'/><category term='Linux'/><category term='Samab Linux Unix'/><category term='SNMP Linux'/><category term='Ext3'/><category term='Ubuntu'/><category term='Linux Service'/><category term='Linux Boot'/><title type='text'>Linux Specialist</title><subtitle type='html'>Support The Linux, Linux Server, Squid, Webserver, dhcp server, smba, print, Mrtg</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxmall.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default?start-index=101&amp;max-results=100'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>137</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-2824199824755680892</id><published>2010-05-07T01:31:00.000-07:00</published><updated>2010-05-07T01:32:24.628-07:00</updated><title type='text'>Threat Modeling and Risk Management Linux</title><content type='html'>&lt;div style="text-align: justify; font-family: courier new;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;Since this book is about building secure Linux Internet servers from the ground up, you’re probably expecting system-hardening procedures, guidelines for configuring applications securely, and other very specific and low-level information. And indeed, subsequent chapters contain a great deal of this.&lt;br /&gt;But what, really, are we hardening against? The answer to that question is different from system to system and network to network, and in all cases, it changes over time. It’s also more complicated than most people realize. In short, threat analysis is a moving target.&lt;br /&gt;Far from a reason to avoid the question altogether, this means that threat modeling is an absolutely essential first step (a recurring step, actually) in securing a system or a network. Most people acknowledge that a sufficiently skilled and determined attacker[1] can compromise almost any system, even if you’ve carefully considered and planned against likely attack-vectors. It therefore follows that if you don’t plan against even the most plausible and likely threats to a given system’s security, that system will be particularly vulnerable.&lt;br /&gt;[1] As an abstraction, the "sufficiently determined attacker" (someone theoretically able to&lt;br /&gt;compromise any system on any network, outrun bullets, etc.) has a special place in the&lt;br /&gt;imaginations and nightmares of security professionals. On the one hand, in practice such people&lt;br /&gt;are rare: just like "physical world" criminals, many if not most people who risk the legal and social&lt;br /&gt;consequences of committing electronic crimes are stupid and predictable. The most likely&lt;br /&gt;attackers therefore tend to be relatively easy to keep out. On the other hand, if you are targeted&lt;br /&gt;by a skilled and highly motivated attacker, especially one with "insider" knowledge or access,&lt;br /&gt;your only hope is to have considered the worst and not just the most likely threats.&lt;br /&gt;This chapter offers some simple methods for threat modeling and risk management, with real-life examples of many common threats and their consequences. The techniques covered should give enough detail about evaluating security risks to lend context, focus, and the proper air of urgency to the tools and techniques the rest of the book covers. At the very least, I hope it will help you to think about network security threats in a logical and organized way.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-2824199824755680892?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2824199824755680892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2824199824755680892'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/05/threat-modeling-and-risk-management.html' title='Threat Modeling and Risk Management Linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-1259596792437941029</id><published>2010-05-07T01:28:00.000-07:00</published><updated>2010-05-07T01:29:11.131-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='XP Trick'/><title type='text'>Change Text on XP Start Button XP Trick</title><content type='html'>Step 1 - Modify Explorer.exe File&lt;br /&gt;&lt;br /&gt;In order to make the changes, the file explorer.exe located at C:\Windows needs to be edited. Since explorer.exe is a binary file it requires a special editor. For purposes of this article I have used Resource Hacker. Resource HackerTM is a freeware utility to view, modify, rename, add, delete and extract resources in 32bit Windows executables and resource files (*.res). It incorporates an internal resource script compiler and decompiler and works on Microsoft Windows 95/98/ME, Windows NT, Windows 2000 and Windows XP operating systems.&lt;br /&gt;&lt;br /&gt;get this from h**p://delphi.icm.edu.pl/ftp/tools/ResHack.zip&lt;br /&gt;&lt;br /&gt;The first step is to make a backup copy of the file explorer.exe located at C:\Windows\explorer. Place it in a folder somewhere on your hard drive where it will be safe. Start Resource Hacker and open explorer.exe located at C:\Windows\explorer.exe.&lt;br /&gt;&lt;br /&gt;The category we are going to be using is "String Table". Expand it by clicking the plus sign then navigate down to and expand string 37 followed by highlighting 1033. If you are using the Classic Layout rather than the XP Layout, use number 38. The right hand pane will display the stringtable. We’re going to modify item 578, currently showing the word “start” just as it displays on the current Start button.&lt;br /&gt;&lt;br /&gt;There is no magic here. Just double click on the word “start” so that it’s highlighted, making sure the quotation marks are not part of the highlight. They need to remain in place, surrounding the new text that you’ll type. Go ahead and type your new entry. In my case I used Click Me!&lt;br /&gt;&lt;br /&gt;You’ll notice that after the new text string has been entered the Compile Script button that was grayed out is now active. I won’t get into what’s involved in compiling a script, but suffice it to say it’s going to make this exercise worthwhile. Click Compile Script and then save the altered file using the Save As command on the File Menu. Do not use the Save command – Make sure to use the Save As command and choose a name for the file. Save the newly named file to C:\Windows.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 2 – Modify the Registry&lt;br /&gt;&lt;br /&gt;!!!make a backup of your registry before making changes!!!&lt;br /&gt;&lt;br /&gt;Now that the modified explorer.exe has been created it’s necessary to modify the registry so the file will be recognized when the user logs on to the system. If you don’t know how to access the registry I’m not sure this article is for you, but just in case it’s a temporary memory lapse, go to Start (soon to be something else) Run and type regedit in the Open field. Navigate to:&lt;br /&gt;&lt;br /&gt;HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon&lt;br /&gt;&lt;br /&gt;In the right pane, double click the "Shell" entry to open the Edit String dialog box. In Value data: line, enter the name that was used to save the modified explorer.exe file. Click OK.&lt;br /&gt;&lt;br /&gt;Close Registry Editor and either log off the system and log back in, or reboot the entire system if that’s your preference. If all went as planned you should see your new Start button with the revised text.[/b]&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-1259596792437941029?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1259596792437941029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1259596792437941029'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/05/change-text-on-xp-start-button-xp-trick.html' title='Change Text on XP Start Button XP Trick'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5540478083820749257</id><published>2010-04-17T10:06:00.001-07:00</published><updated>2010-04-17T10:07:13.366-07:00</updated><title type='text'>Single Users vs. Multiusers vs. Network Users</title><content type='html'>&lt;span style="font-weight: bold; font-family: trebuchet ms;"&gt;Single Users vs. Multiusers vs. Network Users&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Windows was designed according to the “one computer, one desk, one user” vision ofMicrosoft’s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;cofounder Bill Gates. For the sake of discussion, I’ll call this philosophy single-user. In this&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;arrangement, two people cannot work in parallel running (for example) Microsoft Word on the&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;same machine at the same time. Using Terminal Services in Windows 2000 or Windows XP&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;allows remote use of one computer from another but is still bound by the single-user paradigm.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;The Windows .NET Server products, which are unfinished as of this writing, continue to add&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;terminal features to enable more than one user to access the server simultaneously.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Linux borrows its philosophy from UNIX. When UNIX was originally developed at Bell&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Labs in the early 1970s, it ran on a PDP-7 computer that needed to be shared by an entire&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;department. It required a design that allowed multiple users to log in to the central machine at&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;the same time. Various people could edit documents, compile programs, and do other work&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;at the exact same time. The operating system on the central machine took care of the “sharing”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;details, so that each user seemed to have an individual system. This multiuser tradition&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;continues through today, on other UNIXs as well. And since Linux’s birth in the early 1990s,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;it has supported the multiuser arrangement.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Today, the most common implementation of a multiuser setup is to support servers—&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;systems dedicated to running large programs for use by many clients. Each member of a&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;department can have a smaller workstation on the desktop, with enough power for day-to-day&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;work. When they need to do something requiring significantly more CPU power or memory,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;they can run the operation on the server.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;Linux, Windows 2000, and Windows .NET Server are all capable of providing services&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;such as databases over the network. Users of this arrangement can be called network users,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: trebuchet ms;"&gt;since they are never actually logged in to the server but rather send requests to the server. The&lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt; server does the work and then sends the results back to the user via the network. The catch in&lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt; this case is that an application must be specifically written to perform such server/client duties.&lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt; Under Linux, a user can run any program allowed by the system administrator on the server&lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt; without having to redesign that program. Most users find the ability to run arbitrary programs&lt;/span&gt;&lt;span style="font-family: trebuchet ms;"&gt; on other machines to be of significant benefit.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5540478083820749257?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5540478083820749257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5540478083820749257'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/04/single-users-vs-multiusers-vs-network.html' title='Single Users vs. Multiusers vs. Network Users'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-6193247896204585367</id><published>2010-04-17T10:01:00.000-07:00</published><updated>2010-04-17T10:06:03.646-07:00</updated><title type='text'>What Is the GNU Public License?</title><content type='html'>&lt;div style="text-align: justify; font-family: trebuchet ms;"&gt;&lt;span style="font-weight: bold;"&gt;What Is the GNU Public License?&lt;/span&gt;&lt;br /&gt;The most important thing to emerge from the GNU project has been the GNU General Public&lt;br /&gt;License (GPL). This license explicitly states that the software being released is free, and that&lt;br /&gt;no one can ever take away these freedoms. It is acceptable to take the software and resell it,&lt;br /&gt;even for a profit; however, in this resale, the seller must release the full source code, including&lt;span style="font-family: trebuchet ms;"&gt; any changes. Because the resold package remains under the GPL, the package can be distributed&lt;/span&gt; free and resold yet again by anyone else for a profit. Of primary importance is the liability clause: The programmers are not liable for any damages caused by their software. More about GNU and the GPL can be found at http://www.gnu.org.&lt;br /&gt;&lt;br /&gt;It should be noted that the GPL is not the only license used by free software developers&lt;br /&gt;(although it is arguably the most popular). Other licenses, such as BSD and Apache, have&lt;br /&gt;similar liability clauses but differ in terms of their redistribution. For instance, the BSD license&lt;br /&gt;allows people to make changes to the code and ship those changes without having to disclose&lt;br /&gt;the added code. (The GPL would require that the added code be shipped.) For more information about other open-source licenses, check out http://www.opensource.org.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-6193247896204585367?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6193247896204585367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6193247896204585367'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/04/what-is-gnu-public-license.html' title='What Is the GNU Public License?'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-9089324653441050785</id><published>2010-04-12T13:55:00.000-07:00</published><updated>2010-04-12T14:01:03.112-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DNS Linux'/><title type='text'>ISP’s Primary DNS Server Setup Architecture</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link style="font-family: courier new;" rel="File-List" href="file:///C:%5CDOCUME%7E1%5CIMRAN%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C03%5Cclip_filelist.xml"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:smarttagtype style="font-family: courier new;" namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"&gt;&lt;/o:smarttagtype&gt;&lt;o:smarttagtype style="font-family: courier new;" namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"&gt;&lt;/o:smarttagtype&gt;&lt;o:smarttagtype style="font-family: courier new;" namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"&gt;&lt;/o:smarttagtype&gt;&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if !mso]&gt;&lt;object classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id="ieooui"&gt;&lt;/object&gt; &lt;style&gt; st1\:*{behavior:url(#ieooui) } &lt;/style&gt; &lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} table.MsoTableGrid 	{mso-style-name:"Table Grid"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	border:solid windowtext 1.0pt; 	mso-border-alt:solid windowtext .5pt; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-border-insideh:.5pt solid windowtext; 	mso-border-insidev:.5pt solid windowtext; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"  style="text-align: center;font-family:courier new;" align="center"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;ISP’s Server Architecture&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p  class="MsoNormal" style="font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p  class="MsoNormal" style="font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;Primary DNS Server:&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;table class="MsoTableGrid"  style="border: medium none ; border-collapse: collapse;font-family:courier new;" border="1" cellpadding="0" cellspacing="0"&gt;  &lt;tbody&gt;&lt;tr style=""&gt;   &lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; width: 6.15in;" valign="top" width="590"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;Partition Table Informtion&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 6.15in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="590"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;Filesystem&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;              &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Size&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Used Avail Use% Mounted on&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;/dev/sda1&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;              &lt;/span&gt;&lt;span style=";font-size:100%;" &gt; &lt;/span&gt;&lt;span style="font-size:100%;"&gt;3.0G&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;667M&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;    &lt;/span&gt;&lt;span style="font-size:100%;"&gt;2.2G&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;24% /&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;tmpfs&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                   &lt;/span&gt;&lt;span style="font-size:100%;"&gt;252M&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;     &lt;/span&gt;&lt;span style="font-size:100%;"&gt;0&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;252M&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;     &lt;/span&gt;&lt;span style="font-size:100%;"&gt;0% /dev/shm&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;/dev/sda5&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;               &lt;/span&gt;&lt;span style="font-size:100%;"&gt;102M&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;   &lt;/span&gt;&lt;span style="font-size:100%;"&gt;36M&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;   &lt;/span&gt;&lt;span style="font-size:100%;"&gt;67M&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;    &lt;/span&gt;&lt;span style="font-size:100%;"&gt;36% /boot&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;/dev/sda7&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;               &lt;/span&gt;&lt;span style="font-size:100%;"&gt;2.4G&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;   &lt;/span&gt;&lt;span style="font-size:100%;"&gt;33M&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;2.2G&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;     &lt;/span&gt;&lt;span style="font-size:100%;"&gt;2% /tmp&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;/dev/sda2&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;               &lt;/span&gt;&lt;span style="font-size:100%;"&gt;2.0G&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;   &lt;/span&gt;&lt;span style="font-size:100%;"&gt;96M&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;1.8G&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;     &lt;/span&gt;&lt;span style="font-size:100%;"&gt;5% /var&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 6.15in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="590"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;Packages used for   DNS:&lt;/b&gt; bind-utils-9.3.1-3, bind-chrootenv-9.3.1-3, bind-9.3.1-3, bind-libs-9.3.1-3.2&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 6.15in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="590"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;Configuration file:   &lt;/b&gt;/etc/named.conf&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td  style="border-style: none solid solid; padding: 0in 5.4pt; width: 6.15in;color:-moz-use-text-color windowtext windowtext;" valign="top" width="590"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# Copyright (c) 2001-2004 SuSE Linux AG, &lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;Nuernberg&lt;/st1:city&gt;, &lt;st1:country-region st="on"&gt;Germany&lt;/st1:country-region&gt;&lt;/st1:place&gt;.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# All rights reserved.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# Author: Frank Bodammer, Lars Mueller   &lt;lmuelle@suse.de&gt;&lt;/lmuelle@suse.de&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# /etc/named.conf&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# This is a sample configuration file for the name server   BIND 9.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;It works as&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# a caching only name server without modification.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# A sample configuration for setting up your own domain   can be found in&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# /usr/share/doc/packages/bind/sample-config.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# A description of all available options can be found in&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# /usr/share/doc/packages/bind/misc/options.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;options {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# The   directory statement defines the name server's working directory&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;directory "/var/lib/named";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# Write   dump and statistics file to the log subdirectory.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#   pathenames are relative to the chroot jail.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;dump-file   "/var/log/named_dump.db";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;statistics-file   "/var/log/named.stats";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# The   forwarders record contains a list of servers to which queries&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# should   be forwarded.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Enable this line and   modify the IP address to&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# your   provider's name server.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Up to three   servers may be listed.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#forwarders   { 192.0.2.1; 192.0.2.2; };&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# Enable   the next entry to prefer usage of the name server declared in&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# the   forwarders section.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#forward   first;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# The   listen-on record contains a list of local network interfaces to&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# listen   on.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Optionally the port can be   specified.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Default is to&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# listen   on all interfaces found on your system.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;    &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The default port is&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# 53.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#listen-on   port 53 { 127.0.0.1; };&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# The   listen-on-v6 record enables or disables listening on IPv6&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#   interfaces.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Allowed values are 'any'   and 'none' or a list of&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#   addresses.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;listen-on-v6 { any; };&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# The   next three statements may be needed if a firewall stands between&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# the   local server and the internet.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#query-source   address * port 53;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#transfer-source   * port 53;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#notify-source   * port 53;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# The   allow-query record contains a list of networks or IP addresses&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# to   accept and deny queries from. The default is to allow queries&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# from   all hosts.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#allow-query   { 127.0.0.1; };&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# If   notify is set to yes (default), notify messages are sent to other&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# name   servers when the the zone data is changed.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;    &lt;/span&gt;&lt;span style="font-size:100%;"&gt;Instead of setting&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# a   global 'notify' statement in the 'options' section, a separate&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;#   'notify' can be added to each zone definition.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style=";font-size:100%;" &gt;            &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;notify no;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# To configure named's logging remove the leading '#'   characters of the&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# following examples.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#logging {&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# Log   queries to a file limited to a size of 100 MB.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;channel   query_logging {&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                      &lt;/span&gt;&lt;span style="font-size:100%;"&gt;file   "/var/log/named_querylog"&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                                  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;versions   3 size 100M;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                      &lt;/span&gt;&lt;span style="font-size:100%;"&gt;print-time   yes;&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                           &lt;/span&gt;&lt;span style="font-size:100%;"&gt;//   timestamp log entries&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;};&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;category   queries {&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                      &lt;/span&gt;&lt;span style="font-size:100%;"&gt;query_logging;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;};&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# Or log   this kind alternatively to syslog.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;channel   syslog_queries {&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                      &lt;/span&gt;&lt;span style="font-size:100%;"&gt;syslog   user;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                      &lt;/span&gt;&lt;span style="font-size:100%;"&gt;severity   info;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;};&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;category   queries { syslog_queries; };&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# Log   general name server errors to syslog.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;channel   syslog_errors {&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                      &lt;/span&gt;&lt;span style="font-size:100%;"&gt;syslog   user;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;                      &lt;/span&gt;&lt;span style="font-size:100%;"&gt;severity   error;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;};&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;category   default { syslog_errors;&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;};&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;# Don't   log lame server messages.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;          &lt;/span&gt;&lt;span style="font-size:100%;"&gt;category   lame-servers { null; };&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;#};&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# The following zone definitions don't need any   modification.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The first one&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# is the definition of the root name servers.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;The second one defines&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# localhost while the third defines the reverse lookup for   localhost.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone "."   in {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;type hint;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;file "root.hint";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "localhost" in {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;file "localhost.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "0.0.127.in-addr.arpa" in {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;file "127.0.0.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "ns1" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file "master/ns1.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;            &lt;/span&gt;allow-transfer {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "142.125.202.in-addr.arpa" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file "master/rns1.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "pucit.edu.pk" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file   "master/pucitedu.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "pucitonline.net" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file   "master/pucitnet.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "mapasha.com" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file   "master/mapasha.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "mtexperts.co.uk" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file   "master/mtexpert.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "agiletechnologies.org" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file "master/agile.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "ktexperts.com" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file   "master/ktexperts.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "completeislam.com" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file "master/cislam.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "peace.com.pk" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file "master/peace.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "ghazisolutions.com" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file "master/ghazi.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "puran.info" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file "master/puran.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "nms.pucit" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file "master/nms.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "pucitonline.com" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file   "master/pucitonline.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;Allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;zone   "ngnexporters.com" IN {&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;type master;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;         &lt;/span&gt;file   "master/ngnexporters.zone";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;Allow-transfer   {202.125.142.117;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# Include the meta include file generated by   createNamedConfInclude.&lt;/span&gt;&lt;span style=";font-size:100%;" &gt;  &lt;/span&gt;&lt;span style="font-size:100%;"&gt;This&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# includes all files as configured in   NAMED_CONF_INCLUDE_FILES from&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# /etc/sysconfig/named&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;include   "/etc/named.conf.include";&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# You can insert further zone records for your own domains   below or create&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# single files in /etc/named.d/ and add the file names to&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# NAMED_CONF_INCLUDE_FILES.&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;# See /usr/share/doc/packages/bind/README.SUSE for more   details.&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.15in;" valign="top" width="590"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;/var/lib/named/pucitnet&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.15in;" valign="top" width="590"&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;$TTL 2D&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;@ &lt;span style=""&gt;          &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;SOA&lt;span style=""&gt;   &lt;/span&gt;ns1.pucitonline.net.&lt;span style=""&gt;  &lt;/span&gt;root.pucitonline.net. (&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;    &lt;/span&gt;&lt;span style=""&gt;                                            &lt;/span&gt;200312121;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                                                  &lt;/span&gt;3600;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                                                  &lt;/span&gt;3600;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                                                  &lt;/span&gt;3600;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                                       &lt;/span&gt;&lt;span style=""&gt;         &lt;/span&gt;1h );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                  &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;NS&lt;span style=""&gt;    &lt;/span&gt;ns1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                  &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;NS&lt;span style=""&gt;    &lt;/span&gt;ns2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;ns1&lt;span style=""&gt;         &lt;/span&gt;&lt;span style=""&gt;        &lt;/span&gt;IN&lt;span style=""&gt;  &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.107&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;ns2&lt;span style=""&gt;               &lt;/span&gt;IN &lt;span style=""&gt;   &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.117&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;www&lt;span style=""&gt;               &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.121&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;pucitonline.net.&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;          &lt;/span&gt;IN&lt;span style=""&gt;  &lt;/span&gt;MX 10&lt;span style=""&gt; &lt;/span&gt;mail&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;mail&lt;span style=""&gt;              &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.115&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;ftp&lt;span style=""&gt;               &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.121&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;radius&lt;span style=""&gt;                  &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.108&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;nms&lt;span style=""&gt;               &lt;/span&gt;IN &lt;span style=""&gt;   &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.108&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.15in;" valign="top" width="590"&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;/var/lib/named/pucitedu&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=""&gt;   &lt;td style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 6.15in;" valign="top" width="590"&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;$TTL 2D&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;@ &lt;span style=""&gt;          &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;SOA&lt;span style=""&gt;   &lt;/span&gt;ns1.pucitonline.net.&lt;span style=""&gt;  &lt;/span&gt;root.pucitonline.net. (&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                                                  &lt;/span&gt;200312121;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                                                  &lt;/span&gt;360;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                          &lt;/span&gt;&lt;span style=""&gt;                      &lt;/span&gt;3600;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                                                  &lt;/span&gt;3600;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                                                  &lt;/span&gt;1h );&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                  &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;NS&lt;span style=""&gt;    &lt;/span&gt;ns1.pucitonline.net.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;span style=""&gt;                  &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;NS&lt;span style=""&gt;    &lt;/span&gt;ns2.pucitonline.net.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;ns1&lt;span style=""&gt;         &lt;/span&gt;&lt;span style=""&gt;        &lt;/span&gt;IN&lt;span style=""&gt;  &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.107&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;ns2&lt;span style=""&gt;               &lt;/span&gt;IN &lt;span style=""&gt;   &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.117&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;www&lt;span style=""&gt;               &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.121&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;pucit.edu.pk.&lt;span style=""&gt;           &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;MX   10&lt;span style=""&gt; &lt;/span&gt;mail&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;mail&lt;span style=""&gt;              &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.122&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;ftp&lt;span style=""&gt;               &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.146.174&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;flypucit&lt;span style=""&gt;          &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.109&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;moon&lt;span style=""&gt;              &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.97&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;library&lt;span style=""&gt;                 &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.112&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;alumni&lt;span style=""&gt;                  &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.112&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;lectures&lt;span style=""&gt;          &lt;/span&gt;IN&lt;span style=""&gt;    &lt;/span&gt;A&lt;span style=""&gt;     &lt;/span&gt;202.125.142.112&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;   &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p  class="MsoNormal" style="font-family:courier new;"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-9089324653441050785?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/9089324653441050785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/9089324653441050785'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/04/isps-primary-dns-server-setup.html' title='ISP’s Primary DNS Server Setup Architecture'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-7256397210522431008</id><published>2010-03-13T00:56:00.000-08:00</published><updated>2010-03-13T00:56:25.168-08:00</updated><title type='text'>Shamil Bank of Bahrain Job A Brighter Future</title><content type='html'>&lt;a href="http://today-online-jobs.blogspot.com/2010/03/shamil-bank-of-bahrain-job-brighter.html"&gt;Shamil Bank of Bahrain Job A Brighter Future&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-7256397210522431008?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://today-online-jobs.blogspot.com/2010/03/shamil-bank-of-bahrain-job-brighter.html' title='Shamil Bank of Bahrain Job A Brighter Future'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7256397210522431008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7256397210522431008'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/03/shamil-bank-of-bahrain-job-brighter.html' title='Shamil Bank of Bahrain Job A Brighter Future'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-7545743209831557479</id><published>2010-02-17T01:36:00.000-08:00</published><updated>2010-02-17T01:46:33.910-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux dual booting'/><title type='text'>Linux Dual Booting Issues troubleshooting</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Dual-Booting Issues&lt;/span&gt;&lt;br /&gt;If you are new to Linux, you may not be ready to commit to a complete system when you just&lt;br /&gt;want a test drive. All distributions of Linux can be installed on only certain partitions of your&lt;br /&gt;hard disk while leaving others alone. Typically, this means allowing Microsoft Windows to&lt;br /&gt;coexist with Linux.&lt;br /&gt;&lt;br /&gt;Because you are focusing on server installations, the text will not cover the details of&lt;br /&gt;building a dual-booting system; however, anyone with a little experience in creating partitions&lt;br /&gt;on a disk should be able to figure this out. If you are having difficulty, you may want to refer&lt;br /&gt;to the installation guide that comes with your distribution or another one of the many available&lt;br /&gt;beginner’s guides to Linux.&lt;br /&gt;&lt;br /&gt;Some quick hints: If a Windows 95 or Windows 98 partition currently consumes an entire&lt;br /&gt;hard disk as drive C:, you can use the fips tool to repartition the disk. Simply defragment and&lt;br /&gt;then run fips.exe. If you are using Windows NT/2000 with NTFS and have already allocated&lt;br /&gt;all the disk with data on each partition, you may have to move data around a bit by hand to&lt;br /&gt;free up a partition. Don’t bother trying to shrink an NTFS partition, though; because of its&lt;br /&gt;complexity, it doesn’t like being resized, and doing so will lead to corruption.&lt;br /&gt;&lt;br /&gt;You may find using a commercial tool such as Partition Magic to be especially helpful,&lt;br /&gt;because it offers support for NTFS, FAT32, and regular FAT, as well as a large number of&lt;br /&gt;other file system types. Its user interface is also significantly nicer than fips.&lt;br /&gt;If you’re going to be installing a dual-boot system, install Linux last. If you install&lt;br /&gt;Windows last, it will clobber the boot information for your Linux system. If you install Linux&lt;br /&gt;last, it will recognize that you have Windows installed and let you choose which one you want&lt;br /&gt;to boot by default. Linux gets an “A” for citizenship.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Methods of Installation&lt;/span&gt;&lt;br /&gt;With the improved connectivity and speed of both local area networks and Internet connections,&lt;br /&gt;it is becoming an increasingly popular option to perform installations over the network rather&lt;br /&gt;than using a local CD-ROM.&lt;br /&gt;In general, you’ll find that network installations become important once you’ve decided to&lt;br /&gt;deploy Linux over many machines and therefore require a fast installation procedure in which&lt;br /&gt;many systems can install at the same time.&lt;br /&gt;&lt;br /&gt;Typically, server installations aren’t well suited to automation, because each server usually&lt;br /&gt;has a unique task; thus, each server will have a slightly different configuration. For example, a&lt;br /&gt;server dedicated to handling logging information sent to it over the network is going to have&lt;br /&gt;especially large partitions set up for the appropriate logging directories, compared with a file&lt;br /&gt;server that performs no logging of its own. (The obvious exception is for server farms where&lt;br /&gt;you have large numbers of replicated servers. But even those installations have their nuances&lt;br /&gt;that require attention to detail specific to the installation.)&lt;br /&gt;&lt;br /&gt;Because of this, you will focus exclusively on the technique for installing a system from a&lt;br /&gt;CD-ROM. Of course, once you have gone through the process from a CD-ROM, you will find&lt;br /&gt;performing the network-based installations to be very straightforward.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-7545743209831557479?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7545743209831557479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7545743209831557479'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/02/linux-dual-booting-issues.html' title='Linux Dual Booting Issues troubleshooting'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5074747172313393930</id><published>2010-02-17T01:32:00.000-08:00</published><updated>2010-02-17T01:36:42.977-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Backup  Recovery'/><title type='text'>Using Dump Backup and Restore Linux OS</title><content type='html'>&lt;span style="font-weight: bold;"&gt;dump and restore&lt;/span&gt;&lt;br /&gt;The dump tool works by making a copy of an entire file system. The restore tool can then&lt;br /&gt;take this copy and pull any and all files from it.&lt;br /&gt;&lt;div style="text-align: justify;"&gt;To support incremental backups, dump uses the concept of dump levels. A dump level of 0 means a full backup. Any dump level above 0 is an incremental relative to the last time a dump with a lower dump level occurred. For example, a dump level of 1 covers all the changes to the file system since the last level 0 dump, a dump level of 2 covers all of the changes to the file system since the last level 1 dump, and so on—all the way through dump level 9. Consider a case in which you have three dumps: the first is a level 0, the second is a level 1, and the third is also a level 1. The first dump is, of course, a full backup. The second dump (level 1) contains all the changes made since the first dump. The third dump (also a level 1) also has all the changes.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;The dump utility stores all the information about its dumps in the /etc/dumpdates file.&lt;br /&gt;This file lists each backed-up file system, when it was backed up, and at what dump level.&lt;br /&gt;Given this information, you can determine which tape to use for a restore. For example, if you&lt;br /&gt;perform level 0 dumps on Monday, level 1 incrementals on Tuesday and Wednesday, and then&lt;br /&gt;level 2 incrementals on Thursday and Friday, a file that was last modified on Tuesday but got&lt;br /&gt;accidentally erased on Friday can be restored from Tuesday night’s incremental backup.&lt;br /&gt;A file that was last modified during the preceding week will be on Monday’s level 0 tape.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Using dump&lt;/span&gt;&lt;br /&gt;The dump tool is a command-line utility. It takes many parameters, but the most relevant are&lt;br /&gt;as shown in Table 21-2.&lt;br /&gt;For example, here is the command to perform a level 0 dump to /dev/st0 of the /dev/hda1&lt;br /&gt;file system:&lt;br /&gt;&lt;br /&gt;[root@scribe /root]# dump -0 -f /dev/st0 /dev/hda1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;dump Parameter Description&lt;/span&gt;&lt;br /&gt;– n Specifies the dump level, where n is a number between 0 and 9. For&lt;br /&gt;example, –0 would perform a full backup.&lt;br /&gt;&lt;br /&gt;–b blocksize Sets the dump block size to blocksize, which is measured in kilobytes. If you&lt;br /&gt;are backing up many large files, using a larger block size will increase&lt;br /&gt;performance. You may need to carefully adjust this to match the capabilities&lt;br /&gt;of your tape system.&lt;br /&gt;&lt;br /&gt;–B count Specifies a number ( count) of records per tape to be dumped. If there is&lt;br /&gt;more data to dump than there is tape space, dump will prompt you to insert&lt;br /&gt;a new tape.&lt;br /&gt;&lt;br /&gt;–f filename Specifies a location ( filename) for the resulting dump file. You can make the&lt;br /&gt;dump file a normal file that resides on another file system, or you can write&lt;br /&gt;the dump file to the tape device. The SCSI tape device is /dev/st0.&lt;br /&gt;&lt;br /&gt;–u Updates the /etc/dumpdates file after a successful dump.&lt;br /&gt;&lt;br /&gt;–d density Specifies the density of the tape in bits per inch.&lt;br /&gt;&lt;br /&gt;–s size Specifies the size of the tape in feet.&lt;br /&gt;&lt;br /&gt;–a Bypasses all tape-length calculations and writes until an end-of-media signal&lt;br /&gt;is returned. This works best for most modern tape drives and is particularly&lt;br /&gt;useful for appending data to existing tapes. This is the default mode.&lt;br /&gt;&lt;br /&gt;–z or –j Compresses each data block. The –z parameter uses zlib compression, while&lt;br /&gt;&lt;br /&gt;–j uses bzlib. Either option can be immediately followed with a number, if&lt;br /&gt;you want to specify the compression level, or white space, if you want to&lt;br /&gt;accept the default compression level of 2. Your tape drive must be able to&lt;br /&gt;support variable-length blocks to be able to use this feature. If your tape&lt;br /&gt;system has hardware compression built in, don’t use both the hardware&lt;br /&gt;compression and this option together, or your files will likely increase in size.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Using dump to Back Up an Entire System &lt;/span&gt;&lt;br /&gt;The dump utility works by making an&lt;br /&gt;archive of one file system. If your entire system comprises multiple file systems, you need to&lt;br /&gt;run dump for every file system. Since dump creates its output as a single, large file, you can&lt;br /&gt;store multiple dumps to a single tape by using a nonrewinding tape device.&lt;br /&gt;Assuming we’re backing up to a SCSI tape device, /dev/nst0, we must first decide which&lt;br /&gt;file systems we’re backing up. This information is in the /etc/fstab file. Obviously, we don’t&lt;br /&gt;want to back up files such as /dev/cdrom, so we skip those. Depending on our data, we may or&lt;br /&gt;may not want to back up certain partitions (such as swap and /tmp).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let’s assume this leaves us with /dev/hda1, /dev/hda3, /dev/hda5, and /dev/hda6. To&lt;br /&gt;back up these to /dev/nst0, compressing them along the way, we would issue the following&lt;br /&gt;series of commands:&lt;br /&gt;[root@scribe /root]# mt -f /dev/nst0 rewind&lt;br /&gt;[root@scribe /root]# dump -0uz -f /dev/nst0 /dev/hda1&lt;br /&gt;[root@scribe /root]# dump -0uz -f /dev/nst0 /dev/hda3&lt;br /&gt;[root@scribe /root]# dump -0uz -f /dev/nst0 /dev/hda5&lt;br /&gt;[root@scribe /root]# dump -0uz -f /dev/nst0 /dev/hda6&lt;br /&gt;[root@scribe /root]# mt -f /dev/nst0 rewind&lt;br /&gt;[root@scribe /root]# mt -f /dev/nst0 eject&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5074747172313393930?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5074747172313393930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5074747172313393930'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/02/using-dump-backup-and-restore-linux-os.html' title='Using Dump Backup and Restore Linux OS'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-649882689753715528</id><published>2010-02-08T11:10:00.000-08:00</published><updated>2010-02-08T11:12:29.675-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Assembly Language Programming with Linux H33T</title><content type='html'>&lt;b style="color: rgb(0, 51, 0);"&gt;Title........&lt;/b&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;: Assembly Language Step-by-Step - Programming with Linux, 3rd Edition&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;b style="color: rgb(0, 51, 0);"&gt;Author.......&lt;/b&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;: Jeff Duntemann&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;b style="color: rgb(0, 51, 0);"&gt;Pages........&lt;/b&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;: 648&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;b style="color: rgb(0, 51, 0);"&gt;Publisher....&lt;/b&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;: Wiley; 3 edition (October 5, 2009)&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;b style="color: rgb(0, 51, 0);"&gt;Language.....&lt;/b&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;: English&lt;/span&gt;&lt;br /&gt; &lt;br /&gt; &lt;b style="color: rgb(0, 51, 0);"&gt;Format.......&lt;/b&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;: PDF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.h33t.com/download.php?id=cf98d0769d7e99ad1afb22abada56fda5a8df1bc&amp;amp;f=Assembly%20Language%20Step-by-Step%20-%20Programming%20with%20Linux%5BIamthebest%5D%5BH33T%5D.torrent"&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;"&gt;DOWNLOAD TORRENT&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;span style="color: rgb(0, 51, 0);" &gt;The eagerly anticipated new edition of the bestselling introduction to x86 assembly language&lt;br /&gt;&lt;br /&gt;The long-awaited third edition of this bestselling introduction to assembly language has been completely rewritten to focus on 32-bit protected-mode Linux and the free NASM assembler. Assembly is the fundamental language bridging human ideas and the pure silicon hearts of computers, and popular author Jeff Dunteman retains his distinctive lighthearted style as he presents a step-by-step approach to this difficult technical discipline.&lt;br /&gt;&lt;br /&gt;He starts at the very beginning, explaining the basic ideas of programmable computing, the binary and hexadecimal number systems, the Intel x86 computer architecture, and the process of software development under Linux. From that foundation he systematically treats the x86 instruction set, memory addressing, procedures, macros, and interface to the C-language code libraries upon which Linux itself is built.&lt;br /&gt;&lt;br /&gt;Serves as an ideal introduction to x86 computing concepts, as demonstrated by the only language directly understood by the CPU itself&lt;br /&gt;&lt;br /&gt;Uses an approachable, conversational style that assumes no prior experience in programming of any kind&lt;br /&gt;&lt;br /&gt;Presents x86 architecture and assembly concepts through a cumulative tutorial approach that is ideal for self-paced instruction&lt;br /&gt;&lt;br /&gt;Focuses entirely on free, open-source software, including Ubuntu Linux, the NASM assembler, the Kate editor, and the Gdb/Insight debugger.&lt;br /&gt;&lt;br /&gt;Includes an x86 instruction set reference for the most common machine instructions, specifically tailored for use by programming beginners&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-649882689753715528?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/649882689753715528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/649882689753715528'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/02/assembly-language-programming-with.html' title='Assembly Language Programming with Linux H33T'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-2020471763713755515</id><published>2010-01-27T14:24:00.000-08:00</published><updated>2010-01-27T14:25:45.379-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Farmville'/><title type='text'>Fville hack tool for FREE - 2010 window-linux</title><content type='html'>&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/xsYWJSSjbz8&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/xsYWJSSjbz8&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-2020471763713755515?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2020471763713755515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2020471763713755515'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/01/fville-hack-tool-for-free-2010-window.html' title='Fville hack tool for FREE - 2010 window-linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8095847422574011128</id><published>2010-01-12T03:19:00.000-08:00</published><updated>2010-01-12T03:20:43.467-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Configuring Disk Quota in Linux</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Configuring Quota Settings&lt;/span&gt;&lt;br /&gt;Creating, modifying, and removing quotas on either a per-user or per-group basis is done via&lt;br /&gt;the edquota command. In this section, you’ll look at the usage of this command and run through&lt;br /&gt;some examples as well. First, some terminology:&lt;br /&gt;&lt;br /&gt;● Soft Limit This requested limit is placed on a user or group. If the user’s account exceeds&lt;br /&gt;the soft limit, a grace period can be imposed as to how long the account can exist over the&lt;br /&gt;soft limit. During this time phase, users can be warned that their accounts are over the limit.&lt;br /&gt;&lt;br /&gt;● Hard Limit This limit is imposed by the operating system and cannot be overrun.&lt;br /&gt;Any attempts to write data beyond the hard limit are denied.&lt;br /&gt;&lt;br /&gt;● Grace Period (Time Limit) When a user’s account exceeds the soft limit, a clock starts&lt;br /&gt;tracking. After the grace period expires, the user cannot access the account. The length of&lt;br /&gt;this grace period should depend on the environment. A common value is one week. To&lt;br /&gt;keep the account from being disabled, the user needs to remove or compress files until his&lt;br /&gt;or her disk consumption falls below the soft limit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8095847422574011128?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8095847422574011128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8095847422574011128'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/01/configuring-disk-quota-in-linux.html' title='Configuring Disk Quota in Linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-4657644026066229707</id><published>2010-01-10T06:56:00.000-08:00</published><updated>2010-01-10T07:00:35.745-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bind9'/><title type='text'>Bind 9 Fedore Setup DNS Server for Squid Cashing</title><content type='html'>This is Sample Configuration for file DNS Server Configuration for&lt;br /&gt;Fedora and other linux flavors which use Bind9.&lt;br /&gt;&lt;br /&gt;1. Configure listen port (as in File)&lt;br /&gt;2. Configure Allow Query (as in File)&lt;br /&gt;2. Configure Forwarders (as in file)&lt;br /&gt;&lt;br /&gt;you can also just copy and past this script in your Named.conf file&lt;br /&gt;and change as per your requirement&lt;br /&gt;&lt;br /&gt;//&lt;br /&gt;// named.caching-nameserver.conf&lt;br /&gt;//&lt;br /&gt;// Provided by Red Hat caching-nameserver package to configure the&lt;br /&gt;// ISC BIND named(8) DNS server as a caching only nameserver&lt;br /&gt;// (as a localhost DNS resolver only).&lt;br /&gt;//&lt;br /&gt;// See /usr/share/doc/bind*/sample/ for example named configuration files.&lt;br /&gt;//&lt;br /&gt;// DO NOT EDIT THIS FILE - use system-config-bind or an editor&lt;br /&gt;// to create named.conf - edits to this file will be lost on&lt;br /&gt;// caching-nameserver package upgrade.&lt;br /&gt;//&lt;br /&gt;options {&lt;br /&gt;        listen-on port 53 { 127.0.0.1; 192.168.0.254; };&lt;br /&gt;        listen-on-v6 port 53 { ::1; };&lt;br /&gt;        directory       "/var/named";&lt;br /&gt;        dump-file       "/var/named/data/cache_dump.db";&lt;br /&gt;        statistics-file "/var/named/data/named_stats.txt";&lt;br /&gt;        memstatistics-file "/var/named/data/named_mem_stats.txt";&lt;br /&gt;        allow-query     { localhost; 192.168.0.0/22; };&lt;br /&gt;        recursion yes;&lt;br /&gt;        forwarders     { 210.2.181.6; 210.2.181.7; 4.2.2.4; };&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;logging {&lt;br /&gt;        channel default_debug {&lt;br /&gt;                file "data/named.run";&lt;br /&gt;                severity dynamic;&lt;br /&gt;        };&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;zone "." IN {&lt;br /&gt;        type hint;&lt;br /&gt;        file "named.ca";&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;include "/etc/named.rfc1912.zones";&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-4657644026066229707?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4657644026066229707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4657644026066229707'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/01/bind-9-fedore-setup-dns-server-for.html' title='Bind 9 Fedore Setup DNS Server for Squid Cashing'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8610992126342936525</id><published>2010-01-08T03:14:00.000-08:00</published><updated>2010-01-08T03:19:35.122-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Squid 3'/><title type='text'>Transperent Proxy in Squid 2.6 and Squid 3</title><content type='html'>This is very Simple Configuration for configure Squid 2.6 or Squid 3.0&lt;br /&gt;act as a Transparent. if you are old user of Squid and linux then this is very simple&lt;br /&gt;configuration all the squid configuration same.&lt;br /&gt;when you configure just type transparent after port  as under:-&lt;br /&gt;&lt;br /&gt;http_port 3128 transparent&lt;br /&gt;&lt;br /&gt;Further Setting and tracks of squid i will write in my next blog&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt;Further Help contact with us&lt;br /&gt;LinuxMall Team&lt;br /&gt;Pakistan&lt;br /&gt;092-321-8466323&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8610992126342936525?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8610992126342936525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8610992126342936525'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/01/transperent-proxy-in-squid-26-and-squid.html' title='Transperent Proxy in Squid 2.6 and Squid 3'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5190757293480603477</id><published>2010-01-04T03:21:00.000-08:00</published><updated>2010-01-04T03:31:36.130-08:00</updated><title type='text'>squid.conf sample file of fedora</title><content type='html'># WELCOME TO SQUID 2&lt;br /&gt;# ------------------&lt;br /&gt;#&lt;br /&gt;# This is the default Squid configuration file. You may wish&lt;br /&gt;# to look at the Squid home page (http://www.squid-cache.org/)&lt;br /&gt;# for the FAQ and other documentation.&lt;br /&gt;#&lt;br /&gt;# The default Squid config file shows what the defaults for&lt;br /&gt;# various options happen to be.  If you don't need to change the&lt;br /&gt;# default, you shouldn't uncomment the line.  Doing so may cause&lt;br /&gt;# run-time problems.  In some cases "none" refers to no default&lt;br /&gt;# setting at all, while in other cases it refers to a valid&lt;br /&gt;# option - the comments for that keyword indicate if this is the&lt;br /&gt;# case.&lt;br /&gt;#&lt;br /&gt;# NETWORK OPTIONS&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: http_port&lt;br /&gt;# Usage: port&lt;br /&gt;#  hostname:port&lt;br /&gt;#  1.2.3.4:port&lt;br /&gt;#&lt;br /&gt;# The socket addresses where Squid will listen for HTTP client&lt;br /&gt;# requests.  You may specify multiple socket addresses.&lt;br /&gt;# There are three forms: port alone, hostname with port, and&lt;br /&gt;# IP address with port.  If you specify a hostname or IP&lt;br /&gt;# address, Squid binds the socket to that specific&lt;br /&gt;# address.  This replaces the old 'tcp_incoming_address'&lt;br /&gt;# option.  Most likely, you do not need to bind to a specific&lt;br /&gt;# address, so you can use the port number alone.&lt;br /&gt;#&lt;br /&gt;# The default port number is 3128.&lt;br /&gt;#&lt;br /&gt;# If you are running Squid in accelerator mode, you&lt;br /&gt;# probably want to listen on port 80 also, or instead.&lt;br /&gt;#&lt;br /&gt;# The -a command line option will override the *first* port&lt;br /&gt;# number listed here.   That option will NOT override an IP&lt;br /&gt;# address, however.&lt;br /&gt;#&lt;br /&gt;# You may specify multiple socket addresses on multiple lines.&lt;br /&gt;#&lt;br /&gt;# If you run Squid on a dual-homed machine with an internal&lt;br /&gt;# and an external interface we recommend you to specify the&lt;br /&gt;# internal address:port in http_port. This way Squid will only be&lt;br /&gt;# visible on the internal address.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;http_port 8080&lt;br /&gt;&lt;br /&gt;#  TAG: https_port&lt;br /&gt;#        Usage:  [ip:]port cert=certificate.pem [key=key.pem] [options...]&lt;br /&gt;#&lt;br /&gt;#        The socket address where Squid will listen for HTTPS client&lt;br /&gt;#        requests.&lt;br /&gt;#&lt;br /&gt;#        This is really only useful for situations where you are running&lt;br /&gt;#        squid in accelerator mode and you want to do the SSL work at the&lt;br /&gt;#        accelerator level.&lt;br /&gt;#&lt;br /&gt;# You may specify multiple socket addresses on multiple lines,&lt;br /&gt;# each with their own SSL certificate and/or options.&lt;br /&gt;#&lt;br /&gt;# Options:&lt;br /&gt;#&lt;br /&gt;#    cert= Path to SSL certificate (PEM format)&lt;br /&gt;#&lt;br /&gt;#    key=  Path to SSL private key file (PEM format)&lt;br /&gt;#   if not specified, the certificate file is&lt;br /&gt;#   assumed to be a combined certificate and&lt;br /&gt;#   key file&lt;br /&gt;#&lt;br /&gt;#    version= The version of SSL/TLS supported&lt;br /&gt;#       1 automatic (default)&lt;br /&gt;#       2 SSLv2 only&lt;br /&gt;#       3 SSLv3 only&lt;br /&gt;#       4 TLSv1 only&lt;br /&gt;#&lt;br /&gt;#    cipher= Colon separated list of supported ciphers&lt;br /&gt;#&lt;br /&gt;#    options= Various SSL engine options. The most important&lt;br /&gt;#   being:&lt;br /&gt;#       NO_SSLv2  Disallow the use of SSLv2&lt;br /&gt;#       NO_SSLv3  Disallow the use of SSLv3&lt;br /&gt;#       NO_TLSv1  Disallow the use of TLSv1&lt;br /&gt;#   See src/ssl_support.c or OpenSSL documentation&lt;br /&gt;#   for a more complete list.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: ssl_unclean_shutdown&lt;br /&gt;# Some browsers (especially MSIE) bugs out on SSL shutdown&lt;br /&gt;# messages.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ssl_unclean_shutdown off&lt;br /&gt;&lt;br /&gt;#  TAG: icp_port&lt;br /&gt;# The port number where Squid sends and receives ICP queries to&lt;br /&gt;# and from neighbor caches.  Default is 3130.  To disable use&lt;br /&gt;# "0".  May be overridden with -u on the command line.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# icp_port 3130&lt;br /&gt;&lt;br /&gt;#  TAG: htcp_port&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       --enable-htcp option&lt;br /&gt;#&lt;br /&gt;# The port number where Squid sends and receives HTCP queries to&lt;br /&gt;# and from neighbor caches.  Default is 4827.  To disable use&lt;br /&gt;# "0".&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# htcp_port 4827&lt;br /&gt;&lt;br /&gt;#  TAG: mcast_groups&lt;br /&gt;# This tag specifies a list of multicast groups which your server&lt;br /&gt;# should join to receive multicasted ICP queries.&lt;br /&gt;#&lt;br /&gt;# NOTE!  Be very careful what you put here!  Be sure you&lt;br /&gt;# understand the difference between an ICP _query_ and an ICP&lt;br /&gt;# _reply_.  This option is to be set only if you want to RECEIVE&lt;br /&gt;# multicast queries.  Do NOT set this option to SEND multicast&lt;br /&gt;# ICP (use cache_peer for that).  ICP replies are always sent via&lt;br /&gt;# unicast, so this option does not affect whether or not you will&lt;br /&gt;# receive replies from multicast group members.&lt;br /&gt;#&lt;br /&gt;# You must be very careful to NOT use a multicast address which&lt;br /&gt;# is already in use by another group of caches.&lt;br /&gt;#&lt;br /&gt;# If you are unsure about multicast, please read the Multicast&lt;br /&gt;# chapter in the Squid FAQ (http://www.squid-cache.org/FAQ/).&lt;br /&gt;#&lt;br /&gt;# Usage: mcast_groups 239.128.16.128 224.0.1.20&lt;br /&gt;#&lt;br /&gt;# By default, Squid doesn't listen on any multicast groups.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: udp_incoming_address&lt;br /&gt;#  TAG: udp_outgoing_address&lt;br /&gt;# udp_incoming_address is used for the ICP socket receiving packets&lt;br /&gt;#    from other caches.&lt;br /&gt;# udp_outgoing_address is used for ICP packets sent out to other&lt;br /&gt;#    caches.&lt;br /&gt;#&lt;br /&gt;# The default behavior is to not bind to any specific address.&lt;br /&gt;#&lt;br /&gt;# A udp_incoming_address value of 0.0.0.0 indicates Squid&lt;br /&gt;# should listen for UDP messages on all available interfaces.&lt;br /&gt;#&lt;br /&gt;# If udp_outgoing_address is set to 255.255.255.255 (the default)&lt;br /&gt;# it will use the same socket as udp_incoming_address. Only&lt;br /&gt;# change this if you want to have ICP queries sent using another&lt;br /&gt;# address than where this Squid listens for ICP queries from other&lt;br /&gt;# caches.&lt;br /&gt;#&lt;br /&gt;# NOTE, udp_incoming_address and udp_outgoing_address can not&lt;br /&gt;# have the same value since they both use port 3130.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# udp_incoming_address 0.0.0.0&lt;br /&gt;# udp_outgoing_address 255.255.255.255&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: cache_peer&lt;br /&gt;# To specify other caches in a hierarchy, use the format:&lt;br /&gt;#&lt;br /&gt;#  cache_peer hostname type http_port icp_port&lt;br /&gt;#&lt;br /&gt;# For example,&lt;br /&gt;#&lt;br /&gt;# #                                        proxy  icp&lt;br /&gt;# #          hostname             type     port   port  options&lt;br /&gt;# #          -------------------- -------- ----- -----  -----------&lt;br /&gt; cache_peer 192.168.0.253        parent    3128  3130  round-robin&lt;br /&gt; cache_peer 192.168.0.10         parent    8080    0   round-robin&lt;br /&gt;# cache_peer sib1.foo.net         sibling   3128  3130  [proxy-only]&lt;br /&gt;# cache_peer sib2.foo.net         sibling   3128  3130  [proxy-only]&lt;br /&gt;#&lt;br /&gt;#       type:  either 'parent', 'sibling', or 'multicast'.&lt;br /&gt;#&lt;br /&gt;# proxy_port:  The port number where the cache listens for proxy&lt;br /&gt;#       requests.&lt;br /&gt;#&lt;br /&gt;#   icp_port:  Used for querying neighbor caches about&lt;br /&gt;#       objects.  To have a non-ICP neighbor&lt;br /&gt;#       specify '7' for the ICP port and make sure the&lt;br /&gt;#       neighbor machine has the UDP echo port&lt;br /&gt;#       enabled in its /etc/inetd.conf file.&lt;br /&gt;#&lt;br /&gt;#     options: proxy-only&lt;br /&gt;#       weight=n&lt;br /&gt;#       ttl=n&lt;br /&gt;#       no-query&lt;br /&gt;#       default&lt;br /&gt;#       round-robin&lt;br /&gt;#       multicast-responder&lt;br /&gt;#       closest-only&lt;br /&gt;#       no-digest&lt;br /&gt;#       no-netdb-exchange&lt;br /&gt;#       no-delay&lt;br /&gt;#       login=user:password | PASS | *:password&lt;br /&gt;#       connect-timeout=nn&lt;br /&gt;#       digest-url=url&lt;br /&gt;#       allow-miss&lt;br /&gt;#       max-conn&lt;br /&gt;#       htcp&lt;br /&gt;#       carp-load-factor&lt;br /&gt;#&lt;br /&gt;#       use 'proxy-only' to specify objects fetched&lt;br /&gt;#       from this cache should not be saved locally.&lt;br /&gt;#&lt;br /&gt;#       use 'weight=n' to specify a weighted parent.&lt;br /&gt;#       The weight must be an integer.  The default weight&lt;br /&gt;#       is 1, larger weights are favored more.&lt;br /&gt;#&lt;br /&gt;#       use 'ttl=n' to specify a IP multicast TTL to use&lt;br /&gt;#       when sending an ICP queries to this address.&lt;br /&gt;#       Only useful when sending to a multicast group.&lt;br /&gt;#       Because we don't accept ICP replies from random&lt;br /&gt;#       hosts, you must configure other group members as&lt;br /&gt;#       peers with the 'multicast-responder' option below.&lt;br /&gt;#&lt;br /&gt;#       use 'no-query' to NOT send ICP queries to this&lt;br /&gt;#       neighbor.&lt;br /&gt;#&lt;br /&gt;#       use 'default' if this is a parent cache which can&lt;br /&gt;#       be used as a "last-resort." You should probably&lt;br /&gt;#       only use 'default' in situations where you cannot&lt;br /&gt;#       use ICP with your parent cache(s).&lt;br /&gt;#&lt;br /&gt;#       use 'round-robin' to define a set of parents which&lt;br /&gt;#       should be used in a round-robin fashion in the&lt;br /&gt;#       absence of any ICP queries.&lt;br /&gt;#&lt;br /&gt;#       'multicast-responder' indicates the named peer&lt;br /&gt;#       is a member of a multicast group.  ICP queries will&lt;br /&gt;#       not be sent directly to the peer, but ICP replies&lt;br /&gt;#       will be accepted from it.&lt;br /&gt;#&lt;br /&gt;#       'closest-only' indicates that, for ICP_OP_MISS&lt;br /&gt;#       replies, we'll only forward CLOSEST_PARENT_MISSes&lt;br /&gt;#       and never FIRST_PARENT_MISSes.&lt;br /&gt;#&lt;br /&gt;#       use 'no-digest' to NOT request cache digests from&lt;br /&gt;#       this neighbor.&lt;br /&gt;#&lt;br /&gt;#       'no-netdb-exchange' disables requesting ICMP&lt;br /&gt;#       RTT database (NetDB) from the neighbor.&lt;br /&gt;#&lt;br /&gt;#       use 'no-delay' to prevent access to this neighbor&lt;br /&gt;#       from influencing the delay pools.&lt;br /&gt;#&lt;br /&gt;#       use 'login=user:password' if this is a personal/workgroup&lt;br /&gt;#       proxy and your parent requires proxy authentication.&lt;br /&gt;#       Note: The string can include URL escapes (i.e. %20 for&lt;br /&gt;#       spaces). This also means % must be written as %%.&lt;br /&gt;#&lt;br /&gt;#       use 'login=PASS' if users must authenticate against&lt;br /&gt;#       the upstream proxy. This will pass the users credentials&lt;br /&gt;#       as they are to the peer proxy. This only works for the&lt;br /&gt;#       Basic HTTP authentication scheme. Note: To combine this&lt;br /&gt;#       with proxy_auth both proxies must share the same user&lt;br /&gt;#       database as HTTP only allows for one proxy login.&lt;br /&gt;#       Also be warned this will expose your users proxy&lt;br /&gt;#       password to the peer. USE WITH CAUTION&lt;br /&gt;#&lt;br /&gt;#       use 'login=*:password' to pass the username to the&lt;br /&gt;#       upstream cache, but with a fixed password. This is meant&lt;br /&gt;#       to be used when the peer is in another administrative&lt;br /&gt;#       domain, but it is still needed to identify each user.&lt;br /&gt;#       The star can optionally be followed by some extra&lt;br /&gt;#       information which is added to the username. This can&lt;br /&gt;#       be used to identify this proxy to the peer, similar to&lt;br /&gt;#       the login=username:password option above.&lt;br /&gt;#&lt;br /&gt;#       use 'connect-timeout=nn' to specify a peer&lt;br /&gt;#       specific connect timeout (also see the&lt;br /&gt;#       peer_connect_timeout directive)&lt;br /&gt;#&lt;br /&gt;#       use 'digest-url=url' to tell Squid to fetch the cache&lt;br /&gt;#       digest (if digests are enabled) for this host from&lt;br /&gt;#       the specified URL rather than the Squid default&lt;br /&gt;#       location.&lt;br /&gt;#&lt;br /&gt;#       use 'allow-miss' to disable Squid's use of only-if-cached&lt;br /&gt;#       when forwarding requests to siblings. This is primarily&lt;br /&gt;#       useful when icp_hit_stale is used by the sibling. To&lt;br /&gt;#       extensive use of this option may result in forwarding&lt;br /&gt;#       loops, and you should avoid having two-way peerings&lt;br /&gt;#       with this option. (for example to deny peer usage on&lt;br /&gt;#       requests from peer by denying cache_peer_access if the&lt;br /&gt;#       source is a peer)&lt;br /&gt;#&lt;br /&gt;#       use 'max-conn' to limit the amount of connections Squid&lt;br /&gt;#       may open to this peer.&lt;br /&gt;#&lt;br /&gt;#       use 'htcp' to send HTCP, instead of ICP, queries&lt;br /&gt;#       to the neighbor.  You probably also want to&lt;br /&gt;#       set the "icp port" to 4827 instead of 3130.&lt;br /&gt;#&lt;br /&gt;#       use 'carp-load-factor=f' to define a parent&lt;br /&gt;#       cache as one participating in a CARP array.&lt;br /&gt;#       The 'f' values for all CARP parents must add&lt;br /&gt;#       up to 1.0.&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;# NOTE: non-ICP/HTCP neighbors must be specified as 'parent'.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: cache_peer_domain&lt;br /&gt;# Use to limit the domains for which a neighbor cache will be&lt;br /&gt;# queried.  Usage:&lt;br /&gt;#&lt;br /&gt;# cache_peer_domain cache-host domain [domain ...]&lt;br /&gt;# cache_peer_domain cache-host !domain&lt;br /&gt;#&lt;br /&gt;# For example, specifying&lt;br /&gt;#&lt;br /&gt;#  cache_peer_domain parent.foo.net .edu&lt;br /&gt;#&lt;br /&gt;# has the effect such that UDP query packets are sent to&lt;br /&gt;# 'bigserver' only when the requested object exists on a&lt;br /&gt;# server in the .edu domain.  Prefixing the domainname&lt;br /&gt;# with '!' means the cache will be queried for objects&lt;br /&gt;# NOT in that domain.&lt;br /&gt;#&lt;br /&gt;# NOTE: * Any number of domains may be given for a cache-host,&lt;br /&gt;#    either on the same or separate lines.&lt;br /&gt;#  * When multiple domains are given for a particular&lt;br /&gt;#    cache-host, the first matched domain is applied.&lt;br /&gt;#  * Cache hosts with no domain restrictions are queried&lt;br /&gt;#    for all requests.&lt;br /&gt;#  * There are no defaults.&lt;br /&gt;#  * There is also a 'cache_peer_access' tag in the ACL&lt;br /&gt;#    section.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: neighbor_type_domain&lt;br /&gt;# usage: neighbor_type_domain neighbor parent|sibling domain domain ...&lt;br /&gt;#&lt;br /&gt;# Modifying the neighbor type for specific domains is now&lt;br /&gt;# possible.  You can treat some domains differently than the the&lt;br /&gt;# default neighbor type specified on the 'cache_peer' line.&lt;br /&gt;# Normally it should only be necessary to list domains which&lt;br /&gt;# should be treated differently because the default neighbor type&lt;br /&gt;# applies for hostnames which do not match domains listed here.&lt;br /&gt;#&lt;br /&gt;#EXAMPLE:&lt;br /&gt;# cache_peer  parent cache.foo.org 3128 3130&lt;br /&gt;# neighbor_type_domain cache.foo.org sibling .com .net&lt;br /&gt;# neighbor_type_domain cache.foo.org sibling .au .de&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: icp_query_timeout (msec)&lt;br /&gt;# Normally Squid will automatically determine an optimal ICP&lt;br /&gt;# query timeout value based on the round-trip-time of recent ICP&lt;br /&gt;# queries.  If you want to override the value determined by&lt;br /&gt;# Squid, set this 'icp_query_timeout' to a non-zero value.  This&lt;br /&gt;# value is specified in MILLISECONDS, so, to use a 2-second&lt;br /&gt;# timeout (the old default), you would write:&lt;br /&gt;#&lt;br /&gt;#  icp_query_timeout 2000&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# icp_query_timeout 0&lt;br /&gt;&lt;br /&gt;#  TAG: maximum_icp_query_timeout (msec)&lt;br /&gt;# Normally the ICP query timeout is determined dynamically.  But&lt;br /&gt;# sometimes it can lead to very large values (say 5 seconds).&lt;br /&gt;# Use this option to put an upper limit on the dynamic timeout&lt;br /&gt;# value.  Do NOT use this option to always use a fixed (instead&lt;br /&gt;# of a dynamic) timeout value. To set a fixed timeout see the&lt;br /&gt;# 'icp_query_timeout' directive.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# maximum_icp_query_timeout 2000&lt;br /&gt;&lt;br /&gt;#  TAG: mcast_icp_query_timeout (msec)&lt;br /&gt;# For Multicast peers, Squid regularly sends out ICP "probes" to&lt;br /&gt;# count how many other peers are listening on the given multicast&lt;br /&gt;# address.  This value specifies how long Squid should wait to&lt;br /&gt;# count all the replies.  The default is 2000 msec, or 2&lt;br /&gt;# seconds.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# mcast_icp_query_timeout 2000&lt;br /&gt;&lt;br /&gt;#  TAG: dead_peer_timeout (seconds)&lt;br /&gt;# This controls how long Squid waits to declare a peer cache&lt;br /&gt;# as "dead."  If there are no ICP replies received in this&lt;br /&gt;# amount of time, Squid will declare the peer dead and not&lt;br /&gt;# expect to receive any further ICP replies.  However, it&lt;br /&gt;# continues to send ICP queries, and will mark the peer as&lt;br /&gt;# alive upon receipt of the first subsequent ICP reply.&lt;br /&gt;#&lt;br /&gt;# This timeout also affects when Squid expects to receive ICP&lt;br /&gt;# replies from peers.  If more than 'dead_peer' seconds have&lt;br /&gt;# passed since the last ICP reply was received, Squid will not&lt;br /&gt;# expect to receive an ICP reply on the next query.  Thus, if&lt;br /&gt;# your time between requests is greater than this timeout, you&lt;br /&gt;# will see a lot of requests sent DIRECT to origin servers&lt;br /&gt;# instead of to your parents.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# dead_peer_timeout 10 seconds&lt;br /&gt;&lt;br /&gt;#  TAG: hierarchy_stoplist&lt;br /&gt;# A list of words which, if found in a URL, cause the object to&lt;br /&gt;# be handled directly by this cache.  In other words, use this&lt;br /&gt;# to not query neighbor caches for certain objects.  You may&lt;br /&gt;# list this option multiple times. Note: never_direct overrides&lt;br /&gt;# this option.&lt;br /&gt;#We recommend you to use at least the following line.&lt;br /&gt;hierarchy_stoplist cgi-bin ?&lt;br /&gt;&lt;br /&gt;#  TAG: no_cache&lt;br /&gt;# A list of ACL elements which, if matched, cause the request to&lt;br /&gt;# not be satisfied from the cache and the reply to not be cached.&lt;br /&gt;# In other words, use this to force certain objects to never be cached.&lt;br /&gt;#&lt;br /&gt;# You must use the word 'DENY' to indicate the ACL names which should&lt;br /&gt;# NOT be cached.&lt;br /&gt;#&lt;br /&gt;#We recommend you to use the following two lines.&lt;br /&gt;acl QUERY urlpath_regex cgi-bin \?&lt;br /&gt;no_cache deny QUERY&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# OPTIONS WHICH AFFECT THE CACHE SIZE&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: cache_mem (bytes)&lt;br /&gt;# NOTE: THIS PARAMETER DOES NOT SPECIFY THE MAXIMUM PROCESS SIZE.&lt;br /&gt;# IT ONLY PLACES A LIMIT ON HOW MUCH ADDITIONAL MEMORY SQUID WILL&lt;br /&gt;# USE AS A MEMORY CACHE OF OBJECTS. SQUID USES MEMORY FOR OTHER&lt;br /&gt;# THINGS AS WELL. SEE THE SQUID FAQ SECTION 8 FOR DETAILS.&lt;br /&gt;#&lt;br /&gt;# 'cache_mem' specifies the ideal amount of memory to be used&lt;br /&gt;# for:&lt;br /&gt;#  * In-Transit objects&lt;br /&gt;#  * Hot Objects&lt;br /&gt;#  * Negative-Cached objects&lt;br /&gt;#&lt;br /&gt;# Data for these objects are stored in 4 KB blocks.  This&lt;br /&gt;# parameter specifies the ideal upper limit on the total size of&lt;br /&gt;# 4 KB blocks allocated.  In-Transit objects take the highest&lt;br /&gt;# priority.&lt;br /&gt;#&lt;br /&gt;# In-transit objects have priority over the others.  When&lt;br /&gt;# additional space is needed for incoming data, negative-cached&lt;br /&gt;# and hot objects will be released.  In other words, the&lt;br /&gt;# negative-cached and hot objects will fill up any unused space&lt;br /&gt;# not needed for in-transit objects.&lt;br /&gt;#&lt;br /&gt;# If circumstances require, this limit will be exceeded.&lt;br /&gt;# Specifically, if your incoming request rate requires more than&lt;br /&gt;# 'cache_mem' of memory to hold in-transit objects, Squid will&lt;br /&gt;# exceed this limit to satisfy the new requests.  When the load&lt;br /&gt;# decreases, blocks will be freed until the high-water mark is&lt;br /&gt;# reached.  Thereafter, blocks will be used to store hot&lt;br /&gt;# objects.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_mem 128 MB&lt;br /&gt;&lt;br /&gt;#  TAG: cache_swap_low (percent, 0-100)&lt;br /&gt;#  TAG: cache_swap_high (percent, 0-100)&lt;br /&gt;#&lt;br /&gt;# The low- and high-water marks for cache object replacement.&lt;br /&gt;# Replacement begins when the swap (disk) usage is above the&lt;br /&gt;# low-water mark and attempts to maintain utilization near the&lt;br /&gt;# low-water mark.  As swap utilization gets close to high-water&lt;br /&gt;# mark object eviction becomes more aggressive.  If utilization is&lt;br /&gt;# close to the low-water mark less replacement is done each time.&lt;br /&gt;#&lt;br /&gt;# Defaults are 90% and 95%. If you have a large cache, 5% could be&lt;br /&gt;# hundreds of MB. If this is the case you may wish to set these&lt;br /&gt;# numbers closer together.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_swap_low 90&lt;br /&gt;# cache_swap_high 95&lt;br /&gt;&lt;br /&gt;#  TAG: maximum_object_size (bytes)&lt;br /&gt;# Objects larger than this size will NOT be saved on disk.  The&lt;br /&gt;# value is specified in kilobytes, and the default is 4MB.  If&lt;br /&gt;# you wish to get a high BYTES hit ratio, you should probably&lt;br /&gt;# increase this (one 32 MB object hit counts for 3200 10KB&lt;br /&gt;# hits).  If you wish to increase speed more than your want to&lt;br /&gt;# save bandwidth you should leave this low.&lt;br /&gt;#&lt;br /&gt;# NOTE: if using the LFUDA replacement policy you should increase&lt;br /&gt;# this value to maximize the byte hit rate improvement of LFUDA!&lt;br /&gt;# See replacement_policy below for a discussion of this policy.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# maximum_object_size 300 MB&lt;br /&gt;&lt;br /&gt;#  TAG: minimum_object_size (bytes)&lt;br /&gt;# Objects smaller than this size will NOT be saved on disk.  The&lt;br /&gt;# value is specified in kilobytes, and the default is 0 KB, which&lt;br /&gt;# means there is no minimum.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# minimum_object_size 0 KB&lt;br /&gt;&lt;br /&gt;#  TAG: maximum_object_size_in_memory (bytes)&lt;br /&gt;#        Objects greater than this size will not be attempted to kept in&lt;br /&gt;#        the memory cache. This should be set high enough to keep objects&lt;br /&gt;#        accessed frequently in memory to improve performance whilst low&lt;br /&gt;#        enough to keep larger objects from hoarding cache_mem .&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# maximum_object_size_in_memory 8 KB&lt;br /&gt;&lt;br /&gt;#  TAG: ipcache_size (number of entries)&lt;br /&gt;#  TAG: ipcache_low (percent)&lt;br /&gt;#  TAG: ipcache_high (percent)&lt;br /&gt;# The size, low-, and high-water marks for the IP cache.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ipcache_size 1024&lt;br /&gt;# ipcache_low 90&lt;br /&gt;# ipcache_high 95&lt;br /&gt;&lt;br /&gt;#  TAG: fqdncache_size (number of entries)&lt;br /&gt;# Maximum number of FQDN cache entries.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# fqdncache_size 1024&lt;br /&gt;&lt;br /&gt;#  TAG: cache_replacement_policy&lt;br /&gt;# The cache replacement policy parameter determines which&lt;br /&gt;# objects are evicted (replaced) when disk space is needed.&lt;br /&gt;#&lt;br /&gt;#     lru       : Squid's original list based LRU policy&lt;br /&gt;#     heap GDSF : Greedy-Dual Size Frequency&lt;br /&gt;#     heap LFUDA: Least Frequently Used with Dynamic Aging&lt;br /&gt;#     heap LRU  : LRU policy implemented using a heap&lt;br /&gt;#&lt;br /&gt;# Applies to any cache_dir lines listed below this.&lt;br /&gt;#&lt;br /&gt;# The LRU policies keeps recently referenced objects.&lt;br /&gt;#&lt;br /&gt;# The heap GDSF policy optimizes object hit rate by keeping smaller&lt;br /&gt;# popular objects in cache so it has a better chance of getting a&lt;br /&gt;# hit.  It achieves a lower byte hit rate than LFUDA though since&lt;br /&gt;# it evicts larger (possibly popular) objects.&lt;br /&gt;#&lt;br /&gt;# The heap LFUDA policy keeps popular objects in cache regardless of&lt;br /&gt;# their size and thus optimizes byte hit rate at the expense of&lt;br /&gt;# hit rate since one large, popular object will prevent many&lt;br /&gt;# smaller, slightly less popular objects from being cached.&lt;br /&gt;#&lt;br /&gt;# Both policies utilize a dynamic aging mechanism that prevents&lt;br /&gt;# cache pollution that can otherwise occur with frequency-based&lt;br /&gt;# replacement policies.&lt;br /&gt;#&lt;br /&gt;# NOTE: if using the LFUDA replacement policy you should increase&lt;br /&gt;# the value of maximum_object_size above its default of 4096 KB to&lt;br /&gt;# to maximize the potential byte hit rate improvement of LFUDA.&lt;br /&gt;#&lt;br /&gt;# For more information about the GDSF and LFUDA cache replacement&lt;br /&gt;# policies see http://www.hpl.hp.com/techreports/1999/HPL-1999-69.html&lt;br /&gt;# and http://fog.hpl.external.hp.com/techreports/98/HPL-98-173.html.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_replacement_policy lru&lt;br /&gt;&lt;br /&gt;#  TAG: memory_replacement_policy&lt;br /&gt;# The memory replacement policy parameter determines which&lt;br /&gt;# objects are purged from memory when memory space is needed.&lt;br /&gt;#&lt;br /&gt;# See cache_replacement_policy for details.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# memory_replacement_policy lru&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# LOGFILE PATHNAMES AND CACHE DIRECTORIES&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: cache_dir&lt;br /&gt;# Usage:&lt;br /&gt;#&lt;br /&gt;# cache_dir Type Directory-Name Fs-specific-data [options]&lt;br /&gt;#&lt;br /&gt;# You can specify multiple cache_dir lines to spread the&lt;br /&gt;# cache among different disk partitions.&lt;br /&gt;#&lt;br /&gt;# Type specifies the kind of storage system to use. Only "ufs"&lt;br /&gt;# is built by default. To enable any of the other storage systems&lt;br /&gt;# see the --enable-storeio configure option.&lt;br /&gt;#&lt;br /&gt;# 'Directory' is a top-level directory where cache swap&lt;br /&gt;# files will be stored.  If you want to use an entire disk&lt;br /&gt;# for caching, this can be the mount-point directory.&lt;br /&gt;# The directory must exist and be writable by the Squid&lt;br /&gt;# process.  Squid will NOT create this directory for you.&lt;br /&gt;#&lt;br /&gt;# The ufs store type:&lt;br /&gt;#&lt;br /&gt;# "ufs" is the old well-known Squid storage format that has always&lt;br /&gt;# been there.&lt;br /&gt;#&lt;br /&gt;# cache_dir ufs Directory-Name Mbytes L1 L2 [options]&lt;br /&gt;#&lt;br /&gt;# 'Mbytes' is the amount of disk space (MB) to use under this&lt;br /&gt;# directory.  The default is 100 MB.  Change this to suit your&lt;br /&gt;# configuration.  Do NOT put the size of your disk drive here.&lt;br /&gt;# Instead, if you want Squid to use the entire disk drive,&lt;br /&gt;# subtract 20% and use that value.&lt;br /&gt;#&lt;br /&gt;# 'Level-1' is the number of first-level subdirectories which&lt;br /&gt;# will be created under the 'Directory'.  The default is 16.&lt;br /&gt;#&lt;br /&gt;# 'Level-2' is the number of second-level subdirectories which&lt;br /&gt;# will be created under each first-level directory.  The default&lt;br /&gt;# is 256.&lt;br /&gt;#&lt;br /&gt;# The aufs store type:&lt;br /&gt;#&lt;br /&gt;# "aufs" uses the same storage format as "ufs", utilizing&lt;br /&gt;# POSIX-threads to avoid blocking the main Squid process on&lt;br /&gt;# disk-I/O. This was formerly known in Squid as async-io.&lt;br /&gt;#&lt;br /&gt;# cache_dir aufs Directory-Name Mbytes L1 L2 [options]&lt;br /&gt;#&lt;br /&gt;# see argument descriptions under ufs above&lt;br /&gt;#&lt;br /&gt;# The diskd store type:&lt;br /&gt;#&lt;br /&gt;# "diskd" uses the same storage format as "ufs", utilizing a&lt;br /&gt;# separate process to avoid blocking the main Squid process on&lt;br /&gt;# disk-I/O.&lt;br /&gt;#&lt;br /&gt;# cache_dir diskd Directory-Name Mbytes L1 L2 [options] [Q1=n] [Q2=n]&lt;br /&gt;#&lt;br /&gt;# see argument descriptions under ufs above&lt;br /&gt;#&lt;br /&gt;# Q1 specifies the number of unacknowledged I/O requests when Squid&lt;br /&gt;# stops opening new files. If this many messages are in the queues,&lt;br /&gt;# Squid won't open new files. Default is 64&lt;br /&gt;#&lt;br /&gt;# Q2 specifies the number of unacknowledged messages when Squid&lt;br /&gt;# starts blocking.  If this many messages are in the queues,&lt;br /&gt;# Squid blocks until it receives some replies. Default is 72&lt;br /&gt;#&lt;br /&gt;# When Q1 &lt; Q2 (the default), the cache directory is optimized&lt;br /&gt;# for lower response time at the expense of a decrease in hit&lt;br /&gt;# ratio.  If Q1 &gt; Q2, the cache directory is optimized for&lt;br /&gt;# higher hit ratio at the expense of an increase in response&lt;br /&gt;# time.&lt;br /&gt;#&lt;br /&gt;# The coss store type:&lt;br /&gt;#&lt;br /&gt;# block-size=n defines the "block size" for COSS cache_dir's.&lt;br /&gt;# Squid uses file numbers as block numbers.  Since file numbers&lt;br /&gt;# are limited to 24 bits, the block size determines the maximum&lt;br /&gt;# size of the COSS partition.  The default is 512 bytes, which&lt;br /&gt;# leads to a maximum cache_dir size of 512&lt;&lt;24, or 8 GB.  Note&lt;br /&gt;# you should not change the coss block size after Squid&lt;br /&gt;# has written some objects to the cache_dir.&lt;br /&gt;#&lt;br /&gt;# Common options:&lt;br /&gt;#&lt;br /&gt;# read-only, this cache_dir is read only.&lt;br /&gt;#&lt;br /&gt;# max-size=n, refers to the max object size this storedir supports.&lt;br /&gt;# It is used to initially choose the storedir to dump the object.&lt;br /&gt;# Note: To make optimal use of the max-size limits you should order&lt;br /&gt;# the cache_dir lines with the smallest max-size value first and the&lt;br /&gt;# ones with no max-size specification last.&lt;br /&gt;#&lt;br /&gt;# Note that for coss, max-size must be less than COSS_MEMBUF_SZ&lt;br /&gt;# (hard coded at 1 MB).&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt; cache_dir ufs /var/spool/squid  42000 16 256&lt;br /&gt;&lt;br /&gt;#  TAG: cache_access_log&lt;br /&gt;# Logs the client request activity.  Contains an entry for&lt;br /&gt;# every HTTP and ICP queries received. To disable, enter "none".&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_access_log /var/log/squid/access.log&lt;br /&gt;&lt;br /&gt;#  TAG: cache_log&lt;br /&gt;# Cache logging file. This is where general information about&lt;br /&gt;# your cache's behavior goes. You can increase the amount of data&lt;br /&gt;# logged to this file with the "debug_options" tag below.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_log /var/log/squid/cache.log&lt;br /&gt;&lt;br /&gt;#  TAG: cache_store_log&lt;br /&gt;# Logs the activities of the storage manager.  Shows which&lt;br /&gt;# objects are ejected from the cache, and which objects are&lt;br /&gt;# saved and for how long.  To disable, enter "none". There are&lt;br /&gt;# not really utilities to analyze this data, so you can safely&lt;br /&gt;# disable it.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_store_log /var/log/squid/store.log&lt;br /&gt;&lt;br /&gt;#  TAG: cache_swap_log&lt;br /&gt;# Location for the cache "swap.state" file. This log file holds&lt;br /&gt;# the metadata of objects saved on disk.  It is used to rebuild&lt;br /&gt;# the cache during startup.  Normally this file resides in each&lt;br /&gt;# 'cache_dir' directory, but you may specify an alternate&lt;br /&gt;# pathname here.  Note you must give a full filename, not just&lt;br /&gt;# a directory. Since this is the index for the whole object&lt;br /&gt;# list you CANNOT periodically rotate it!&lt;br /&gt;#&lt;br /&gt;# If %s can be used in the file name it will be replaced with a&lt;br /&gt;# a representation of the cache_dir name where each / is replaced&lt;br /&gt;# with '.'. This is needed to allow adding/removing cache_dir&lt;br /&gt;# lines when cache_swap_log is being used.&lt;br /&gt;#&lt;br /&gt;# If have more than one 'cache_dir', and %s is not used in the name&lt;br /&gt;# these swap logs will have names such as:&lt;br /&gt;#&lt;br /&gt;#  cache_swap_log.00&lt;br /&gt;#  cache_swap_log.01&lt;br /&gt;#  cache_swap_log.02&lt;br /&gt;#&lt;br /&gt;# The numbered extension (which is added automatically)&lt;br /&gt;# corresponds to the order of the 'cache_dir' lines in this&lt;br /&gt;# configuration file.  If you change the order of the 'cache_dir'&lt;br /&gt;# lines in this file, these log files will NOT correspond to&lt;br /&gt;# the correct 'cache_dir' entry (unless you manually rename&lt;br /&gt;# them).  We recommend you do NOT use this option.  It is&lt;br /&gt;# better to keep these log files in each 'cache_dir' directory.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: emulate_httpd_log on|off&lt;br /&gt;# The Cache can emulate the log file format which many 'httpd'&lt;br /&gt;# programs use.  To disable/enable this emulation, set&lt;br /&gt;# emulate_httpd_log to 'off' or 'on'.  The default&lt;br /&gt;# is to use the native log format since it includes useful&lt;br /&gt;# information Squid-specific log analyzers use.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# emulate_httpd_log off&lt;br /&gt;&lt;br /&gt;#  TAG: log_ip_on_direct on|off&lt;br /&gt;# Log the destination IP address in the hierarchy log tag when going&lt;br /&gt;# direct. Earlier Squid versions logged the hostname here. If you&lt;br /&gt;# prefer the old way set this to off.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# log_ip_on_direct on&lt;br /&gt;&lt;br /&gt;#  TAG: mime_table&lt;br /&gt;# Pathname to Squid's MIME table. You shouldn't need to change&lt;br /&gt;# this, but the default file contains examples and formatting&lt;br /&gt;# information if you do.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# mime_table /etc/squid/mime.conf&lt;br /&gt;&lt;br /&gt;#  TAG: log_mime_hdrs on|off&lt;br /&gt;# The Cache can record both the request and the response MIME&lt;br /&gt;# headers for each HTTP transaction.  The headers are encoded&lt;br /&gt;# safely and will appear as two bracketed fields at the end of&lt;br /&gt;# the access log (for either the native or httpd-emulated log&lt;br /&gt;# formats).  To enable this logging set log_mime_hdrs to 'on'.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# log_mime_hdrs off&lt;br /&gt;&lt;br /&gt;#  TAG: useragent_log&lt;br /&gt;# Squid will write the User-Agent field from HTTP requests&lt;br /&gt;# to the filename specified here.  By default useragent_log&lt;br /&gt;# is disabled.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: referer_log&lt;br /&gt;# Squid will write the Referer field from HTTP requests to the&lt;br /&gt;# filename specified here.  By default referer_log is disabled.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: pid_filename&lt;br /&gt;# A filename to write the process-id to.  To disable, enter "none".&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# pid_filename /var/run/squid.pid&lt;br /&gt;&lt;br /&gt;#  TAG: debug_options&lt;br /&gt;# Logging options are set as section,level where each source file&lt;br /&gt;# is assigned a unique section.  Lower levels result in less&lt;br /&gt;# output,  Full debugging (level 9) can result in a very large&lt;br /&gt;# log file, so be careful.  The magic word "ALL" sets debugging&lt;br /&gt;# levels for all sections.  We recommend normally running with&lt;br /&gt;# "ALL,1".&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# debug_options ALL,1&lt;br /&gt;&lt;br /&gt;#  TAG: log_fqdn on|off&lt;br /&gt;# Turn this on if you wish to log fully qualified domain names&lt;br /&gt;# in the access.log. To do this Squid does a DNS lookup of all&lt;br /&gt;# IP's connecting to it. This can (in some situations) increase&lt;br /&gt;# latency, which makes your cache seem slower for interactive&lt;br /&gt;# browsing.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# log_fqdn off&lt;br /&gt;&lt;br /&gt;#  TAG: client_netmask&lt;br /&gt;# A netmask for client addresses in logfiles and cachemgr output.&lt;br /&gt;# Change this to protect the privacy of your cache clients.&lt;br /&gt;# A netmask of 255.255.255.0 will log all IP's in that range with&lt;br /&gt;# the last digit set to '0'.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# client_netmask 255.255.255.255&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# OPTIONS FOR EXTERNAL SUPPORT PROGRAMS&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: ftp_user&lt;br /&gt;# If you want the anonymous login password to be more informative&lt;br /&gt;# (and enable the use of picky ftp servers), set this to something&lt;br /&gt;# reasonable for your domain, like wwwuser@somewhere.net&lt;br /&gt;#&lt;br /&gt;# The reason why this is domainless by default is the&lt;br /&gt;# request can be made on the behalf of a user in any domain,&lt;br /&gt;# depending on how the cache is used.&lt;br /&gt;# Some ftp server also validate the email address is valid&lt;br /&gt;# (for example perl.com).&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ftp_user Squid@&lt;br /&gt;&lt;br /&gt;#  TAG: ftp_list_width&lt;br /&gt;# Sets the width of ftp listings. This should be set to fit in&lt;br /&gt;# the width of a standard browser. Setting this too small&lt;br /&gt;# can cut off long filenames when browsing ftp sites.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ftp_list_width 32&lt;br /&gt;&lt;br /&gt;#  TAG: ftp_passive&lt;br /&gt;# If your firewall does not allow Squid to use passive&lt;br /&gt;# connections, turn off this option.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ftp_passive on&lt;br /&gt;&lt;br /&gt;#  TAG: ftp_sanitycheck&lt;br /&gt;# For security and data integrity reasons Squid by default performs&lt;br /&gt;# sanity checks of the addresses of FTP data connections ensure the&lt;br /&gt;# data connection is to the requested server. If you need to allow&lt;br /&gt;# FTP connections to servers using another IP address for the data&lt;br /&gt;# connection turn this off.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ftp_sanitycheck on&lt;br /&gt;&lt;br /&gt;#  TAG: ftp_telnet_protocol&lt;br /&gt;# The FTP protocol is officially defined to use the telnet protocol&lt;br /&gt;# as transport channel for the control connection. However, many&lt;br /&gt;# implementations are broken and does not respect this aspect of&lt;br /&gt;# the FTP protocol.&lt;br /&gt;#&lt;br /&gt;# If you have trouble accessing files with ASCII code 255 in the&lt;br /&gt;# path or similar problems involving this ASCII code you can&lt;br /&gt;# try setting this directive to off. If that helps, report to the&lt;br /&gt;# operator of the FTP server in question that their FTP server&lt;br /&gt;# is broken and does not follow the FTP standard.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ftp_telnet_protocol on&lt;br /&gt;&lt;br /&gt;#  TAG: cache_dns_program&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       --disable-internal-dns option&lt;br /&gt;#&lt;br /&gt;# Specify the location of the executable for dnslookup process.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_dns_program /usr/lib/squid/dnsserver&lt;br /&gt;&lt;br /&gt;#  TAG: dns_children&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       --disable-internal-dns option&lt;br /&gt;#&lt;br /&gt;# The number of processes spawn to service DNS name lookups.&lt;br /&gt;# For heavily loaded caches on large servers, you should&lt;br /&gt;# probably increase this value to at least 10.  The maximum&lt;br /&gt;# is 32.  The default is 5.&lt;br /&gt;#&lt;br /&gt;# You must have at least one dnsserver process.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# dns_children 5&lt;br /&gt;&lt;br /&gt;#  TAG: dns_retransmit_interval&lt;br /&gt;# Initial retransmit interval for DNS queries. The interval is&lt;br /&gt;# doubled each time all configured DNS servers have been tried.&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# dns_retransmit_interval 5 seconds&lt;br /&gt;&lt;br /&gt;#  TAG: dns_timeout&lt;br /&gt;# DNS Query timeout. If no response is received to a DNS query&lt;br /&gt;# within this time all DNS servers for the queried domain&lt;br /&gt;# are assumed to be unavailable.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# dns_timeout 2 minutes&lt;br /&gt;&lt;br /&gt;#  TAG: dns_defnames on|off&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       --disable-internal-dns option&lt;br /&gt;#&lt;br /&gt;# Normally the 'dnsserver' disables the RES_DEFNAMES resolver&lt;br /&gt;# option (see res_init(3)).  This prevents caches in a hierarchy&lt;br /&gt;# from interpreting single-component hostnames locally.  To allow&lt;br /&gt;# dnsserver to handle single-component names, enable this&lt;br /&gt;# option.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# dns_defnames off&lt;br /&gt;&lt;br /&gt;#  TAG: dns_nameservers&lt;br /&gt;# Use this if you want to specify a list of DNS name servers&lt;br /&gt;# (IP addresses) to use instead of those given in your&lt;br /&gt;# /etc/resolv.conf file.&lt;br /&gt;# On Windows platforms, if no value is specified here or in&lt;br /&gt;# the /etc/resolv.conf file, the list of DNS name servers are&lt;br /&gt;# taken from the Windows registry, both static and dynamic DHCP&lt;br /&gt;# configurations are supported.&lt;br /&gt;#&lt;br /&gt;# Example: dns_nameservers 10.0.0.1 192.172.0.4&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: hosts_file&lt;br /&gt;# Location of the host-local IP name-address associations&lt;br /&gt;# database.  Most Operating Systems have such a file: under&lt;br /&gt;# Un*X it's by default in /etc/hosts.  MS-Windows NT/2000 places&lt;br /&gt;# it in %SystemRoot%(by default&lt;br /&gt;# c:\winnt)\system32\drivers\etc\hosts, while Windows 9x/ME&lt;br /&gt;# places it in %windir%(usually c:\windows)\hosts&lt;br /&gt;#&lt;br /&gt;# The file contains newline-separated definitions, in the&lt;br /&gt;# form ip_address_in_dotted_form name [name ...] names are&lt;br /&gt;# whitespace-separated.  lines beginning with an hash (#)&lt;br /&gt;# character are comments.&lt;br /&gt;#&lt;br /&gt;# The file is checked at startup and upon configuration.  If&lt;br /&gt;# set to 'none', it won't be checked.  If append_domain is&lt;br /&gt;# used, that domain will be added to domain-local (i.e. not&lt;br /&gt;# containing any dot character) host definitions.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# hosts_file /etc/hosts&lt;br /&gt;&lt;br /&gt;#  TAG: diskd_program&lt;br /&gt;# Specify the location of the diskd executable.&lt;br /&gt;# Note that this is only useful if you have compiled in&lt;br /&gt;# diskd as one of the store io modules.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# diskd_program /usr/lib/squid/diskd&lt;br /&gt;&lt;br /&gt;#  TAG: unlinkd_program&lt;br /&gt;# Specify the location of the executable for file deletion process.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# unlinkd_program /usr/lib/squid/unlinkd&lt;br /&gt;&lt;br /&gt;#  TAG: pinger_program&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       --enable-icmp option&lt;br /&gt;#&lt;br /&gt;# Specify the location of the executable for the pinger process.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# pinger_program /usr/lib/squid/pinger&lt;br /&gt;&lt;br /&gt;#  TAG: redirect_program&lt;br /&gt;# Specify the location of the executable for the URL redirector.&lt;br /&gt;# Since they can perform almost any function there isn't one included.&lt;br /&gt;# See the FAQ (section 15) for information on how to write one.&lt;br /&gt;# By default, a redirector is not used.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: redirect_children&lt;br /&gt;# The number of redirector processes to spawn. If you start&lt;br /&gt;# too few Squid will have to wait for them to process a backlog of&lt;br /&gt;# URLs, slowing it down. If you start too many they will use RAM&lt;br /&gt;# and other system resources.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# redirect_children 5&lt;br /&gt;&lt;br /&gt;#  TAG: redirect_rewrites_host_header&lt;br /&gt;# By default Squid rewrites any Host: header in redirected&lt;br /&gt;# requests.  If you are running an accelerator this may&lt;br /&gt;# not be a wanted effect of a redirector.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# redirect_rewrites_host_header on&lt;br /&gt;&lt;br /&gt;#  TAG: redirector_access&lt;br /&gt;# If defined, this access list specifies which requests are&lt;br /&gt;# sent to the redirector processes.  By default all requests&lt;br /&gt;# are sent.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: auth_param&lt;br /&gt;# This is used to define parameters for the various authentication&lt;br /&gt;# schemes supported by Squid.&lt;br /&gt;#&lt;br /&gt;# format: auth_param scheme parameter [setting]&lt;br /&gt;#&lt;br /&gt;# The order in which authentication schemes are presented to the client is&lt;br /&gt;# dependent on the order the scheme first appears in config file. IE&lt;br /&gt;# has a bug (it's not rfc 2617 compliant) in that it will use the basic&lt;br /&gt;# scheme if basic is the first entry presented, even if more secure&lt;br /&gt;# schemes are presented. For now use the order in the recommended&lt;br /&gt;# settings section below. If other browsers have difficulties (don't&lt;br /&gt;# recognize the schemes offered even if you are using basic) either&lt;br /&gt;# put basic first, or disable the other schemes (by commenting out their&lt;br /&gt;# program entry).&lt;br /&gt;#&lt;br /&gt;# Once an authentication scheme is fully configured, it can only be&lt;br /&gt;# shutdown by shutting squid down and restarting. Changes can be made on&lt;br /&gt;# the fly and activated with a reconfigure. I.E. You can change to a&lt;br /&gt;# different helper, but not unconfigure the helper completely.&lt;br /&gt;#&lt;br /&gt;# Please note that while this directive defines how Squid processes&lt;br /&gt;# authentication it does not automatically activate authentication.&lt;br /&gt;# To use authentication you must in addition make use of ACLs based&lt;br /&gt;# on login name in http_access (proxy_auth, proxy_auth_regex or&lt;br /&gt;# external with %LOGIN used in the format tag). The browser will be&lt;br /&gt;# challenged for authentication on the first such acl encountered&lt;br /&gt;# in http_access processing and will also be re-challenged for new&lt;br /&gt;# login credentials if the request is being denied by a proxy_auth&lt;br /&gt;# type acl.&lt;br /&gt;#&lt;br /&gt;# WARNING: authentication can't be used in a transparently intercepting&lt;br /&gt;# proxy as the client then thinks it is talking to an origin server and&lt;br /&gt;# not the proxy. This is a limitation of bending the TCP/IP protocol to&lt;br /&gt;# transparently intercepting port 80, not a limitation in Squid.&lt;br /&gt;#&lt;br /&gt;# === Parameters for the basic scheme follow. ===&lt;br /&gt;#&lt;br /&gt;# "program" cmdline&lt;br /&gt;# Specify the command for the external authenticator.  Such a program&lt;br /&gt;# reads a line containing "username password" and replies "OK" or&lt;br /&gt;# "ERR" in an endless loop. "ERR" responses may optionally be followed&lt;br /&gt;# by a error description available as %m in the returned error page.&lt;br /&gt;#&lt;br /&gt;# By default, the basic authentication scheme is not used unless a&lt;br /&gt;# program is specified.&lt;br /&gt;#&lt;br /&gt;# If you want to use the traditional proxy authentication, jump over to&lt;br /&gt;# the helpers/basic_auth/NCSA directory and type:&lt;br /&gt;#  % make&lt;br /&gt;#  % make install&lt;br /&gt;#&lt;br /&gt;# Then, set this line to something like&lt;br /&gt;#&lt;br /&gt;# auth_param basic program /usr/libexec/ncsa_auth /usr/etc/passwd&lt;br /&gt;#&lt;br /&gt;# "children" numberofchildren&lt;br /&gt;# The number of authenticator processes to spawn.&lt;br /&gt;# If you start too few Squid will have to wait for them to process a&lt;br /&gt;# backlog of usercode/password verifications, slowing it down. When&lt;br /&gt;# password verifications are done via a (slow) network you are likely to&lt;br /&gt;# need lots of authenticator processes.&lt;br /&gt;# auth_param basic children 5&lt;br /&gt;#&lt;br /&gt;# "realm" realmstring&lt;br /&gt;# Specifies the realm name which is to be reported to the client for&lt;br /&gt;# the basic proxy authentication scheme (part of the text the user&lt;br /&gt;# will see when prompted their username and password).&lt;br /&gt;# auth_param basic realm Squid proxy-caching web server&lt;br /&gt;#&lt;br /&gt;# "credentialsttl" timetolive&lt;br /&gt;# Specifies how long squid assumes an externally validated&lt;br /&gt;# username:password pair is valid for - in other words how often the&lt;br /&gt;# helper program is called for that user. Set this low to force&lt;br /&gt;# revalidation with short lived passwords.  Note that setting this high&lt;br /&gt;# does not impact your susceptibility to replay attacks unless you are&lt;br /&gt;# using an one-time password system (such as SecureID). If you are using&lt;br /&gt;# such a system, you will be vulnerable to replay attacks unless you&lt;br /&gt;# also use the max_user_ip ACL in an http_access rule.&lt;br /&gt;# auth_param basic credentialsttl 2 hours&lt;br /&gt;#&lt;br /&gt;# "casesensitive" on|off&lt;br /&gt;# Specifies if usernames are case sensitive. Most user databases are&lt;br /&gt;# case insensitive allowing the same username to be spelled using both&lt;br /&gt;# lower and upper case letters, but some are case sensitive. This&lt;br /&gt;# makes a big difference for user_max_ip ACL processing and similar.&lt;br /&gt;# auth_param basic casesensitive off&lt;br /&gt;#&lt;br /&gt;# === Parameters for the digest scheme follow ===&lt;br /&gt;#&lt;br /&gt;# "program" cmdline&lt;br /&gt;# Specify the command for the external authenticator.  Such a program&lt;br /&gt;# reads a line containing "username":"realm" and replies with the&lt;br /&gt;# appropriate H(A1) value base64 encoded or ERR if the user (or his H(A1)&lt;br /&gt;# hash) does not exists.  See rfc 2616 for the definition of H(A1).&lt;br /&gt;# "ERR" responses may optionally be followed by a error description&lt;br /&gt;# available as %m in the returned error page.&lt;br /&gt;#&lt;br /&gt;# By default, the digest authentication scheme is not used unless a&lt;br /&gt;# program is specified.&lt;br /&gt;#&lt;br /&gt;# If you want to use a digest authenticator, jump over to the&lt;br /&gt;# helpers/digest_auth/ directory and choose the authenticator to use.&lt;br /&gt;# It it's directory type&lt;br /&gt;#         % make&lt;br /&gt;#         % make install&lt;br /&gt;#&lt;br /&gt;# Then, set this line to something like&lt;br /&gt;#&lt;br /&gt;# auth_param digest program /usr/libexec/digest_auth_pw /usr/etc/digpass&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;# "children" numberofchildren&lt;br /&gt;# The number of authenticator processes to spawn (no default). If you&lt;br /&gt;# start too few Squid will have to wait for them to process a backlog of&lt;br /&gt;# H(A1) calculations, slowing it down.  When the H(A1) calculations are&lt;br /&gt;# done via a (slow) network you are likely to need lots of authenticator&lt;br /&gt;# processes.&lt;br /&gt;# auth_param digest children 5&lt;br /&gt;#&lt;br /&gt;# "realm" realmstring&lt;br /&gt;# Specifies the realm name which is to be reported to the client for the&lt;br /&gt;# digest proxy authentication scheme (part of the text the user will see&lt;br /&gt;# when prompted their username and password).&lt;br /&gt;# auth_param digest realm Squid proxy-caching web server&lt;br /&gt;#&lt;br /&gt;# "nonce_garbage_interval" timeinterval&lt;br /&gt;# Specifies the interval that nonces that have been issued to clients are&lt;br /&gt;# checked for validity.&lt;br /&gt;# auth_param digest nonce_garbage_interval 5 minutes&lt;br /&gt;#&lt;br /&gt;# "nonce_max_duration" timeinterval&lt;br /&gt;# Specifies the maximum length of time a given nonce will be valid for.&lt;br /&gt;# auth_param digest nonce_max_duration 30 minutes&lt;br /&gt;#&lt;br /&gt;# "nonce_max_count" number&lt;br /&gt;# Specifies the maximum number of times a given nonce can be used.&lt;br /&gt;# auth_param digest nonce_max_count 50&lt;br /&gt;#&lt;br /&gt;# "nonce_strictness" on|off&lt;br /&gt;# Determines if squid requires strict increment-by-1 behavior for nonce&lt;br /&gt;# counts, or just incrementing (off - for use when useragents generate&lt;br /&gt;# nonce counts that occasionally miss 1 (ie, 1,2,4,6)).&lt;br /&gt;# auth_param digest nonce_strictness off&lt;br /&gt;#&lt;br /&gt;# "check_nonce_count" on|off&lt;br /&gt;# This directive if set to off can disable the nonce count check&lt;br /&gt;# completely to work around buggy digest qop implementations in certain&lt;br /&gt;# mainstream browser versions. Default on to check the nonce count to&lt;br /&gt;# protect from authentication replay attacks.&lt;br /&gt;# auth_param digest check_nonce_count on&lt;br /&gt;#&lt;br /&gt;# "post_workaround" on|off&lt;br /&gt;# This is a workaround to certain buggy browsers who sends an incorrect&lt;br /&gt;# request digest in POST requests when reusing the same nonce as acquired&lt;br /&gt;#        earlier in response to a GET request.&lt;br /&gt;# auth_param digest post_workaround off&lt;br /&gt;#&lt;br /&gt;# === NTLM scheme options follow ===&lt;br /&gt;#&lt;br /&gt;# "program" cmdline&lt;br /&gt;# Specify the command for the external NTLM authenticator. Such a&lt;br /&gt;# program participates in the NTLMSSP exchanges between Squid and the&lt;br /&gt;# client and reads commands according to the Squid NTLMSSP helper&lt;br /&gt;# protocol. See helpers/ntlm_auth/ for details. Recommended ntlm&lt;br /&gt;# authenticator is ntlm_auth from Samba-3.X, but a number of other&lt;br /&gt;# ntlm authenticators is available.&lt;br /&gt;#&lt;br /&gt;# By default, the ntlm authentication scheme is not used unless a&lt;br /&gt;# program is specified.&lt;br /&gt;#&lt;br /&gt;# auth_param ntlm program /path/to/samba/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp&lt;br /&gt;#&lt;br /&gt;# "children" numberofchildren&lt;br /&gt;# The number of authenticator processes to spawn (no default). If you&lt;br /&gt;# start too few Squid will have to wait for them to process a backlog&lt;br /&gt;# of credential verifications, slowing it down. When credential&lt;br /&gt;# verifications are done via a (slow) network you are likely to need&lt;br /&gt;# lots of authenticator processes.&lt;br /&gt;# auth_param ntlm children 5&lt;br /&gt;#&lt;br /&gt;# "max_challenge_reuses" number&lt;br /&gt;# The maximum number of times a challenge given by a ntlm authentication&lt;br /&gt;# helper can be reused. Increasing this number increases your exposure&lt;br /&gt;# to replay attacks on your network. 0 (the default) means use the&lt;br /&gt;# challenge is used only once. See also the max_ntlm_challenge_lifetime&lt;br /&gt;# directive if enabling challenge reuses.&lt;br /&gt;# auth_param ntlm max_challenge_reuses 0&lt;br /&gt;#&lt;br /&gt;# "max_challenge_lifetime" timespan&lt;br /&gt;# The maximum time period a ntlm challenge is reused over. The&lt;br /&gt;# actual period will be the minimum of this time AND the number of&lt;br /&gt;# reused challenges.&lt;br /&gt;# auth_param ntlm max_challenge_lifetime 2 minutes&lt;br /&gt;#&lt;br /&gt;# "use_ntlm_negotiate" on|off&lt;br /&gt;# Enables support for NTLM NEGOTIATE packet exchanges with the helper.&lt;br /&gt;# The configured ntlm authenticator must be able to handle NTLM&lt;br /&gt;# NEGOTIATE packet. See the authenticator programs documentation if&lt;br /&gt;# unsure. ntlm_auth from Samba-3.0.2 or later supports the use of this&lt;br /&gt;# option.&lt;br /&gt;# The NEGOTIATE packet is required to support NTLMv2 and a&lt;br /&gt;# number of other negotiable NTLMSSP options, and also makes it&lt;br /&gt;# more likely the negotiation is successful. Enabling this parameter&lt;br /&gt;# will also solve problems encountered when NT domain policies&lt;br /&gt;# restrict users to access only certain workstations. When this is off,&lt;br /&gt;# all users must be allowed to log on the proxy servers too, or they'll&lt;br /&gt;# get "invalid workstation" errors - and access denied - when trying to&lt;br /&gt;# use Squid's services.&lt;br /&gt;# Use of ntlm NEGOTIATE is incompatible with challenge reuse, so&lt;br /&gt;# enabling this parameter will OVERRIDE the max_challenge_reuses and&lt;br /&gt;# max_challenge_lifetime parameters and set them to 0.&lt;br /&gt;# auth_param ntlm use_ntlm_negotiate off&lt;br /&gt;#&lt;br /&gt;#Recommended minimum configuration:&lt;br /&gt;#auth_param digest program &lt;uncomment and complete this line&gt;&lt;br /&gt;#auth_param digest children 5&lt;br /&gt;#auth_param digest realm Squid proxy-caching web server&lt;br /&gt;#auth_param digest nonce_garbage_interval 5 minutes&lt;br /&gt;#auth_param digest nonce_max_duration 30 minutes&lt;br /&gt;#auth_param digest nonce_max_count 50&lt;br /&gt;#auth_param ntlm program &lt;uncomment and complete this line to activate&gt;&lt;br /&gt;#auth_param ntlm children 5&lt;br /&gt;#auth_param ntlm max_challenge_reuses 0&lt;br /&gt;#auth_param ntlm max_challenge_lifetime 2 minutes&lt;br /&gt;#auth_param ntlm use_ntlm_negotiate off&lt;br /&gt;#auth_param basic program &lt;uncomment and complete this line&gt;&lt;br /&gt;auth_param basic children 5&lt;br /&gt;auth_param basic realm Squid proxy-caching web server&lt;br /&gt;auth_param basic credentialsttl 2 hours&lt;br /&gt;auth_param basic casesensitive off&lt;br /&gt;&lt;br /&gt;#  TAG: authenticate_cache_garbage_interval&lt;br /&gt;# The time period between garbage collection across the username cache.&lt;br /&gt;# This is a tradeoff between memory utilization (long intervals - say&lt;br /&gt;# 2 days) and CPU (short intervals - say 1 minute). Only change if you&lt;br /&gt;# have good reason to.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# authenticate_cache_garbage_interval 1 hour&lt;br /&gt;&lt;br /&gt;#  TAG: authenticate_ttl&lt;br /&gt;# The time a user &amp; their credentials stay in the logged in user cache&lt;br /&gt;# since their last request. When the garbage interval passes, all user&lt;br /&gt;# credentials that have passed their TTL are removed from memory.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# authenticate_ttl 1 hour&lt;br /&gt;&lt;br /&gt;#  TAG: authenticate_ip_ttl&lt;br /&gt;# If you use proxy authentication and the 'max_user_ip' ACL, this&lt;br /&gt;# directive controls how long Squid remembers the IP addresses&lt;br /&gt;# associated with each user.  Use a small value (e.g., 60 seconds) if&lt;br /&gt;# your users might change addresses quickly, as is the case with&lt;br /&gt;# dialups. You might be safe using a larger value (e.g., 2 hours) in a&lt;br /&gt;# corporate LAN environment with relatively static address assignments.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# authenticate_ip_ttl 0 seconds&lt;br /&gt;&lt;br /&gt;#  TAG: external_acl_type&lt;br /&gt;# This option defines external acl classes using a helper program to&lt;br /&gt;# look up the status&lt;br /&gt;#&lt;br /&gt;#   external_acl_type name [options] FORMAT.. /path/to/helper [helper arguments..]&lt;br /&gt;#&lt;br /&gt;# Options:&lt;br /&gt;#&lt;br /&gt;#   ttl=n  TTL in seconds for cached results (defaults to 3600&lt;br /&gt;#     for 1 hour)&lt;br /&gt;#   negative_ttl=n&lt;br /&gt;#     TTL for cached negative lookups (default same&lt;br /&gt;#     as ttl)&lt;br /&gt;#   children=n Concurrency level / number of processes spawn&lt;br /&gt;#   to service external acl lookups of this type.&lt;br /&gt;#   Note: see compatibility note below&lt;br /&gt;#   cache=n result cache size, 0 is unbounded (default)&lt;br /&gt;#   protocol=3.0 Use URL-escaped strings instead of quoting&lt;br /&gt;#&lt;br /&gt;# FORMAT specifications&lt;br /&gt;#&lt;br /&gt;#   %LOGIN Authenticated user login name&lt;br /&gt;#   %IDENT Ident user name&lt;br /&gt;#   %SRC  Client IP&lt;br /&gt;#   %DST  Requested host&lt;br /&gt;#   %PROTO Requested protocol&lt;br /&gt;#   %PORT  Requested port&lt;br /&gt;#   %METHOD Request method&lt;br /&gt;#   %{Header} HTTP request header&lt;br /&gt;#   %{Hdr:member} HTTP request header list member&lt;br /&gt;#   %{Hdr:;member}&lt;br /&gt;#     HTTP request header list member using ; as&lt;br /&gt;#     list separator. ; can be any non-alphanumeric&lt;br /&gt;#   character.&lt;br /&gt;#&lt;br /&gt;# In addition, any string specified in the referencing acl will&lt;br /&gt;# also be included in the helper request line, after the specified&lt;br /&gt;# formats (see the "acl external" directive)&lt;br /&gt;#&lt;br /&gt;# The helper receives lines per the above format specification,&lt;br /&gt;# and returns lines starting with OK or ERR indicating the validity&lt;br /&gt;# of the request and optionally followed by additional keywords with&lt;br /&gt;# more details.&lt;br /&gt;#&lt;br /&gt;# General result syntax:&lt;br /&gt;#&lt;br /&gt;#   OK/ERR keyword=value ...&lt;br /&gt;#&lt;br /&gt;# Defined keywords:&lt;br /&gt;#&lt;br /&gt;#   user=  The users name (login)&lt;br /&gt;#   error= Error description (only defined for ERR results)&lt;br /&gt;#&lt;br /&gt;# Keyword values need to be enclosed in quotes if they may contain&lt;br /&gt;# whitespace, or the whitespace escaped using \. Any quotes or \&lt;br /&gt;# characters within the keyword value must be \ escaped.&lt;br /&gt;#&lt;br /&gt;# If protocol=3.0 then URL escaping of the strings is used instead&lt;br /&gt;# of the above described quoting format.&lt;br /&gt;#&lt;br /&gt;# Compatibility Note: The children= option was named concurrency= in&lt;br /&gt;# Squid-2.5.STABLE3 and earlier and such syntax is still accepted to&lt;br /&gt;# keep compatibility within the Squid-2.5 release. However, the meaning&lt;br /&gt;# of concurrency= option has changed in Squid-3 and the old syntax of&lt;br /&gt;# the directive is therefore deprecated from Squid-2.5.STABLE4 and later.&lt;br /&gt;# If you want to be able to easily downgrade to earlier Squid-2.5&lt;br /&gt;# releases you may want to continue using the old name, if not&lt;br /&gt;# please use the new name.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# OPTIONS FOR TUNING THE CACHE&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: wais_relay_host&lt;br /&gt;#  TAG: wais_relay_port&lt;br /&gt;# Relay WAIS request to host (1st arg) at port (2 arg).&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# wais_relay_port 0&lt;br /&gt;&lt;br /&gt;#  TAG: request_header_max_size (KB)&lt;br /&gt;# This specifies the maximum size for HTTP headers in a request.&lt;br /&gt;# Request headers are usually relatively small (about 512 bytes).&lt;br /&gt;# Placing a limit on the request header size will catch certain&lt;br /&gt;# bugs (for example with persistent connections) and possibly&lt;br /&gt;# buffer-overflow or denial-of-service attacks.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# request_header_max_size 20 KB&lt;br /&gt;&lt;br /&gt;#  TAG: request_body_max_size (KB)&lt;br /&gt;# This specifies the maximum size for an HTTP request body.&lt;br /&gt;# In other words, the maximum size of a PUT/POST request.&lt;br /&gt;# A user who attempts to send a request with a body larger&lt;br /&gt;# than this limit receives an "Invalid Request" error message.&lt;br /&gt;# If you set this parameter to a zero (the default), there will&lt;br /&gt;# be no limit imposed.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# request_body_max_size 0 KB&lt;br /&gt;&lt;br /&gt;#  TAG: refresh_pattern&lt;br /&gt;# usage: refresh_pattern [-i] regex min percent max [options]&lt;br /&gt;#&lt;br /&gt;# By default, regular expressions are CASE-SENSITIVE.  To make&lt;br /&gt;# them case-insensitive, use the -i option.&lt;br /&gt;#&lt;br /&gt;# 'Min' is the time (in minutes) an object without an explicit&lt;br /&gt;# expiry time should be considered fresh. The recommended&lt;br /&gt;# value is 0, any higher values may cause dynamic applications&lt;br /&gt;# to be erroneously cached unless the application designer&lt;br /&gt;# has taken the appropriate actions.&lt;br /&gt;#&lt;br /&gt;# 'Percent' is a percentage of the objects age (time since last&lt;br /&gt;# modification age) an object without explicit expiry time&lt;br /&gt;# will be considered fresh.&lt;br /&gt;#&lt;br /&gt;# 'Max' is an upper limit on how long objects without an explicit&lt;br /&gt;# expiry time will be considered fresh.&lt;br /&gt;#&lt;br /&gt;# options: override-expire&lt;br /&gt;#   override-lastmod&lt;br /&gt;#   reload-into-ims&lt;br /&gt;#   ignore-reload&lt;br /&gt;#&lt;br /&gt;#  override-expire enforces min age even if the server&lt;br /&gt;#  sent a Expires: header. Doing this VIOLATES the HTTP&lt;br /&gt;#  standard.  Enabling this feature could make you liable&lt;br /&gt;#  for problems which it causes.&lt;br /&gt;#&lt;br /&gt;#  override-lastmod enforces min age even on objects&lt;br /&gt;#  that were modified recently.&lt;br /&gt;#&lt;br /&gt;#  reload-into-ims changes client no-cache or ``reload''&lt;br /&gt;#  to If-Modified-Since requests. Doing this VIOLATES the&lt;br /&gt;#  HTTP standard. Enabling this feature could make you&lt;br /&gt;#  liable for problems which it causes.&lt;br /&gt;#&lt;br /&gt;#  ignore-reload ignores a client no-cache or ``reload''&lt;br /&gt;#  header. Doing this VIOLATES the HTTP standard. Enabling&lt;br /&gt;#  this feature could make you liable for problems which&lt;br /&gt;#  it causes.&lt;br /&gt;#&lt;br /&gt;# Basically a cached object is:&lt;br /&gt;#&lt;br /&gt;#  FRESH if expires &lt; now, else STALE&lt;br /&gt;#  STALE if age &gt; max&lt;br /&gt;#  FRESH if lm-factor &lt; percent, else STALE&lt;br /&gt;#  FRESH if age &lt; min&lt;br /&gt;#  else STALE&lt;br /&gt;#&lt;br /&gt;# The refresh_pattern lines are checked in the order listed here.&lt;br /&gt;# The first entry which matches is used.  If none of the entries&lt;br /&gt;# match the default will be used.&lt;br /&gt;#&lt;br /&gt;# Note, you must uncomment all the default lines if you want&lt;br /&gt;# to change one. The default setting is only active if none is&lt;br /&gt;# used.&lt;br /&gt;#&lt;br /&gt;#Suggested default:&lt;br /&gt;refresh_pattern ^ftp:  1440 20% 10080&lt;br /&gt;refresh_pattern ^gopher: 1440 0% 1440&lt;br /&gt;refresh_pattern .  0 20% 4320&lt;br /&gt;&lt;br /&gt;#  TAG: quick_abort_min (KB)&lt;br /&gt;#  TAG: quick_abort_max (KB)&lt;br /&gt;#  TAG: quick_abort_pct (percent)&lt;br /&gt;# The cache by default continues downloading aborted requests&lt;br /&gt;# which are almost completed (less than 16 KB remaining). This&lt;br /&gt;# may be undesirable on slow (e.g. SLIP) links and/or very busy&lt;br /&gt;# caches.  Impatient users may tie up file descriptors and&lt;br /&gt;# bandwidth by repeatedly requesting and immediately aborting&lt;br /&gt;# downloads.&lt;br /&gt;#&lt;br /&gt;# When the user aborts a request, Squid will check the&lt;br /&gt;# quick_abort values to the amount of data transfered until&lt;br /&gt;# then.&lt;br /&gt;#&lt;br /&gt;# If the transfer has less than 'quick_abort_min' KB remaining,&lt;br /&gt;# it will finish the retrieval.&lt;br /&gt;#&lt;br /&gt;# If the transfer has more than 'quick_abort_max' KB remaining,&lt;br /&gt;# it will abort the retrieval.&lt;br /&gt;#&lt;br /&gt;# If more than 'quick_abort_pct' of the transfer has completed,&lt;br /&gt;# it will finish the retrieval.&lt;br /&gt;#&lt;br /&gt;# If you do not want any retrieval to continue after the client&lt;br /&gt;# has aborted, set both 'quick_abort_min' and 'quick_abort_max'&lt;br /&gt;# to '0 KB'.&lt;br /&gt;#&lt;br /&gt;# If you want retrievals to always continue if they are being&lt;br /&gt;# cached set 'quick_abort_min' to '-1 KB'.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# quick_abort_min 16 KB&lt;br /&gt;# quick_abort_max 16 KB&lt;br /&gt;# quick_abort_pct 95&lt;br /&gt;&lt;br /&gt;#  TAG: negative_ttl time-units&lt;br /&gt;# Time-to-Live (TTL) for failed requests.  Certain types of&lt;br /&gt;# failures (such as "connection refused" and "404 Not Found") are&lt;br /&gt;# negatively-cached for a configurable amount of time.  The&lt;br /&gt;# default is 5 minutes.  Note that this is different from&lt;br /&gt;# negative caching of DNS lookups.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# negative_ttl 5 minutes&lt;br /&gt;&lt;br /&gt;#  TAG: positive_dns_ttl time-units&lt;br /&gt;# Upper limit on how long Squid will cache positive DNS responses.&lt;br /&gt;# Default is 6 hours (360 minutes). This directive must be set&lt;br /&gt;# larger than negative_dns_ttl.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# positive_dns_ttl 6 hours&lt;br /&gt;&lt;br /&gt;#  TAG: negative_dns_ttl time-units&lt;br /&gt;# Time-to-Live (TTL) for negative caching of failed DNS lookups.&lt;br /&gt;# This also makes sets the lower cache limit on positive lookups.&lt;br /&gt;# Minimum value is 1 second, and it is not recommendable to go&lt;br /&gt;# much below 10 seconds.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# negative_dns_ttl 1 minute&lt;br /&gt;&lt;br /&gt;#  TAG: range_offset_limit (bytes)&lt;br /&gt;# Sets a upper limit on how far into the the file a Range request&lt;br /&gt;# may be to cause Squid to prefetch the whole file. If beyond this&lt;br /&gt;# limit Squid forwards the Range request as it is and the result&lt;br /&gt;# is NOT cached.&lt;br /&gt;#&lt;br /&gt;# This is to stop a far ahead range request (lets say start at 17MB)&lt;br /&gt;# from making Squid fetch the whole object up to that point before&lt;br /&gt;# sending anything to the client.&lt;br /&gt;#&lt;br /&gt;# A value of -1 causes Squid to always fetch the object from the&lt;br /&gt;# beginning so it may cache the result. (2.0 style)&lt;br /&gt;#&lt;br /&gt;# A value of 0 causes Squid to never fetch more than the&lt;br /&gt;# client requested. (default)&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# range_offset_limit 0 KB&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# TIMEOUTS&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: forward_timeout time-units&lt;br /&gt;# This parameter specifies how long Squid should at most attempt in&lt;br /&gt;# finding a forwarding path for the request before giving up.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# forward_timeout 4 minutes&lt;br /&gt;&lt;br /&gt;#  TAG: connect_timeout time-units&lt;br /&gt;# This parameter specifies how long to wait for the TCP connect to&lt;br /&gt;# the requested server or peer to complete before Squid should&lt;br /&gt;# attempt to find another path where to forward the request.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# connect_timeout 1 minute&lt;br /&gt;&lt;br /&gt;#  TAG: peer_connect_timeout time-units&lt;br /&gt;# This parameter specifies how long to wait for a pending TCP&lt;br /&gt;# connection to a peer cache.  The default is 30 seconds.   You&lt;br /&gt;# may also set different timeout values for individual neighbors&lt;br /&gt;# with the 'connect-timeout' option on a 'cache_peer' line.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# peer_connect_timeout 30 seconds&lt;br /&gt;&lt;br /&gt;#  TAG: read_timeout time-units&lt;br /&gt;# The read_timeout is applied on server-side connections.  After&lt;br /&gt;# each successful read(), the timeout will be extended by this&lt;br /&gt;# amount.  If no data is read again after this amount of time,&lt;br /&gt;# the request is aborted and logged with ERR_READ_TIMEOUT.  The&lt;br /&gt;# default is 15 minutes.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# read_timeout 15 minutes&lt;br /&gt;&lt;br /&gt;#  TAG: request_timeout&lt;br /&gt;# How long to wait for an HTTP request after initial&lt;br /&gt;# connection establishment.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# request_timeout 5 minutes&lt;br /&gt;&lt;br /&gt;#  TAG: persistent_request_timeout&lt;br /&gt;# How long to wait for the next HTTP request on a persistent&lt;br /&gt;# connection after the previous request completes.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# persistent_request_timeout 1 minute&lt;br /&gt;&lt;br /&gt;#  TAG: client_lifetime time-units&lt;br /&gt;# The maximum amount of time a client (browser) is allowed to&lt;br /&gt;# remain connected to the cache process.  This protects the Cache&lt;br /&gt;# from having a lot of sockets (and hence file descriptors) tied up&lt;br /&gt;# in a CLOSE_WAIT state from remote clients that go away without&lt;br /&gt;# properly shutting down (either because of a network failure or&lt;br /&gt;# because of a poor client implementation).  The default is one&lt;br /&gt;# day, 1440 minutes.&lt;br /&gt;#&lt;br /&gt;# NOTE:  The default value is intended to be much larger than any&lt;br /&gt;# client would ever need to be connected to your cache.  You&lt;br /&gt;# should probably change client_lifetime only as a last resort.&lt;br /&gt;# If you seem to have many client connections tying up&lt;br /&gt;# filedescriptors, we recommend first tuning the read_timeout,&lt;br /&gt;# request_timeout, persistent_request_timeout and quick_abort values.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# client_lifetime 1 day&lt;br /&gt;&lt;br /&gt;#  TAG: half_closed_clients&lt;br /&gt;# Some clients may shutdown the sending side of their TCP&lt;br /&gt;# connections, while leaving their receiving sides open. Sometimes,&lt;br /&gt;# Squid can not tell the difference between a half-closed and a&lt;br /&gt;# fully-closed TCP connection.  By default, half-closed client&lt;br /&gt;# connections are kept open until a read(2) or write(2) on the&lt;br /&gt;# socket returns an error.  Change this option to 'off' and Squid&lt;br /&gt;# will immediately close client connections when read(2) returns&lt;br /&gt;# "no more data to read."&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# half_closed_clients on&lt;br /&gt;&lt;br /&gt;#  TAG: pconn_timeout&lt;br /&gt;# Timeout for idle persistent connections to servers and other&lt;br /&gt;# proxies.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# pconn_timeout 120 seconds&lt;br /&gt;&lt;br /&gt;#  TAG: ident_timeout&lt;br /&gt;# Maximum time to wait for IDENT lookups to complete.&lt;br /&gt;#&lt;br /&gt;# If this is too high, and you enabled IDENT lookups from untrusted&lt;br /&gt;# users, you might be susceptible to denial-of-service by having&lt;br /&gt;# many ident requests going at once.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ident_timeout 10 seconds&lt;br /&gt;&lt;br /&gt;#  TAG: shutdown_lifetime time-units&lt;br /&gt;# When SIGTERM or SIGHUP is received, the cache is put into&lt;br /&gt;# "shutdown pending" mode until all active sockets are closed.&lt;br /&gt;# This value is the lifetime to set for all open descriptors&lt;br /&gt;# during shutdown mode.  Any active clients after this many&lt;br /&gt;# seconds will receive a 'timeout' message.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# shutdown_lifetime 30 seconds&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# ACCESS CONTROLS&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: acl&lt;br /&gt;# Defining an Access List&lt;br /&gt;#&lt;br /&gt;# acl aclname acltype string1 ...&lt;br /&gt;# acl aclname acltype "file" ...&lt;br /&gt;#&lt;br /&gt;# when using "file", the file should contain one item per line&lt;br /&gt;#&lt;br /&gt;# acltype is one of the types described below&lt;br /&gt;#&lt;br /&gt;# By default, regular expressions are CASE-SENSITIVE.  To make&lt;br /&gt;# them case-insensitive, use the -i option.&lt;br /&gt;#&lt;br /&gt;# acl aclname src      ip-address/netmask ... (clients IP address)&lt;br /&gt;# acl aclname src      addr1-addr2/netmask ... (range of addresses)&lt;br /&gt;# acl aclname dst      ip-address/netmask ... (URL host's IP address)&lt;br /&gt;# acl aclname myip     ip-address/netmask ... (local socket IP address)&lt;br /&gt;#&lt;br /&gt;# acl aclname arp      mac-address ... (xx:xx:xx:xx:xx:xx notation)&lt;br /&gt;#   # The arp ACL requires the special configure option --enable-arp-acl.&lt;br /&gt;#   # Furthermore, the arp ACL code is not portable to all operating systems.&lt;br /&gt;#   # It works on Linux, Solaris, FreeBSD and some other *BSD variants.&lt;br /&gt;#   #&lt;br /&gt;#   # NOTE: Squid can only determine the MAC address for clients that are on&lt;br /&gt;#   # the same subnet. If the client is on a different subnet, then Squid cannot&lt;br /&gt;#   # find out its MAC address.&lt;br /&gt;#&lt;br /&gt;# acl aclname srcdomain   .foo.com ...    # reverse lookup, client IP&lt;br /&gt;# acl aclname dstdomain   .foo.com ...    # Destination server from URL&lt;br /&gt;# acl aclname srcdom_regex [-i] xxx ...   # regex matching client name&lt;br /&gt;# acl aclname dstdom_regex [-i] xxx ...   # regex matching server&lt;br /&gt;#   # For dstdomain and dstdom_regex  a reverse lookup is tried if a IP&lt;br /&gt;#   # based URL is used and no match is found. The name "none" is used&lt;br /&gt;#   # if the reverse lookup fails.&lt;br /&gt;#&lt;br /&gt;# acl aclname time     [day-abbrevs]  [h1:m1-h2:m2]&lt;br /&gt;#     day-abbrevs:&lt;br /&gt;#  S - Sunday&lt;br /&gt;#  M - Monday&lt;br /&gt;#  T - Tuesday&lt;br /&gt;#  W - Wednesday&lt;br /&gt;#  H - Thursday&lt;br /&gt;#  F - Friday&lt;br /&gt;#  A - Saturday&lt;br /&gt;#     h1:m1 must be less than h2:m2&lt;br /&gt;# acl aclname url_regex [-i] ^http:// ... # regex matching on whole URL&lt;br /&gt;# acl aclname urlpath_regex [-i] \.gif$ ... # regex matching on URL path&lt;br /&gt;# acl aclname urllogin [-i] [^a-zA-Z0-9] ... # regex matching on URL login field&lt;br /&gt;# acl aclname port     80 70 21 ...&lt;br /&gt;# acl aclname port     0-1024 ...  # ranges allowed&lt;br /&gt;# acl aclname myport   3128 ...  # (local socket TCP port)&lt;br /&gt;# acl aclname proto    HTTP FTP ...&lt;br /&gt;# acl aclname method   GET POST ...&lt;br /&gt;# acl aclname browser  [-i] regexp ...&lt;br /&gt;#   # pattern match on User-Agent header (see also req_header below)&lt;br /&gt;#        acl aclname referer_regex  [-i] regexp ...&lt;br /&gt;#          # pattern match on Referer header&lt;br /&gt;#          # Referer is highly unreliable, so use with care&lt;br /&gt;# acl aclname ident    username ...&lt;br /&gt;# acl aclname ident_regex [-i] pattern ...&lt;br /&gt;#   # string match on ident output.&lt;br /&gt;#   # use REQUIRED to accept any non-null ident.&lt;br /&gt;# acl aclname src_as   number ...&lt;br /&gt;# acl aclname dst_as   number ...&lt;br /&gt;#   # Except for access control, AS numbers can be used for&lt;br /&gt;#   # routing of requests to specific caches. Here's an&lt;br /&gt;#   # example for routing all requests for AS#1241 and only&lt;br /&gt;#   # those to mycache.mydomain.net:&lt;br /&gt;#   # acl asexample dst_as 1241&lt;br /&gt;#   # cache_peer_access mycache.mydomain.net allow asexample&lt;br /&gt;#   # cache_peer_access mycache_mydomain.net deny all&lt;br /&gt;#&lt;br /&gt;# acl aclname proxy_auth username ...&lt;br /&gt;# acl aclname proxy_auth_regex [-i] pattern ...&lt;br /&gt;#   # list of valid usernames&lt;br /&gt;#   # use REQUIRED to accept any valid username.&lt;br /&gt;#   #&lt;br /&gt;#   # NOTE: when a Proxy-Authentication header is sent but it is not&lt;br /&gt;#   # needed during ACL checking the username is NOT logged&lt;br /&gt;#   # in access.log.&lt;br /&gt;#   #&lt;br /&gt;#   # NOTE: proxy_auth requires a EXTERNAL authentication program&lt;br /&gt;#   # to check username/password combinations (see&lt;br /&gt;#   # auth_param directive).&lt;br /&gt;#   #&lt;br /&gt;#   # WARNING: proxy_auth can't be used in a transparent proxy. It&lt;br /&gt;#   # collides with any authentication done by origin servers. It may&lt;br /&gt;#   # seem like it works at first, but it doesn't.&lt;br /&gt;#&lt;br /&gt;# acl aclname snmp_community string ...&lt;br /&gt;#   # A community string to limit access to your SNMP Agent&lt;br /&gt;#   # Example:&lt;br /&gt;#   #&lt;br /&gt;#   # acl snmppublic snmp_community public&lt;br /&gt;#&lt;br /&gt;# acl aclname maxconn number&lt;br /&gt;#   # This will be matched when the client's IP address has&lt;br /&gt;#   # more than &lt;number&gt; HTTP connections established.&lt;br /&gt;#&lt;br /&gt;# acl aclname max_user_ip [-s] number&lt;br /&gt;#   # This will be matched when the user attempts to log in from more&lt;br /&gt;#   # than &lt;number&gt; different ip addresses. The authenticate_ip_ttl&lt;br /&gt;#   # parameter controls the timeout on the ip entries.&lt;br /&gt;#   # If -s is specified the limit is strict, denying browsing&lt;br /&gt;#   # from any further IP addresses until the ttl has expired. Without&lt;br /&gt;#   # -s Squid will just annoy the user by "randomly" denying requests.&lt;br /&gt;#   # (the counter is reset each time the limit is reached and a&lt;br /&gt;#   # request is denied)&lt;br /&gt;#   # NOTE: in acceleration mode or where there is mesh of child proxies,&lt;br /&gt;#   # clients may appear to come from multiple addresses if they are&lt;br /&gt;#   # going through proxy farms, so a limit of 1 may cause user problems.&lt;br /&gt;#&lt;br /&gt;# acl aclname req_mime_type mime-type1 ...&lt;br /&gt;#   # regex match against the mime type of the request generated&lt;br /&gt;#   # by the client. Can be used to detect file upload or some&lt;br /&gt;#   # types HTTP tunneling requests.&lt;br /&gt;#   # NOTE: This does NOT match the reply. You cannot use this&lt;br /&gt;#   # to match the returned file type.&lt;br /&gt;#&lt;br /&gt;# acl aclname req_header header-name [-i] any\.regex\.here&lt;br /&gt;#   # regex match against any of the known request headers.  May be&lt;br /&gt;#   # thought of as a superset of "browser", "referer" and "mime-type"&lt;br /&gt;#   # ACLs.&lt;br /&gt;#&lt;br /&gt;# acl aclname rep_mime_type mime-type1 ...&lt;br /&gt;#   # regex match against the mime type of the reply received by&lt;br /&gt;#   # squid. Can be used to detect file download or some&lt;br /&gt;#   # types HTTP tunneling requests.&lt;br /&gt;#   # NOTE: This has no effect in http_access rules. It only has&lt;br /&gt;#   # effect in rules that affect the reply data stream such as&lt;br /&gt;#   # http_reply_access.&lt;br /&gt;#&lt;br /&gt;# acl aclname rep_header header-name [-i] any\.regex\.here&lt;br /&gt;#   # regex match against any of the known response headers.&lt;br /&gt;#   # Example:&lt;br /&gt;#   #&lt;br /&gt;#   # acl many_spaces rep_header Content-Disposition -i [[:space:]]{3,}&lt;br /&gt;#&lt;br /&gt;# acl acl_name external class_name [arguments...]&lt;br /&gt;#   # external ACL lookup via a helper class defined by the&lt;br /&gt;#   # external_acl_type directive.&lt;br /&gt;#&lt;br /&gt;#Examples:&lt;br /&gt;#acl macaddress arp 09:00:2b:23:45:67&lt;br /&gt;#acl myexample dst_as 1241&lt;br /&gt;#acl password proxy_auth REQUIRED&lt;br /&gt;#acl fileupload req_mime_type -i ^multipart/form-data$&lt;br /&gt;#acl javascript rep_mime_type -i ^application/x-javascript$&lt;br /&gt;#&lt;br /&gt;#Recommended minimum configuration:&lt;br /&gt;acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#################################################&lt;br /&gt;acl net2 src 192.168.0.200/32&lt;br /&gt;acl net2 src 192.168.0.10/32&lt;br /&gt;acl net2 src 192.168.0.11/32&lt;br /&gt;acl net3 src 192.168.0.101/32&lt;br /&gt;acl net3 src 192.168.0.27/32&lt;br /&gt;acl net3 src 192.168.0.41/32&lt;br /&gt;acl net src 192.168.1.0/255.255.255.0&lt;br /&gt;##################################################&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;acl manager proto cache_object&lt;br /&gt;acl localhost src 127.0.0.1/255.255.255.255&lt;br /&gt;acl to_localhost dst 127.0.0.0/8&lt;br /&gt;acl SSL_ports port 443 563&lt;br /&gt;acl Safe_ports port 80  # http&lt;br /&gt;acl Safe_ports port 21  # ftp&lt;br /&gt;acl Safe_ports port 443 563 # https, snews&lt;br /&gt;acl Safe_ports port 70  # gopher&lt;br /&gt;acl Safe_ports port 210  # wais&lt;br /&gt;acl Safe_ports port 1025-65535 # unregistered ports&lt;br /&gt;acl Safe_ports port 280  # http-mgmt&lt;br /&gt;acl Safe_ports port 488  # gss-http&lt;br /&gt;acl Safe_ports port 591  # filemaker&lt;br /&gt;acl Safe_ports port 777  # multiling http&lt;br /&gt;acl CONNECT method CONNECT&lt;br /&gt;&lt;br /&gt;#acl dl1 url_regex -i "/etc/squid/ban"&lt;br /&gt;#acl abc  url_regex -i cgi-bin passport gateway google gmail&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;######################## Windows Update Block ###########&lt;br /&gt;acl abc2 url_regex -i ^http://du.download.windowsupdate.com&lt;br /&gt;acl abc2 url_regex -i ^http://download.windowsupdate.com&lt;br /&gt;acl abc2 url_regex -i ^http://www.download.windowsupdate.com&lt;br /&gt;#########################&lt;br /&gt;&lt;br /&gt;acl opendl time 11:00-23:59&lt;br /&gt;acl opendl time 00:00-01:00&lt;br /&gt;&lt;br /&gt;#  TAG: follow_x_forwarded_for&lt;br /&gt;# Allowing or Denying the X-Forwarded-For header to be followed to&lt;br /&gt;# find the original source of a request.&lt;br /&gt;#&lt;br /&gt;# Requests may pass through a chain of several other proxies&lt;br /&gt;# before reaching us.  The X-Forwarded-For header will contain a&lt;br /&gt;# comma-separated list of the IP addresses in the chain, with the&lt;br /&gt;# rightmost address being the most recent.&lt;br /&gt;#&lt;br /&gt;# If a request reaches us from a source that is allowed by this&lt;br /&gt;# configuration item, then we consult the X-Forwarded-For header&lt;br /&gt;# to see where that host received the request from.  If the&lt;br /&gt;# X-Forwarded-For header contains multiple addresses, and if&lt;br /&gt;# acl_uses_indirect_client is on, then we continue backtracking&lt;br /&gt;# until we reach an address for which we are not allowed to&lt;br /&gt;# follow the X-Forwarded-For header, or until we reach the first&lt;br /&gt;# address in the list.  (If acl_uses_indirect_client is off, then&lt;br /&gt;# it's impossible to backtrack through more than one level of&lt;br /&gt;# X-Forwarded-For addresses.)&lt;br /&gt;#&lt;br /&gt;# The end result of this process is an IP address that we will&lt;br /&gt;# refer to as the indirect client address.  This address may&lt;br /&gt;# be treated as the client address for access control, delay&lt;br /&gt;# pools and logging, depending on the acl_uses_indirect_client,&lt;br /&gt;# delay_pool_uses_indirect_client and log_uses_indirect_client&lt;br /&gt;# options.&lt;br /&gt;#&lt;br /&gt;# SECURITY CONSIDERATIONS:&lt;br /&gt;#&lt;br /&gt;#  Any host for which we follow the X-Forwarded-For header&lt;br /&gt;#  can place incorrect information in the header, and Squid&lt;br /&gt;#  will use the incorrect information as if it were the&lt;br /&gt;#  source address of the request.  This may enable remote&lt;br /&gt;#  hosts to bypass any access control restrictions that are&lt;br /&gt;#  based on the client's source addresses.&lt;br /&gt;#&lt;br /&gt;# For example:&lt;br /&gt;#&lt;br /&gt;#  acl localhost src 127.0.0.1&lt;br /&gt;#  acl my_other_proxy srcdomain .proxy.example.com&lt;br /&gt;#  follow_x_forwarded_for allow localhost&lt;br /&gt;#  follow_x_forwarded_for allow my_other_proxy&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# follow_x_forwarded_for deny all&lt;br /&gt;&lt;br /&gt;#  TAG: acl_uses_indirect_client on|off&lt;br /&gt;# Controls whether the indirect client address&lt;br /&gt;# (see follow_x_forwarded_for) is used instead of the&lt;br /&gt;# direct client address in acl matching.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# acl_uses_indirect_client on&lt;br /&gt;&lt;br /&gt;#  TAG: delay_pool_uses_indirect_client on|off&lt;br /&gt;# Controls whether the indirect client address&lt;br /&gt;# (see follow_x_forwarded_for) is used instead of the&lt;br /&gt;# direct client address in delay pools.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# delay_pool_uses_indirect_client on&lt;br /&gt;&lt;br /&gt;#  TAG: log_uses_indirect_client on|off&lt;br /&gt;# Controls whether the indirect client address&lt;br /&gt;# (see follow_x_forwarded_for) is used instead of the&lt;br /&gt;# direct client address in the access log.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# log_uses_indirect_client on&lt;br /&gt;&lt;br /&gt;#  TAG: http_access&lt;br /&gt;# Allowing or Denying access based on defined access lists&lt;br /&gt;#&lt;br /&gt;# Access to the HTTP port:&lt;br /&gt;# http_access allow|deny [!]aclname ...&lt;br /&gt;#&lt;br /&gt;# NOTE on default values:&lt;br /&gt;#&lt;br /&gt;# If there are no "access" lines present, the default is to deny&lt;br /&gt;# the request.&lt;br /&gt;#&lt;br /&gt;# If none of the "access" lines cause a match, the default is the&lt;br /&gt;# opposite of the last line in the list.  If the last line was&lt;br /&gt;# deny, the default is allow.  Conversely, if the last line&lt;br /&gt;# is allow, the default will be deny.  For these reasons, it is a&lt;br /&gt;# good idea to have an "deny all" or "allow all" entry at the end&lt;br /&gt;# of your access lists to avoid potential confusion.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# http_access deny all&lt;br /&gt;#&lt;br /&gt;#Recommended minimum configuration:&lt;br /&gt;#&lt;br /&gt;# Only allow cachemgr access from localhost&lt;br /&gt;http_access allow manager localhost&lt;br /&gt;http_access deny manager&lt;br /&gt;# Deny requests to unknown ports&lt;br /&gt;http_access deny !Safe_ports&lt;br /&gt;# Deny CONNECT to other than SSL ports&lt;br /&gt;http_access deny CONNECT !SSL_ports&lt;br /&gt;#&lt;br /&gt;# We strongly recommend the following be uncommented to protect innocent&lt;br /&gt;# web applications running on the proxy server who think the only&lt;br /&gt;# one who can access services on "localhost" is a local user&lt;br /&gt;#http_access deny to_localhost&lt;br /&gt;#&lt;br /&gt;# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS&lt;br /&gt;&lt;br /&gt;# Example rule allowing access from your local networks. Adapt&lt;br /&gt;# to list your (internal) IP networks from where browsing should&lt;br /&gt;# be allowed&lt;br /&gt;#acl our_networks src 192.168.1.0/24 192.168.2.0/24&lt;br /&gt;#http_access allow our_networks&lt;br /&gt;&lt;br /&gt;# And finally deny all other access to this proxy&lt;br /&gt;http_access allow localhost&lt;br /&gt;&lt;br /&gt;http_access deny abc2&lt;br /&gt;http_access allow net&lt;br /&gt;http_access allow net2&lt;br /&gt;&lt;br /&gt;http_access deny all&lt;br /&gt;&lt;br /&gt;#  TAG: http_reply_access&lt;br /&gt;#        Allow replies to client requests. This is complementary to http_access.&lt;br /&gt;#&lt;br /&gt;#        http_reply_access allow|deny [!] aclname ...&lt;br /&gt;#&lt;br /&gt;#        NOTE: if there are no access lines present, the default is to allow&lt;br /&gt;# all replies&lt;br /&gt;#&lt;br /&gt;#        If none of the access lines cause a match the opposite of the&lt;br /&gt;#        last line will apply. Thus it is good practice to end the rules&lt;br /&gt;#        with an "allow all" or "deny all" entry.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt; http_reply_access allow all&lt;br /&gt;#&lt;br /&gt;#Recommended minimum configuration:&lt;br /&gt;#&lt;br /&gt;# Insert your own rules here.&lt;br /&gt;#&lt;br /&gt;#&lt;br /&gt;# and finally allow by default&lt;br /&gt;http_reply_access allow all&lt;br /&gt;&lt;br /&gt;#  TAG: icp_access&lt;br /&gt;# Allowing or Denying access to the ICP port based on defined&lt;br /&gt;# access lists&lt;br /&gt;#&lt;br /&gt;# icp_access  allow|deny [!]aclname ...&lt;br /&gt;#&lt;br /&gt;# See http_access for details&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# icp_access deny all&lt;br /&gt;#&lt;br /&gt;#Allow ICP queries from everyone&lt;br /&gt;icp_access allow all&lt;br /&gt;&lt;br /&gt;#  TAG: miss_access&lt;br /&gt;# Use to force your neighbors to use you as a sibling instead of&lt;br /&gt;# a parent.  For example:&lt;br /&gt;#&lt;br /&gt;#  acl localclients src 172.16.0.0/16&lt;br /&gt;#  miss_access allow localclients&lt;br /&gt;#  miss_access deny  !localclients&lt;br /&gt;#&lt;br /&gt;# This means only your local clients are allowed to fetch&lt;br /&gt;# MISSES and all other clients can only fetch HITS.&lt;br /&gt;#&lt;br /&gt;# By default, allow all clients who passed the http_access rules&lt;br /&gt;# to fetch MISSES from us.&lt;br /&gt;#&lt;br /&gt;#Default setting:&lt;br /&gt;# miss_access allow all&lt;br /&gt;&lt;br /&gt;#  TAG: cache_peer_access&lt;br /&gt;# Similar to 'cache_peer_domain' but provides more flexibility by&lt;br /&gt;# using ACL elements.&lt;br /&gt;#&lt;br /&gt;# cache_peer_access cache-host allow|deny [!]aclname ...&lt;br /&gt;#&lt;br /&gt;# The syntax is identical to 'http_access' and the other lists of&lt;br /&gt;# ACL elements.  See the comments for 'http_access' below, or&lt;br /&gt;# the Squid FAQ (http://www.squid-cache.org/FAQ/FAQ-10.html).&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: ident_lookup_access&lt;br /&gt;# A list of ACL elements which, if matched, cause an ident&lt;br /&gt;# (RFC931) lookup to be performed for this request.  For&lt;br /&gt;# example, you might choose to always perform ident lookups&lt;br /&gt;# for your main multi-user Unix boxes, but not for your Macs&lt;br /&gt;# and PCs.  By default, ident lookups are not performed for&lt;br /&gt;# any requests.&lt;br /&gt;#&lt;br /&gt;# To enable ident lookups for specific client addresses, you&lt;br /&gt;# can follow this example:&lt;br /&gt;#&lt;br /&gt;# acl ident_aware_hosts src 198.168.1.0/255.255.255.0&lt;br /&gt;# ident_lookup_access allow ident_aware_hosts&lt;br /&gt;# ident_lookup_access deny all&lt;br /&gt;#&lt;br /&gt;# Only src type ACL checks are fully supported.  A src_domain&lt;br /&gt;# ACL might work at times, but it will not always provide&lt;br /&gt;# the correct result.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ident_lookup_access deny all&lt;br /&gt;&lt;br /&gt;#  TAG: tcp_outgoing_tos&lt;br /&gt;# Allows you to select a TOS/Diffserv value to mark outgoing&lt;br /&gt;# connections with, based on the username or source address&lt;br /&gt;# making the request.&lt;br /&gt;#&lt;br /&gt;# tcp_outgoing_tos ds-field [!]aclname ...&lt;br /&gt;#&lt;br /&gt;# Example where normal_service_net uses the TOS value 0x00&lt;br /&gt;# and normal_service_net uses 0x20&lt;br /&gt;#&lt;br /&gt;# acl normal_service_net src 10.0.0.0/255.255.255.0&lt;br /&gt;# acl good_service_net src 10.0.1.0/255.255.255.0&lt;br /&gt;# tcp_outgoing_tos 0x00 normal_service_net 0x00&lt;br /&gt;# tcp_outgoing_tos 0x20 good_service_net&lt;br /&gt;#&lt;br /&gt;# TOS/DSCP values really only have local significance - so you should&lt;br /&gt;# know what you're specifying. For more information, see RFC2474 and &lt;br /&gt;# RFC3260.&lt;br /&gt;#&lt;br /&gt;# The TOS/DSCP byte must be exactly that - a octet value  0 - 255, or&lt;br /&gt;# "default" to use whatever default your host has. Note that in&lt;br /&gt;# practice often only values 0 - 63 is usable as the two highest bits&lt;br /&gt;# have been redefined for use by ECN (RFC3168).&lt;br /&gt;#&lt;br /&gt;# Processing proceeds in the order specified, and stops at first fully&lt;br /&gt;# matching line.&lt;br /&gt;#&lt;br /&gt;# Note: The use of this directive using client dependent ACLs is&lt;br /&gt;# incompatible with the use of server side persistent connetions. To&lt;br /&gt;# ensure correct results it is best to set server_persisten_connections&lt;br /&gt;# to off when using this directive in such configurations.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: tcp_outgoing_address&lt;br /&gt;# Allows you to map requests to different outgoing IP addresses&lt;br /&gt;# based on the username or sourceaddress of the user making&lt;br /&gt;# the request.&lt;br /&gt;#&lt;br /&gt;# tcp_outgoing_address ipaddr [[!]aclname] ...&lt;br /&gt;#&lt;br /&gt;# Example where requests from 10.0.0.0/24 will be forwarded&lt;br /&gt;# with source address 10.1.0.1, 10.0.2.0/24 forwarded with&lt;br /&gt;# source address 10.1.0.2 and the rest will be forwarded with&lt;br /&gt;# source address 10.1.0.3.&lt;br /&gt;#&lt;br /&gt;# acl normal_service_net src 10.0.0.0/255.255.255.0&lt;br /&gt;# acl good_service_net src 10.0.1.0/255.255.255.0&lt;br /&gt;# tcp_outgoing_address 10.0.0.1 normal_service_net&lt;br /&gt;# tcp_outgoing_address 10.0.0.2 good_service_net&lt;br /&gt;# tcp_outgoing_address 10.0.0.3&lt;br /&gt;#&lt;br /&gt;# Processing proceeds in the order specified, and stops at first fully&lt;br /&gt;# matching line.&lt;br /&gt;#&lt;br /&gt;# Note: The use of this directive using client dependent ACLs is&lt;br /&gt;# incompatible with the use of server side persistent connetions. To&lt;br /&gt;# ensure correct results it is best to set server_persisten_connections&lt;br /&gt;# to off when using this directive in such configurations.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: reply_header_max_size (KB)&lt;br /&gt;# This specifies the maximum size for HTTP headers in a reply.&lt;br /&gt;# Reply headers are usually relatively small (about 512 bytes).&lt;br /&gt;# Placing a limit on the reply header size will catch certain&lt;br /&gt;# bugs (for example with persistent connections) and possibly&lt;br /&gt;# buffer-overflow or denial-of-service attacks.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# reply_header_max_size 20 KB&lt;br /&gt;&lt;br /&gt;#  TAG: reply_body_max_size bytes allow|deny acl acl...&lt;br /&gt;#        This option specifies the maximum size of a reply body in bytes.&lt;br /&gt;# It can be used to prevent users from downloading very large files,&lt;br /&gt;# such as MP3's and movies. When the reply headers are received,&lt;br /&gt;# the reply_body_max_size lines are processed, and the first line with&lt;br /&gt;# a result of "allow" is used as the maximum body size for this reply.&lt;br /&gt;# This size is checked twice. First when we get the reply headers,&lt;br /&gt;# we check the content-length value.  If the content length value exists&lt;br /&gt;# and is larger than the allowed size, the request is denied and the&lt;br /&gt;# user receives an error message that says "the request or reply&lt;br /&gt;# is too large." If there is no content-length, and the reply&lt;br /&gt;# size exceeds this limit, the client's connection is just closed&lt;br /&gt;# and they will receive a partial reply.&lt;br /&gt;#&lt;br /&gt;# WARNING: downstream caches probably can not detect a partial reply&lt;br /&gt;# if there is no content-length header, so they will cache&lt;br /&gt;# partial responses and give them out as hits.  You should NOT&lt;br /&gt;# use this option if you have downstream caches.&lt;br /&gt;#&lt;br /&gt;# If you set this parameter to zero (the default), there will be&lt;br /&gt;# no limit imposed.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# reply_body_max_size 0 allow all&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# ADMINISTRATIVE PARAMETERS&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: cache_mgr&lt;br /&gt;# Email-address of local cache manager who will receive&lt;br /&gt;# mail if the cache dies. The default is "root".&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;cache_mgr imrance@hotmail.com&lt;br /&gt;#Default:&lt;br /&gt;# cache_mgr root&lt;br /&gt;&lt;br /&gt;#  TAG: mail_from&lt;br /&gt;# From: email-address for mail sent when the cache dies.&lt;br /&gt;# The default is to use 'appname@unique_hostname'.&lt;br /&gt;# Default appname value is "squid", can be changed into &lt;br /&gt;# src/globals.h before building squid.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: mail_program&lt;br /&gt;# Email program used to send mail if the cache dies.&lt;br /&gt;# The default is "mail". The specified program must complain&lt;br /&gt;# with the standard Unix mail syntax:&lt;br /&gt;# mail_program recipient &lt; mailfile&lt;br /&gt;# Optional command line options can be specified.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# mail_program mail&lt;br /&gt;&lt;br /&gt;#  TAG: cache_effective_user&lt;br /&gt;# If you start Squid as root, it will change its effective/real&lt;br /&gt;# UID/GID to the user specified below.  The default is to change&lt;br /&gt;# to UID to "squid".  If you define cache_effective_user, but not&lt;br /&gt;# cache_effective_group, Squid sets the GID to the effective&lt;br /&gt;# user's default group ID (taken from the password file) and&lt;br /&gt;# supplementary group list from the from groups membership of&lt;br /&gt;# cache_effective_user.&lt;br /&gt;cache_effective_user squid&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_effective_user squid&lt;br /&gt;&lt;br /&gt;#  TAG: cache_effective_group&lt;br /&gt;# If you want Squid to run with a specific GID regardless of&lt;br /&gt;# the group memberships of the effective user then set this&lt;br /&gt;# to the group (or GID) you want Squid to run as. When set&lt;br /&gt;# all other group privileges of the effective user is ignored&lt;br /&gt;# and only this GID is effective. If Squid is not started as&lt;br /&gt;# root the user starting Squid must be member of the specified&lt;br /&gt;# group.&lt;br /&gt;cache_effective_group squid&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# cache_effective_group squid &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;visible_hostname proxy.rays.net&lt;br /&gt;#  TAG: visible_hostname&lt;br /&gt;# If you want to present a special hostname in error messages, etc,&lt;br /&gt;# define this.  Otherwise, the return value of gethostname()&lt;br /&gt;# will be used. If you have multiple caches in a cluster and&lt;br /&gt;# get errors about IP-forwarding you must set them to have individual&lt;br /&gt;# names with this setting.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: unique_hostname&lt;br /&gt;# If you want to have multiple machines with the same&lt;br /&gt;# 'visible_hostname' you must give each machine a different&lt;br /&gt;# 'unique_hostname' so forwarding loops can be detected.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: hostname_aliases&lt;br /&gt;# A list of other DNS names your cache has.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# OPTIONS FOR THE CACHE REGISTRATION SERVICE&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;#&lt;br /&gt;# This section contains parameters for the (optional) cache&lt;br /&gt;# announcement service.  This service is provided to help&lt;br /&gt;# cache administrators locate one another in order to join or&lt;br /&gt;# create cache hierarchies.&lt;br /&gt;#&lt;br /&gt;# An 'announcement' message is sent (via UDP) to the registration&lt;br /&gt;# service by Squid.  By default, the announcement message is NOT&lt;br /&gt;# SENT unless you enable it with 'announce_period' below.&lt;br /&gt;#&lt;br /&gt;# The announcement message includes your hostname, plus the&lt;br /&gt;# following information from this configuration file:&lt;br /&gt;#&lt;br /&gt;#  http_port&lt;br /&gt;#  icp_port&lt;br /&gt;#  cache_mgr&lt;br /&gt;#&lt;br /&gt;# All current information is processed regularly and made&lt;br /&gt;# available on the Web at http://www.ircache.net/Cache/Tracker/.&lt;br /&gt;&lt;br /&gt;#  TAG: announce_period&lt;br /&gt;# This is how frequently to send cache announcements.  The&lt;br /&gt;# default is `0' which disables sending the announcement&lt;br /&gt;# messages.&lt;br /&gt;#&lt;br /&gt;# To enable announcing your cache, just uncomment the line&lt;br /&gt;# below.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# announce_period 0&lt;br /&gt;#&lt;br /&gt;#To enable announcing your cache, just uncomment the line below.&lt;br /&gt;#announce_period 1 day&lt;br /&gt;&lt;br /&gt;#  TAG: announce_host&lt;br /&gt;#  TAG: announce_file&lt;br /&gt;#  TAG: announce_port&lt;br /&gt;# announce_host and announce_port set the hostname and port&lt;br /&gt;# number where the registration message will be sent.&lt;br /&gt;#&lt;br /&gt;# Hostname will default to 'tracker.ircache.net' and port will&lt;br /&gt;# default default to 3131.  If the 'filename' argument is given,&lt;br /&gt;# the contents of that file will be included in the announce&lt;br /&gt;# message.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# announce_host tracker.ircache.net&lt;br /&gt;# announce_port 3131&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# HTTPD-ACCELERATOR OPTIONS&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; httpd_accel_host virtual&lt;br /&gt;#  TAG: httpd_accel_host&lt;br /&gt;#  TAG: httpd_accel_port&lt;br /&gt;# If you want to run Squid as an httpd accelerator, define the&lt;br /&gt;# host name and port number where the real HTTP server is.&lt;br /&gt;#&lt;br /&gt;# If you want IP based virtual host support specify the&lt;br /&gt;# hostname as "virtual". This will make Squid use the IP address&lt;br /&gt;# where it accepted the request as hostname in the URL.&lt;br /&gt;#&lt;br /&gt;# If you want virtual port support specify the port as "0".&lt;br /&gt;#&lt;br /&gt;# NOTE: enabling httpd_accel_host disables proxy-caching and&lt;br /&gt;# ICP.  If you want these features enabled also, set&lt;br /&gt;# the 'httpd_accel_with_proxy' option.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt; httpd_accel_port 80&lt;br /&gt;&lt;br /&gt;#  TAG: httpd_accel_single_host on|off&lt;br /&gt;# If you are running Squid as an accelerator and have a single backend&lt;br /&gt;# server set this to on. This causes Squid to forward the request&lt;br /&gt;# to this server, regardless of what any redirectors or Host headers&lt;br /&gt;# say.&lt;br /&gt;#&lt;br /&gt;# Leave this at off if you have multiple backend servers, and use a&lt;br /&gt;# redirector (or host table or private DNS) to map the requests to the&lt;br /&gt;# appropriate backend servers. Note that the mapping needs to be a&lt;br /&gt;# 1-1 mapping between requested and backend (from redirector) domain&lt;br /&gt;# names or caching will fail, as caching is performed using the&lt;br /&gt;# URL returned from the redirector.&lt;br /&gt;#&lt;br /&gt;# See also redirect_rewrites_host_header.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# httpd_accel_single_host off&lt;br /&gt;&lt;br /&gt;#  TAG: httpd_accel_with_proxy on|off&lt;br /&gt;# If you want to use Squid as both a local httpd accelerator&lt;br /&gt;# and as a proxy, change this to 'on'. Note however your&lt;br /&gt;# proxy users may have trouble to reach the accelerated domains&lt;br /&gt;# unless their browsers are configured not to use this proxy for&lt;br /&gt;# those domains (for example via the no_proxy browser configuration&lt;br /&gt;# setting)&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt; httpd_accel_with_proxy on&lt;br /&gt;&lt;br /&gt;#  TAG: httpd_accel_uses_host_header on|off&lt;br /&gt;# HTTP/1.1 requests include a Host: header which is basically the&lt;br /&gt;# hostname from the URL.  The Host: header is used for domain based&lt;br /&gt;# virtual hosts. If your accelerator needs to provide domain based&lt;br /&gt;# virtual hosts on the same IP address you will need to turn this&lt;br /&gt;# on.&lt;br /&gt;#&lt;br /&gt;# Note Squid does NOT check the value of the Host header matches&lt;br /&gt;# any of your accelerated server, so it may open a big security hole&lt;br /&gt;# unless you take care to set up access controls proper.  We recommend&lt;br /&gt;# this option remain disabled unless you are sure of what you&lt;br /&gt;# are doing.&lt;br /&gt;#&lt;br /&gt;# However, you will need to enable this option if you run Squid&lt;br /&gt;# as a transparent proxy.  Otherwise, virtual servers which&lt;br /&gt;# require the Host: header will not be properly cached.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt; httpd_accel_uses_host_header on&lt;br /&gt;&lt;br /&gt;#  TAG: httpd_accel_no_pmtu_disc on|off&lt;br /&gt;# In many setups of transparently intercepting proxies Path-MTU&lt;br /&gt;# discovery can not work on traffic towards the clients. This is&lt;br /&gt;# the case when the intercepting device does not fully track&lt;br /&gt;# connections and fails to forward ICMP must fragment messages&lt;br /&gt;# to the cache server. &lt;br /&gt;# &lt;br /&gt;# If you have such setup and experience that certain clients&lt;br /&gt;# sporadically hang or never complete requests set this to on.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# httpd_accel_no_pmtu_disc off&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# MISCELLANEOUS&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: dns_testnames&lt;br /&gt;# The DNS tests exit as soon as the first site is successfully looked up&lt;br /&gt;#&lt;br /&gt;# This test can be disabled with the -D command line option.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# dns_testnames netscape.com internic.net nlanr.net microsoft.com&lt;br /&gt;&lt;br /&gt;#  TAG: logfile_rotate&lt;br /&gt;# Specifies the number of logfile rotations to make when you&lt;br /&gt;# type 'squid -k rotate'.  The default is 10, which will rotate&lt;br /&gt;# with extensions 0 through 9.  Setting logfile_rotate to 0 will&lt;br /&gt;# disable the rotation, but the logfiles are still closed and&lt;br /&gt;# re-opened.  This will enable you to rename the logfiles&lt;br /&gt;# yourself just before sending the rotate signal.&lt;br /&gt;#&lt;br /&gt;# Note, the 'squid -k rotate' command normally sends a USR1&lt;br /&gt;# signal to the running squid process.  In certain situations&lt;br /&gt;# (e.g. on Linux with Async I/O), USR1 is used for other&lt;br /&gt;# purposes, so -k rotate uses another signal.  It is best to get&lt;br /&gt;# in the habit of using 'squid -k rotate' instead of 'kill -USR1&lt;br /&gt;# &lt;pid&gt;'.&lt;br /&gt;# &lt;br /&gt;logfile_rotate 10&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# logfile_rotate 0&lt;br /&gt;&lt;br /&gt;#  TAG: append_domain&lt;br /&gt;# Appends local domain name to hostnames without any dots in&lt;br /&gt;# them.  append_domain must begin with a period.&lt;br /&gt;#&lt;br /&gt;# Be warned there are now Internet names with no dots in&lt;br /&gt;# them using only top-domain names, so setting this may&lt;br /&gt;# cause some Internet sites to become unavailable.&lt;br /&gt;#&lt;br /&gt;#Example:&lt;br /&gt;# append_domain .yourdomain.com&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: tcp_recv_bufsize (bytes)&lt;br /&gt;# Size of receive buffer to set for TCP sockets.  Probably just&lt;br /&gt;# as easy to change your kernel's default.  Set to zero to use&lt;br /&gt;# the default buffer size.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# tcp_recv_bufsize 0 bytes&lt;br /&gt;&lt;br /&gt;#  TAG: err_html_text&lt;br /&gt;# HTML text to include in error messages.  Make this a "mailto"&lt;br /&gt;# URL to your admin address, or maybe just a link to your&lt;br /&gt;# organizations Web page.&lt;br /&gt;#&lt;br /&gt;# To include this in your error messages, you must rewrite&lt;br /&gt;# the error template files (found in the "errors" directory).&lt;br /&gt;# Wherever you want the 'err_html_text' line to appear,&lt;br /&gt;# insert a %L tag in the error template file.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: deny_info&lt;br /&gt;# Usage:   deny_info err_page_name acl&lt;br /&gt;# or       deny_info http://... acl&lt;br /&gt;# Example: deny_info ERR_CUSTOM_ACCESS_DENIED bad_guys&lt;br /&gt;#&lt;br /&gt;# This can be used to return a ERR_ page for requests which&lt;br /&gt;# do not pass the 'http_access' rules.  A single ACL will cause&lt;br /&gt;# the http_access check to fail.  If a 'deny_info' line exists&lt;br /&gt;# for that ACL Squid returns a corresponding error page.&lt;br /&gt;#&lt;br /&gt;# You may use ERR_ pages that come with Squid or create your own pages&lt;br /&gt;# and put them into the configured errors/ directory.&lt;br /&gt;#&lt;br /&gt;# Alternatively you can specify an error URL. The browsers will&lt;br /&gt;# get redirected (302) to the specified URL. %s in the redirection&lt;br /&gt;# URL will be replaced by the requested URL.&lt;br /&gt;#&lt;br /&gt;# Alternatively you can tell Squid to reset the TCP connection&lt;br /&gt;# by specifying TCP_RESET.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: memory_pools on|off&lt;br /&gt;# If set, Squid will keep pools of allocated (but unused) memory&lt;br /&gt;# available for future use.  If memory is a premium on your&lt;br /&gt;# system and you believe your malloc library outperforms Squid&lt;br /&gt;# routines, disable this.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt; memory_pools on&lt;br /&gt;&lt;br /&gt;#  TAG: memory_pools_limit (bytes)&lt;br /&gt;# Used only with memory_pools on:&lt;br /&gt;# memory_pools_limit 50 MB&lt;br /&gt;#&lt;br /&gt;# If set to a non-zero value, Squid will keep at most the specified&lt;br /&gt;# limit of allocated (but unused) memory in memory pools. All free()&lt;br /&gt;# requests that exceed this limit will be handled by your malloc&lt;br /&gt;# library. Squid does not pre-allocate any memory, just safe-keeps&lt;br /&gt;# objects that otherwise would be free()d. Thus, it is safe to set&lt;br /&gt;# memory_pools_limit to a reasonably high value even if your&lt;br /&gt;# configuration will use less memory.&lt;br /&gt;#&lt;br /&gt;# If set to zero, Squid will keep all memory it can. That is, there&lt;br /&gt;# will be no limit on the total amount of memory used for safe-keeping.&lt;br /&gt;#&lt;br /&gt;# To disable memory allocation optimization, do not set&lt;br /&gt;# memory_pools_limit to 0. Set memory_pools to "off" instead.&lt;br /&gt;#&lt;br /&gt;# An overhead for maintaining memory pools is not taken into account&lt;br /&gt;# when the limit is checked. This overhead is close to four bytes per&lt;br /&gt;# object kept. However, pools may actually _save_ memory because of&lt;br /&gt;# reduced memory thrashing in your malloc library.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# memory_pools_limit 5 MB&lt;br /&gt;&lt;br /&gt;#  TAG: forwarded_for on|off&lt;br /&gt;# If set, Squid will include your system's IP address or name&lt;br /&gt;# in the HTTP requests it forwards.  By default it looks like&lt;br /&gt;# this:&lt;br /&gt;#&lt;br /&gt;#  X-Forwarded-For: 192.1.2.3&lt;br /&gt;#&lt;br /&gt;# If you disable this, it will appear as&lt;br /&gt;#&lt;br /&gt;#  X-Forwarded-For: unknown&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# forwarded_for on&lt;br /&gt;&lt;br /&gt;#  TAG: log_icp_queries on|off&lt;br /&gt;# If set, ICP queries are logged to access.log. You may wish&lt;br /&gt;# do disable this if your ICP load is VERY high to speed things&lt;br /&gt;# up or to simplify log analysis.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# log_icp_queries on&lt;br /&gt;&lt;br /&gt;#  TAG: icp_hit_stale on|off&lt;br /&gt;# If you want to return ICP_HIT for stale cache objects, set this&lt;br /&gt;# option to 'on'.  If you have sibling relationships with caches&lt;br /&gt;# in other administrative domains, this should be 'off'.  If you only&lt;br /&gt;# have sibling relationships with caches under your control,&lt;br /&gt;# it is probably okay to set this to 'on'.&lt;br /&gt;# If set to 'on', your siblings should use the option "allow-miss"&lt;br /&gt;# on their cache_peer lines for connecting to you.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# icp_hit_stale off&lt;br /&gt;&lt;br /&gt;#  TAG: minimum_direct_hops&lt;br /&gt;# If using the ICMP pinging stuff, do direct fetches for sites&lt;br /&gt;# which are no more than this many hops away.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# minimum_direct_hops 4&lt;br /&gt;&lt;br /&gt;#  TAG: minimum_direct_rtt&lt;br /&gt;# If using the ICMP pinging stuff, do direct fetches for sites&lt;br /&gt;# which are no more than this many rtt milliseconds away.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# minimum_direct_rtt 400&lt;br /&gt;&lt;br /&gt;#  TAG: cachemgr_passwd&lt;br /&gt;# Specify passwords for cachemgr operations.&lt;br /&gt;#&lt;br /&gt;# Usage: cachemgr_passwd password action action ...&lt;br /&gt;#&lt;br /&gt;# Some valid actions are (see cache manager menu for a full list):&lt;br /&gt;#  5min&lt;br /&gt;#  60min&lt;br /&gt;#  asndb&lt;br /&gt;#  authenticator&lt;br /&gt;#  cbdata&lt;br /&gt;#  client_list&lt;br /&gt;#  comm_incoming&lt;br /&gt;#  config *&lt;br /&gt;#  counters&lt;br /&gt;#  delay&lt;br /&gt;#  digest_stats&lt;br /&gt;#  dns&lt;br /&gt;#  events&lt;br /&gt;#  filedescriptors&lt;br /&gt;#  fqdncache&lt;br /&gt;#  histograms&lt;br /&gt;#  http_headers&lt;br /&gt;#  info&lt;br /&gt;#  io&lt;br /&gt;#  ipcache&lt;br /&gt;#  mem&lt;br /&gt;#  menu&lt;br /&gt;#  netdb&lt;br /&gt;#  non_peers&lt;br /&gt;#  objects&lt;br /&gt;#  offline_toggle *&lt;br /&gt;#  pconn&lt;br /&gt;#  peer_select&lt;br /&gt;#  redirector&lt;br /&gt;#  refresh&lt;br /&gt;#  server_list&lt;br /&gt;#  shutdown *&lt;br /&gt;#  store_digest&lt;br /&gt;#  storedir&lt;br /&gt;#  utilization&lt;br /&gt;#  via_headers&lt;br /&gt;#  vm_objects&lt;br /&gt;#&lt;br /&gt;# * Indicates actions which will not be performed without a&lt;br /&gt;#   valid password, others can be performed if not listed here.&lt;br /&gt;#&lt;br /&gt;# To disable an action, set the password to "disable".&lt;br /&gt;# To allow performing an action without a password, set the&lt;br /&gt;# password to "none".&lt;br /&gt;#&lt;br /&gt;# Use the keyword "all" to set the same password for all actions.&lt;br /&gt;#&lt;br /&gt;#Example:&lt;br /&gt;# cachemgr_passwd secret shutdown&lt;br /&gt;# cachemgr_passwd lesssssssecret info stats/objects&lt;br /&gt;# cachemgr_passwd disable all&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: store_avg_object_size (kbytes)&lt;br /&gt;# Average object size, used to estimate number of objects your&lt;br /&gt;# cache can hold.  See doc/Release-Notes-1.1.txt.  The default is&lt;br /&gt;# 13 KB.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# store_avg_object_size 13 KB&lt;br /&gt;&lt;br /&gt;#  TAG: store_objects_per_bucket&lt;br /&gt;# Target number of objects per bucket in the store hash table.&lt;br /&gt;# Lowering this value increases the total number of buckets and&lt;br /&gt;# also the storage maintenance rate.  The default is 50.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# store_objects_per_bucket 20&lt;br /&gt;&lt;br /&gt;#  TAG: client_db on|off&lt;br /&gt;# If you want to disable collecting per-client statistics,&lt;br /&gt;# turn off client_db here.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# client_db on&lt;br /&gt;&lt;br /&gt;#  TAG: netdb_low&lt;br /&gt;#  TAG: netdb_high&lt;br /&gt;# The low and high water marks for the ICMP measurement&lt;br /&gt;# database.  These are counts, not percents.  The defaults are&lt;br /&gt;# 900 and 1000.  When the high water mark is reached, database&lt;br /&gt;# entries will be deleted until the low mark is reached.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# netdb_low 900&lt;br /&gt;# netdb_high 1000&lt;br /&gt;&lt;br /&gt;#  TAG: netdb_ping_period&lt;br /&gt;# The minimum period for measuring a site.  There will be at&lt;br /&gt;# least this much delay between successive pings to the same&lt;br /&gt;# network.  The default is five minutes.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# netdb_ping_period 5 minutes&lt;br /&gt;&lt;br /&gt;#  TAG: query_icmp on|off&lt;br /&gt;# If you want to ask your peers to include ICMP data in their ICP&lt;br /&gt;# replies, enable this option.&lt;br /&gt;#&lt;br /&gt;# If your peer has configured Squid (during compilation) with&lt;br /&gt;# '--enable-icmp' that peer will send ICMP pings to origin server&lt;br /&gt;# sites of the URLs it receives.  If you enable this option the&lt;br /&gt;# ICP replies from that peer will include the ICMP data (if available).&lt;br /&gt;# Then, when choosing a parent cache, Squid will choose the parent with&lt;br /&gt;# the minimal RTT to the origin server.  When this happens, the&lt;br /&gt;# hierarchy field of the access.log will be&lt;br /&gt;# "CLOSEST_PARENT_MISS".  This option is off by default.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# query_icmp off&lt;br /&gt;&lt;br /&gt;#  TAG: test_reachability on|off&lt;br /&gt;# When this is 'on', ICP MISS replies will be ICP_MISS_NOFETCH&lt;br /&gt;# instead of ICP_MISS if the target host is NOT in the ICMP&lt;br /&gt;# database, or has a zero RTT.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# test_reachability off&lt;br /&gt;&lt;br /&gt;#  TAG: buffered_logs on|off&lt;br /&gt;# cache.log log file is written with stdio functions, and as such&lt;br /&gt;# it can be buffered or unbuffered. By default it will be unbuffered.&lt;br /&gt;# Buffering it can speed up the writing slightly (though you are&lt;br /&gt;# unlikely to need to worry unless you run with tons of debugging&lt;br /&gt;# enabled in which case performance will suffer badly anyway..).&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# buffered_logs off&lt;br /&gt;&lt;br /&gt;#  TAG: reload_into_ims on|off&lt;br /&gt;# When you enable this option, client no-cache or ``reload''&lt;br /&gt;# requests will be changed to If-Modified-Since requests.&lt;br /&gt;# Doing this VIOLATES the HTTP standard.  Enabling this&lt;br /&gt;# feature could make you liable for problems which it&lt;br /&gt;# causes.&lt;br /&gt;#&lt;br /&gt;# see also refresh_pattern for a more selective approach.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# reload_into_ims off&lt;br /&gt;&lt;br /&gt;#  TAG: always_direct&lt;br /&gt;# Usage: always_direct allow|deny [!]aclname ...&lt;br /&gt;#&lt;br /&gt;# Here you can use ACL elements to specify requests which should&lt;br /&gt;# ALWAYS be forwarded by Squid to the origin servers without using&lt;br /&gt;# any peers.  For example, to always directly forward requests for&lt;br /&gt;# local servers ignoring any parents or siblings you may have use&lt;br /&gt;# something like:&lt;br /&gt;#&lt;br /&gt;#  acl local-servers dstdomain my.domain.net&lt;br /&gt;#  always_direct allow local-servers&lt;br /&gt;#&lt;br /&gt;# To always forward FTP requests directly, use&lt;br /&gt;#&lt;br /&gt;#  acl FTP proto FTP&lt;br /&gt;#  always_direct allow FTP&lt;br /&gt;#&lt;br /&gt;# NOTE: There is a similar, but opposite option named&lt;br /&gt;# 'never_direct'.  You need to be aware that "always_direct deny&lt;br /&gt;# foo" is NOT the same thing as "never_direct allow foo".  You&lt;br /&gt;# may need to use a deny rule to exclude a more-specific case of&lt;br /&gt;# some other rule.  Example:&lt;br /&gt;#&lt;br /&gt;#  acl local-external dstdomain external.foo.net&lt;br /&gt;#  acl local-servers dstdomain  .foo.net&lt;br /&gt;#  always_direct deny local-external&lt;br /&gt;#  always_direct allow local-servers&lt;br /&gt;#&lt;br /&gt;# NOTE: If your goal is to make the client forward the request&lt;br /&gt;# directly to the origin server bypassing Squid then this needs&lt;br /&gt;# to be done in the client configuration. Squid configuration&lt;br /&gt;# can only tell Squid how Squid should fetch the object.&lt;br /&gt;#&lt;br /&gt;# NOTE: This directive is not related to caching. The replies&lt;br /&gt;# is cached as usual even if you use always_direct. To not cache&lt;br /&gt;# the replies see no_cache.&lt;br /&gt;#&lt;br /&gt;# This option replaces some v1.1 options such as local_domain&lt;br /&gt;# and local_ip.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: never_direct&lt;br /&gt;# Usage: never_direct allow|deny [!]aclname ...&lt;br /&gt;#&lt;br /&gt;# never_direct is the opposite of always_direct.  Please read&lt;br /&gt;# the description for always_direct if you have not already.&lt;br /&gt;#&lt;br /&gt;# With 'never_direct' you can use ACL elements to specify&lt;br /&gt;# requests which should NEVER be forwarded directly to origin&lt;br /&gt;# servers.  For example, to force the use of a proxy for all&lt;br /&gt;# requests, except those in your local domain use something like:&lt;br /&gt;#&lt;br /&gt;#  acl local-servers dstdomain .foo.net&lt;br /&gt;#  acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;#  never_direct deny local-servers&lt;br /&gt;#  never_direct allow all&lt;br /&gt;#&lt;br /&gt;# or if Squid is inside a firewall and there are local intranet&lt;br /&gt;# servers inside the firewall use something like:&lt;br /&gt;#&lt;br /&gt;#  acl local-intranet dstdomain .foo.net&lt;br /&gt;#  acl local-external dstdomain external.foo.net&lt;br /&gt;#  always_direct deny local-external&lt;br /&gt;#  always_direct allow local-intranet&lt;br /&gt;#  never_direct allow all&lt;br /&gt;#&lt;br /&gt;# This option replaces some v1.1 options such as inside_firewall&lt;br /&gt;# and firewall_ip.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: header_access&lt;br /&gt;# Usage: header_access header_name allow|deny [!]aclname ...&lt;br /&gt;#&lt;br /&gt;# WARNING: Doing this VIOLATES the HTTP standard.  Enabling&lt;br /&gt;# this feature could make you liable for problems which it&lt;br /&gt;# causes.&lt;br /&gt;#&lt;br /&gt;# This option replaces the old 'anonymize_headers' and the&lt;br /&gt;# older 'http_anonymizer' option with something that is much&lt;br /&gt;# more configurable. This new method creates a list of ACLs&lt;br /&gt;# for each header, allowing you very fine-tuned header&lt;br /&gt;# mangling.&lt;br /&gt;#&lt;br /&gt;# You can only specify known headers for the header name.&lt;br /&gt;# Other headers are reclassified as 'Other'. You can also&lt;br /&gt;# refer to all the headers with 'All'.&lt;br /&gt;#&lt;br /&gt;# For example, to achieve the same behavior as the old&lt;br /&gt;# 'http_anonymizer standard' option, you should use:&lt;br /&gt;#&lt;br /&gt;#  header_access From deny all&lt;br /&gt;#  header_access Referer deny all&lt;br /&gt;#  header_access Server deny all&lt;br /&gt;#  header_access User-Agent deny all&lt;br /&gt;#  header_access WWW-Authenticate deny all&lt;br /&gt;#  header_access Link deny all&lt;br /&gt;#&lt;br /&gt;# Or, to reproduce the old 'http_anonymizer paranoid' feature&lt;br /&gt;# you should use:&lt;br /&gt;#&lt;br /&gt;#  header_access Allow allow all&lt;br /&gt;#  header_access Authorization allow all&lt;br /&gt;#  header_access WWW-Authenticate allow all&lt;br /&gt;#  header_access Cache-Control allow all&lt;br /&gt;#  header_access Content-Encoding allow all&lt;br /&gt;#  header_access Content-Length allow all&lt;br /&gt;#  header_access Content-Type allow all&lt;br /&gt;#  header_access Date allow all&lt;br /&gt;#  header_access Expires allow all&lt;br /&gt;#  header_access Host allow all&lt;br /&gt;#  header_access If-Modified-Since allow all&lt;br /&gt;#  header_access Last-Modified allow all&lt;br /&gt;#  header_access Location allow all&lt;br /&gt;#  header_access Pragma allow all&lt;br /&gt;#  header_access Accept allow all&lt;br /&gt;#  header_access Accept-Charset allow all&lt;br /&gt;#  header_access Accept-Encoding allow all&lt;br /&gt;#  header_access Accept-Language allow all&lt;br /&gt;#  header_access Content-Language allow all&lt;br /&gt;#  header_access Mime-Version allow all&lt;br /&gt;#  header_access Retry-After allow all&lt;br /&gt;#  header_access Title allow all&lt;br /&gt;#  header_access Connection allow all&lt;br /&gt;#  header_access Proxy-Connection allow all&lt;br /&gt;#  header_access All deny all&lt;br /&gt;#&lt;br /&gt;# By default, all headers are allowed (no anonymizing is&lt;br /&gt;# performed).&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: header_replace&lt;br /&gt;# Usage:   header_replace header_name message&lt;br /&gt;# Example: header_replace User-Agent Nutscrape/1.0 (CP/M; 8-bit)&lt;br /&gt;#&lt;br /&gt;# This option allows you to change the contents of headers&lt;br /&gt;# denied with header_access above, by replacing them with&lt;br /&gt;# some fixed string. This replaces the old fake_user_agent&lt;br /&gt;# option.&lt;br /&gt;#&lt;br /&gt;# By default, headers are removed if denied.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: icon_directory&lt;br /&gt;# Where the icons are stored. These are normally kept in&lt;br /&gt;# /usr/share/squid/icons&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# icon_directory /usr/share/squid/icons&lt;br /&gt;&lt;br /&gt;#  TAG: global_internal_static&lt;br /&gt;# This directive controls is Squid should intercept all requests for&lt;br /&gt;# /squid-internal-static/ no matter which host the URL is requesting&lt;br /&gt;# (default on setting), or if nothing special should be done for&lt;br /&gt;# such URLs (off setting). The purpose of this directive is to make&lt;br /&gt;# icons etc work better in complex cache hierarchies where it may&lt;br /&gt;# not always be possible for all corners in the cache mesh to reach&lt;br /&gt;# the server generating a directory listing.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# global_internal_static on&lt;br /&gt;&lt;br /&gt;#  TAG: short_icon_urls&lt;br /&gt;# If this is enabled Squid will use short URLs for icons.&lt;br /&gt;#&lt;br /&gt;# If off the URLs for icons will always be absolute URLs&lt;br /&gt;# including the proxy name and port.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# short_icon_urls off&lt;br /&gt;&lt;br /&gt;#  TAG: error_directory&lt;br /&gt;# Directory where the error files are read from.&lt;br /&gt;# /usr/lib/squid/errors contains sets of error files&lt;br /&gt;# in different languages. The default error directory&lt;br /&gt;# is /etc/squid/errors, which is a link to one of these&lt;br /&gt;# error sets.&lt;br /&gt;#&lt;br /&gt;# If you wish to create your own versions of the error files,&lt;br /&gt;# either to customize them to suit your language or company,&lt;br /&gt;# copy the template English files to another&lt;br /&gt;# directory and point this tag at them.&lt;br /&gt;# &lt;br /&gt;#error_directory /usr/share/squid/errors/English&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# error_directory /usr/share/squid/errors/English&lt;br /&gt;&lt;br /&gt;#  TAG: maximum_single_addr_tries&lt;br /&gt;# This sets the maximum number of connection attempts for a&lt;br /&gt;# host that only has one address (for multiple-address hosts,&lt;br /&gt;# each address is tried once).&lt;br /&gt;#&lt;br /&gt;# The default value is one attempt, the (not recommended)&lt;br /&gt;# maximum is 255 tries.  A warning message will be generated&lt;br /&gt;# if it is set to a value greater than ten.&lt;br /&gt;#&lt;br /&gt;# Note: This is in addition to the request re-forwarding which&lt;br /&gt;# takes place if Squid fails to get a satisfying response.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# maximum_single_addr_tries 1&lt;br /&gt;&lt;br /&gt;#  TAG: retry_on_error&lt;br /&gt;# If set to on Squid will automatically retry requests when&lt;br /&gt;# receiving an error response. This is mainly useful if you&lt;br /&gt;# are in a complex cache hierarchy to work around access&lt;br /&gt;# control errors.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# retry_on_error off&lt;br /&gt;&lt;br /&gt;#  TAG: snmp_port&lt;br /&gt;# Squid can now serve statistics and status information via SNMP.&lt;br /&gt;# A value of "0" disables SNMP support. If you wish to use SNMP,&lt;br /&gt;# set this to "3401" to use the normal SNMP support.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# snmp_port 0&lt;br /&gt;&lt;br /&gt;#  TAG: snmp_access&lt;br /&gt;# Allowing or denying access to the SNMP port.&lt;br /&gt;#&lt;br /&gt;# All access to the agent is denied by default.&lt;br /&gt;# usage:&lt;br /&gt;#&lt;br /&gt;# snmp_access allow|deny [!]aclname ...&lt;br /&gt;#&lt;br /&gt;#Example:&lt;br /&gt;# snmp_access allow snmppublic localhost&lt;br /&gt;# snmp_access deny all&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# snmp_access deny all&lt;br /&gt;&lt;br /&gt;#  TAG: snmp_incoming_address&lt;br /&gt;#  TAG: snmp_outgoing_address&lt;br /&gt;# Just like 'udp_incoming_address' above, but for the SNMP port.&lt;br /&gt;#&lt;br /&gt;# snmp_incoming_address is used for the SNMP socket receiving&lt;br /&gt;#    messages from SNMP agents.&lt;br /&gt;# snmp_outgoing_address is used for SNMP packets returned to SNMP&lt;br /&gt;#    agents.&lt;br /&gt;#&lt;br /&gt;# The default snmp_incoming_address (0.0.0.0) is to listen on all&lt;br /&gt;# available network interfaces.&lt;br /&gt;#&lt;br /&gt;# If snmp_outgoing_address is set to 255.255.255.255 (the default)&lt;br /&gt;# it will use the same socket as snmp_incoming_address. Only&lt;br /&gt;# change this if you want to have SNMP replies sent using another&lt;br /&gt;# address than where this Squid listens for SNMP queries.&lt;br /&gt;#&lt;br /&gt;# NOTE, snmp_incoming_address and snmp_outgoing_address can not have&lt;br /&gt;# the same value since they both use port 3401.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# snmp_incoming_address 0.0.0.0&lt;br /&gt;# snmp_outgoing_address 255.255.255.255&lt;br /&gt;&lt;br /&gt;#  TAG: as_whois_server&lt;br /&gt;# WHOIS server to query for AS numbers.  NOTE: AS numbers are&lt;br /&gt;# queried only when Squid starts up, not for every request.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# as_whois_server whois.ra.net&lt;br /&gt;# as_whois_server whois.ra.net&lt;br /&gt;&lt;br /&gt;#  TAG: wccp_router&lt;br /&gt;# Use this option to define your WCCP ``home'' router for&lt;br /&gt;# Squid.   Setting the 'wccp_router' to 0.0.0.0 (the default)&lt;br /&gt;# disables WCCP.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# wccp_router 0.0.0.0&lt;br /&gt;&lt;br /&gt;#  TAG: wccp_version&lt;br /&gt;# According to some users, Cisco IOS 11.2 only supports WCCP&lt;br /&gt;# version 3.  If you're using that version of IOS, change&lt;br /&gt;# this value to 3.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# wccp_version 4&lt;br /&gt;&lt;br /&gt;#  TAG: wccp_incoming_address&lt;br /&gt;#  TAG: wccp_outgoing_address&lt;br /&gt;#        wccp_incoming_address   Use this option if you require WCCP&lt;br /&gt;#    messages to be received on only one&lt;br /&gt;#    interface.  Do NOT use this option if&lt;br /&gt;#    you're unsure how many interfaces you&lt;br /&gt;#    have, or if you know you have only one&lt;br /&gt;#    interface.&lt;br /&gt;#&lt;br /&gt;# wccp_outgoing_address Use this option if you require WCCP&lt;br /&gt;#    messages to be sent out on only one&lt;br /&gt;#    interface.  Do NOT use this option if&lt;br /&gt;#    you're unsure how many interfaces you&lt;br /&gt;#    have, or if you know you have only one&lt;br /&gt;#    interface.&lt;br /&gt;#&lt;br /&gt;#        The default behavior is to not bind to any specific address.&lt;br /&gt;#&lt;br /&gt;#        NOTE, wccp_incoming_address and wccp_outgoing_address can not have&lt;br /&gt;#        the same value since they both use port 2048.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# wccp_incoming_address 0.0.0.0&lt;br /&gt;# wccp_outgoing_address 255.255.255.255&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)&lt;br /&gt;# -----------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#  TAG: delay_pools&lt;br /&gt;# This represents the number of delay pools to be used.  For example,&lt;br /&gt;# if you have one class 2 delay pool and one class 3 delays pool, you&lt;br /&gt;# have a total of 2 delay pools.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# delay_pools 0&lt;br /&gt;&lt;br /&gt;#  TAG: delay_class&lt;br /&gt;# This defines the class of each delay pool.  There must be exactly one&lt;br /&gt;# delay_class line for each delay pool.  For example, to define two&lt;br /&gt;# delay pools, one of class 2 and one of class 3, the settings above&lt;br /&gt;# and here would be:&lt;br /&gt;#&lt;br /&gt;#Example:&lt;br /&gt;# delay_pools 2      # 2 delay pools&lt;br /&gt;# delay_class 1 2    # pool 1 is a class 2 pool&lt;br /&gt;# delay_class 2 3    # pool 2 is a class 3 pool&lt;br /&gt;#&lt;br /&gt;# The delay pool classes are:&lt;br /&gt;#&lt;br /&gt;#  class 1  Everything is limited by a single aggregate&lt;br /&gt;#    bucket.&lt;br /&gt;#&lt;br /&gt;#  class 2  Everything is limited by a single aggregate&lt;br /&gt;#    bucket as well as an "individual" bucket chosen&lt;br /&gt;#    from bits 25 through 32 of the IP address.&lt;br /&gt;#&lt;br /&gt;#  class 3  Everything is limited by a single aggregate&lt;br /&gt;#    bucket as well as a "network" bucket chosen&lt;br /&gt;#    from bits 17 through 24 of the IP address and a&lt;br /&gt;#    "individual" bucket chosen from bits 17 through&lt;br /&gt;#    32 of the IP address.&lt;br /&gt;#&lt;br /&gt;# NOTE: If an IP address is a.b.c.d&lt;br /&gt;#  -&gt; bits 25 through 32 are "d"&lt;br /&gt;#  -&gt; bits 17 through 24 are "c"&lt;br /&gt;#  -&gt; bits 17 through 32 are "c * 256 + d"&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: delay_access&lt;br /&gt;# This is used to determine which delay pool a request falls into.&lt;br /&gt;#&lt;br /&gt;# delay_access is sorted per pool and the matching starts with pool 1,&lt;br /&gt;#        then pool 2, ..., and finally pool N. The first delay pool where the&lt;br /&gt;#        request is allowed is selected for the request. If it does not allow&lt;br /&gt;# the request to any pool then the request is not delayed (default).&lt;br /&gt;#&lt;br /&gt;#       For example, if you want some_big_clients in delay&lt;br /&gt;# pool 1 and lotsa_little_clients in delay pool 2:&lt;br /&gt;#&lt;br /&gt;#Example:&lt;br /&gt;# delay_access 1 allow some_big_clients&lt;br /&gt;# delay_access 1 deny all&lt;br /&gt;# delay_access 2 allow lotsa_little_clients&lt;br /&gt;# delay_access 2 deny all&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: delay_parameters&lt;br /&gt;# This defines the parameters for a delay pool.  Each delay pool has&lt;br /&gt;# a number of "buckets" associated with it, as explained in the&lt;br /&gt;# description of delay_class.  For a class 1 delay pool, the syntax is:&lt;br /&gt;#&lt;br /&gt;#delay_parameters pool aggregate&lt;br /&gt;#&lt;br /&gt;# For a class 2 delay pool:&lt;br /&gt;#&lt;br /&gt;#delay_parameters pool aggregate individual&lt;br /&gt;#&lt;br /&gt;# For a class 3 delay pool:&lt;br /&gt;#&lt;br /&gt;#delay_parameters pool aggregate network individual&lt;br /&gt;#&lt;br /&gt;# The variables here are:&lt;br /&gt;#&lt;br /&gt;#  pool  a pool number - ie, a number between 1 and the&lt;br /&gt;#    number specified in delay_pools as used in&lt;br /&gt;#    delay_class lines.&lt;br /&gt;#&lt;br /&gt;#  aggregate the "delay parameters" for the aggregate bucket&lt;br /&gt;#    (class 1, 2, 3).&lt;br /&gt;#&lt;br /&gt;#  individual the "delay parameters" for the individual&lt;br /&gt;#    buckets (class 2, 3).&lt;br /&gt;#&lt;br /&gt;#  network  the "delay parameters" for the network buckets&lt;br /&gt;#    (class 3).&lt;br /&gt;#&lt;br /&gt;# A pair of delay parameters is written restore/maximum, where restore is&lt;br /&gt;# the number of bytes (not bits - modem and network speeds are usually&lt;br /&gt;# quoted in bits) per second placed into the bucket, and maximum is the&lt;br /&gt;# maximum number of bytes which can be in the bucket at any time.&lt;br /&gt;#&lt;br /&gt;# For example, if delay pool number 1 is a class 2 delay pool as in the&lt;br /&gt;# above example, and is being used to strictly limit each host to 64kbps&lt;br /&gt;# (plus overheads), with no overall limit, the line is:&lt;br /&gt;#&lt;br /&gt;#delay_parameters 1 -1/-1 8000/8000&lt;br /&gt;#&lt;br /&gt;# Note that the figure -1 is used to represent "unlimited".&lt;br /&gt;#&lt;br /&gt;# And, if delay pool number 2 is a class 3 delay pool as in the above&lt;br /&gt;# example, and you want to limit it to a total of 256kbps (strict limit)&lt;br /&gt;# with each 8-bit network permitted 64kbps (strict limit) and each&lt;br /&gt;# individual host permitted 4800bps with a bucket maximum size of 64kb&lt;br /&gt;# to permit a decent web page to be downloaded at a decent speed&lt;br /&gt;# (if the network is not being limited due to overuse) but slow down&lt;br /&gt;# large downloads more significantly:&lt;br /&gt;#&lt;br /&gt;#delay_parameters 2 32000/32000 8000/8000 600/8000&lt;br /&gt;#&lt;br /&gt;# There must be one delay_parameters line for each delay pool.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: delay_initial_bucket_level (percent, 0-100)&lt;br /&gt;# The initial bucket percentage is used to determine how much is put&lt;br /&gt;# in each bucket when squid starts, is reconfigured, or first notices&lt;br /&gt;# a host accessing it (in class 2 and class 3, individual hosts and&lt;br /&gt;# networks only have buckets associated with them once they have been&lt;br /&gt;# "seen" by squid).&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# delay_initial_bucket_level 50&lt;br /&gt;&lt;br /&gt;#  TAG: incoming_icp_average&lt;br /&gt;#  TAG: incoming_http_average&lt;br /&gt;#  TAG: incoming_dns_average&lt;br /&gt;#  TAG: min_icp_poll_cnt&lt;br /&gt;#  TAG: min_dns_poll_cnt&lt;br /&gt;#  TAG: min_http_poll_cnt&lt;br /&gt;# Heavy voodoo here.  I can't even believe you are reading this.&lt;br /&gt;# Are you crazy?  Don't even think about adjusting these unless&lt;br /&gt;# you understand the algorithms in comm_select.c first!&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# incoming_icp_average 6&lt;br /&gt;# incoming_http_average 4&lt;br /&gt;# incoming_dns_average 4&lt;br /&gt;# min_icp_poll_cnt 8&lt;br /&gt;# min_dns_poll_cnt 8&lt;br /&gt;# min_http_poll_cnt 8&lt;br /&gt;&lt;br /&gt;#  TAG: max_open_disk_fds&lt;br /&gt;# To avoid having disk as the I/O bottleneck Squid can optionally&lt;br /&gt;# bypass the on-disk cache if more than this amount of disk file&lt;br /&gt;# descriptors are open.&lt;br /&gt;#&lt;br /&gt;# A value of 0 indicates no limit.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# max_open_disk_fds 0&lt;br /&gt;&lt;br /&gt;#  TAG: offline_mode&lt;br /&gt;# Enable this option and Squid will never try to validate cached&lt;br /&gt;# objects.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# offline_mode off&lt;br /&gt;&lt;br /&gt;#  TAG: uri_whitespace&lt;br /&gt;# What to do with requests that have whitespace characters in the&lt;br /&gt;# URI.  Options:&lt;br /&gt;#&lt;br /&gt;# strip:  The whitespace characters are stripped out of the URL.&lt;br /&gt;#  This is the behavior recommended by RFC2396.&lt;br /&gt;# deny:   The request is denied.  The user receives an "Invalid&lt;br /&gt;#  Request" message.&lt;br /&gt;# allow:  The request is allowed and the URI is not changed.  The&lt;br /&gt;#  whitespace characters remain in the URI.  Note the&lt;br /&gt;#  whitespace is passed to redirector processes if they&lt;br /&gt;#  are in use.&lt;br /&gt;# encode: The request is allowed and the whitespace characters are&lt;br /&gt;#  encoded according to RFC1738.  This could be considered&lt;br /&gt;#  a violation of the HTTP/1.1&lt;br /&gt;#  RFC because proxies are not allowed to rewrite URI's.&lt;br /&gt;# chop: The request is allowed and the URI is chopped at the&lt;br /&gt;#  first whitespace.  This might also be considered a&lt;br /&gt;#  violation.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# uri_whitespace strip&lt;br /&gt;&lt;br /&gt;#  TAG: broken_posts&lt;br /&gt;# A list of ACL elements which, if matched, causes Squid to send&lt;br /&gt;# an extra CRLF pair after the body of a PUT/POST request.&lt;br /&gt;#&lt;br /&gt;# Some HTTP servers has broken implementations of PUT/POST,&lt;br /&gt;# and rely on an extra CRLF pair sent by some WWW clients.&lt;br /&gt;#&lt;br /&gt;# Quote from RFC2068 section 4.1 on this matter:&lt;br /&gt;#&lt;br /&gt;#   Note: certain buggy HTTP/1.0 client implementations generate an&lt;br /&gt;#   extra CRLF's after a POST request. To restate what is explicitly&lt;br /&gt;#   forbidden by the BNF, an HTTP/1.1 client must not preface or follow&lt;br /&gt;#   a request with an extra CRLF.&lt;br /&gt;#&lt;br /&gt;#Example:&lt;br /&gt;# acl buggy_server url_regex ^http://....&lt;br /&gt;# broken_posts allow buggy_server&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: mcast_miss_addr&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       -DMULTICAST_MISS_STREAM option&lt;br /&gt;#&lt;br /&gt;# If you enable this option, every "cache miss" URL will&lt;br /&gt;# be sent out on the specified multicast address.&lt;br /&gt;#&lt;br /&gt;# Do not enable this option unless you are are absolutely&lt;br /&gt;# certain you understand what you are doing.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# mcast_miss_addr 255.255.255.255&lt;br /&gt;&lt;br /&gt;#  TAG: mcast_miss_ttl&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       -DMULTICAST_MISS_TTL option&lt;br /&gt;#&lt;br /&gt;# This is the time-to-live value for packets multicasted&lt;br /&gt;# when multicasting off cache miss URLs is enabled.  By&lt;br /&gt;# default this is set to 'site scope', i.e. 16.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# mcast_miss_ttl 16&lt;br /&gt;&lt;br /&gt;#  TAG: mcast_miss_port&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       -DMULTICAST_MISS_STREAM option&lt;br /&gt;#&lt;br /&gt;# This is the port number to be used in conjunction with&lt;br /&gt;# 'mcast_miss_addr'.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# mcast_miss_port 3135&lt;br /&gt;&lt;br /&gt;#  TAG: mcast_miss_encode_key&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       -DMULTICAST_MISS_STREAM option&lt;br /&gt;#&lt;br /&gt;# The URLs that are sent in the multicast miss stream are&lt;br /&gt;# encrypted.  This is the encryption key.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# mcast_miss_encode_key XXXXXXXXXXXXXXXX&lt;br /&gt;&lt;br /&gt;#  TAG: nonhierarchical_direct&lt;br /&gt;# By default, Squid will send any non-hierarchical requests&lt;br /&gt;# (matching hierarchy_stoplist or not cachable request type) direct&lt;br /&gt;# to origin servers.&lt;br /&gt;#&lt;br /&gt;# If you set this to off, Squid will prefer to send these&lt;br /&gt;# requests to parents.&lt;br /&gt;#&lt;br /&gt;# Note that in most configurations, by turning this off you will only&lt;br /&gt;# add latency to these request without any improvement in global hit&lt;br /&gt;# ratio.&lt;br /&gt;#&lt;br /&gt;# If you are inside an firewall see never_direct instead of&lt;br /&gt;# this directive.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# nonhierarchical_direct on&lt;br /&gt;&lt;br /&gt;#  TAG: prefer_direct&lt;br /&gt;# Normally Squid tries to use parents for most requests. If you for some&lt;br /&gt;# reason like it to first try going direct and only use a parent if&lt;br /&gt;# going direct fails set this to on.&lt;br /&gt;#&lt;br /&gt;# By combining nonhierarchical_direct off and prefer_direct on you&lt;br /&gt;# can set up Squid to use a parent as a backup path if going direct&lt;br /&gt;# fails.&lt;br /&gt;#&lt;br /&gt;# Note: If you want Squid to use parents for all requests see&lt;br /&gt;# the never_direct directive. prefer_direct only modifies how Squid&lt;br /&gt;# acts on cachable requests.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# prefer_direct off&lt;br /&gt;&lt;br /&gt;#  TAG: strip_query_terms&lt;br /&gt;# By default, Squid strips query terms from requested URLs before&lt;br /&gt;# logging.  This protects your user's privacy.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# strip_query_terms on&lt;br /&gt;&lt;br /&gt;#  TAG: coredump_dir&lt;br /&gt;# By default Squid leaves core files in the directory from where&lt;br /&gt;# it was started. If you set 'coredump_dir' to a directory&lt;br /&gt;# that exists, Squid will chdir() to that directory at startup&lt;br /&gt;# and coredump files will be left there.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# coredump_dir none&lt;br /&gt;#&lt;br /&gt;# Leave coredumps in the first cache dir&lt;br /&gt;coredump_dir /var/spool/squid&lt;br /&gt;&lt;br /&gt;#  TAG: redirector_bypass&lt;br /&gt;# When this is 'on', a request will not go through the&lt;br /&gt;# redirector if all redirectors are busy.  If this is 'off'&lt;br /&gt;# and the redirector queue grows too large, Squid will exit&lt;br /&gt;# with a FATAL error and ask you to increase the number of&lt;br /&gt;# redirectors.  You should only enable this if the redirectors&lt;br /&gt;# are not critical to your caching system.  If you use&lt;br /&gt;# redirectors for access control, and you enable this option,&lt;br /&gt;# users may have access to pages they should not&lt;br /&gt;# be allowed to request.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# redirector_bypass off&lt;br /&gt;&lt;br /&gt;#  TAG: ignore_unknown_nameservers&lt;br /&gt;# By default Squid checks that DNS responses are received&lt;br /&gt;# from the same IP addresses they are sent to.  If they&lt;br /&gt;# don't match, Squid ignores the response and writes a warning&lt;br /&gt;# message to cache.log.  You can allow responses from unknown&lt;br /&gt;# nameservers by setting this option to 'off'.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ignore_unknown_nameservers on&lt;br /&gt;&lt;br /&gt;#  TAG: digest_generation&lt;br /&gt;# This controls whether the server will generate a Cache Digest&lt;br /&gt;# of its contents.  By default, Cache Digest generation is&lt;br /&gt;# enabled if Squid is compiled with USE_CACHE_DIGESTS defined.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# digest_generation on&lt;br /&gt;&lt;br /&gt;#  TAG: digest_bits_per_entry&lt;br /&gt;# This is the number of bits of the server's Cache Digest which&lt;br /&gt;# will be associated with the Digest entry for a given HTTP&lt;br /&gt;# Method and URL (public key) combination.  The default is 5.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# digest_bits_per_entry 5&lt;br /&gt;&lt;br /&gt;#  TAG: digest_rebuild_period (seconds)&lt;br /&gt;# This is the number of seconds between Cache Digest rebuilds.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# digest_rebuild_period 1 hour&lt;br /&gt;&lt;br /&gt;#  TAG: digest_rewrite_period (seconds)&lt;br /&gt;# This is the number of seconds between Cache Digest writes to&lt;br /&gt;# disk.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# digest_rewrite_period 1 hour&lt;br /&gt;&lt;br /&gt;#  TAG: digest_swapout_chunk_size (bytes)&lt;br /&gt;# This is the number of bytes of the Cache Digest to write to&lt;br /&gt;# disk at a time.  It defaults to 4096 bytes (4KB), the Squid&lt;br /&gt;# default swap page.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# digest_swapout_chunk_size 4096 bytes&lt;br /&gt;&lt;br /&gt;#  TAG: digest_rebuild_chunk_percentage (percent, 0-100)&lt;br /&gt;# This is the percentage of the Cache Digest to be scanned at a&lt;br /&gt;# time.  By default it is set to 10% of the Cache Digest.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# digest_rebuild_chunk_percentage 10&lt;br /&gt;&lt;br /&gt;#  TAG: chroot&lt;br /&gt;# Use this to have Squid do a chroot() while initializing.  This&lt;br /&gt;# also causes Squid to fully drop root privileges after&lt;br /&gt;# initializing.  This means, for example, that if you use a HTTP&lt;br /&gt;# port less than 1024 and try to reconfigure, you will get an&lt;br /&gt;# error.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: client_persistent_connections&lt;br /&gt;#  TAG: server_persistent_connections&lt;br /&gt;# Persistent connection support for clients and servers.  By&lt;br /&gt;# default, Squid uses persistent connections (when allowed)&lt;br /&gt;# with its clients and servers.  You can use these options to&lt;br /&gt;# disable persistent connections with clients and/or servers.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# client_persistent_connections on&lt;br /&gt;# server_persistent_connections on&lt;br /&gt;&lt;br /&gt;#  TAG: detect_broken_pconn&lt;br /&gt;# Some servers have been found to incorrectly signal the use&lt;br /&gt;# of HTTP/1.0 persistent connections even on replies not&lt;br /&gt;# compatible, causing significant delays. This server problem&lt;br /&gt;# has mostly been seen on redirects.&lt;br /&gt;#&lt;br /&gt;# By enabling this directive Squid attempts to detect such&lt;br /&gt;# broken replies and automatically assume the reply is finished&lt;br /&gt;# after 10 seconds timeout.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# detect_broken_pconn off&lt;br /&gt;&lt;br /&gt;#  TAG: balance_on_multiple_ip&lt;br /&gt;# Some load balancing servers based on round robin DNS have been &lt;br /&gt;# found not to preserve user session state across requests&lt;br /&gt;# to different IP addresses.&lt;br /&gt;#&lt;br /&gt;# By default Squid rotates IP's per request. By disabling&lt;br /&gt;# this directive only connection failure triggers rotation.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# balance_on_multiple_ip on&lt;br /&gt;&lt;br /&gt;#  TAG: pipeline_prefetch&lt;br /&gt;# To boost the performance of pipelined requests to closer&lt;br /&gt;# match that of a non-proxied environment Squid can try to fetch&lt;br /&gt;# up to two requests in parallel from a pipeline.&lt;br /&gt;#&lt;br /&gt;# Defaults to off for bandwidth management and access logging&lt;br /&gt;# reasons.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# pipeline_prefetch off&lt;br /&gt;&lt;br /&gt;#  TAG: extension_methods&lt;br /&gt;# Squid only knows about standardized HTTP request methods.&lt;br /&gt;# You can add up to 20 additional "extension" methods here.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: request_entities&lt;br /&gt;# Squid defaults to deny GET and HEAD requests with request entities,&lt;br /&gt;# as the meaning of such requests are undefined in the HTTP standard&lt;br /&gt;# even if not explicitly forbidden.&lt;br /&gt;#&lt;br /&gt;# Set this directive to on if you have clients which insists&lt;br /&gt;# on sending request entities in GET or HEAD requests. But be warned&lt;br /&gt;# that there is server software (both proxies and web servers) which&lt;br /&gt;# can fail to properly process this kind of request which may make you&lt;br /&gt;# vulnerable to cache pollution attacks if enabled.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# request_entities off&lt;br /&gt;&lt;br /&gt;#  TAG: high_response_time_warning (msec)&lt;br /&gt;# If the one-minute median response time exceeds this value,&lt;br /&gt;# Squid prints a WARNING with debug level 0 to get the&lt;br /&gt;# administrators attention.  The value is in milliseconds.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# high_response_time_warning 0&lt;br /&gt;&lt;br /&gt;#  TAG: high_page_fault_warning&lt;br /&gt;# If the one-minute average page fault rate exceeds this&lt;br /&gt;# value, Squid prints a WARNING with debug level 0 to get&lt;br /&gt;# the administrators attention.  The value is in page faults&lt;br /&gt;# per second.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# high_page_fault_warning 0&lt;br /&gt;&lt;br /&gt;#  TAG: high_memory_warning&lt;br /&gt;# If the memory usage (as determined by mallinfo) exceeds&lt;br /&gt;# value, Squid prints a WARNING with debug level 0 to get&lt;br /&gt;# the administrators attention.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# high_memory_warning 0&lt;br /&gt;&lt;br /&gt;#  TAG: store_dir_select_algorithm&lt;br /&gt;# Set this to 'round-robin' as an alternative.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# store_dir_select_algorithm least-load&lt;br /&gt;&lt;br /&gt;#  TAG: forward_log&lt;br /&gt;# Note: This option is only available if Squid is rebuilt with the&lt;br /&gt;#       -DWIP_FWD_LOG option&lt;br /&gt;#&lt;br /&gt;# Logs the server-side requests.&lt;br /&gt;#&lt;br /&gt;# This is currently work in progress.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# none&lt;br /&gt;&lt;br /&gt;#  TAG: ie_refresh on|off&lt;br /&gt;# Microsoft Internet Explorer up until version 5.5 Service&lt;br /&gt;# Pack 1 has an issue with transparent proxies, wherein it&lt;br /&gt;# is impossible to force a refresh.  Turning this on provides&lt;br /&gt;# a partial fix to the problem, by causing all IMS-REFRESH&lt;br /&gt;# requests from older IE versions to check the origin server&lt;br /&gt;# for fresh content.  This reduces hit ratio by some amount&lt;br /&gt;# (~10% in my experience), but allows users to actually get&lt;br /&gt;# fresh content when they want it.  Note that because Squid&lt;br /&gt;# cannot tell if the user is using 5.5 or 5.5SP1, the behavior&lt;br /&gt;# of 5.5 is unchanged from old versions of Squid (i.e. a&lt;br /&gt;# forced refresh is impossible).  Newer versions of IE will,&lt;br /&gt;# hopefully, continue to have the new behavior and will be&lt;br /&gt;# handled based on that assumption.  This option defaults to&lt;br /&gt;# the old Squid behavior, which is better for hit ratios but&lt;br /&gt;# worse for clients using IE, if they need to be able to&lt;br /&gt;# force fresh content.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# ie_refresh off&lt;br /&gt;&lt;br /&gt;#  TAG: vary_ignore_expire on|off&lt;br /&gt;# Many HTTP servers supporting Vary gives such objects&lt;br /&gt;# immediate expiry time with no cache-control header&lt;br /&gt;# when requested by a HTTP/1.0 client. This option&lt;br /&gt;# enables Squid to ignore such expiry times until&lt;br /&gt;# HTTP/1.1 is fully implemented.&lt;br /&gt;# WARNING: This may eventually cause some varying&lt;br /&gt;# objects not intended for caching to get cached.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# vary_ignore_expire off&lt;br /&gt;&lt;br /&gt;#  TAG: sleep_after_fork (microseconds)&lt;br /&gt;# When this is set to a non-zero value, the main Squid process&lt;br /&gt;# sleeps the specified number of microseconds after a fork()&lt;br /&gt;# system call. This sleep may help the situation where your&lt;br /&gt;# system reports fork() failures due to lack of (virtual)&lt;br /&gt;# memory. Note, however, that if you have a lot of child&lt;br /&gt;# processes, these sleep delays will add up and your&lt;br /&gt;# Squid will not service requests for some amount of time&lt;br /&gt;# until all the child processes have been started.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# sleep_after_fork 0&lt;br /&gt;&lt;br /&gt;#  TAG: relaxed_header_parser on|off|warn&lt;br /&gt;# In the default "on" setting Squid accepts certain forms&lt;br /&gt;# of non-compliant HTTP messages where it is unambiguous&lt;br /&gt;# what the sending application intended even if the message&lt;br /&gt;# is not correctly formatted. The messages is then normalized&lt;br /&gt;# to the correct form when forwarded by Squid.&lt;br /&gt;#&lt;br /&gt;# If set to "warn" then a warning will be emitted in cache.log&lt;br /&gt;# each time such HTTP error is encountered.&lt;br /&gt;#&lt;br /&gt;# If set to "off" then such HTTP errors will cause the request&lt;br /&gt;# or response to be rejected.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# relaxed_header_parser on&lt;br /&gt;&lt;br /&gt;#  TAG: max_filedesc&lt;br /&gt;#        The maximum number of open file descriptors.&lt;br /&gt;#&lt;br /&gt;#Default:&lt;br /&gt;# max_filedesc 1024&lt;br /&gt;&lt;br /&gt;#sleep_after_fork 0&lt;br /&gt;#always_direct allow abc&lt;br /&gt;#always_direct allow dl2&lt;br /&gt;#never_direct allow QUERY&lt;br /&gt;#never_direct allow dl1&lt;br /&gt;#cache_peer_access 192.168.0.253 deny dl1&lt;br /&gt;#cache_peer_access 192.168.0.10 allow dl1&lt;br /&gt;&lt;br /&gt;delay_pools 3&lt;br /&gt;&lt;br /&gt;delay_class 1 2&lt;br /&gt;delay_access 1 deny net2&lt;br /&gt;delay_access 1 deny net3&lt;br /&gt;delay_access 1 allow net opendl&lt;br /&gt;delay_parameters 1 -1/-1 7000/7000&lt;br /&gt;&lt;br /&gt;delay_class 2 2&lt;br /&gt;delay_access 2 deny net2&lt;br /&gt;delay_access 2 allow net3&lt;br /&gt;delay_access 2 allow net&lt;br /&gt;delay_parameters 2 -1/-1 10000/10000&lt;br /&gt;&lt;br /&gt;delay_class 3 2&lt;br /&gt;delay_access 3 allow net2&lt;br /&gt;delay_parameters 3 -1/-1 -1/-1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5190757293480603477?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5190757293480603477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5190757293480603477'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2010/01/squidconf-sample-file-of-fedora.html' title='squid.conf sample file of fedora'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-7232818628846719050</id><published>2009-12-01T16:42:00.000-08:00</published><updated>2009-12-01T16:44:48.090-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Linx'/><title type='text'>Linux and other Free and Open Source Software</title><content type='html'>Many Open source software available on internet&lt;br /&gt;i have found some very useful and working links.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Linux and other Free and Open Source Software&lt;/span&gt;&lt;br /&gt;http://www.redhat.com/software/rhel/purchase/index.html&lt;br /&gt;http://www.redhat.com/software/rhel/desktop/&lt;br /&gt;http://www.freesoftwarecdr.com/shop/product_info.php?products_id=135&lt;br /&gt;http://www.freesoftwarecdr.com/shop/product_info.php?products_id=139&lt;br /&gt;http://www.freesoftwarecdr.com/shop/product_info.php?products_id=91&lt;br /&gt;http://store.mandrakesoft.com/index.php&lt;br /&gt;http://www.novell.com/products/linuxprofessional/pricing.html&lt;br /&gt;http://www.suse.com/us/business/products/server/sles/pricing.html&lt;br /&gt;http://store.slackware.com/cgibin/&lt;br /&gt;store&lt;br /&gt;http://www.openbsd.com/orders.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-7232818628846719050?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7232818628846719050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7232818628846719050'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/12/linux-and-other-free-and-open-source.html' title='Linux and other Free and Open Source Software'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-2794024906107583111</id><published>2009-11-29T10:35:00.000-08:00</published><updated>2009-11-29T10:43:18.343-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Redhat'/><title type='text'>Customizing a GNOME Desktop of Redhat Linux</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_OHVjG26-BJQ/SxLAtZ6kJZI/AAAAAAAAAUw/OIP8ecjCKYA/s1600/gnome-linux-wallpaper.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 242px; height: 181px;" src="http://2.bp.blogspot.com/_OHVjG26-BJQ/SxLAtZ6kJZI/AAAAAAAAAUw/OIP8ecjCKYA/s320/gnome-linux-wallpaper.jpg" alt="" id="BLOGGER_PHOTO_ID_5409597988708558226" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Customizing a GNOME Desktop&lt;br /&gt;Desktop configuration is a very personal issue, as each user seems to have a particular favored&lt;br /&gt;way of doing things. Without trying some changes, however, it’s hard to know how one can do&lt;br /&gt;things. You now know enough to tweak a GNOME desktop a bit; in this project, you’ll change&lt;br /&gt;some commonly altered configuration settings.&lt;br /&gt;&lt;br /&gt;Step by Step&lt;br /&gt;1. From the default GNOME desktop, right-click on a blank space on the panel.&lt;br /&gt;2. Click the Properties menu item.&lt;br /&gt;3. You can use this page to reposition the panel to any of the four edges of the desktop, but&lt;br /&gt;leave the location alone for now. In the Size drop-down menu, select Small (36 pixels).&lt;br /&gt;4. Check the Show/Hide Buttons box.&lt;br /&gt;&lt;br /&gt;5. Check the Arrows on the Hide Buttons box.&lt;br /&gt;6. Click Close. The panel at the bottom of the screen should now be shorter, and its icons&lt;br /&gt;smaller and more widely spaced.&lt;br /&gt;7. Right-click on a blank spot on the panel and select Add To Panel.&lt;br /&gt;8. Select Utility and then System Monitor. A system monitor area should appear on the panel;&lt;br /&gt;it will graphically show CPU usage.&lt;br /&gt;9. Right-click on a blank spot on the panel and select Launcher from the menu.&lt;br /&gt;10. Select System Tools and then Terminal. A terminal icon will appear on the panel; clicking&lt;br /&gt;this icon will open a terminal where you can use the command-line interface.&lt;br /&gt;11. Right-click on a blank spot on the panel and select Launcher from the menu again.&lt;br /&gt;12. Select the Office menu and then Project Management. A Mr. Project icon should appear on&lt;br /&gt;the panel; this tool is still under development, but it is similar in concept to Microsoft Project.&lt;br /&gt;13. Right-click on a blank spot on the panel and select New Panel.&lt;br /&gt;14. Select the Menu Panel option, and a menu bar should appear at the top of the desktop.&lt;br /&gt;Applications and actions can be invoked from this menu bar, and it can also hold additional&lt;br /&gt;launchers, applets, and utilities.&lt;br /&gt;15. Right-click on the new menu panel at the top of the screen.&lt;br /&gt;16. Select Add To Panel, and then the Accessories menu, and the Stock Ticker option. A stock&lt;br /&gt;ticker area should appear on the menu panel.&lt;br /&gt;17. Right-click on the stock ticker area on the panel and select Preferences. A configuration&lt;br /&gt;page should appear.&lt;br /&gt;18. Type RHAT in the New Symbol field.&lt;br /&gt;19. Click the Add button, and then click Close. In five minutes, the Red Hat stock price should&lt;br /&gt;begin scrolling in the stock ticker area, along with the default index information.&lt;br /&gt;20. Move the icons on the panels by left-clicking them and then dragging them to the desired&lt;br /&gt;locations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-2794024906107583111?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2794024906107583111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2794024906107583111'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/11/customizing-gnome-desktop-of-redhat.html' title='Customizing a GNOME Desktop of Redhat Linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OHVjG26-BJQ/SxLAtZ6kJZI/AAAAAAAAAUw/OIP8ecjCKYA/s72-c/gnome-linux-wallpaper.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8503394486960461274</id><published>2009-11-23T13:58:00.000-08:00</published><updated>2009-11-23T13:59:23.032-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Cups'/><title type='text'>Exploring CUPS in Redhat Linux all linux flavors</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;font-size:180%;" &gt;CUPS&lt;/span&gt;&lt;br /&gt;We’ve mentioned before that CUPS was based on the Internet Printing Protocol (IPP), which it&lt;br /&gt;is hoped will become a cross-platform standard for network printing. CUPS also provides&lt;br /&gt;some additional advantages besides just those presented by IPP.&lt;br /&gt;&lt;br /&gt;The designers of CUPS have gone to great lengths to make it easy to use and easy to&lt;br /&gt;transition to. Administration is simplified through the use of a web-based front end to server&lt;br /&gt;configuration (although third-party GUI configuration tools exist as well) and clients often&lt;br /&gt;need no configuration at all. Printers are discovered automatically when possible. From the&lt;br /&gt;client’s view of printing, CUPS will emulate many of the tools you’ve become used to under&lt;br /&gt;lpd-style systems (or System V, if you’ve worked with that elsewhere).&lt;br /&gt;CUPS introduces the concept of classes, which allow you to send a print job to a group of&lt;br /&gt;printers, and have it printed on the first available machine in that group. This approach to load&lt;br /&gt;balancing and failover is carried further with implicit classes, which allow multiple servers to&lt;br /&gt;address the same physical printer. When two servers point to a printer of the same name, an&lt;br /&gt;implicit class is automatically created with no effort required from an administrator.&lt;br /&gt;Printer instances allow multiple queues to point to the same printer with slightly different&lt;br /&gt;settings. This makes it really easy to choose between common features that your printer makes&lt;br /&gt;available.&lt;br /&gt;By using pluggable back ends for the actual output from a queue, not only is it easy to&lt;br /&gt;support many types of printer hardware, but third parties can easily add support for output that&lt;br /&gt;isn’t bundled in the core package. For example, Windows printing is handled by a back end&lt;br /&gt;provided by the Samba team. In addition, CUPS uses a text file called a PostScript Printer&lt;br /&gt;Description (PPD) to describe the features provided by a particular piece of printer hardware&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8503394486960461274?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8503394486960461274'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8503394486960461274'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/11/exploring-cups-in-redhat-linux-all.html' title='Exploring CUPS in Redhat Linux all linux flavors'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5654074980736236474</id><published>2009-11-02T09:05:00.000-08:00</published><updated>2009-11-02T09:13:57.584-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LINUX PAM'/><title type='text'>Pluggable Authentication Modules (PAM)</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Pluggable Authentication Modules (PAM)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Programs which give privileges to users must properly authenticate each user. For instance, when you log into a system, you provide your username and password, and the log in process uses this username and password to verify your identity.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;Pluggable Authentication Modules (PAM) allows the system administrator to set authentication policies for PAM-aware applications without having to recompile authentication programs. PAMdos this by utilizing a pluggable, modular architecture. Which modules PAM calls for a particular application is determined by looking at that application's PAM configuration file in the /etc/pam.d/ directory.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;In most situations, you will never need to alter the default PAM configuration files for a PAM-aware application. Whenever you use RPM to install programs that require authentication, they automatically make the changes necessary to do normal password authentication using PAM. However, if you need to customize the PAM configuration file, you must understand the structure of this&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Advantages of PAM&lt;/span&gt;&lt;br /&gt;When used correctly, PAM provides the following advantages for a system administrator:&lt;br /&gt;&lt;div style="text-align: justify;"&gt;. It provides a common authentication scheme that can be used with a wide variety of applications. . It allows great fiexibility and control over authentication for both the system administrator and&lt;br /&gt;&lt;/div&gt;application developer.&lt;br /&gt;. It allows application developers to develop their program without implementing a particular authentication scheme. Instead, they can focus purely on the details of their program.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PAM Configuration Files&lt;/span&gt;&lt;br /&gt;The directory /etc/pam.d/ contains the PAM configuration files for PAM-aware applications. In&lt;br /&gt;earlier versions of PAM, the file /etc/pam.conf was used, but this file is now deprecated. The&lt;br /&gt;pam.conf file is only read if the /etc/pam.d/ directory does not exist.&lt;br /&gt;Each PAM-aware application or service . as applications designed to be used by many users are&lt;br /&gt;commonly known . has its own file within the /etc/pam.d/ directory.&lt;br /&gt;These files have a specific layout containing calls to modules usually located in the /lib/security/&lt;br /&gt;directory. Additionally, each line within a PAM configuration file specifies a module type, a control&lt;br /&gt;fiag, a path to the module, and, sometimes, module arguments.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PAM Service Names&lt;/span&gt;&lt;br /&gt;Each PAM configuration file in the /etc/pam.d/ directory is named after the service for which it&lt;br /&gt;controls access. It is up to the PAM-aware program to define its service name and install its PAM&lt;br /&gt;configuration file in the pam.d directory. For example, the login program defines its service name&lt;br /&gt;as /etc/pam.d/login.&lt;br /&gt;In general, the service name is the name of the program used to access the service, not the program used to provide the service. This is why the service wu-ftpd, defines its service name as /etc/pam.d/ftp. The next four sections will describe the basic format of PAM configuration files and how they use&lt;br /&gt;PAM modules to perform authentication for PAM-aware applications.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PAM Modules&lt;/span&gt;&lt;br /&gt;There are four types of PAM modules used to control access to services. These types correlate to&lt;br /&gt;different aspects of the authorization process:&lt;br /&gt;. auth . These modules are used to authenticate the user by, for example, asking for and checking&lt;br /&gt;a password. It can also set credentials, such as group membership or Kerberos tickets.&lt;br /&gt;. account . These modules are used to make sure access is allowed. For example, it can check if&lt;br /&gt;the account is expired, or it can check if the user is allowed to log in at a particular time of day.&lt;br /&gt;. password. These modules are used to set passwords.&lt;br /&gt;. session . These modules are used after a user has been authenticated to manage the user's&lt;br /&gt;session. This module type can also perform additional tasks which are needed to allow access, like&lt;br /&gt;mounting a user's home directory or making his mailbox available.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5654074980736236474?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5654074980736236474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5654074980736236474'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/11/pluggable-authentication-modules-pam.html' title='Pluggable Authentication Modules (PAM)'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-1754352601241271553</id><published>2009-10-30T04:48:00.000-07:00</published><updated>2009-10-30T04:49:31.375-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>How to Install and Configure Tomcat on Linux</title><content type='html'>1. First install the rpm of tomcat from tarball in /usr/local dir&lt;br /&gt;   &lt;br /&gt;        cp  jakarta-tomcat-5.0.24.tar.gz       /usr/local /&lt;br /&gt;2.  tar –xzvf jakarta – tomcat-5.0.24.tar.gz&lt;br /&gt;3.  Make a symbolic link&lt;br /&gt;                ln –s /usr/local/Jakarta-tomcat-5.0.24  /usr/local/tomcat  &lt;br /&gt;4.Go to /etc/profile and add the lines above the following line&lt;br /&gt;(export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC)&lt;br /&gt;export JAVA_HOME=/usr/java/j2sdk1.4.2_05&lt;br /&gt;export CATALINA_HOME=/usr/local/tomcat&lt;br /&gt;   &lt;br /&gt;    5.   cd    /etc&lt;br /&gt;6.    . .  /profile&lt;br /&gt;7.    echo $JAVA-Home&lt;br /&gt;8.    echo  $CATALINA-HOME&lt;br /&gt;&lt;br /&gt;Start the tomcat service by&lt;br /&gt;          / usr /local/tomcat/bin /startup. Sh&lt;br /&gt;&lt;br /&gt;    Open the following file &lt;br /&gt;9.    pico /usr/local /tomcat/conf/tomcat- users.xml and add the following lines&lt;br /&gt;            &lt;role rolename =" “manager”/"&gt;&lt;br /&gt;            &lt;role rolename =" “admin”/"&gt;&lt;br /&gt;            (&lt;/tomcat-users&gt;)&lt;br /&gt;            user username = “TomcatAdmin” Password = “password”&lt;br /&gt;            Full Name =’” ‘role = “admin, manager , tomcat”/&gt;&lt;br /&gt;&lt;br /&gt;Restart the service of tomcat&lt;br /&gt;            /usr/local/tomcat/bin/shutdown.sh&lt;br /&gt;            /usr/local/tomcat/bin/startup.sh&lt;br /&gt;&lt;br /&gt;This will authenicate the user of tomcatAdmin&lt;br /&gt;       &lt;br /&gt;2. Install the java from the cdrom&lt;br /&gt;        rpm –ivh   java.xxxx.rpm&lt;br /&gt;    3. Install the mysql from cdrom&lt;br /&gt;        rpm –ivh  mysql.xxx.rpm&lt;br /&gt;&lt;br /&gt;You can access the mysql by sqlyog software at windows, but just writing the username “root” without any password. If you want to create some password for some user then follow the following steps&lt;br /&gt;   &lt;br /&gt;#mysql&lt;br /&gt;            mysql&gt; use mysql;&lt;br /&gt;Database changed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mysql&gt; INSERT INTO user (Host, User, Password, Select_priv) VALUES ('','eis', password('pucit'), 'Y');&lt;br /&gt;Query OK, 1 row affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;mysql&gt; GRANT ALL ON hello.* TO eis;&lt;br /&gt;Query OK, 0 rows affected (0.00 sec)&lt;br /&gt;&lt;br /&gt;Now you can login by using the username “eis” with password “pucit” in sqlyoq.&lt;br /&gt;&lt;br /&gt;    4. For to use the admin of jakarta-tomcat you can , access it by&lt;br /&gt;        http:// ip-address:8080/admin&lt;br /&gt;&lt;br /&gt;        It will require the username and password which you have mentioned in the file&lt;br /&gt;        / usr / local /tomcat/conf/tomcat- users.xml&lt;br /&gt;&lt;br /&gt;It will open for you the administration of tomcat, you can create different websites on the same machine&lt;br /&gt;&lt;br /&gt;5. Now insert a rule of just insert a rule of IPTABLES to redirect the PORT 8080 of tomcat to PORT 80 of HTTP&lt;br /&gt;&lt;br /&gt;iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-port 8080&lt;br /&gt;&lt;br /&gt;    6. For to use the mysql just start its service&lt;br /&gt;        /etc/init.d/mysql start&lt;br /&gt;    7. You can restart the tomcat service as&lt;br /&gt;        /usr/local/tomcat/bin/shutdown.sh&lt;br /&gt;        /usr/local/tomcat/bin/startup.sh&lt;br /&gt;&lt;br /&gt;    8. Now you can access your website&lt;br /&gt;        http://www.domainname.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-1754352601241271553?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1754352601241271553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1754352601241271553'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/10/how-to-install-and-configure-tomcat-on.html' title='How to Install and Configure Tomcat on Linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5780499990458144352</id><published>2009-10-27T10:35:00.000-07:00</published><updated>2009-10-27T10:37:23.868-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>What is and How Work Linux Transparent Proxy</title><content type='html'>&lt;span style="font-family: arial;"&gt; What is it?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   Transparent Proxy is away that proxies connections without client&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;noticing. This means that if you browse to www.yahoo.com when this request&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;reachs your gateway it will be re-directed to another port where a proxy&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;service like squid will be active. The client thinks that it's exchanging&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;data with remote host but in the reality it's just exchanging data with the&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;gateway. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;&lt;/span&gt;&lt;span style="font-family: arial;"&gt;  How can I support it?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;&lt;/span&gt;&lt;span style="font-family: arial;"&gt; &lt;/span&gt;&lt;span style="font-family: arial;"&gt;   To support Transparent Proxy once more you'll have to re-compile your&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;kernel this time the main features to support are:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;Networking Options --&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   (...)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   [*] IP: firewalling&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   [*] IP: Transparent Proxy support &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   (...)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   Of course you'll probably enable mascarade on your host, to know which&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;options have to be enabled check the IP masquerade section.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   Configuring&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   -----------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   Finally to make Transparent Proxy work you have to add a redirection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;action on ipchains just simply giving the command:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;   root@ExampleBox: ~# /sbin/ipchains -A input -p TCP --dport 80 -s&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;192.168.0.0/24 -j REDIRECT 8080&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5780499990458144352?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5780499990458144352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5780499990458144352'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/10/what-is-and-how-work-linux-transparent.html' title='What is and How Work Linux Transparent Proxy'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5906781086557459969</id><published>2009-10-17T10:41:00.000-07:00</published><updated>2009-10-17T10:43:25.637-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux File System'/><title type='text'>Problems with Linux Booting into the Graphical Installation</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Problems with Booting into the Graphical Installation&lt;/span&gt;&lt;br /&gt;There are some video cards that will not work properly with the Red Hat Linux installation program.&lt;br /&gt;The end result will be a problem booting into the graphical installation program.&lt;br /&gt;If the installation program will not run using its default settings, it will try to run in a lower resolution&lt;br /&gt;mode. If that still fails, the installation program will run in text mode.&lt;br /&gt;Users who have video cards that will not run at 800 x 600 resolution should type lowres at the&lt;br /&gt;boot: prompt to run the installation program in 640 x 480 resolution.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5906781086557459969?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5906781086557459969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5906781086557459969'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/10/problems-with-linux-booting-into.html' title='Problems with Linux Booting into the Graphical Installation'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5741627828210458945</id><published>2009-10-17T03:04:00.001-07:00</published><updated>2009-10-17T03:04:57.301-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Management'/><title type='text'>How to Add NEw User in Linux</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Required steps:&lt;/span&gt;&lt;br /&gt;– Edit the /etc/passwd file to define the user's account.&lt;br /&gt;– Set an initial password.&lt;br /&gt;– Create the user's home directory.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;• Extra steps (optional):&lt;/span&gt;&lt;br /&gt;– Copy default startup files to the user's home directory.&lt;br /&gt;– Add the user to the /etc/group file.&lt;br /&gt;– Set the user's mail home and establish mail aliases.&lt;br /&gt;– Enter the user in the site-wide user database (NIS).&lt;br /&gt;– Configure disk quotas.&lt;br /&gt;– Verify that the account is set up correctly.&lt;br /&gt;– Record accounting information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5741627828210458945?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5741627828210458945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5741627828210458945'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/10/how-to-add-new-user-in-linux.html' title='How to Add NEw User in Linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-2230257413024019837</id><published>2009-10-14T11:23:00.000-07:00</published><updated>2009-10-14T11:25:02.353-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux 5 Disk Druid's Buttons</title><content type='html'>&lt;div style="text-align: justify; font-family: trebuchet ms;"&gt;Disk Druid's Buttons&lt;br /&gt;These buttons control Disk Druid's actions. They are used to change the&lt;br /&gt;attributes of a partition (for example the file system type and mount point) and&lt;br /&gt;also to create RAID devices. Buttons on this screen are also used to accept the&lt;br /&gt;changes you have made, or to exit Disk Druid. For further explanation, take a&lt;br /&gt;look at each button in order:&lt;br /&gt;  New: Used to request a new partition. When selected, a dialog box appears&lt;br /&gt;containing fields (such as the mount point and size fields) that must be filled in.&lt;br /&gt;  Edit: Used to modify attributes of the partition currently selected in the&lt;br /&gt;Partitions section.&lt;br /&gt;Selecting Edit opens a dialog box. Some or all of the fields can be edited,&lt;br /&gt;depending on whether the partition information has already been written to disk.&lt;br /&gt;You can also edit free space as represented in the graphical display to create a&lt;br /&gt;new partition within that space. Either highlight the free space and then select&lt;br /&gt;the Edit button, or double-click on the free space to edit it.&lt;br /&gt;To make a RAID device, you must first create (or reuse existing) software&lt;br /&gt;RAID partitions. Once you have created two or more software RAID partitions,&lt;br /&gt;select Make RAID to join the software RAID partitions into a RAID device.&lt;br /&gt;  Delete: Used to remove the partition currently highlighted in the Current&lt;br /&gt;Disk Partitions section. You will be asked to confirm the deletion of any&lt;br /&gt;partition.&lt;br /&gt;  Reset: Used to restore Disk Druid to its original state. All changes made&lt;br /&gt;will be lost if you Reset the partitions.&lt;br /&gt;  RAID: Used to provide redundancy to any or all disk partitions. It should&lt;br /&gt;only be used if you have experience using RAID. To read more about RAID,&lt;br /&gt;refer to the Red Hat Enterprise Linux Deployment Guide.&lt;br /&gt;To make a RAID device, you must first create software RAID partitions. Once&lt;br /&gt;you have created two or more software RAID partitions, select RAID to join the&lt;br /&gt;software RAID partitions into a RAID device.&lt;br /&gt;&lt;br /&gt;LVM: Allows you to create an LVM logical volume. The role of LVM&lt;br /&gt;Logical Volume Manager) is to present a simple logical view of underlying&lt;br /&gt;physical storage space, such as a hard drive(s). LVM manages individual&lt;br /&gt;physical disks — or to be more precise, the individual partitions present on&lt;br /&gt;them. It should only be used if you have experience using LVM. To read more&lt;br /&gt;about LVM, refer to the Red Hat Enterprise Linux Deployment Guide. Note,&lt;br /&gt;LVM is only available in the graphical installation program.&lt;br /&gt;To create an LVM logical volume, you must first create partitions of type&lt;br /&gt;physical volume (LVM). Once you have created one or more physical volume&lt;br /&gt;LVM) partitions, select LVM to create an LVM logical volume.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-2230257413024019837?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2230257413024019837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2230257413024019837'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/10/linux-5-disk-druids-buttons.html' title='Linux 5 Disk Druid&apos;s Buttons'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8859328552735627705</id><published>2009-10-06T03:19:00.000-07:00</published><updated>2009-10-06T03:21:07.749-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Routing'/><title type='text'>What is Routing Metrics</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: georgia;"&gt;&lt;span style="font-weight: bold;"&gt;Routing Metrics&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Routing tables contain information used by switching software to select the best route. But how,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;specifically, are routing tables built? What is the specific nature of the information they contain?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;How do routing algorithms determine that one route is preferable to others?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Routing algorithms have used many different metrics to determine the best route. Sophisticated&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;routing algorithms can base route selection on multiple metrics, combining them in a single (hybrid)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;metric. All the following metrics have been used:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Path Length&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Reliability&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Delay&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Bandwidth&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Load&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Communication Cost&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Path length is the most common routing metric. Some routing protocols allow network&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;administrators to assign arbitrary costs to each network link. In this case, path length is the sum of the costs associated with each link traversed. Other routing protocols define hop count, a metric that specifies the number of passes through internetworking products, such as routers, that a packet must take en route from a source to a destination.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Reliability, in the context of routing algorithms, refers to the dependability (usually described in&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;terms of the bit-error rate) of each network link. Some network links might go down more often than others. After a network fails, certain network links might be repaired more easily or more quickly than other links. Any reliability factors can be taken into account in the assignment of the reliability ratings, which are arbitrary numeric values usually assigned to network links by network administrators. Routing delay refers to the length of time required to move a packet from source to destination through the internetwork. Delay depends on many factors, including the bandwidth of intermediate network links, the port queues at each router along the way, network congestion on all intermediate network links, and the physical distance to be travelled. Because delay is a conglomeration of several important variables, it is a common and useful metric. Bandwidth refers to the available traffic capacity of a link. All other things being equal, a 10-Mbps Ethernet link would be preferable to a 64-kbps leased line. Although bandwidth is a rating of the maximum attainable throughput on a link, routes through links with greater bandwidth do not necessarily provide better routes than routes through slower links. If, for example, a faster link is busier, the actual time required to send a packet to the destination could be greater. Load refers to the degree to which a network resource, such as a router, is busy. Load can be calculated in a variety of ways, including CPU utilization and packets processed per second. Monitoring these parameters on a continual basis can be resource-intensive itself.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: georgia;"&gt;Communication cost is another important metric, especially because some companies may not care about performance as much as they care about operating expenditures. Even though line delay may be longer, they will send packets over their own lines rather than through the public lines that cost money for usage time.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8859328552735627705?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8859328552735627705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8859328552735627705'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/10/what-is-routing-metrics.html' title='What is Routing Metrics'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-2460570523080419751</id><published>2009-09-16T10:34:00.000-07:00</published><updated>2009-09-16T10:48:58.350-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux services'/><title type='text'>linux service chkconfig rc.local Linux Listing Services</title><content type='html'>&lt;strong&gt;Chkconfig show you which linux services start in linux startu up.&lt;br /&gt;linux start different service on diferent runlevels.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;#chkconfig --list&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if you want to start any service in linux startup there is many ways to&lt;br /&gt;load or start service in startup&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1) chkconfig&lt;br /&gt;2) rc.local&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;chkconfig&lt;/strong&gt;&lt;br /&gt;Only run this command in one time when you install new server like squid dns or dhcp.&lt;br /&gt;there is 7 run levels in linux. 3 is command prompt and 5 is graphic interface run level&lt;br /&gt;&lt;br /&gt;chkconfig --level 35 squid on&lt;br /&gt;chkconfig --level 35 named on&lt;br /&gt;chkconfig --level 35 dhcpd on&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;this is start up script file, jus add these lines or add any command in&lt;br /&gt;this start up script, and also you can add the iptables command's in rc.local files.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;rc.local&lt;/strong&gt;&lt;br /&gt;service named start&lt;br /&gt;service squid start&lt;br /&gt;service dhcpd start&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-2460570523080419751?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2460570523080419751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2460570523080419751'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/09/linux-service-chkconfig-rclocal-linux.html' title='linux service chkconfig rc.local Linux Listing Services'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-41129021267362728</id><published>2009-09-16T10:27:00.000-07:00</published><updated>2009-09-16T10:32:48.560-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Service'/><title type='text'>How to start and stop Linux services squid dns dhcp</title><content type='html'>Manually starting and stopping service&lt;br /&gt;We can manually start and stop service&lt;br /&gt;/etc/rc.d/init.d/smb stop&lt;br /&gt;/etc/rc.d/init.d/smb restart&lt;br /&gt;/etc/rc.d/init.d/named restart&lt;br /&gt;/etc/rc.d/init.d/squid restart&lt;br /&gt;/etc/rc.d/init.d/dhcpd restart&lt;br /&gt;/etc/rc.d/init.d/iptabels restart&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SOme other way to stop or start or restart service&lt;br /&gt;&lt;br /&gt;Squid&lt;br /&gt;serivce squid restar  (Stop and Start the Squid service)&lt;br /&gt;service squid stop     (Stop the Squid Services)&lt;br /&gt;service squid start     (Start Squid Services)&lt;br /&gt;&lt;br /&gt;IPtabels&lt;br /&gt;serivce iptables restar  (Stop and Start the Squid service)&lt;br /&gt;service iptables stop     (Stop the Squid Services)&lt;br /&gt;service iptables start     (Start Squid Services)&lt;br /&gt;&lt;br /&gt;DNS&lt;br /&gt;serivce named restar  (Stop and Start the Squid service)&lt;br /&gt;service named stop     (Stop the Squid Services)&lt;br /&gt;service named start     (Start Squid Services)&lt;br /&gt;&lt;br /&gt;DHCPD&lt;br /&gt;serivce dhcpd restar  (Stop and Start the Squid service)&lt;br /&gt;service dhcpd stop     (Stop the Squid Services)&lt;br /&gt;service dhcpd start     (Start Squid Services)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-41129021267362728?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/41129021267362728'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/41129021267362728'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/09/how-to-start-and-stop-linux-services.html' title='How to start and stop Linux services squid dns dhcp'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-4847424580509814846</id><published>2009-09-11T12:44:00.000-07:00</published><updated>2009-09-11T12:47:24.243-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Backup  Recovery'/><title type='text'>Linux Backup and Recovery how to use tar command</title><content type='html'>&lt;span style="font-family:georgia;"&gt;&lt;strong&gt;Using tar Command in almost all Linux Flavour's&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The tar command is most often used to archive files. Its&lt;br /&gt;command syntax is&lt;br /&gt;where optionsis the list of commands and options for tar, and&lt;br /&gt;filesis the list of files to add or extract from the archive.&lt;br /&gt;&lt;br /&gt;For example, the command&lt;br /&gt;# tar options files&lt;br /&gt;# tar cvf backup.tar /etc&lt;br /&gt;&lt;br /&gt;# tar cvf backup.tar /etc&lt;br /&gt;packs all of the files in /etc into the tar archive backup.tar.&lt;br /&gt;The first argument to tar, “cvf”&lt;br /&gt;c tells tar to create a new archive file.&lt;br /&gt;&lt;br /&gt;v forces tar to use verbose mode, printing each file name as it is&lt;br /&gt;archived.&lt;br /&gt;&lt;br /&gt;f option tells tar that the next argument, backup.tar, is the&lt;br /&gt;name of the archive to create.&lt;br /&gt;&lt;br /&gt;The rest of the arguments to tar are the file and directory names&lt;br /&gt;to add to the archive.&lt;br /&gt;&lt;br /&gt;# tar xvf backup.tar&lt;br /&gt;Will extract the tar file backup.tar in the current directory.&lt;br /&gt;Old files with the same name are overwritten when extracting files&lt;br /&gt;into an existing directory.&lt;br /&gt;Remember!!!&lt;br /&gt;Before extracting tar files it is important to know where the files&lt;br /&gt;should be unpacked.&lt;br /&gt;&lt;br /&gt;# tar tvf backup.tar&lt;br /&gt;can be used to display a listing of the archive's files without&lt;br /&gt;extracting them.&lt;br /&gt;You can see what directory the files in the archive are stored&lt;br /&gt;relative to, and extract the archive in the correct location. &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-4847424580509814846?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4847424580509814846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4847424580509814846'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/09/linux-backup-and-recovery-how-to-use.html' title='Linux Backup and Recovery how to use tar command'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-9184106649622003850</id><published>2009-09-10T10:58:00.000-07:00</published><updated>2009-09-10T11:00:58.587-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>how to run or execute chm files in linux</title><content type='html'>how to execute chm files in linux&lt;br /&gt;&lt;br /&gt;download the following rpms on ur pc:-&lt;br /&gt;&lt;a href="http://dag.wieers.com/packages/chmlib/chmlib-0.35-1.1.fc3.rf.i386.rpm"&gt;http://dag.wieers.com/packages/chmlib/chmlib-0.35-1.1.fc3.rf.i386.rpm&lt;/a&gt;&lt;a href="ftp://rpmfind.net/linux/dag/fedora/3/en/i386/dag/RPMS/wxGTK-2.4.2-5.1.fc3.rf.i386.rpm"&gt;ftp://rpmfind.net/linux/dag/fedora/3/en/i386/dag/RPMS/wxGTK-2.4.2-5.1.fc3.rf.i386.rpm&lt;/a&gt;&lt;a href="http://acmserver.cs.ucr.edu/%7Ensoracco/rpms/xchm-0.9.8-1.i386.rpm"&gt;http://acmserver.cs.ucr.edu/%7Ensoracco/rpms/xchm-0.9.8-1.i386.rpm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;and also install them in the same sequence. using the command:-&lt;br /&gt;rpm -ivh &lt;package&gt;&lt;br /&gt;Note:- i am giving the path of packages for fedora cpre 3. if want for any other os take a look at the following sites.&lt;br /&gt;chmlib:-&lt;br /&gt;&lt;a href="http://dag.wieers.com/packages/chmlib/"&gt;http://dag.wieers.com/packages/chmlib/&lt;/a&gt;&lt;br /&gt;wxGTK:- &lt;a href="ftp://rpmfind.net/linux/dag/"&gt;ftp://rpmfind.net/linux/dag/&lt;/a&gt;xchm: -&lt;br /&gt;platform independent for all redhat's&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-9184106649622003850?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/9184106649622003850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/9184106649622003850'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/09/how-to-run-or-execute-chm-files-in.html' title='how to run or execute chm files in linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-7395276127248864059</id><published>2009-09-01T10:28:00.000-07:00</published><updated>2009-09-01T10:29:15.862-07:00</updated><title type='text'>Rotecting yourself Linux from being a spam base</title><content type='html'>&lt;span style="font-family:courier new;"&gt;Rotecting yourself from being a spam base&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Sendmail allows for someone to telnet to port 25 and do an expn (expand) to see what users and aliases are on your machine. Also, vrfy (verify) means someone can get legal e-mail addresses from your box and send spam through your machine.&lt;br /&gt;Don't want that, so look in your /etc/sendmail.cf file for a line that looks like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;################ Options ################&lt;br /&gt;Now cut and paste these next few lines below that:&lt;br /&gt;# turning off the expand option and requiring a helo from# a remote computerOpnoexpn,novrfy,needmailhelo&lt;br /&gt;Now there is no expansion, no verify, and sendmail requires a helo with a legitimate DNS in order to use the mailer.&lt;br /&gt;Then look in your /etc/mail/aliases file and ensure you have only your own boxen and/or subnet in there as OK or RELAY. That will help cut down on spammers' ability to find relay machines to do their dirty work for them.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-7395276127248864059?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7395276127248864059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7395276127248864059'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/09/rotecting-yourself-linux-from-being.html' title='Rotecting yourself Linux from being a spam base'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5071235597866362393</id><published>2009-09-01T10:03:00.000-07:00</published><updated>2009-09-01T10:04:11.967-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Tricks'/><title type='text'>Linux Tips &amp; Tricks Speed up your Hard Drive</title><content type='html'>&lt;strong&gt;Speeding up your hard drive &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Get faster file transfer by using 32-bit transfers on your hard drive&lt;br /&gt;Just add the line:&lt;br /&gt;hdparm -c3 /dev/hdX&lt;br /&gt;to a bootup script.&lt;br /&gt;&lt;br /&gt;If you use SuSE or other distros based on SYS V,&lt;br /&gt;/sbin/init.d/boot.localshould work for you.&lt;br /&gt;&lt;br /&gt;This enables 32-bit transfer on your hard drive. On some systems it can improve transfer performance by 75%.&lt;br /&gt;&lt;br /&gt;To test your performance gain, type:&lt;br /&gt;hdparm -t -T /dev/hdX&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5071235597866362393?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5071235597866362393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5071235597866362393'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/09/linux-tips-tricks-speed-up-your-hard.html' title='Linux Tips &amp; Tricks Speed up your Hard Drive'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5332640416840247998</id><published>2009-08-29T01:01:00.000-07:00</published><updated>2009-08-29T01:02:14.379-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Gateway'/><title type='text'>What is a default gateway? What happens if I don't have one? Linux</title><content type='html'>&lt;span style="font-family: trebuchet ms;"&gt;&lt;span style="font-weight: bold;"&gt;What is a default gateway? What happens if I don't have one?&lt;/span&gt;&lt;br /&gt;a gateway is a routing device that knows how to pass traffic between different subnets and&lt;br /&gt;networks. A computer will know some routes (a route is the address of each node a packet&lt;br /&gt;must go through on the Internet to reach a specific destination), but not the routes to every&lt;br /&gt;address on the Internet. It won't even know all the routes on the nearest subnets. A gateway&lt;br /&gt;will not have this information either, but will at least know the addresses of other gateways it&lt;br /&gt;can hand the traffic off to. Your default gateway is on the same subnet as your computer, and&lt;br /&gt;is the gateway your computer relies on when it doesn't know how to route traffic.&lt;br /&gt;The default gateway is typically very similar to your IP address, in that many of the numbers&lt;br /&gt;may be the same. However, the default gateway is not your IP address. To see what default&lt;br /&gt;gateway you are using, follow the steps below for your operating system.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5332640416840247998?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5332640416840247998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5332640416840247998'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/08/what-is-default-gateway-what-happens-if.html' title='What is a default gateway? What happens if I don&apos;t have one? Linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5439531098046596707</id><published>2009-08-24T02:54:00.000-07:00</published><updated>2009-08-24T02:59:18.923-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Structure Linux file'/><title type='text'>Why Share a Common Structure?</title><content type='html'>&lt;span style="font-family: verdana;"&gt;&lt;span style="font-weight: bold;"&gt;Why Share a Common Structure?&lt;/span&gt;&lt;br /&gt;An operating system's le system structure is its most basic level of organization. Almost all of the ways an operating system interacts with its users, applications, and security model are dependent upon the way it stores its files on a storage device. It is crucial for a variety of reasons that users, as well as&lt;br /&gt;programs, be able to refer to a common guideline to know where to read and write files. A file system can be seen in terms of two different logical categories of files:&lt;br /&gt;&lt;br /&gt; Shareable vs. unshareable files&lt;br /&gt; Variable vs. static files&lt;br /&gt;&lt;br /&gt;Shareable files are those that can be accessed by various hosts; unshareable files are not available to any other hosts. Variable files can change at any time without any intervention; static&lt;br /&gt;files, such as&lt;br /&gt;read-only documentation and binaries, do not change without an action from the system administrator&lt;br /&gt;or an agent that the system administrator has placed in motion to accomplish that task. The reason for looking at files in this way is to help you understand the type of permissions given to the directory that holds them. The way in which the operating system and its users need to use the files&lt;br /&gt;determines the directory where those files should be placed, whether the directory is mounted readonly or read-write, and the level of access allowed on each file. The top level of this organization is crucial, as the access to the underlying directories can be restricted or security problems may manifest&lt;br /&gt;themselves if the top level is left disorganized or without a widely-used structure. However, simply having a structure does not mean very much unless it is a standard. Competing structures can actually cause more problems than they x. Because of this, Red Hat has chosen the&lt;br /&gt;the most widely-used file system structure and extended it only slightly to accommodate special files used within Red Hat Linux.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5439531098046596707?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5439531098046596707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5439531098046596707'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/08/why-share-common-structure.html' title='Why Share a Common Structure?'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-2760249962646476278</id><published>2009-08-10T10:47:00.000-07:00</published><updated>2009-08-10T10:50:01.564-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Swap Partition'/><title type='text'>What Is Linux Swap Space why we need Linux Swap Partition</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:130%;"&gt;What is Swap Space?&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the physical memory is full, inactive pages in memory are moved to the swap space. While swap space can help machines with a small amount of RAM, it should not be considered a replacement for more RAM. Swap space is located on hard drives, which have a slower access time than physical memory.&lt;br /&gt;Swap space can be a dedicated swap partition (recommended), a swap le, or a combination of swap partitions and swap les. The size of your swap space should be equal to twice your computer's RAM, or 32 MB, whichever amount is larger, but no more than 2048 MB (or 2 GB).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-2760249962646476278?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2760249962646476278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2760249962646476278'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/08/what-is-linux-swap-space-why-we-need.html' title='What Is Linux Swap Space why we need Linux Swap Partition'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8015355511859914289</id><published>2009-08-07T10:43:00.000-07:00</published><updated>2009-08-07T10:44:26.635-07:00</updated><title type='text'>Advance Linux Permission Common Umask Setting</title><content type='html'>&lt;strong&gt;Common umask settings and their effects:&lt;/strong&gt;&lt;br /&gt;umask User Access Group Access Other&lt;br /&gt;0000 all all all&lt;br /&gt;0002 all all read, execute&lt;br /&gt;0007 all all none&lt;br /&gt;0022 all read, execute read, execute&lt;br /&gt;0027 all read, execute none&lt;br /&gt;0077 all none none&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8015355511859914289?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8015355511859914289'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8015355511859914289'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/08/advance-linux-permission-common-umask.html' title='Advance Linux Permission Common Umask Setting'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3882913281948380471</id><published>2009-08-07T10:41:00.000-07:00</published><updated>2009-08-07T10:43:24.039-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Squid'/><title type='text'>Now setuid and setgid</title><content type='html'>&lt;strong&gt;Now setuid and setgid &lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Sometimes, unprivileged users must be able to accomplish tasks that require&lt;br /&gt;privileges. An example is the passwd program, which allows you to change your&lt;br /&gt;password. Changing a user's password requires modifying the password field in the&lt;br /&gt;/etc/passwd file. However, you should not give a user access to change this file&lt;br /&gt;directly- the user could change everybody else's password as well! Likewise, the mail&lt;br /&gt;program requires that you be able to insert a message into the mailbox of another&lt;br /&gt;user, yet you should not to give one user unrestricted access to another's mailbox.&lt;br /&gt;To get around these problems, linux allows programs to be implemented with special&lt;br /&gt;privileges. Processes executing these programs can assume another UID or GID&lt;br /&gt;&lt;br /&gt;when they're running. A program that changes its UID is called a SUID program (set-&lt;br /&gt;UID); a program that changes its GID is called a SGID program (set-GID). A&lt;br /&gt;program can be both SUID and SGID at the same time.&lt;br /&gt;When a SUID program is run, its effective UID becomes that of the owner of the file,&lt;br /&gt;rather than of the user who is running it.&lt;br /&gt;If setuid permission is applied on a file like :&lt;br /&gt;[root@mainserver / ]# chmod 4511 myprogram.sh&lt;br /&gt;then myprogram.sh has the ownership and permissions as :&lt;br /&gt;-r-s--x--x 1 root admin 16336 Feb 14 2003 myprogram.sh&lt;br /&gt;,then this means that whenever any user, like kamran logs on to the system and runs&lt;br /&gt;this program then this program is run as not user kamran but user root !!!!. The “ s ”&lt;br /&gt;in the owner's permission set indicates that this file has setuid bit on.&lt;br /&gt;If setgid permission is applied on a file like :&lt;br /&gt;[root@mainserver / ]# chmod 2711 myprogram.sh&lt;br /&gt;then myprogram.sh has the ownership and permissions as :&lt;br /&gt;-rwx--s--x 1 root admin 16336 Feb 14 2003 myprogram.sh&lt;br /&gt;,then this means that any process that executes this SGID program has its effective&lt;br /&gt;GID changed to the program's GID (admin in this case). Files created by the process&lt;br /&gt;can have their primary group set to this GID as well, depending on the permissions of&lt;br /&gt;the directory in which the files are created. The “ s ”in the group permission set&lt;br /&gt;indicates that this file has setgid bit on.&lt;br /&gt;The setgid bit is normally useful on directories. For example you have a directory&lt;br /&gt;named newproject and it has ownership as root:students and permissions like:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[root@mainserver / ]# chmod 2770 myprogram.sh&lt;br /&gt;[root@mainserver / ]# ls -l&lt;br /&gt;drwxrws--- 2 root students 4096 Jul 13 21:38 newproject&lt;br /&gt;This means that any user who creates an object within this directory will effectively&lt;br /&gt;create that object with students in the group ownership.&lt;br /&gt;In other words, the SGID bit on a directory controls the way that groups are assigned&lt;br /&gt;for files created in the directory. If the SGID bit is set, files created in the directory&lt;br /&gt;have the same group as the directory if the process creating the file also is in that&lt;br /&gt;group. Otherwise, if the SGID bit is not set, or if the process is not in the same group,&lt;br /&gt;files created inside the directory have the same group as the user's effective group ID&lt;br /&gt;(usually the primary group ID).&lt;br /&gt;Setuid and setgid can be security risk you can find files which have setuid and setgid&lt;br /&gt;set on them by:&lt;br /&gt;[root@mainserver / ]# find / \(-perm -004000 -o -perm -002000 \)&lt;br /&gt; -type f -print&lt;br /&gt;This find command starts in the root directory (/) and looks for all files that match&lt;br /&gt;mode 002000 (SGID) or mode 004000 (SUID). The -type f option causes the search&lt;br /&gt;to be restricted to files. The -print option causes the name of every matching file to&lt;br /&gt;be printed.&lt;br /&gt;Note that if you are using NFS, you should execute find commands only on your file&lt;br /&gt;servers. You should further restrict the find command so that it does not try to search&lt;br /&gt;networked disks. Otherwise, use of this command may cause an excessive amount of&lt;br /&gt;NFS traffic on your network. To restrict your find command, use the following:&lt;br /&gt;[root@mainserver / ]# find / \( -local -o -prune \)&lt;br /&gt; \( -perm -004000 -o -perm -002000 \) type f -print&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3882913281948380471?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3882913281948380471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3882913281948380471'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/08/now-setuid-and-setgid.html' title='Now setuid and setgid'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-192611044043222838</id><published>2009-08-07T10:38:00.000-07:00</published><updated>2009-08-07T10:41:41.265-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Squid Sticky bit'/><title type='text'>How to Setuid, setgid and sticky bit:</title><content type='html'>Setuid, setgid and sticky bit&lt;br /&gt;Till now you have used three octal numbers for permissions for three types of users,&lt;br /&gt;i.e. Owner, group and others. These three octal numbers / digits have values from&lt;br /&gt;&lt;br /&gt;000 till 777 , representing: “no permissions to any one” till “all permissions for&lt;br /&gt;everyone”, respectively. There are in fact four octal number positions designed for&lt;br /&gt;file and directory permissions. The fourth number happens to be on the left side of any permission set, and if not present, then is assumed to be 0 (zero). This number can be 1 or 2 or 4 maximum and it's special meaning are below:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1 Sticky bit&lt;br /&gt;2 Set group ID on execution&lt;br /&gt;4 Set user ID on execution&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now first sticky bit :&lt;br /&gt;If sticky bit permission is applied on a file like :&lt;br /&gt;[root@mainserver / ]# chmod 1755 myfile.txt&lt;br /&gt;, then as per the man page:&lt;br /&gt;“On older Unix systems, the sticky bit caused executable files to be&lt;br /&gt;hoarded in swap space. This feature is not useful on modern VM&lt;br /&gt;systems, and the Linux kernel ignores the sticky bit on files. Other kernels&lt;br /&gt;may use the sticky bit on files for system-defined purposes. On&lt;br /&gt;some systems, only the superuser can set the sticky bit on files.”&lt;br /&gt;What this means is that sticky bit on files is useless in linux.&lt;br /&gt;Sticky bit on a file can be checked by the ls command. The “ T ” indicates that this file has sticky bit on.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[root@mainserver / ]# ls -l&lt;br /&gt;-rw-r--r-T 1 root root 4847 Jul 8 12:26 myfile.txt&lt;br /&gt;And if sticky bit is implemented on a directory like:&lt;br /&gt;[root@mainserver / ]# chmod 1777 mydirectory&lt;br /&gt;, then as per the man page:&lt;br /&gt;“When the sticky bit is set on a directory, files in that directory may&lt;br /&gt;be unlinked or renamed only by root or their owner. Without the sticky&lt;br /&gt;bit, anyone able to write to the directory can delete or rename files.&lt;br /&gt;The sticky bit is commonly found on directories, such as /tmp, that are&lt;br /&gt;world-writable.”&lt;br /&gt;What this means is that sticky bit on a directory allows users to create files in that&lt;br /&gt;directory with a facility that only root or the user who created the file will be able to&lt;br /&gt;delete or rename the file.&lt;br /&gt;Sticky bit on a directory can be checked by the ls command. The “ t ” indicates that&lt;br /&gt;this file has sticky bit on. A common example is the /tmp directory on Linux.&lt;br /&gt;[root@mainserver / ]# ls -l&lt;br /&gt;drwxrwxrwt 21 root root 4096 Jul 13 17:39 tmp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-192611044043222838?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/192611044043222838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/192611044043222838'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/08/how-to-setuid-setgid-and-sticky-bit.html' title='How to Setuid, setgid and sticky bit:'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-1066609372881896308</id><published>2009-08-04T10:21:00.000-07:00</published><updated>2009-08-04T10:24:31.266-07:00</updated><title type='text'>Linux Runlevels</title><content type='html'>Before you can congure access to services, you must understand Linux runlevels. A runlevel is a&lt;br /&gt;state, or mode, that is dened by the services listed in the directory /etc/rc.d/rc&lt;br /&gt;1 x&lt;br /&gt;2 .d, where&lt;br /&gt;3 x&lt;br /&gt;4&lt;br /&gt;is the number of the runlevel.&lt;br /&gt;Red Hat Linux uses the following runlevels:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;. 0 . Halt&lt;br /&gt;. 1 . Single-user mode&lt;br /&gt;. 2 . Not used (user-denable)&lt;br /&gt;. 3 . Full multi-user mode&lt;br /&gt;. 4 . Not used (user-denable)&lt;br /&gt;. 5 . Full multi-user mode (with an X-based login screen)&lt;br /&gt;. 6 . Reboot&lt;br /&gt;&lt;br /&gt;If you congured the X Window System during the Red Hat Linux installation program, you had the option of choosing a graphical or text login screen. If you chose a text login screen, you are operating in runlevel&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-1066609372881896308?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1066609372881896308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1066609372881896308'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/08/linux-runlevels.html' title='Linux Runlevels'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-7926041220197083012</id><published>2009-08-04T10:17:00.001-07:00</published><updated>2009-08-04T10:19:47.950-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Boot'/><title type='text'>Booting Linux Single-User Mode</title><content type='html'>&lt;strong&gt;Booting Single-User Mode&lt;br /&gt;&lt;/strong&gt;You may be able to boot single-user mode directly. If your system boots, but does not allow you to log in when it has completed booting, try single-user mode.&lt;br /&gt;If you are using GRUB, use the following steps to boot into single-user mode:&lt;br /&gt;&lt;br /&gt;1. If you have a GRUB password congured, type p and enter the password.&lt;br /&gt;2. Select Red Hat Linux with the version of the kernel that you wish to boot and type e for edit.&lt;br /&gt;You will be presented with a list of items in the conguration le for the title you just selected.&lt;br /&gt;3. Select the line that starts with kernel and type e to edit the line.&lt;br /&gt;4. Go to the end of the line and type single as a separate word (press the [Spacebar] and then&lt;br /&gt;type single). Press [Enter] to exit edit mode.&lt;br /&gt;5. Back at the GRUB screen, type b to boot into single user mode.&lt;br /&gt;&lt;br /&gt;If you are using LILO, specify one of these options at the LILO boot prompt (if you are using the&lt;br /&gt;graphical LILO, you must press [Ctrl]-[x] to exit the graphical screen and go to the boot: prompt):&lt;br /&gt;boot: linux single&lt;br /&gt;boot: linux emergency&lt;br /&gt;In single-user mode, your computer boots to runlevel 1. Your local lesystems will be mounted, but&lt;br /&gt;your network will not be activated. You will have a usable system maintenance shell.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In emergency mode, you are booted into the most minimal environment possible. The root lesystem will be mounted read-only and almost nothing will be set up. The main advantage of emergency mode over linux single is that your init les are not loaded. If init is corrupted or not working, you can still mount lesystems to recover data that could be lost during a re-installation.&lt;br /&gt;Have you ever rebuilt a kernel and, eager to try out your new handiwork, rebooted before running /sbin/lilo? If you did not have an entry for an older kernel in lilo.conf, you had a problem. If you would like to know a solution to this problem, read this section.&lt;br /&gt;In many cases, you can boot your Red Hat Linux system from the Red Hat Linux boot disk 1 with your root lesystem mounted and ready to go. Here is how to do it:&lt;br /&gt;&lt;br /&gt;Enter the following command at the boot disk's boot: prompt:&lt;br /&gt;linux single root=/dev/hdXX initrd=&lt;br /&gt;Replace the XX in /dev/hdXX with the appropriate letter and number for your root partition.&lt;br /&gt;What does this command do? First, it starts the boot process in single-user mode, with the root partition set to your root partition. The empty initrd specication bypasses the installation-related image on the boot disk, which will cause you to enter single-user mode immediately.&lt;br /&gt;Is there a negative side to using this technique? Unfortunately, yes. Because the kernel on the Red Hat Linux boot disk only has support for IDE built-in, if your system is SCSI-based, you will not be able to do this. In that case, you will have to access rescue mode using the linux rescue command mentioned above.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-7926041220197083012?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7926041220197083012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7926041220197083012'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/08/booting-linux-single-user-mode.html' title='Booting Linux Single-User Mode'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-4008488572094822157</id><published>2009-07-31T01:09:00.000-07:00</published><updated>2009-07-31T01:10:55.322-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Squid'/><title type='text'>How to, Stop porn for God's sake Using Squid Proxy Server</title><content type='html'>&lt;strong&gt;Stop porn for God's sake:&lt;/strong&gt;&lt;br /&gt;If you want to restrict users so that they are denied access to certain sites, like porn&lt;br /&gt;sites, etc. Then you can make an acl for bad sites put all the possible words which are&lt;br /&gt;normally part of url of those bad sites, in a text file with each word at separate line.&lt;br /&gt;Create and block the acl as follows in the squid.conf file:&lt;br /&gt;acl badsites url_regex -i "/etc/squid/badsites.txt"&lt;br /&gt;http_access deny badsites&lt;br /&gt;It should be noted that the placement of http_access lines are very important in&lt;br /&gt;SQUID's expected behavior. You need to deny badsites BEFORE allowing the&lt;br /&gt;http_access to your client src acl.&lt;br /&gt;Your configuration with blocked sites would look like this:&lt;br /&gt;acl badsites url_regex -i "/etc/squid/badsites.txt"&lt;br /&gt;acl mynet src 192.168.1.0/24&lt;br /&gt;http_access deny badsites&lt;br /&gt;http_access allow mynet&lt;br /&gt;http_access allow localhost&lt;br /&gt;http_access deny all&lt;br /&gt;Your badistes file should contain all words on separate lines which you want to be&lt;br /&gt;search in the URL and then blocked by SQUID. An example badsites.txt file is&lt;br /&gt;below:&lt;br /&gt;sex&lt;br /&gt;xxx&lt;br /&gt;movies&lt;br /&gt;This is quite effective approach. You may need to watch your&lt;br /&gt;/var/log/squid/access.log for such sites and add those names to this file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-4008488572094822157?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4008488572094822157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4008488572094822157'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/how-to-stop-porn-for-gods-sake-using.html' title='How to, Stop porn for God&apos;s sake Using Squid Proxy Server'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3169504130471520690</id><published>2009-07-27T10:38:00.000-07:00</published><updated>2009-07-27T10:39:11.734-07:00</updated><title type='text'>Common problems while joining a Linux SAMBA domain from win2k</title><content type='html'>1) "The account used is a computer account. Use your global user account or&lt;br /&gt;local user account to access the server".&lt;br /&gt;This problem comes with Windows 2000 machines with service pack 2. Solution is&lt;br /&gt;to create a machine account for each win2k computer on the SAMBA computer.&lt;br /&gt;Another solution is to try changing the windows computer's machine name from&lt;br /&gt;Network properties, but this seldom works (depends on the mood of win 2000&lt;br /&gt;machine).&lt;br /&gt;&lt;br /&gt;2) "The credentials supplied conflict with an existing set of credentials".&lt;br /&gt;This is a problem on windows client side.. Windows will not let you connect as two&lt;br /&gt;different users to the same share on the remote computer. To over come this problem,&lt;br /&gt;log out of the windows computer (restart if it doesn't behave) , then again log in first&lt;br /&gt;as local administrator and then supply the root login and it's samba generated&lt;br /&gt;password while joining the domain.&lt;br /&gt;&lt;br /&gt;3) "The domain SMBDOMAIN could not be contacted".&lt;br /&gt;Check your SMB configuration. Check for presence of machine accounts (including&lt;br /&gt;the group machines) and their SMB passwords. Check the network settings of&lt;br /&gt;windows. Restart the windows computer. Should work.&lt;br /&gt;Now something about plain text passwords :&lt;br /&gt;In the Samba configurations above, we are using encrypted passwords. But if for any&lt;br /&gt;reason, for example, incompatibility of samba encrypted passwords and windows&lt;br /&gt;encrypted passwords, we can configure both sides to use plain text passwords. On&lt;br /&gt;samba side, we will just put a remark on the following two lines in the smb.conf&lt;br /&gt;file&lt;br /&gt;#encrypt password = yes&lt;br /&gt;#smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;And on windows side we have to edit the registry and enable plain text password&lt;br /&gt;support. The procedure is different for win 9x, windows NT and windows 2000.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3169504130471520690?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3169504130471520690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3169504130471520690'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/common-problems-while-joining-linux.html' title='Common problems while joining a Linux SAMBA domain from win2k'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-6145829977691250677</id><published>2009-07-27T10:33:00.000-07:00</published><updated>2009-07-27T10:37:34.613-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Samab Linux Unix'/><title type='text'>Scenario 3 SMB Samba server as domain controller</title><content type='html'>&lt;strong&gt;Scenario 3 SMB Samba server as domain controller&lt;/strong&gt;&lt;br /&gt;SAMBA server will be configured on our machine&lt;br /&gt;mainserver.mydomain.com. The workgroup name can be same as the domain&lt;br /&gt;name already being used in the current windows setup (provided the NT server for&lt;br /&gt;the domain is off line), BUT it should never be of the name name as your DNS&lt;br /&gt;domain name. We will create a new workgroup named SAMBADOMAIN on SAMBA&lt;br /&gt;machine (the server), and configure the windows clients to be a part of this domain.&lt;br /&gt;(Confusing? Well, on a SAMBA machine,&lt;br /&gt;in /etc/samba/smb.conf, the word workgroup serves for workgroup as well&lt;br /&gt;as domain for windows computers).&lt;br /&gt;Server side configuration:&lt;br /&gt;1) Modify the /etc/samba/smb.conf file and give the following entries:&lt;br /&gt;[root@mainserver /]# vi /etc/samba/smb.conf&lt;br /&gt;[global]&lt;br /&gt;workgroup = SAMBADOMAIN&lt;br /&gt;comment = samba server on the local lan placed in the&lt;br /&gt;server room&lt;br /&gt;hosts allow = 192.168.1. 192.168.2. 127.&lt;br /&gt;security = user&lt;br /&gt;load printers = yes&lt;br /&gt;encrypt password = yes&lt;br /&gt;smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;domain logons = yes&lt;br /&gt;os level = 64&lt;br /&gt;preferred master = yes&lt;br /&gt;domain master = yes&lt;br /&gt;wins support = yes&lt;br /&gt;[homes]&lt;br /&gt;comment = home directories of users&lt;br /&gt;read only = no&lt;br /&gt;create mask = 0750&lt;br /&gt;browseable = no&lt;br /&gt;[netlogon]&lt;br /&gt;comment = SAMBA network logon services for microsoft&lt;br /&gt;clients&lt;br /&gt;path = /users/netlogon&lt;br /&gt;guest ok = yes&lt;br /&gt;browseable = no&lt;br /&gt;locking = no&lt;br /&gt;[cdrom]&lt;br /&gt;&lt;br /&gt;comment = CDROM on SAMBA server&lt;br /&gt;path = /mnt/cdrom&lt;br /&gt;read only = yes&lt;br /&gt;browseable = yes&lt;br /&gt;public = yes&lt;br /&gt;[floppy]&lt;br /&gt;comment = Floppy drive on SAMBA server&lt;br /&gt;path = /mnt/floppy&lt;br /&gt;read only = no&lt;br /&gt;browseable = yes&lt;br /&gt;valid users = @students ; note that the group students exists in&lt;br /&gt;/etc/groups&lt;br /&gt;[linuxproject]&lt;br /&gt;comment = project on linux by MS 4 students&lt;br /&gt;path = /users/ms4/linuxproject&lt;br /&gt;read only = no&lt;br /&gt;browseable = yes&lt;br /&gt;valid users = nayyar, inam&lt;br /&gt;Note: All paths defined in the smb.conf file must exist. If they don’t create them&lt;br /&gt;yourself. Also if you are going to use clients of Windows 98 and onwards or&lt;br /&gt;Windows NT service pack 3 or higher, then these systems use encrypted passwords&lt;br /&gt;by default. We need to provide either encrypted password support in SAMBA server&lt;br /&gt;or modify the registry of the windows computers and enable plain text passwords in&lt;br /&gt;them.&lt;br /&gt;To enable support for encrypted passwords in the SAMBA server, perform the&lt;br /&gt;following steps:&lt;br /&gt;a. Create a separate password file for Samba. To create one based on your&lt;br /&gt;existing /etc/passwd file, at a shell prompt, type the following command:&lt;br /&gt;[root@mainserver /]# cat /etc/passwd  mksmbpasswd.sh &gt; /etc/samba/smbpasswd&lt;br /&gt;The mksmbpasswd.sh script is installed in your /usr/bin directory with the&lt;br /&gt;samba package.&lt;br /&gt;b. Use the following command to change permissions on the Samba password&lt;br /&gt;file so that only root has read and write permissions:&lt;br /&gt;[root@mainserver /]# chmod 600 /etc/samba/smbpasswd&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;c. The script does not copy user passwords to the new file. To set each Samba&lt;br /&gt;user’s password, use the command smbpasswd username(replace username&lt;br /&gt;with each user’s username). A Samba user account will not be active until a Samba&lt;br /&gt;password is set for it.&lt;br /&gt;[root@mainserver /]# smbpasswd -a inam&lt;br /&gt;d. The next step is to enable encrypted passwords in the Samba configuration&lt;br /&gt;file. In the file smb.conf, uncomment the following lines:&lt;br /&gt;encrypt password = yes&lt;br /&gt;smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;2) Test your smb.conf file by running testparm command which is only&lt;br /&gt;available for SAMBA. This command should show all the shares without any errors.&lt;br /&gt;[root@mainserver /]# testparm&lt;br /&gt;3) If the above command works fine then run the smb services now by:&lt;br /&gt;[root@mainserver /]# /etc/rc.d/init.d/smb start&lt;br /&gt;Notes:&lt;br /&gt;Windows NT 4 :&lt;br /&gt;At present, Samba needs to have a *nix account for every entry in the 'smbpasswd'&lt;br /&gt;file, so this means that each Windows NT4/2000computer needs a *nix account on&lt;br /&gt;the Domain Controller. Machine accounts are differentiated from user accounts by&lt;br /&gt;appending a $ to the end of the machine's name. For Windows NT clients, you can&lt;br /&gt;create these accounts manually. To make a domain machine account, issue the&lt;br /&gt;following commands on the samba Domain Controller as 'root':&lt;br /&gt;Create the group "machines" by:&lt;br /&gt;[root@mainserver /]# groupadd machines&lt;br /&gt;[root@mainserver /]# useradd -d /dev/null -g machines -c 'Machine Account'&lt;br /&gt; -s /bin/false -M &lt;netbios_name&gt;$&lt;br /&gt;[root@mainserver /]# smbpasswd -am &lt;netbios_name&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;e.g. To add a machine account of a machine win98 on the samba server, you would&lt;br /&gt;use:&lt;br /&gt;[root@mainserver /]# groupadd machines&lt;br /&gt;[root@mainserver /]# useradd -d /dev/null -g machines -c 'Machine Account' -s&lt;br /&gt; /bin/false -M win98$&lt;br /&gt;[root@mainserver /]# smbpasswd -am win98&lt;br /&gt;Windows 2000/XP :&lt;br /&gt;Windows 2000 is different than NT. As far as NT is concerned, while joining the&lt;br /&gt;domain, you are given an option to create a computer account in the domain server.&lt;br /&gt;This allows machine accounts to be made on the fly. At the moment the only user&lt;br /&gt;that can create computer accounts automatically is root. This means we must first&lt;br /&gt;make a samba password for 'root' with:&lt;br /&gt;[root@mainserver /]# smbpasswd -a root&lt;br /&gt;It is recommended that you use a different password than real Linux password for&lt;br /&gt;root for security reasons. To make a domain machine account, issue the following&lt;br /&gt;commands on the Domain Controller as 'root':&lt;br /&gt;[root@mainserver /]# groupadd machines&lt;br /&gt;[root@mainserver /]# useradd -d /dev/null -g machines -c 'Machine Account'&lt;br /&gt; -s /bin/false -M win2k$&lt;br /&gt;[root@mainserver /]# smbpasswd -am win2k&lt;br /&gt;Optionally in order to make the computer accounts on the fly while joining the&lt;br /&gt;domain, you need the following entry in the smb.conf file.&lt;br /&gt;add user script = /usr/sbin/useradd -d /dev/null -g machines&lt;br /&gt; -c 'Machine account' -s /bin/false -M %u&lt;br /&gt;Note the absence of $ in this script, SAMBA automatically adds the $ for you when&lt;br /&gt;it is configured as domain log on server. Also the group machines was already&lt;br /&gt;created manually. This also works for Windows XP.&lt;br /&gt;The above solution specifically solves the problem when you are joining the&lt;br /&gt;Windows 2000 workstation to a samba domain and you get the following error:&lt;br /&gt;"The account used is a computer account. Use your global user account or local&lt;br /&gt;user account to access the server". This problem comes with Windows 2000&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;machines with service pack 2. Another solution is to try changing the windows&lt;br /&gt;computer's machine name from Network properties, but this seldom works (depends&lt;br /&gt;on the mood of win 2000 machine).&lt;br /&gt;Client side configuration:&lt;br /&gt;On the client side, i.e. on the computer having Microsoft Windows, open the network&lt;br /&gt;neighborhood properties, and in the identification tab, type in SAMBADOMAIN in&lt;br /&gt;the DOMAIN textbox. Also set the other network related properties, e.g. IP&lt;br /&gt;addresses, address of DNS and name of Primary WINS server which is the IP&lt;br /&gt;address of SAMBA server. Press ok and restart the windows machine. Once&lt;br /&gt;restarted, type in any user name and password of the user defined on SAMBA server&lt;br /&gt;and select the domain SAMBADOMAIN in the drop down list. You will be greeted&lt;br /&gt;after a pause of 10 to 30 seconds. Restart and log on to the new domain with the user&lt;br /&gt;name inam, lets say. Now you should be able to see the SAMBA server in the&lt;br /&gt;Network Neighborhood window. Double click it, and you should be able to see the&lt;br /&gt;shares: inam, cdrom, floppy and linuxproject. On double clicking on the share&lt;br /&gt;linuxproject you should be able to see the contents of this share. You will be asked&lt;br /&gt;for the password if you logged on as someone else other than inam or nayyar, this&lt;br /&gt;will be the password of one of the users nayyar or inam (as shown above), which are&lt;br /&gt;defined in the machine running SAMBA. Similarly password of one of the users in&lt;br /&gt;the group students (defined in SAMBA machine) may be required once accessing the&lt;br /&gt;share floppy. To assign a drive letter to a share, you can either right click on the&lt;br /&gt;share and select Map to drive. Or you can use the command on the windows DOS&lt;br /&gt;shell prompt:&lt;br /&gt;C:\&gt; net use F: &lt;a href="file://mainserver.mydomain.com/cdrom"&gt;\\mainserver.mydomain.com\cdrom&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-6145829977691250677?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6145829977691250677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6145829977691250677'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/scenario-3-smb-samba-server-as-domain.html' title='Scenario 3 SMB Samba server as domain controller'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-450413478438222167</id><published>2009-07-26T02:45:00.000-07:00</published><updated>2009-07-26T02:50:38.045-07:00</updated><title type='text'>Scenario2 workgroup model, shares on linux machine</title><content type='html'>Scenario2 (workgroup model, shares on linux machine):&lt;br /&gt;SAMBA server will be configured on our machine&lt;br /&gt;mainserver.mydomain.com. The workgroup name can be same as the one&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;already being used in the current windows setup. However, we will create a new&lt;br /&gt;workgroup named SAMBAWORKGROUP and configure the windows clients to be a&lt;br /&gt;part of this workgroup.&lt;br /&gt;Server side configuration:&lt;br /&gt;1) Modify the /etc/samba/smb.conf file and give the following entries:&lt;br /&gt;[root@mainserver /]# vi /etc/samba/smb.conf&lt;br /&gt;[global]&lt;br /&gt;workgroup = SAMBAWORKGROUP&lt;br /&gt;comment = samba server on the local lan placed in the server room&lt;br /&gt;hosts allow = 192.168.1. 192.168.2. 127.&lt;br /&gt;security = user&lt;br /&gt;load printers = yes&lt;br /&gt;os level = 64&lt;br /&gt;encrypt passwords = yes&lt;br /&gt;smb passwd file = /etc/samba/smbpasswd&lt;br /&gt;preferred master = yes&lt;br /&gt;domain master = yes&lt;br /&gt;wins support = yes&lt;br /&gt;[cdrom]&lt;br /&gt;comment = CDROM on SAMBA server&lt;br /&gt;path = /mnt/cdrom&lt;br /&gt;read only = yes&lt;br /&gt;browseable = yes&lt;br /&gt;public = yes&lt;br /&gt;[floppy]&lt;br /&gt;comment = Floppy drive on SAMBA server&lt;br /&gt;path = /mnt/floppy&lt;br /&gt;read only = no&lt;br /&gt;browseable = yes&lt;br /&gt;valid users = @students ; note that the group students exists in /etc/groups&lt;br /&gt;[linuxproject]&lt;br /&gt;comment = project on linux by MS 4 students&lt;br /&gt;path = /users/ms4/linuxproject&lt;br /&gt;read only = no&lt;br /&gt;browseable = yes&lt;br /&gt;valid users = nayyar, inam&lt;br /&gt;Note: All paths defined in the smb.conf file must exist. If they don’t create them&lt;br /&gt;yourself.&lt;br /&gt;2) Test your smb.conf file by running testparm command which is only&lt;br /&gt;available for SAMBA. This command should show all the shares without any errors.&lt;br /&gt;[root@mainserver /]# testparm  less&lt;br /&gt;3) If the above command works fine then run the smb services now by:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[root@mainserver /]# /etc/rc.d/init.d/smb start&lt;br /&gt;4) Create users inam and nayyar ( on the local linux machine, if not already created )&lt;br /&gt;and generate SMB passwords for them which will be used to access the shares&lt;br /&gt;defined on this computer from the windows client. Use the following commands to&lt;br /&gt;generate SMB passwords:&lt;br /&gt;[root@mainserver /]# cat /etc/passwd  mksmbpasswd.sh &gt; /etc/samba/smbpasswd&lt;br /&gt;[root@mainserver /]# smbpasswd -a inam&lt;br /&gt;[root@mainserver /]# smbpasswd -a nayyar&lt;br /&gt;Note: The first command in step 4 needs to be given once.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Client side configuration:&lt;/strong&gt;&lt;br /&gt;On the client side, i.e. on the computer having Microsoft Windows, open the network&lt;br /&gt;neighborhood properties, and in the identification tab, type in SAMBAWORKGROUP in&lt;br /&gt;the workgroup text box. Also set the other network related properties, e.g. IP&lt;br /&gt;addresses, address of DNS and name of Primary WINS server which is the IP&lt;br /&gt;address of SAMBA server. Press OK and restart the windows machine. Once&lt;br /&gt;restarted, type in user name inam and his password. You will be logged on. Now&lt;br /&gt;you should be able to see the SAMBA server in the Network Neighborhood window.&lt;br /&gt;Double click it, and you should be able to see the shares: inam, cdrom,&lt;br /&gt;floppy and linuxproject. If you did not log in as a regular linux user, then on&lt;br /&gt;double clicking on the SAMBA server will give you a login screen, here again you&lt;br /&gt;have a chance to provide a regular linux user account and it's samba password. If still&lt;br /&gt;you do not supply a regular login and you just press OK, then you will be presented&lt;br /&gt;with the shares on the server without the share inam displayed. In fact you will be&lt;br /&gt;logged in as user nobody , and this will be a lot restrictive access than assumed.&lt;br /&gt;To assign a drive letter to a share, you can either right click on the share and select&lt;br /&gt;Map network drive. Or you can use the command on the windows DOS shell&lt;br /&gt;prompt:&lt;br /&gt;C:\&gt; net use F: \\mainserver.mydomain.com\cdrom&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-450413478438222167?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/450413478438222167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/450413478438222167'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/scenario2-workgroup-model-shares-on.html' title='Scenario2 workgroup model, shares on linux machine'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-9170234670127546427</id><published>2009-07-25T02:26:00.000-07:00</published><updated>2009-07-25T02:35:15.805-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Samba'/><title type='text'>Samba Configuration with Windows Computer in Domain Model</title><content type='html'>&lt;div&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;SAMBA&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;SAMBA is derived from SMB, which stands for Session Message Block. It is a&lt;br /&gt;protocol used to exchange data between windows and *nix computers. SMB was&lt;br /&gt;built on Microsoft's NetBIOS protocol, which can be run over TCP/IP.&lt;br /&gt;Packages:&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;samba-a.b (server side)&lt;br /&gt;samba-client-a.b (client side)&lt;br /&gt;samba-common-a.b (client server both)&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;Scenario:&lt;br /&gt;In fact there will be three scenarios.&lt;br /&gt;1. Accessing shares on windows computers from *nix computers&lt;br /&gt;2. Providing access to shares on the SAMBA server to users logging on from&lt;br /&gt;Windows computers, in a work-group model&lt;br /&gt;3. Providing access to shares and logon authentication to users logging on from&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Windows computers, in a Domain model&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;strong&gt;Scenario1 &lt;/strong&gt;&lt;/div&gt;&lt;a href="http://2.bp.blogspot.com/_OHVjG26-BJQ/SmrRn0JCafI/AAAAAAAAANI/QnaToJQpx8c/s1600-h/samba.bmp"&gt;&lt;img id="BLOGGER_PHOTO_ID_5362328788279650802" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 381px; CURSOR: hand; HEIGHT: 219px" alt="" src="http://2.bp.blogspot.com/_OHVjG26-BJQ/SmrRn0JCafI/AAAAAAAAANI/QnaToJQpx8c/s320/samba.bmp" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;(workgroup model, shares on windows machine):&lt;br /&gt;We have some share (ebooks) available on windows computer&lt;br /&gt;(wks1.mydomain.com) and want to access them from a linux machine.&lt;br /&gt;Windows side configuration:&lt;br /&gt;Nothing special, just enable sharing on the directories / folders you want to share.&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Optionally set permissions of these shares.&lt;br /&gt;Linux side configuration:&lt;br /&gt;There is no configuration required. Only the commands smbclient and&lt;br /&gt;smbmount will be used to access the windows machine. So the related packages&lt;br /&gt;must already be installed on the client side.&lt;br /&gt;To see the list of shares available on the windows computer:&lt;br /&gt;[root@mainserver /]# smbclient -L wks1.mydomain.com&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style="font-family:Verdana;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;Just press enter on the password prompt and you would be given a list of shares&lt;br /&gt;available on this computer.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;Note: In case of windows 2000 / xp , simple pressing enter will not do the trick. You&lt;br /&gt;will be denied access to list of shares in this way. In order to see a list of shares on a&lt;br /&gt;windows 2000/xp, you need to specify a valid username already defined and enabled&lt;br /&gt;on the windows 2000/xp machine. When asked for password, you have to supply the&lt;br /&gt;password of that user. In case of a guest account, which is normally available and&lt;br /&gt;enabled on a windows network, you can use guest and a blank password with it:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;[root@mainserver /]# smbclient -L wks1 -U guest&lt;br /&gt;To connect to the share ebooks on the windows machine, with a windows user&lt;br /&gt;kamran, use:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;[root@mainserver /]# smbclient //wks1/ebooks -U kamran&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;If you see the smb:\&gt; prompt, you have successfully logged in.&lt;br /&gt;If you don’t use the -U &lt;username&gt;switch then the username and password of&lt;br /&gt;the currently logged in linux user will be sent to the windows machine, which may&lt;br /&gt;get rejected. So it is better to use the username and password of the user already&lt;br /&gt;created on the windows machine you are connecting to.&lt;br /&gt;Once you are logged in, type help for a list of commands. Like FTP client, you can&lt;br /&gt;use get or mget and put or mput commands to copy files from and to the&lt;br /&gt;windows computer respectively. To exit smbclient, type quit at the &lt;/div&gt;&lt;br /&gt;&lt;div&gt;smb:\&gt;&lt;br /&gt;prompt.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;If you want, you can mount the remote windows share ebooks on some local&lt;br /&gt;mount point on your machine, say /mnt/work . Do do so, use:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;[root@mainserver /]# smbmount //wks1/ebooks /mnt/work -o username=kamran&lt;br /&gt;or&lt;br /&gt;[root@mainserver /]# mount -t smbfs //wks1/ebooks /mnt/work -o username=kamran&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-9170234670127546427?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/9170234670127546427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/9170234670127546427'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/samba-configuration-with-windows.html' title='Samba Configuration with Windows Computer in Domain Model'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_OHVjG26-BJQ/SmrRn0JCafI/AAAAAAAAANI/QnaToJQpx8c/s72-c/samba.bmp' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-2954559101174736039</id><published>2009-07-24T11:17:00.000-07:00</published><updated>2009-07-24T11:19:48.784-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Management'/><title type='text'>Linux User Managemenet and File Permission Ownerships</title><content type='html'>User Management and file permissions / ownerships :&lt;br /&gt;To add a new group called mailusers use:&lt;br /&gt;[root@mainserver /]# groupadd mailusers&lt;br /&gt;To add new user kamran and make him a member of the group mailusers, use:&lt;br /&gt;[root@mainserver /]# useradd -s /bin/false -g mailusers kamran&lt;br /&gt;To change the password if some user, say kamran, run the following command as&lt;br /&gt;root:&lt;br /&gt;[root@mainserver /]# passwd kamran&lt;br /&gt;To lock the password of user kamran, run the following command as root:&lt;br /&gt;[root@mainserver /]# passwd -l kamran&lt;br /&gt;To un-lock the password of user kamran, run the following command as root:&lt;br /&gt;[root@mainserver /]# passwd -u kamran&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To delete a user say kamran, including his home directory, use:&lt;br /&gt;[root@mainserver /]# userdel -r kamran&lt;br /&gt;To change permissions of an object (file or directory), use chmod:&lt;br /&gt;[root@mainserver /]# chmod 770 myfile.txt&lt;br /&gt;(changes the permissions of the file to rwx for both owner and group)&lt;br /&gt;or&lt;br /&gt;[root@mainserver /]# chmod ug+rwx,o-rwx myfile.txt&lt;br /&gt;To change ownership of a directory /project to kamran and set the group&lt;br /&gt;permissions to the group mailusers, use chown (-R will change ownership of all files&lt;br /&gt;and subdirectories under the directory project:&lt;br /&gt;[root@mainserver /]# chown –R kamran:mailusers /project&lt;br /&gt;For more topics like sudo, umask and setgid, etc, see the chapter, Advance&lt;br /&gt;permissions&lt;br /&gt;Modules management :&lt;br /&gt;To insert a module, eg. you want to add the support for your 3com Ethernet card&lt;br /&gt;3c509 ,then use :&lt;br /&gt;[root@mainserver /]# modprobe 3c509 io=0x300 irq=5&lt;br /&gt;or&lt;br /&gt;[root@mainserver /]# insmod 3c509 io=0x300 irq=5&lt;br /&gt;then&lt;br /&gt;[root@mainserver /]# ifconfig eth0 192.168.1.5 netmask 255.255.255.0 up&lt;br /&gt;To list the currently loaded modules use :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[root@mainserver /]# lsmod&lt;br /&gt;To remove a module use :&lt;br /&gt;[root@mainserver /]# rmmod 3c509&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-2954559101174736039?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2954559101174736039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2954559101174736039'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/linux-user-managemenet-and-file.html' title='Linux User Managemenet and File Permission Ownerships'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8239535515694145634</id><published>2009-07-21T02:36:00.000-07:00</published><updated>2009-07-21T02:37:45.326-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Corel Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='Load Balancing'/><title type='text'>Server Load Balancing: Basic Concepts</title><content type='html'>&lt;div align="justify"&gt;&lt;br /&gt;&lt;strong&gt;Server Load Balancing: Basic Concepts&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Server load balancing is not a new concept in the server world. Several clustering technologies were invented to perform collaborative computing, but succeeded only in a few proprietary systems. However, load balancers have emerged as a powerful solution for mainstream applications to address several areas, including server farm scalability, availability, security, and manageability. First and foremost, load balancing dramatically improves the scalability of an application or server farm by distributing the load across multiple servers. Second, load balancing improves availability because it is able to direct the traffic to alternate servers if a server or application fails. Third, load balancing improves manageability in several ways by allowing network and server administrators to move an application from one server to another or to add more servers to run the application on the fly. Last, but not least, load balancers improve security by protecting the server farms against multiple forms of denial−of−service (DoS) attacks.&lt;br /&gt;The advent of the Internet has given rise to a whole set of new applications or services: Web, DNS, FTP, SMTP, and so on. Fortunately, dividing the task of processing Internet traffic is relatively easy. Because the Internet consists of a number of clients requesting a particular service and each client can be identified by an IP address, it’s relatively easy to distribute the load across multiple servers that provide the same service or run the same application.&lt;br /&gt;This chapter introduces the basic concepts of server load balancing, and covers several fundamental concepts that are key to understanding how load balancers work. While load balancers can be used with several different applications, load balancers are often deployed to manage Web servers. Although, we will use Web servers as an example to discuss and understand load balancing, all of these concepts can be applied to many other applications as well.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8239535515694145634?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8239535515694145634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8239535515694145634'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/server-load-balancing-basic-concepts.html' title='Server Load Balancing: Basic Concepts'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-6806869631370572372</id><published>2009-07-17T00:59:00.000-07:00</published><updated>2009-07-17T01:02:40.368-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Using Standard DNS'/><title type='text'>Using Standard DNS for load balancing</title><content type='html'>&lt;div align="justify"&gt;&lt;strong&gt;Using Standard DNS for load balancing&lt;/strong&gt;&lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;DNS can be used for load balancing across multiple servers using the standard round−robin mechanism available in the DNS servers. Each IP address configured for the domain name may actually be a VIP on a load balancer that’s bound to several servers connected to the load balancer. DNS can be used for some rudimentary load balancing across the various individual servers or multiple load balancers at different sites where each load balancer performs server load balancing.&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;But the DNS has no knowledge of which of the different IP addresses is actually working or how much load is on each one of those sites. A site may be completely inaccessible, but the DNS may continue to provide that IP address as part of its reply. We can’t view this as a shortcoming of the DNS architecture because DNS was never designed for GSLB. It was devised as a way to provide the name−to−address translation.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-6806869631370572372?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6806869631370572372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6806869631370572372'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/using-standard-dns-for-load-balancing.html' title='Using Standard DNS for load balancing'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5978088125489017279</id><published>2009-07-17T00:58:00.000-07:00</published><updated>2009-07-17T00:59:49.031-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DSN'/><title type='text'>Local DNS Caching</title><content type='html'>&lt;div align="justify"&gt;&lt;strong&gt;Local DNS Caching&lt;/strong&gt;&lt;br /&gt;Once the local DNS receives the reply, it will cache that information for a specified time, known as time to live (TTL). TTL is specified by the authoritative DNS as part of its reply. That means, the local DNS will simply reply to all subsequent requests with the information it has from the earlier DNS reply until the TTL expires. Once the TTL expires, the next request to the local DNS will trigger a request to the authoritative DNS again. Caching helps ensure faster response time for the same name to address resolution queries from subsequent clients. At the same time, TTL helps ensure that the local DNS captures any updates or changes from the authoritative DNS. Changing the TTL to a lower value causes the local DNS to query the authoritative DNS more often. Changing the TTL to a higher value puts the local DNS at the risk of having&lt;br /&gt;stale information for increased durations.&lt;br /&gt;If the local DNS receives multiple IP addresses as part of the DNS reply, it may give one IP address to each of its clients in a round−robin manner. In addition to the local DNS caching the DNS responses, the client browser also caches the DNS response. Unfortunately, popular client browsers currently ignore the TTL set by the authoritative DNS. Versions 3.x of Microsoft Internet Explorer, for example, cache the DNS response for 24 hours. Unless the browser&lt;br /&gt;application is terminated and restarted, it does not query the DNS again for 24 hours for a given domain.&lt;br /&gt;Versions 4.x and later cache the DNS response for 30 minutes. Microsoft provides a note on the support section of its Web site on how to change the cache time−out value for Internet Explorer by modifying certain entries in the registry. (Search for keywords ie cache dns timeout in the support section of Microsoft’s Web site.)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5978088125489017279?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5978088125489017279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5978088125489017279'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/local-dns-caching.html' title='Local DNS Caching'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3078850390002933202</id><published>2009-07-16T11:04:00.000-07:00</published><updated>2009-10-02T01:26:30.675-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogs'/><title type='text'>Blog Advertising is better then popup ads</title><content type='html'>&lt;div&gt;&lt;p class="MsoNormal" style="text-align: left;"&gt;Blogging is better then Popup adds&lt;/p&gt;&lt;p class="MsoNormal" style="text-align: justify;"&gt;This is internet word almost 40% people of every use internet for different purpose. In marketing work many way to promote your product or your company in the market. People use different methods for advertising there is some of examples of marketing.&lt;/p&gt;&lt;img src="http://1.bp.blogspot.com/_OHVjG26-BJQ/SsW4-SEQr9I/AAAAAAAAAPU/-7zVxqb-IsY/s320/paid-blog.jpg" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 308px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5387915909359775698" /&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Affiliate Marketing &lt;/p&gt;  &lt;p class="MsoNormal"&gt;Ezine Marketing&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;a href="http://www.blogadvertisingstore.com/"&gt;BLOGGING&lt;/a&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;E-Book Marketing&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Network Marketing&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Google Ads&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b&gt;Web Marketing &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;As you see on internet many commercial web sites use different method’s for adds. The one method popup adds people don’t like such as &lt;a href="http://www.funmaza.com/"&gt;www.funmaza.com&lt;/a&gt; and lot pop up adds that adds just time taking of people. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;The &lt;a href="http://www.blogadvertisingstore.com/"&gt;Blog Advertising&lt;/a&gt; is best and good way of advertising. Infect presently peoples like to read and write blog’s. And the &lt;a href="http://www.blogadvertisingstore.com/"&gt;paid blogging&lt;/a&gt; make charm in blogging word. Some of people like to write blog by profession some of write to blog by hobbies. Blogs troche the mental thinking of peoples and solve the people problems. Actually you can say blogs help the humanities because the blog (People) solve the many problems of poples most of student get more benefits from blogging for preparing the assignments. Students also can get the advantage of &lt;a href="http://www.blogadvertisingstore.com/"&gt;Paid blogging&lt;/a&gt;. &lt;span style="mso-spacerun:yes"&gt; &lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3078850390002933202?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3078850390002933202'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3078850390002933202'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/blog-advertising-is-better-then-popup.html' title='Blog Advertising is better then popup ads'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OHVjG26-BJQ/SsW4-SEQr9I/AAAAAAAAAPU/-7zVxqb-IsY/s72-c/paid-blog.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-9185952572248941253</id><published>2009-07-16T02:51:00.000-07:00</published><updated>2009-07-16T02:52:47.651-07:00</updated><title type='text'>Linux Zip and Unzip</title><content type='html'>&lt;p&gt;&lt;span style="font-family:verdana;"&gt;Zip and Unzip&lt;br /&gt;To compress a le with zip, type the following command:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;zip -r filename.zip filesdir&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;In this example, filename.zip represents the le you are creating and filesdir represents the&lt;br /&gt;directory you want to put in the new zip le. The -r option species that you want to include all les&lt;br /&gt;contained in the filesdir directory recursively.&lt;br /&gt;To extract the contents of a zip le, type the following command:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;unzip filename.zip&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;You can use zip to compress multiple les and directories at the same time by listing them with a&lt;br /&gt;space between each one:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;zip -r filename.zip file1 file2 file3 /usr/work/school&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;The above command compresses file1, file2, file3, and the contents of the&lt;br /&gt;/usr/work/school directory (assuming this directory exists) and places them in a le named&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;filename.zip&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-9185952572248941253?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/9185952572248941253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/9185952572248941253'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/linux-zip-and-unzip.html' title='Linux Zip and Unzip'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-4156291997583148346</id><published>2009-07-16T02:49:00.000-07:00</published><updated>2009-07-16T02:50:58.349-07:00</updated><title type='text'>Gzip and Gunzip</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Gzip and Gunzip&lt;/strong&gt;&lt;br /&gt;To use gzip to compress a le, type the following command at a shell prompt:&lt;br /&gt;gzip filename&lt;br /&gt;The le will be compressed and saved as filename.gz.&lt;br /&gt;To expand the compressed le, type the following command:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;gunzip filename.gz&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The filename.gz is deleted and replaced with filename.&lt;br /&gt;You can use gzip to compress multiple les and directories at the same time by listing them with a&lt;br /&gt;space between each one:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;gzip -r filename.gz file1 file2 file3 /usr/work/school&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;The above command compresses file1, file2, file3, and the contents of the&lt;br /&gt;/usr/work/school directory (assuming this directory exists) and places them in a le named&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;filename.gz.&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-4156291997583148346?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4156291997583148346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4156291997583148346'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/gzip-and-gunzip.html' title='Gzip and Gunzip'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-1544710911375643285</id><published>2009-07-16T02:47:00.000-07:00</published><updated>2009-07-16T02:48:52.243-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>A Typical KDE Desktop</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;A Typical KDE Desktop&lt;br /&gt;&lt;/strong&gt;The KDE desktop displays application launchers, document windows, le folders, and so on. You can also access the main menu and congure the desktop to suit your needs.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;The long bar across the bottom of the desktop is the panel. The panel contains application launchers, status indicators, and the desktop manager. You can have up to 16 desktops running at the same time in KDE. The panel taskbar shows your currently running applications.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-family:verdana;"&gt;&lt;div align="justify"&gt;&lt;br /&gt;Icons located on the desktop can be les, folders, device links, or application launchers. Click on an icon to open the associated resource. The KDE desktop works similarly to other graphical desktop environments. You can drag and drop&lt;br /&gt;les and application icons to any location on the desktop. You can also add new icons for all types of applications and resources to the desktop, panel, or le manager. The desktop itself is also highly customizable. You can change the appearance of buttons, window and frame decorations, and backgrounds easily. Conguration tools are also available which allow you to customize the way the desktop behaves at events such as single- and double-clicking mouse buttons and combining (also called chording) keystrokes to create time-saving shortcuts.&lt;br /&gt;The default KDE desktop displays icons for the trash can, your home directory, the KDE Control Panel, and a link to the Red Hat website. You can access any one of these resources by clicking on the associated icon.&lt;br /&gt;&lt;/div&gt;&lt;div align="justify"&gt;When you right-click on these icons, you will see several options for working with these resources, such as Delete Rename Move to Trash, and Copy. You can drag and drop unwanted items such as les you no longer need to the Trash icon. Right-click on the trashcan and select Empty Trash Bin to delete the items from your system permanently.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-1544710911375643285?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1544710911375643285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1544710911375643285'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/typical-kde-desktop.html' title='A Typical KDE Desktop'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8806107476070134850</id><published>2009-07-13T05:04:00.000-07:00</published><updated>2009-07-13T05:08:09.370-07:00</updated><title type='text'>FORWARD and NAT Rules</title><content type='html'>&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;FORWARD and NAT Rules&lt;br /&gt;&lt;/strong&gt;Most organizations are allotted a limited number of publicly routable IP addresses from their ISP. Due to this limited allowance, administrators must nd creative ways to share access to Internet services without giving scarce IP addresses to every node on the LAN. Using class C private IP address is the common way to allow all nodes on a LAN to properly access network services internally and externally. Edge routers (such as rewalls) can receive incoming transmissions from the Internet and route the bits to the intended LAN node; at the same time, it can also route outgoing requests from a LAN node to the remote Internet service. This forwarding of network trafc can become dangerous at times, especially with the availability of modern cracking tools that can spoof internal IP addresses and make the remote attacker's machine act as a node on your LAN. To prevent this, iptables provides routing and forwarding policies that you can implement to prevent aberrant usage of network resources.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;The FORWARD policy allows an administrator to control where packets can be routed. For example, to allow forwarding for an entire internal IP address range, the following rule can be set:&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;iptables -A FORWARD -i eth1 -j ACCEPT&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;By default, IPv4 policy in Red Hat Linux kernels disables support for IP forwarding, which prevents boxes running Red Hat Linux from functioning as dedicated edge routers. To enable IP forwarding, run the following command or place it in your rewall initialization script:&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;echo "1" &gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;FORWARD rules can be implemented to restrict certain types of trafc to the LAN only, such as local network le shares through NFS or Samba. The following rules reject outside connections to Samba shares:&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;iptables -A FORWARD -p tcp --sport 137:139 -j DROP&lt;br /&gt;iptables -A FORWARD -p udp --sport 137:139 -j DROP&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;To take the restrictions a step further, you can block all outside connections that attempt to spoof private IP address ranges to inltrate your LAN. If a LAN uses the 192.168.1.0/24 range, a rule can set the Internet facing network device (for example, eth0) to drop any packets to that device with an address in your LAN IP range. Because it is recommended to reject forwarded packets as a default&lt;br /&gt;policy, any other spoofed IP address will be rejected automatically.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;iptables -A FORWARD -p tcp -s 192.168.1.0/24 -i eth0 -j DROP&lt;br /&gt;iptables -A FORWARD -p udp -s 192.168.1.0/24 -i eth0 -j DROP&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;Rules can also be set to route trafc to certain machines, such as a dedicated HTTP or FTP server, preferably one that is isolated from the internal network on a DMZ. To set a rule for routing all incoming HTTP requests to a dedicated HTTP server at IP address 10.0.4.2 and port 80 (outside of the 192.168.1.0/24 range of the LAN), network address translation (NAT) calls a PREROUTING table to forward the packets to the proper destination ( the \ denotes a continuation of a one-line command):&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 10.0.4.2:80&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;With this command, all HTTP connections to port 80 from the outside of the LAN will be routed to the HTTP server on a separate network from the rest of the internal network. This form of network segmentation can prove safer than allowing HTTP connections to a machine on the network.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8806107476070134850?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8806107476070134850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8806107476070134850'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/forward-and-nat-rules.html' title='FORWARD and NAT Rules'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8644308096702571170</id><published>2009-07-11T13:30:00.000-07:00</published><updated>2009-07-11T13:31:58.709-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux Unix Sudu Usage</title><content type='html'>&lt;span style="font-family: verdana;"&gt;Sudo :&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Best explanation is the man page itself:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;“sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. The real and effective uid and gid are set to match those of the target user as specified in the passwd file (the group vector is also initialized when the target&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;user is not root). By default, sudo requires that users authenticate themselves with a password (NOTE: by default this is the user’s pass-       word, not the root password). Once a user has been authenticated, a timestamp is updated and the user may then use sudo without a password&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;for a short period of time (5 minutes unless overridden in sudoers).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;sudo determines who is an authorized user by consulting the file /etc/sudoers. By giving sudo the -v flag a user can update the time stamp without running a command. The password prompt itself will also time out if the user’s password is not entered within 5 minutes (unless&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;overridden via sudoers).”&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;What this says is that sudo is used / can be used, by administrator (root ), to grant&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;execute permissions to specific users. For example, users can be granted to execute&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;the mount command, which is by default only executable by root. The benefit of&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;using sudo is that you don't have to mess with the setuid or setgid bits of the target&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;program, e.g. Mount . Rather you just mention the user or group in the&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;/etc/sudoers file and that is it. Users can use sudo command along mount&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;command to get their work done.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;The /etc/sudoers file is quite easy to understand. But remember you have to&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;edit it NOT with vi. You have to use visudo command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;[root@mainserver / ]# visudo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Assume you want to give cdrom mount and unmount ability to the group named&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;students along the ability to shutdown the local machine.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;You would add the following lines to the /etc/sudoers file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;[root@mainserver / ]# visudo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;%students ALL=/bin/mount /dev/cdrom,/bin/umount /mnt/cdrom&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;%students localhost=/sbin/shutdown -h now&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Now the users (members of group students) would use the sudo command to mount&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;various file systems.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;[root@mainserver / ]# sudo mount /dev/cdrom /mnt/cdrom&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;[root@mainserver / ]#&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8644308096702571170?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8644308096702571170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8644308096702571170'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/linux-unix-sudu-usage.html' title='Linux Unix Sudu Usage'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3346558355735208166</id><published>2009-07-11T13:27:00.000-07:00</published><updated>2009-07-11T13:29:49.088-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Umask Unix LInux'/><title type='text'>Linux Unix Umask</title><content type='html'>&lt;span style="font-family: verdana;"&gt;Umask :&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;The umask (UNIX shorthand for "user file-creation mode mask") is a four-digit octal&lt;/span&gt; &lt;span style="font-family: verdana;"&gt;number that UNIX uses to determine the file permission for newly created files.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;Every process has its own umask, inherited from its parent process.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;The umask specifies the permissions you do not want given by default to newly&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;created files and directories. umask works by doing a bitwise AND with the bitwise&lt;/span&gt; &lt;span style="font-family: verdana;"&gt;complement of the umask. Bits that are set in the umask correspond to permissions &lt;/span&gt;&lt;span style="font-family: verdana;"&gt;that are not automatically assigned to newly created files.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;By default, most UNIX versions specify an octal mode of 666 (any user can read or &lt;/span&gt;&lt;span style="font-family: verdana;"&gt;write the file) when they create new files. Likewise, new programs are created with a&lt;/span&gt; &lt;span style="font-family: verdana;"&gt;mode of 777 (any user can read, write, or execute the program).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;The most common umask values are 022, 027, and 077. A umask value of 022 lets &lt;/span&gt;&lt;span style="font-family: verdana;"&gt;the owner both read and write all newly created files, but everybody else can only &lt;/span&gt;&lt;span style="font-family: verdana;"&gt;read them:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;0666 default file-creation mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;(0022) umask&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;0644 resultant mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;A umask value of 077 lets only the file's owner read all newly created files:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;0666 default file-creation mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;(0077) umask&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;0600 resultant mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;A simple way to calculate umask values is to remember that the number 2 in the&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;umask turns off write permission, while 7 turns off read, write, and execute&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;permission.&lt;br /&gt;&lt;br /&gt;A umask value of 002 is commonly used by people who are working on group&lt;br /&gt;projects. If you create a file with your umask set to 002, anyone in the file's group will be able to read or modify the file. Everybody else will only be allowed to read it:&lt;br /&gt;0666 default file-creation mode&lt;br /&gt;(0002) umask&lt;br /&gt;0664 resultant mode&lt;br /&gt;On many UNIX systems, the default umask is 022. This is inherited from the init&lt;br /&gt;process, as all processes are descendants of init. Some systems may be configured to use another umask value, or a different value may be set in the startup files.&lt;br /&gt;The designers of these systems chose this umask value to foster sharing, an open computing environment, and cooperation among users. Most prototype user accounts shipped with UNIX operating systems specify 022 as the default umask, and many computer centers use this umask when they set up new accounts. Unfortunately, system administrators frequently do not make a point of explaining the umask to novice users, and many users are not aware that most of the files they create are readable by every other user on the system.&lt;br /&gt;A recent trend among computing centers has been to set up new accounts with a&lt;br /&gt;umask of 077, so a user's files will, by default, be unreadable by anyone else on the system unless the user makes a conscious choice to make them readable.&lt;br /&gt;Common umask settings and their effects:&lt;br /&gt;umask User Access Group Access Other&lt;br /&gt;0000 all all all&lt;br /&gt;0002 all all read, execute&lt;br /&gt;0007 all all none&lt;br /&gt;0022 all read, execute read, execute&lt;br /&gt;0027 all read, execute none&lt;br /&gt;0077 all none none&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3346558355735208166?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3346558355735208166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3346558355735208166'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/linux-unix-umask.html' title='Linux Unix Umask'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8503922533646447402</id><published>2009-07-10T13:43:00.000-07:00</published><updated>2009-07-10T13:46:07.722-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Migrating to Open Source 90% Less than Upgrading Microsoft</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Migrating to Open Source 90% Less than Upgrading Microsoft&lt;br /&gt;&lt;/strong&gt;To tide us over until that more comprehensive analysis is undertaken, we have found a recently released independent study by the Dutch government. In that report10, the researchers found that migrating to an open source desktop productivity platform was 90% less expensive than migrating to the new version of the Microsoft productivity platform.&lt;br /&gt;This included accounting for all the costs of migration, such as retraining,&lt;br /&gt;redevelopment of macros and addon applications, any conversion costs for existing documents etc. As this is only a single data point, it would be impossible to rely on the results as a template for all Microsofttoopen source migrations. However, it is independent research, undertaken by a public sector organisation which has no vested interest in either Microsoft's nor Linux's position in this matter. This research was also based on a large scale migration, involving over 2000 desktops. Certainly within the realm of organisational size we are considering in this TCO, There is another important point to consider when modelling your organisation's cost of upgrading to a newer version of Microsoft products versus the cost of migrating to Linux and open source. Most  rganisations will likely factor in the costs associated with a single upgradeversusmigration cycle. By this we mean an organisation calculating the cost of upgrading to the next version of the Microsoft product versus migrating to Linux, rather than including the subsequent upgrades as well.&lt;br /&gt;Many of the costs of upgrading to newer versions of Microsoft platforms (licences,&lt;br /&gt;software assurance etc.) have to be borne again and again. Most of the costs of migrating to Linux are borne once, during the initial migration. Any subsequent upgrades for that Linux platform occur with no licence costs nor software assurance costs. Therefore, to provide a more realistic appraisal and model of this scenario, you should include two or  three full refresh lifecycles, stretching over a period of 510 years. Therefore rather than an upgrade versus migration, you contrast costs of an upgradeupgradeupgrade versus migrationupgradeupgrade&lt;br /&gt;process.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8503922533646447402?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8503922533646447402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8503922533646447402'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/migrating-to-open-source-90-less-than.html' title='Migrating to Open Source 90% Less than Upgrading Microsoft'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8595426619144669178</id><published>2009-07-08T09:34:00.000-07:00</published><updated>2009-07-08T09:35:36.637-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>LILO and the x86 Boot Process</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;br /&gt;This section will discuss in more detail the specic role LILO plays when booting an x86 system. For&lt;br /&gt;a detailed look at the overall boot process, see Section 3.2.&lt;br /&gt;LILO loads itself into memory almost identically to GRUB, except it is only a two stage loader.&lt;br /&gt;1. The Stage 1 or primary boot loader is read into memory by the BIOS from the MBR2. The&lt;br /&gt;primary boot loader exists on less than 512 bytes of disk space within the MBR. The only thing&lt;br /&gt;it does is load the Stage 2 boot loader and pass to it disk geometry information.&lt;br /&gt;2. The Stage 2 or secondary boot loader is read into memory. The secondary boot loader displays&lt;br /&gt;the Red Hat Linux initial screen. This screen allows you to select which operating system or&lt;br /&gt;Linux kernel to boot.&lt;br /&gt;3. The Stage 2 boot loader reads the operating system or kernel and initrd into memory. Once LILO determines which operating system to start, it loads it into memory and hands control of the machine to that operating system.&lt;br /&gt;Once the Stage 2 boot loader is in memory, LILO displays the initial Red Hat Linux screen with the different operating systems or kernels it has been congured to boot. If you only have Red Hat Linux installed and have not changed anything in LILO's conguration le, you will see only linux as an option. If you install SMP kernel support, you will see linux-up as an option. If you have set up LILO&lt;br /&gt;to boot other operating systems as well, this screen is your chance to select what operating system will boot. Use your arrow keys to highlight the operating system and press  If you would like to have a command prompt to enter a command to LILO, press [Ctrl]-[X]. LILO&lt;br /&gt;displays a LILO: prompt on the screen and waits for input from the user.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8595426619144669178?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8595426619144669178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8595426619144669178'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/lilo-and-x86-boot-process.html' title='LILO and the x86 Boot Process'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-4443561821372331447</id><published>2009-07-08T09:19:00.000-07:00</published><updated>2009-07-08T09:21:33.630-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Linux Virtual File System</title><content type='html'>&lt;span style="font-family:verdana;"&gt;&lt;div align="justify"&gt;&lt;br /&gt;Under Linux, all data are stored as les. Most users are familiar with the two primary types of les:&lt;br /&gt;text and binary. But the /proc/ directory contains another type of le called a virtual le. It is for this reason that /proc/ is often referred to as a virtual le system.&lt;br /&gt;These virtual les have unique qualities. Most of them are listed as zero bytes in size and yet when one is viewed, it can contain a large amount of information. In addition, most of the time and date settings on virtual les reect the current time and date, indicative of the fact they constantly changing.&lt;br /&gt;Virtual les such as interrupts, /proc/meminfo, /proc/mounts, and /proc/partitions provide an up-to-the-moment glimpse of the system's hardware. Others, like /proc/filesystems and the /proc/sys/ directory provide system conguration information and interfaces.&lt;br /&gt;For organizational purposes, les containing information on a similar topic are grouped into virtual directories and sub-directories. For instance, /proc/ide/ contains information for all physical IDE devices. Likewise, process directories contain information about each running process on the system.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-4443561821372331447?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4443561821372331447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/4443561821372331447'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/linux-virtual-file-system.html' title='Linux Virtual File System'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8945181709888322959</id><published>2009-07-05T10:48:00.000-07:00</published><updated>2009-07-05T10:50:07.195-07:00</updated><title type='text'>Salaries and Services Costs Microsoft and Linux</title><content type='html'>&lt;span style="font-family: verdana;"&gt;&lt;br /&gt;Network Infrastructure Specification and Costs&lt;br /&gt;Network Infrastructure is calculated as the cost of equipping one computer, whether it be a&lt;br /&gt;workstation or a server, with a connection point on a port or a switch, appropriate cabling&lt;br /&gt;and a wall socket, as per current industry bestpractice.&lt;br /&gt;Research has shown this turns out&lt;br /&gt;to be approximately $100 per computer.&lt;br /&gt;Therefore, network infrastructure is calculated as the number of computers multiplied by&lt;br /&gt;$100.&lt;br /&gt;Total Cost of Network Infrastructure 259 x $100 = $25,900.00&lt;br /&gt;Staff Salary Specifications and Costs&lt;br /&gt;Staff for both our Windows platform model and our Linux/Open Source environment were&lt;br /&gt;sourced from online placement agency firms (such as Dice.com and Mojolin.com). We&lt;br /&gt;performed a search using some of the core technologies required for both platforms, and&lt;br /&gt;itemised three core staff members for our example organisation. We require a Senior&lt;br /&gt;systems administrator and coordinator,&lt;br /&gt;reporting to our example firm's executive&lt;br /&gt;management. We also require a midlevel&lt;br /&gt;generalist, and a junior helpdesk&lt;br /&gt;support&lt;br /&gt;staffer. Ancillary or specialist technical services will be provided by external consultants.&lt;br /&gt;Windows Platform Permanent Staff&lt;br /&gt;Salary for Senior Systems Admin @ $66,000.00 perannum&lt;br /&gt;for 3 years = $198,000.00&lt;br /&gt;Salary for Midlevel&lt;br /&gt;Systems Admin @ $46,000.00 perannum&lt;br /&gt;for 3 years =&lt;br /&gt;$138,000.00&lt;br /&gt;Salary for Junior Support Admin @ $36,000.00 perannum&lt;br /&gt;for 3 years = $108,000.00&lt;br /&gt;Total Cost of Windows Platform Permanent Staff = $444,000&lt;br /&gt;Linux Platform Permanent Staff&lt;br /&gt;Salary for Senior Systems Admin @ $71,000.00 perannum&lt;br /&gt;for 3 years = $213,000.00&lt;br /&gt;Salary for Midlevel&lt;br /&gt;Systems Admin @ $49,000.00 perannum&lt;br /&gt;for 3 years =&lt;br /&gt;$147,000.00&lt;br /&gt;Salary for Junior Support Admin @ $38,000.00 perannum&lt;br /&gt;for 3 years = $114,000.00&lt;br /&gt;Total Cost of Linux Platform Permanent Staff = $474,000&lt;br /&gt;Specialist Consultancy Services&lt;br /&gt;Most organisations need specialist external IT consultancy services and the same applies&lt;br /&gt;for our example organisation. Previously we have allocated the same funds for sourcing&lt;br /&gt;All text material Copyright © 2002, 2004 Cybersource® Pty. Ltd. (http://www.cybersource.com.au/).&lt;br /&gt;All trademarks are the property of their respective trademark holders. Document Build: 291 Page 35 of 44&lt;br /&gt;external consultants for both Windows and Linux, but this time we have allocated three&lt;br /&gt;times as much to the Linux consultancy in order to respond to feedback we received from&lt;br /&gt;the first version of this document.&lt;br /&gt;Total Cost of Specialist Windows Consultancy Services = $45,000&lt;br /&gt;Total Cost of Specialist Linux Consultancy Services = $135,000&lt;br /&gt;Training&lt;br /&gt;We will allocate US$30,000 for training for our organisation's staff over the lifetime of&lt;br /&gt;this TCO model. With this budget allocation, they will be trained for increased&lt;br /&gt;competence in either of the Microsoft Windows or Linux open source platforms by&lt;br /&gt;commensurate commercial training firms.&lt;br /&gt;Total Cost of Training $30,000&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8945181709888322959?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8945181709888322959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8945181709888322959'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/salaries-and-services-costs-microsoft.html' title='Salaries and Services Costs Microsoft and Linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3952232225852098574</id><published>2009-07-04T13:21:00.000-07:00</published><updated>2009-07-04T13:27:48.847-07:00</updated><title type='text'>Linux Vs Microsoft Windows Comparison</title><content type='html'>&lt;strong&gt;Windows Platform Solution&lt;br /&gt;&lt;/strong&gt;For our Windows platform solution, we have selected the following operating systems,&lt;br /&gt;backoffice technologies and office productivity tools.&lt;br /&gt;Product Price (USD) Supplier Comments&lt;br /&gt;&lt;br /&gt;Symantec AntiVirus Corporate Edition $37.90&lt;br /&gt;Symantec Price is per license when ordered in quantities of 100 to 250.&lt;br /&gt;Windows Server 2003 $3,999.00&lt;br /&gt;Microsoft 32bit Enterprise, includes 25 CALs&lt;br /&gt;Microsoft Internet Information Server (web server)&lt;br /&gt;Free Microsoft Bundled with Windows 2003 Server.&lt;br /&gt;Microsoft Commerce Server 2002 $19,999.00/CPU Microsoft Price is for enterprise edition.&lt;br /&gt;Requires Microsoft SQL.&lt;br /&gt;Microsoft ISA 2004 $1,499.00/CPU Microsoft Standard edition.&lt;br /&gt;Enterprise edition not yet available.&lt;br /&gt;&lt;br /&gt;Microsoft SQL Server $19,999.00/CPU Microsoft Retail price for Enterprise version.&lt;br /&gt;Despite the price, this is actually cheaper than a server and CAL based solution.&lt;br /&gt;&lt;br /&gt;Microsoft Exchange 2003 $3,999.00 plus $67.00/CAL&lt;br /&gt;Microsoft Requires Windows 2003 Server.&lt;br /&gt;&lt;br /&gt;Enterprise edition. Microsoft Visual Studio .Net 2003 $2,499.00&lt;br /&gt;&lt;br /&gt;Microsoft Enterprise Architect version. Windows XP Professional $299.00 (per user) Microsoft&lt;br /&gt;Microsoft Office Standard $399.00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Linux Platform Standard Solution&lt;br /&gt;&lt;/strong&gt;For our standard Linux platform solution, we have selected the following open source&lt;br /&gt;backoffice technologies and office productivity tools.&lt;br /&gt;Product Price (USD) Comments Linux boxed sets (options)&lt;br /&gt;Linux distributions suitable for being servers and workstations.&lt;br /&gt;Only one copy needed. Where possible prices have been obtained from the distributor.&lt;br /&gt;Alternatively, you can download many of these for free from the Internet.&lt;br /&gt;&lt;br /&gt;Debian 3.0 (stable) $16.99 18&lt;br /&gt;Fedora Core 2 $15.99 19&lt;br /&gt;Mandrake 10.0 Bundle $84.90&lt;br /&gt;Slackware 10.0 $39.95&lt;br /&gt;SuSE 9.1 Professional $89.95&lt;br /&gt;Apache (web server) Included with Linux distributions or free download. An efficient and extensible web&lt;br /&gt;server used on more than 67% of the Internet.20&lt;br /&gt;Squid (proxy server) Included with Linux distributions or free download.&lt;br /&gt;MySQL or PostgreSQL Included with Linux distributions or free download.&lt;br /&gt;IPTables (firewall) IPTables included with Linux distributions or free download.&lt;br /&gt;State and packet based filtering.&lt;br /&gt;PF provides greater functionality (including traffic shaping).&lt;br /&gt;Sendmail or Postfix (mail server)&lt;br /&gt;Included with Linux distributions or free download.&lt;br /&gt;KDevelop (IDE) Included with Linux distributions or free download.&lt;br /&gt;GIMP (graphics) Included with Linux distributions or free download.&lt;br /&gt;OpenOffice (productivitysuite)&lt;br /&gt;Included with Linux distributions or free download.&lt;br /&gt;Standard file formats include Star, Open &amp;amp; Microsoft Office files, plus can generate PDF files.&lt;br /&gt;OSCommerce (ecommercesystem)&lt;br /&gt;Available from: http://oscommerce.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3952232225852098574?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3952232225852098574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3952232225852098574'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/linux-vs-microsoft-windows-comparison.html' title='Linux Vs Microsoft Windows Comparison'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-811903012230757739</id><published>2009-07-03T06:45:00.000-07:00</published><updated>2009-07-03T06:48:27.769-07:00</updated><title type='text'>Disabling Shutdown Via Ctrl-Alt-Del</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:trebuchet ms;"&gt;By default, /etc/inittab species that your system is set to shutdown and reboot the system in&lt;br /&gt;response to a [Ctrl]-[Alt]-[Del] key combination used at the console. If you would like to completely disable this ability, you will need to comment out the following line in /etc/inittab by putting a hash mark (#) in front of it:ca::ctrlaltdel:/sbin/shutdown -t3 -r now Alternatively, you may just want to allow certain non-root users the right to shutdown the system from the console using [Ctrl]-[Alt]-[Del]. You can restrict this privilege to certain users, by taking the following steps: 1. Add a -a option to the /etc/inittab line shown above, so that it reads: ca::ctrlaltdel:/sbin/shutdown -a -t3 -r now The -a ag tells shutdown to look for the /etc/shutdown.allow le, which you will create in the next step. 2. Create a le named shutdown.allow in /etc. The shutdown.allow le should list the usernames of any users who are allowed to shutdown the system using [Ctrl]-[Alt]-[Del]. &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:trebuchet ms;"&gt;The format of the /etc/shutdown.allow le is a list of usernames, one per line, like the following: stephen jack sophie According to this example shutdown.allow le, stephen, jack, and sophie are allowed to shutdown the system from the console using [Ctrl]-[Alt]-[Del]. When that key combination is used, the shutdown -a in /etc/inittab checks to see if any of the users in /etc/shutdown.allow (or root) are logged in on a virtual console. If one of them is, the shutdown of the system will continue; if not, an error message will be written to the system console instead. For more information on shutdown.allow see the shutdown man page.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-811903012230757739?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/811903012230757739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/811903012230757739'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/disabling-shutdown-via-ctrl-alt-del.html' title='Disabling Shutdown Via Ctrl-Alt-Del'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8747428978523758308</id><published>2009-07-03T06:42:00.000-07:00</published><updated>2009-07-03T06:43:32.523-07:00</updated><title type='text'>Adding a Novell NetWare (NCP) Printer</title><content type='html'>&lt;div align="justify"&gt;To add a Novell NetWare (NCP) printer, click the New button in the main Printer Conguration&lt;br /&gt;Tool window. The window shown in Figure 26-1 will appear. Click Next to proceed.&lt;br /&gt;You will see the screen shown in Figure 26-9. Enter a unique name for the printer in the Queue Name text eld. The printer name cannot contain spaces and must begin with a letter a through z or A through Z. The valid characters are a through z, A through Z, 0 through 9, -, and _.&lt;br /&gt;Select Novell Printer from the Queue Type menu, and click Next.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8747428978523758308?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8747428978523758308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8747428978523758308'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/adding-novell-netware-ncp-printer.html' title='Adding a Novell NetWare (NCP) Printer'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-8725617811294959601</id><published>2009-07-02T07:38:00.000-07:00</published><updated>2009-07-02T07:40:47.247-07:00</updated><title type='text'>Booting Rescue Mode</title><content type='html'>To boot your system in rescue mode, boot from a Red Hat Linux boot disk or the Red Hat Linux&lt;br /&gt;CD-ROM #1, and enter the following command at the installation boot prompt:&lt;br /&gt;boot: linux rescue You can get to the installation boot prompt in one of these ways:&lt;br /&gt;. By booting your system from an installation boot diskette made from the boot.img image. This&lt;br /&gt;method requires that the Red Hat Linux CD-ROM #1 be inserted as the rescue image or that the&lt;br /&gt;rescue image be on the hard drive as an ISO image. 1&lt;br /&gt;. By booting your system from the Red Hat Linux CD-ROM #1.&lt;br /&gt;. By booting from a network disk made from the bootnet.img or PCMCIA boot disk made from&lt;br /&gt;pcmcia.img. You can only do this if your network connection is working. You will need to identify&lt;br /&gt;the network host and transfer type. For an explanation of how to specify this information, refer to the Ofcial Red Hat Linux Installation Guide.&lt;br /&gt;After booting off a boot disk or Red Hat Linux CD-ROM #1 and providing a valid rescue image, you&lt;br /&gt;will see the following message:&lt;br /&gt;The rescue environment will now attempt to find your Red Hat&lt;br /&gt;Linux installation and mount it under the directory&lt;br /&gt;/mnt/sysimage. You can then make any changes required to your&lt;br /&gt;system. If you want to proceed with this step choose&lt;br /&gt;'Continue'. You can also choose to mount your filesystem&lt;br /&gt;read-only instead of read-write by choosing 'Read-only'.&lt;br /&gt;If for some reason this process fails you can choose 'Skip'&lt;br /&gt;and this step will be skipped and you will go directly to a&lt;br /&gt;command shell.&lt;br /&gt;If you select Continue, it will attempt to mount your lesystem under the directory /mnt/sysimage.&lt;br /&gt;If it fails to mount a partition, it will notify you. If you select Read-Only, it will attempt to mount&lt;br /&gt;your lesystem under the directory /mnt/sysimage, but in read-only mode. If you select Skip, your&lt;br /&gt;lesystem will not be mounted. Choose Skip if you think your lesystem is corrupted.&lt;br /&gt;Once you have your system in rescue mode, a prompt appears on VC (virtual console) 1 and VC 2&lt;br /&gt;(use the [Ctrl]-[Alt]-[F1] key combination to access VC 1 and [Ctrl]-[Alt]-[F2] to access VC 2):&lt;br /&gt;sh-2.05a#&lt;br /&gt;If you selected Continue to mount your partitions automatically and they were mounted successfully,&lt;br /&gt;you are in single-user mode.&lt;br /&gt;To mount a Linux partition manually inside rescue mode, create a directory such as /foo, and type the following command:&lt;br /&gt;mount -t ext3 /dev/hda5 /foo&lt;br /&gt;In the above command, /foo is a directory that you have created and /dev/hda5 is the partition you want to mount. If the partition is of type ext2, replace ext3 with ext2.&lt;br /&gt;If you do not know the names of your partitions, use the following command to list them:&lt;br /&gt;fdisk -l&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-8725617811294959601?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8725617811294959601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/8725617811294959601'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/booting-rescue-mode.html' title='Booting Rescue Mode'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-2850368599789034508</id><published>2009-07-02T07:37:00.000-07:00</published><updated>2009-07-02T07:38:38.787-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LInux Unix'/><title type='text'>Unable to Boot Linux</title><content type='html'>&lt;span style="font-family:lucida grande;"&gt;&lt;p align="justify"&gt;This problem is often caused by the installation of another operating system after you have installed Red Hat Linux. Some other operating systems assume that you have no other operating systems on your computer, and they overwrite the Master Boot Record (MBR) that originally contained the GRUB or LILO boot loader. If the boot loader is overwritten in this manner, you will not be able to boot Red Hat Linux unless you can get into rescue mode.&lt;br /&gt;Another common problem occurs when using a partitioning tool to resize a partition or create a new partition from free space after installation and it changes the order of your partitions. If the partition number of your / partition changes, the boot loader will not be able to nd it to mount the partition. To x this problem, boot in rescue mode and modify /boot/grub/grub.conf if you are using GRUB or /etc/lilo.conf if you are using LILO.&lt;/span&gt;&lt;/p&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-2850368599789034508?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2850368599789034508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/2850368599789034508'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/unable-to-boot-linux.html' title='Unable to Boot Linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-6646545073655594831</id><published>2009-07-01T06:19:00.000-07:00</published><updated>2009-07-01T06:25:12.176-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='LInux Wireless'/><title type='text'>How to Establishing a Wireless Connection</title><content type='html'>&lt;span style="font-family:trebuchet ms;"&gt;Wireless Ethernet devices are becoming increasingly popular. The conguration is similar to the Ethernet conguration except that it allows you to congure ESSID, mode, frequency, channel, transmit rate, and key for your wireless device.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;strong&gt;To add a wireless Ethernet connection, follow these steps:&lt;/strong&gt;&lt;br /&gt;1. Click the Devices tab.&lt;br /&gt;2. Click the Add button.&lt;br /&gt;3. Select Wireless connection from the Device Type list, and click Forward.&lt;br /&gt;4. If you have already added the wireless network interface card to the hardware list, select it from the Ethernet card list. Otherwise, select Other Ethernet Card to add the hardware device.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;5. If you selected Other Ethernet Card, the Select Ethernet Adapter window appears. Select&lt;br /&gt;the manufacturer and model of the Ethernet card and the device. If this is the rst Ethernet card&lt;br /&gt;for the system, select eth0, if this is the second Ethernet card for the system, select eth1, and so&lt;br /&gt;on. The Network Administration Tool also allows the user to congure the resources for the&lt;br /&gt;wireless network interface card. Click Forward to continue.&lt;br /&gt;6. On the Congure Wireless Connection page as shown in Figure 11-12, congure the ESSID,&lt;br /&gt;mode, frequency, channel, transmit rate, and key for your wireless device.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;7. On the Congure Network Settings page, choose between DHCP and static IP address. You&lt;br /&gt;may specify a hostname for the device. If the device receives a dynamic IP address each time&lt;br /&gt;the network is started, do not specify a hostname. Click Forward to continue.&lt;br /&gt;8. Click Apply on the Create Wireless Device page.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-6646545073655594831?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6646545073655594831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6646545073655594831'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/how-to-establishing-wireless-connection.html' title='How to Establishing a Wireless Connection'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3474198170837625506</id><published>2009-07-01T06:18:00.000-07:00</published><updated>2009-07-01T06:19:22.581-07:00</updated><title type='text'>Web Directories</title><content type='html'>&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;Web Directories is changing the face of marketing. Web Directories enabled the open dialogue between companies and consumers. Before engaging in web directories companies need to explore the various options available and decide which methods will likely have the greatest impact on their target audience.&lt;br /&gt;&lt;br /&gt;Things need when you build new web directory&lt;br /&gt;1.  Web Directory Design &amp;amp; Layout&lt;br /&gt;2.  Keyword Research&lt;br /&gt;3.  Link Building&lt;br /&gt;4.  Autoresponders&lt;br /&gt;5.  Visitor Analysis&lt;br /&gt;&lt;br /&gt;Before joining the web directories you have to focus your business objective &amp;amp; marketing strategy. When you search what is the marketing media for your business promotion. First of all look at web directories. If you choose web directories you will get better result instead of other marketing media’s.&lt;br /&gt;&lt;br /&gt;Web directories are the best sources to combine the different type of business under one roof. &lt;/span&gt;&lt;a href="http://www.jasminedirectory.com/"&gt;&lt;span style="font-family:verdana;"&gt;Jasminedirectory.com&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, &lt;/span&gt;&lt;a href="http://www.maxdirectory.eu/"&gt;&lt;span style="font-family:verdana;"&gt;Maxdirectory.eu&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;, &lt;/span&gt;&lt;a href="http://dir.yahoo.com/"&gt;&lt;span style="font-family:verdana;"&gt;Yahoo web directories&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;  and &lt;/span&gt;&lt;a href="http://www.twd.in/"&gt;&lt;span style="font-family:verdana;"&gt;Twd Web Directory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; are the example of this roof. Choose the web directory which have variety of business category and also have many links. If you want to promote your business on national (Country Level) choose the same country web directory like you live in Pakistan than use &lt;/span&gt;&lt;a href="http://hamariweb.com/webdirectory.aspx"&gt;&lt;span style="font-family:verdana;"&gt;HamariWeb Directory&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt;.&lt;br /&gt;&lt;br /&gt;Web directories are kind of relationship marketing, relationship marketing Acquiring, Maintaining and Retaining Customers. Web directory is the example of business Marketing Relationships (BMR).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3474198170837625506?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3474198170837625506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3474198170837625506'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/web-directories.html' title='Web Directories'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3662404080593134208</id><published>2009-07-01T02:22:00.000-07:00</published><updated>2009-07-01T02:24:05.440-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NFS Linux'/><title type='text'>NFS Mount Options</title><content type='html'>Beyond mounting a le system via NFS on a remote host, a number of different options may be&lt;br /&gt;specied at the time of the mount that can make it easier to use. These options can be used with&lt;br /&gt;manual mount commands, /etc/fstab settings, and autofs, and other mounting methods.&lt;br /&gt;The following options are the most popular for NFS mounts:&lt;br /&gt;. hard or soft . species whether the program using a le via an NFS connection should stop&lt;br /&gt;and wait (hard) for the server to come back online if the host serving the exported le system is&lt;br /&gt;unavailable, or if it should report an error (soft).&lt;br /&gt;If you specify hard, you will not be able to terminate the process waiting for the NFS communication&lt;br /&gt;to resume unless you also specify the intr option.&lt;br /&gt;If you specify soft, you can set an additional timeo=&lt;br /&gt;ç&lt;br /&gt;value&lt;br /&gt;è&lt;br /&gt;option, where&lt;br /&gt;ç&lt;br /&gt;value&lt;br /&gt;è&lt;br /&gt;species&lt;br /&gt;the number of seconds to pass before the error is reported.&lt;br /&gt;. intr. allows NFS requests to be interrupted if the server goes down or cannot be reached.&lt;br /&gt;. nolock . is occasionally required when connecting to older NFS server. To require locking, use&lt;br /&gt;the lock option.&lt;br /&gt;. noexec . does not permit the execution of binaries on the mounted le system. This is useful if&lt;br /&gt;your Red Hat Linux system is mounting a non-Linux le system via NFS that contains binaries that&lt;br /&gt;will not execute on your machine.&lt;br /&gt;. nosuid. does not allow set-user-identier or set-group-identier bits to take effect.&lt;br /&gt;. rsize=8192 and wsize=8192.may speed up NFS communication for reads (rsize) and writes&lt;br /&gt;(wsize) by setting a larger data block size, in bytes, to be transferred at one time. Be careful when&lt;br /&gt;changing these values; some older Linux kernels and network cards may not work well with larger&lt;br /&gt;block sizes.&lt;br /&gt;. nfsvers=2 or nfsvers=3. specify which version of the NFS protocol to use.&lt;br /&gt;Many more options are listed on the mount man page, including options for mounting non-NFS le&lt;br /&gt;systems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3662404080593134208?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3662404080593134208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3662404080593134208'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/07/nfs-mount-options.html' title='NFS Mount Options'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5058101453162361385</id><published>2009-06-29T12:22:00.001-07:00</published><updated>2009-06-30T01:26:11.508-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Webdirectories'/><title type='text'>Why We Use Web Directories?</title><content type='html'>&lt;div align="justify"&gt;&lt;a href="http://1.bp.blogspot.com/_OHVjG26-BJQ/SkkUkNqltuI/AAAAAAAAAMA/u7e4Mj7kt38/s1600-h/images3.jpg"&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5352832244482684642" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 129px; CURSOR: hand; HEIGHT: 92px" alt="" src="http://1.bp.blogspot.com/_OHVjG26-BJQ/SkkUkNqltuI/AAAAAAAAAMA/u7e4Mj7kt38/s320/images3.jpg" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;Web Directories is the Best way to promot your Business in the whole world. In the Advertising Filed every one wants to save money and time. When we advertising our business on “Web Directories” and free web directories are the answer. Free web directories are a great place to promote your web site,  and your product promotion to your valuable clients.&lt;br /&gt;&lt;br /&gt;The Web directories like a force in the internet and can give your website extreme boost on internet. Many new web directories are not know by the mass users of the internet, but this is likely to change as the web directory becomes a respected and highly visited site. &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;Many new web directories do not require a back link which is great thing for building up web presence and search engine ranking recently Google and the other major search engines have edited their algorithms as to not place as much emphasis n reciprocal links. The Web directory can become full with hundreds of sites advertising on a single page. &lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;&lt;/span&gt; &lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5058101453162361385?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5058101453162361385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5058101453162361385'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/why-we-use-web-directories.html' title='Why We Use Web Directories?'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_OHVjG26-BJQ/SkkUkNqltuI/AAAAAAAAAMA/u7e4Mj7kt38/s72-c/images3.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-776751569676625874</id><published>2009-06-29T02:00:00.000-07:00</published><updated>2009-06-29T02:03:15.376-07:00</updated><title type='text'>Changing Permissions (chmod)</title><content type='html'>The access rights for any given file can be modified by using&lt;br /&gt;the change mode (chmod) command.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To change the access rights&lt;/strong&gt;&lt;br /&gt;You must specify the following three elements:&lt;br /&gt;The level (owner level, group level, or other&lt;br /&gt;level) to modify.&lt;br /&gt;The permission (read, write, or execute) to modify.&lt;br /&gt;The file files to modify.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Level Options&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Table below lists the level options that can be used with the&lt;br /&gt;chmod command.&lt;br /&gt;Option Level Description&lt;br /&gt;u       Owner Owner of a file&lt;br /&gt;g       Group Group to which the user&lt;br /&gt;          belongs&lt;br /&gt;0       Other All other users&lt;br /&gt;a       All Can replace u, g, or o&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-776751569676625874?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/776751569676625874'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/776751569676625874'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/changing-permissions-chmod.html' title='Changing Permissions (chmod)'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-7218656196730391575</id><published>2009-06-29T01:57:00.000-07:00</published><updated>2009-06-29T01:59:53.775-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Permission'/><title type='text'>Linux File and Directory Permission Types</title><content type='html'>File Permission Type&lt;br /&gt;&lt;br /&gt;READ              Enables users to open files and read its&lt;br /&gt;                         contents using;more, cat, grep, sort, view.&lt;br /&gt;WRITE           Enables users to open a file and change its&lt;br /&gt;                         contents using:vi, word, &gt;&lt;br /&gt;EXECUTE       Enables users to execute files as commands&lt;br /&gt;&lt;br /&gt;Directory Permission Type&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;READ              Users can view filenames in the directory&lt;br /&gt;WRITE           Users can create, delete files in the directory.&lt;br /&gt;EXECUTE      Users can search in the directory and change&lt;br /&gt;                         to it using the cd command.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-7218656196730391575?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7218656196730391575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/7218656196730391575'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/linux-file-and-directory-permission.html' title='Linux File and Directory Permission Types'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3195957326317275478</id><published>2009-06-25T04:35:00.001-07:00</published><updated>2009-06-25T04:37:56.978-07:00</updated><title type='text'>MRTG Configuration for LINUX Redhat</title><content type='html'>&lt;strong&gt;Configuring MRTG&lt;/strong&gt;&lt;br /&gt;The next step is to now configure MRTG for monitoring a network device. The below script can be run against&lt;br /&gt;each server to create a cfg file for MRTG to use.&lt;br /&gt;Create the user mrtg and the group mrtg then create the cfg directory to hold the configuration scripts and web&lt;br /&gt;pages.&lt;br /&gt;#mkdir /home/mrtg/cfg&lt;br /&gt;#mkdir /home/mrtg/html&lt;br /&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;PATH=$PATH:/usr/local/mrtg-2.9.14/bin; export PATH&lt;br /&gt;cfgmaker --global “WorkDir: /home/mrtg/html/” \&lt;br /&gt;--global “Options[ _ ]: growright, bits” \&lt;br /&gt;--output “/home/mrtg/cfg/&lt;hostname&gt;-mrtg.cfg public@&lt;hostname&gt;.tornadogroup.com”&lt;br /&gt;MRTG will create a cfg file for each server and place it into the /home/mrtg/cfg.&lt;br /&gt;If the cfg file creatation fails, there can be two possible causes.&lt;br /&gt;· Firewall is blocking connection&lt;br /&gt;· Incompatible snmp on server&lt;br /&gt;Testing cfg scripts&lt;br /&gt;To test that statical information can be collected from a server, run mrtg with the cfg script.&lt;br /&gt;#/usr/local/mrtg-2.9.14/bin/mrtg /home/mrtg/cfg/&lt;hostname&gt;.cfg&lt;br /&gt;Please note that the first couple of times errors regarding creating/moving are displayed this is normal and will&lt;br /&gt;disappear. If they don’t then you have a configuration problem.&lt;br /&gt;If the mrtg run successfully then an html file will be created displaying probably a blank chart until some stats&lt;br /&gt;have been collected. Point a web browser at http://&lt;your&gt;/mrtg/&lt;hostname&gt;.html, if no html page&lt;br /&gt;exists make sure that the cfg file points to the right location for the output.&lt;br /&gt;Automating MRTG&lt;br /&gt;Once all the cfg files have been created it’s best to automate the whole process via cron. Create a script like&lt;br /&gt;below to call from cron and collect the stats.&lt;br /&gt;/usr/local/mrtg-2.9.14/bin/mrtg /home/mrtg/cfg/&lt;hostname&gt;.cfg&lt;br /&gt;/usr/local/mrtg-2.9.14/bin/mrtg /home/mrtg/cfg/&lt;hostname&gt;.cfg&lt;br /&gt;/usr/local/mrtg-2.9.14/bin/mrtg /home/mrtg/cfg/&lt;hostname&gt;.cfg&lt;br /&gt;etc…………..&lt;br /&gt;Now add to cron something like below:&lt;br /&gt;5,10,15,20,25,30,35,40,45,50,55 /home/mrtg/cfg/&lt;script&gt;&lt;br /&gt;Check the web page and see if the network stats are being collected (should see blue and green lines in chart).&lt;br /&gt;Creating an Index web page&lt;br /&gt;To create a complete picture of all your charts on one web page we use indexmaker. Create a script and run any&lt;br /&gt;time you add a new host.&lt;br /&gt;PATH=$PATH:/usr/local/mrtg-2.9.14/bin;export PATH&lt;br /&gt;indexmaker /home/mrtg/cfg/*.cfg &gt; /home/mrtg/html/daily.html&lt;br /&gt;indexmaker –show=week /home/mrtg/cfg/*.cfg &gt; /home/mrtg/html/weekly.html&lt;br /&gt;indexmaker –show=month /home/mrtg/cfg/*.cfg &gt; /home/mrtg/html/monthly.html&lt;br /&gt;indexmaker –show=year /home/mrtg/cfg/*.cfg &gt; /home/mrtg/html/yearly.html&lt;br /&gt;The html files should have been created in /home/mrtg/html.&lt;br /&gt;&lt;br /&gt;Lastly create a link to the mrtg html files: -&lt;br /&gt;# ln –s /home/mrtg/html /usr/local/apache-?.?.?/htdocs/mrtg # if this is were htdocs resides&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/script&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3195957326317275478?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3195957326317275478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3195957326317275478'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/mrtg-configuration-for-linux-redhat.html' title='MRTG Configuration for LINUX Redhat'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-287877995508456069</id><published>2009-06-25T04:35:00.000-07:00</published><updated>2009-07-19T04:09:04.547-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Summer Vocation'/><title type='text'>What you need for your summer vocation</title><content type='html'>&lt;strong&gt;What you need for your summer vocation?&lt;br /&gt;Before you can disembark on a summer vocation, you will need to pack your luggage. Depending on where you are planning to visit, the things you pack can be different. You must packing in advance and don’t forget important items if you are going for summer vocation on beach.&lt;br /&gt;Many things you need for summer vocation some of listed below&lt;br /&gt;&lt;br /&gt;1.         Beachwear&lt;br /&gt;2.         Laptop&lt;br /&gt;3.         Camping Equipment&lt;br /&gt;4.         Apple Iphone for Entertainment&lt;br /&gt;&lt;br /&gt;1.         Very fist thing you need for beach beachwear costume. If you plan to get latest and  safe the money get the beachwear products from &lt;a href="http://tr.im/beachwear"&gt;savebucket&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;2.         To get connected with your business, friends and family make sure to pack your laptop if you need low price and slim laptop’s and also have huge collection of laptop’s available on &lt;a href="http://www.savebuckets.co.uk/browse/computer-hardware/laptops/ultra-mobile"&gt;savebucket.&lt;/a&gt; Savebucket is best place for the purchasing of summer vocation products.&lt;br /&gt;&lt;br /&gt;3.         Be sure do you have camping equipment very necessary for beach tour. In market many camping product available in market. But savebucket provide your &lt;a href="http://www.savebuckets.co.uk/browse/sport-leisure/trekking-outdoor/camping/"&gt;camping&lt;/a&gt; equipment on low price &lt;br /&gt;&lt;br /&gt;4.         Apple i-phone is best for every one because this is slim and all feature avail able in apple products Apple recently introduce iPhone 3G the fastest, most powerful IPhone yet. iPhone 3GS features vide recording, Voice Control, up to 32GB of storage, and more. Apple i-phone and many more products available on savebucket shop. &lt;br /&gt;&lt;br /&gt;The Fastest iPhone Ever&lt;br /&gt;The first thing you’ll notice about iPhone 3GS is how quickly you can launch applications. Web pages render in a fraction of the time, and you can view email attachments faster. Improved performance and updated 3D graphics deliver an incredible gaming experience, too. In fact, everything you do on iPhone 3GS is up to 2x faster and more responsive than iPhone 3G.&lt;br /&gt;&lt;br /&gt;Price Comparison&lt;br /&gt;Every one want to save the money. As you know economic crisis every where. You have to compare the prices of all the products for your summer vocations I you want to compare the prices &lt;a href="http://tr.im/comparison"&gt;savebucket&lt;/a&gt; provide you for price comparison.&lt;br /&gt; &lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-287877995508456069?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/287877995508456069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/287877995508456069'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/what-you-need-for-your-summer-vocation.html' title='What you need for your summer vocation'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-6375603704233869479</id><published>2009-06-24T00:58:00.000-07:00</published><updated>2009-06-24T01:00:50.154-07:00</updated><title type='text'>What Is iptables? Iptables will increase your network security</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_OHVjG26-BJQ/SkHdDEg4k3I/AAAAAAAAALo/pODwJ15efh8/s1600-h/iptables-network-security.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5350800877113873266" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; WIDTH: 243px; CURSOR: hand; HEIGHT: 151px" alt="" src="http://4.bp.blogspot.com/_OHVjG26-BJQ/SkHdDEg4k3I/AAAAAAAAALo/pODwJ15efh8/s320/iptables-network-security.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;Originally, the most popular firewall/NAT package running on Linux was ipchains, but it had a number of shortcomings. To rectify this, the Netfilter organization decided to create a new product called iptables, giving it such improvements as:&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&gt; Better integration with the Linux kernel with the capability of loading iptables-specific kernel modules designed for improved speed and reliability.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&gt; Stateful packet inspection. This means that the firewall keeps track of each connection passing through it and in certain cases will view the contents of data flows in an attempt to anticipate the next action of certain protocols. This is an important feature in the support of active FTP and DNS, as well as many other network services.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&gt; Filtering packets based on a MAC address and the values of the flags in the TCP header. This is helpful in preventing attacks using malformed packets and in restricting access from locally attached servers to other networks in spite of their IP addresses.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&gt; System logging that provides the option of adjusting the level of detail of the reporting.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&gt; Better network address translation.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&gt; Support for transparent integration with such Web proxy programs as Squid.&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&gt; A rate limiting feature that helps iptables block some types of denial of service (DoS) attacks..&lt;br /&gt;Considered a faster and more secure alternative to ipchains, iptables has become the default firewall package installed under RedHat and Fedora Linux&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-6375603704233869479?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6375603704233869479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6375603704233869479'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/what-is-iptables-iptables-will-increase.html' title='What Is iptables? Iptables will increase your network security'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OHVjG26-BJQ/SkHdDEg4k3I/AAAAAAAAALo/pODwJ15efh8/s72-c/iptables-network-security.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-6092506681723151590</id><published>2009-06-23T11:52:00.001-07:00</published><updated>2009-06-23T11:52:28.569-07:00</updated><title type='text'>Detail Usage of Chmod why we use chmod command in linux</title><content type='html'>'chmod' or "change mode" is the *NIX way of changing file permissions. It is VERY&lt;br /&gt;different from DOS/Windows, if you are new to *NIX or always wondered what "drwxrxr-&lt;br /&gt;x" meant read on.....&lt;br /&gt;Where Windows/DOS machines realistically have one set of file permissions:&lt;br /&gt;Read/Write - Archive - System - Hidden and then add on User Permissions to the&lt;br /&gt;files and directories; *NIX breaks the permissions into three groups, 1 - user, 2&lt;br /&gt;- group, 3 - world.&lt;br /&gt;When you do an ls -la you might see the following:&lt;br /&gt;[user@linux sites]$ ls -la&lt;br /&gt;drwxr-xr-x 16 root root 1024 Oct 20 19:56 .&lt;br /&gt;drwxr-xr-x 9 root root 1024 Sep 5 22:56 ..&lt;br /&gt;drwxr-xr-x 9 foo user 1024 Sep 5 22:56 dir1&lt;br /&gt;drwxr-xr-x 9 foo user 1024 Sep 5 22:56 dir2&lt;br /&gt;drwxr-xr-x 9 foo user 1024 Sep 5 22:56 dir3&lt;br /&gt;-rw-r--r-- 9 foo user 1024 Sep 5 22:56 file1&lt;br /&gt;-rw-r--r-- 9 foo user 1024 Sep 5 22:56 file2&lt;br /&gt;-rw-r--r-- 9 foo user 1024 Sep 5 22:56 file3&lt;br /&gt;All the gobblygook at the beginning of each line is the file permissions. Note: To&lt;br /&gt;*NIX, directories are just special files. In order to allow someone to 'traverse'&lt;br /&gt;the directory tree, the user must have eXecute permissions on the directory even&lt;br /&gt;if they have read/write privileges.&lt;br /&gt;Within each set of permissions (you, group, world) there are three permissions you&lt;br /&gt;can set: Read - Write - Execute. Therefore when you set the permissions on a file&lt;br /&gt;you must take into account 'who' needs access.&lt;br /&gt;Here's a stripped down list of the options chmod takes: (for more info do a man&lt;br /&gt;chmod at the command line.)&lt;br /&gt;chmod [-R] ### &lt;filename&gt;&lt;br /&gt;-R is optional and when used with directories will traverse all the subdirectories&lt;br /&gt;of the target directory changing ALL the permissions to ###. Very&lt;br /&gt;useful but use with extreme caution.&lt;br /&gt;The #'s can be:&lt;br /&gt;0 = Nothing&lt;br /&gt;1 = Execute&lt;br /&gt;2 = Write&lt;br /&gt;3 = Execute &amp;amp; Write (2 + 1)&lt;br /&gt;4 = Read&lt;br /&gt;5 = Execute &amp;amp; Read (4 + 1)&lt;br /&gt;6 = Read &amp;amp; Write (4 + 2)&lt;br /&gt;7 = Execute &amp;amp; Read &amp;amp; Write (4 + 2 + 1)&lt;br /&gt;Of course you need a file name or target directory. Wild cards * and ? are&lt;br /&gt;acceptable. If you don't supply the -R, with the target directory, the directory&lt;br /&gt;itself will be changed, not anything within it.&lt;br /&gt;Again you must supply the #'s in a set of three numbers (you, group, world).&lt;br /&gt;To make a file readable and writable by you, and only read for your group, and no&lt;br /&gt;access from the world,it would look like:&lt;br /&gt;chmod 640 filename&lt;br /&gt;The result would look like...&lt;br /&gt;-rw-r----- 9 foo user 1024 Sep 5 22:56 file3&lt;br /&gt;To make all files that end in .cgi read-write-executable for you, and readexecutable&lt;br /&gt;for everyone else:&lt;br /&gt;chmod 755 *.cgi&lt;br /&gt;The result would look like...&lt;br /&gt;-rwxr-xr-x 9 foo user 1024 Sep 5 22:56 file3.cgi&lt;br /&gt;-rwxr-xr-x 9 foo user 1024 Sep 5 22:56 file4.cgi&lt;br /&gt;Here are some standard permissions for files and directories:&lt;br /&gt;[This is a gross approximation, a place to start. Your sysadmin maybe really loose&lt;br /&gt;with permissions or a really tight-butt. Your mileage *will* vary.]&lt;br /&gt;For Apache running as nobody:nobody.....Most Perl Scripts should be set to 755.&lt;br /&gt;Most HTML files should be set to 644. And most data files that must be written to&lt;br /&gt;by a web server should be 666. The standard directory permission should be 755.&lt;br /&gt;Directories that must be written to by a web server should be 777.&lt;br /&gt;If the web server is running within the same group as you....Most Perl Scripts&lt;br /&gt;should be set to 750. Most HTML files should be set to 640. And most data files&lt;br /&gt;that must be written to by a web server should be 660. The standard directory&lt;br /&gt;permissions should be 750. Directories that must be written to by a web server&lt;br /&gt;should be 770.&lt;br /&gt;Your home directory should be 700. If you are operating a ~username type server,&lt;br /&gt;the public_html directory should be 777. (You may also need to open up the home&lt;br /&gt;directory to 755.)&lt;br /&gt;Side Note: any file name that starts with a '.' is invisible to the webserver when&lt;br /&gt;a directory list is generated. This is a quick and dirty way to hide a file.&lt;br /&gt;Mutated into a life-size Dilbert doll, Anthony spends the days wedged into his&lt;br /&gt;replica of Cardinal Fang's Comfy Chair coding solutions to the most thorny of&lt;br /&gt;internet software problems.&lt;br /&gt;4 comments on this article. Log in to add your comment  Rate this article: Rate&lt;br /&gt;this node 1 star.Rate this node 2 star.Rate this node 3 star.Rate this node 4&lt;br /&gt;star.Rate this node 5 star.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-6092506681723151590?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6092506681723151590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6092506681723151590'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/detail-usage-of-chmod-why-we-use-chmod.html' title='Detail Usage of Chmod why we use chmod command in linux'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-1113685267212993206</id><published>2009-06-22T12:14:00.000-07:00</published><updated>2009-06-22T12:15:09.021-07:00</updated><title type='text'>How to Configure MySQL on Linux for Cacti</title><content type='html'>Configure MySQL&lt;br /&gt;Run these commands as root&lt;br /&gt;cd /cacti-install&lt;br /&gt;group-add cacti&lt;br /&gt;useradd -g cacti cactiuser&lt;br /&gt;/usr/local/mysql/bin/mysql&lt;br /&gt;mysql&gt; set password for root@localhost=password('rootpw');&lt;br /&gt;mysql&gt; create database cactidb;&lt;br /&gt;mysql&gt; grant all on cactidb.* to root;&lt;br /&gt;mysql&gt; grant all on cactidb.* to root@localhost;&lt;br /&gt;mysql&gt; grant all on cactidb.* to cactiuser;&lt;br /&gt;mysql&gt; grant all on cactidb.* to cactiuser@localhost;&lt;br /&gt;mysql&gt; set password for cactiuser@localhost=password('cactipw');&lt;br /&gt;mysql&gt; exit&lt;br /&gt;MySQL Configure Script&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-1113685267212993206?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1113685267212993206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1113685267212993206'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/how-to-configure-mysql-on-linux-for.html' title='How to Configure MySQL on Linux for Cacti'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-232794019518770362</id><published>2009-06-22T12:13:00.000-07:00</published><updated>2009-06-22T12:14:11.030-07:00</updated><title type='text'>How to Install PHP on Linux for Cacti</title><content type='html'>Install PHP&lt;br /&gt;Run these commands as root&lt;br /&gt;cd /cacti-install&lt;br /&gt;tar -zxvf php*&lt;br /&gt;cd php*&lt;br /&gt;./configure --prefix=/www/php --with-apxs2=/www/bin/apxs --with-config-filepath=/&lt;br /&gt;www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlibdir=/&lt;br /&gt;usr/include –with-gd&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;cp php.ini-dist /www/php/php.ini&lt;br /&gt;cp /www/conf/httpd.conf /www/conf/httpd.conf.backup&lt;br /&gt;echo ####################### &gt;&gt; /www/conf/httpd.conf&lt;br /&gt;echo # Added via Lee Carter's Script &gt;&gt; /www/conf/httpd.conf&lt;br /&gt;echo ####################### &gt;&gt; /www/conf/httpd.conf&lt;br /&gt;echo AddType application/x-tar .tgz &gt;&gt; /www/conf/httpd.conf&lt;br /&gt;echo AddType application/x-httpd-php .php &gt;&gt; /www/conf/httpd.conf&lt;br /&gt;echo AddType image/x-icon .ico &gt;&gt; /www/conf/httpd.conf&lt;br /&gt;echo DirectoryIndex index.php index.html index.html.var &gt;&gt; /www/conf/httpd.conf&lt;br /&gt;service httpd stop&lt;br /&gt;service httpd start&lt;br /&gt;PHP Install Script&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-232794019518770362?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/232794019518770362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/232794019518770362'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/how-to-install-php-on-linux-for-cacti.html' title='How to Install PHP on Linux for Cacti'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-1742852470910523245</id><published>2009-06-22T12:12:00.000-07:00</published><updated>2009-06-22T12:13:34.005-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Cacti'/><category scheme='http://www.blogger.com/atom/ns#' term='Apache'/><title type='text'>How to Install Apache Server on Linux for Cacti</title><content type='html'>Step by Step Installation&lt;br /&gt;Install Apache&lt;br /&gt;Run these commands as root&lt;br /&gt;cd /cacti-install&lt;br /&gt;tar -zxvf httpd*&lt;br /&gt;cd httpd*&lt;br /&gt;./configure --prefix=/www –enable-so&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;cd /www/bin&lt;br /&gt;cp apachectl /etc/init.d/httpd&lt;br /&gt;y&lt;br /&gt;cd /etc/rc3.d/&lt;br /&gt;ln -s ../init.d/httpd S85httpd&lt;br /&gt;ln -s ../init.d/httpd K85httpd&lt;br /&gt;cd /etc/rc5.d/&lt;br /&gt;ln -s ../init.d/httpd S85httpd&lt;br /&gt;ln -s ../init.d/httpd K85httpd&lt;br /&gt;/www/bin/apachectl start&lt;br /&gt;Apache Install Script&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-1742852470910523245?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1742852470910523245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1742852470910523245'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/how-to-install-apache-server-on-linux.html' title='How to Install Apache Server on Linux for Cacti'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-392567326603264792</id><published>2009-06-22T12:09:00.000-07:00</published><updated>2009-06-22T12:12:21.226-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux Cacti'/><category scheme='http://www.blogger.com/atom/ns#' term='MY Sql'/><title type='text'>How to Install MYSql on Linux for Cacti</title><content type='html'>Install MySQL&lt;br /&gt;Run these commands as root&lt;br /&gt;cd /cacti-install&lt;br /&gt;tar -zxvf mysql*&lt;br /&gt;cd mysql*&lt;br /&gt;./configure --prefix=/usr/local/mysql&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;groupadd mysql&lt;br /&gt;useradd -g mysql mysql&lt;br /&gt;scripts/mysql_install_db&lt;br /&gt;chown -R root /usr/local/mysql&lt;br /&gt;chown -R mysql /usr/local/mysql/var&lt;br /&gt;chgrp -R mysql /usr/local/mysql&lt;br /&gt;rm -f /etc/my.cnf&lt;br /&gt;cp support-files/my-medium.cnf /etc/my.cnf&lt;br /&gt;echo /usr/local/mysql/lib/mysql &gt;&gt; /etc/ld.so.conf&lt;br /&gt;echo /usr/local/lib &gt;&gt; /etc/ld.so.conf&lt;br /&gt;ldconfig –v&lt;br /&gt;cp support-files/mysql.server /etc/init.d/mysql&lt;br /&gt;/usr/local/mysql/bin/mysqld_safe --user=mysql &amp;amp;&lt;br /&gt;Echo&lt;br /&gt;cd /etc/rc3.d/&lt;br /&gt;ln -s ../init.d/mysql S85mysql&lt;br /&gt;ln -s ../init.d/mysql K85mysql&lt;br /&gt;cd /etc/rc5.d/&lt;br /&gt;ln -s ../init.d/mysql S85mysql&lt;br /&gt;ln -s ../init.d/mysql K85mysql&lt;br /&gt;cd /etc/init.d/&lt;br /&gt;chmod 755 mysql&lt;br /&gt;MySQL Install Script&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-392567326603264792?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/392567326603264792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/392567326603264792'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/how-to-install-mysql-on-linux-for-cacti.html' title='How to Install MYSql on Linux for Cacti'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-5622180891576223771</id><published>2009-06-18T02:01:00.001-07:00</published><updated>2009-10-26T11:00:50.735-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cacti SNMP'/><title type='text'>Computer Games and Young Generation</title><content type='html'>&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-weight: bold;"&gt;Computer Games &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;California, Washington, Texas, New York and Massachusetts currently have the highest concentration of video game jobs. Collectively, these areas directly employ 16,604 workers and post 70 percent of the industry total indirect employment.&lt;br /&gt;&lt;br /&gt;I found a really interesting game MMO online game: AION, I already mention many gaming server work online, AION have many features.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;PowerWiki&lt;br /&gt;Character Creating&lt;br /&gt;Fortresses&lt;br /&gt;Artifacts&lt;br /&gt;Glossary&lt;br /&gt;Legions&lt;br /&gt;&lt;br /&gt;AION Hot Topics&lt;br /&gt;Where’s Tutty?&lt;br /&gt;Having a hard time finding Tutty? Find out where the elusive Porgus has gone.&lt;br /&gt;Pathfinding&lt;br /&gt;Think of pathfinding as an in-game GPS to make sure your don’t lose your way. It can be used to find location and NPCs.&lt;br /&gt;Channels&lt;br /&gt;You will discover the need for Channels when you first begin Aion. It can be an integral part to finding your friends and group members and playing in a relatively uncrowned setting.&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_OHVjG26-BJQ/SszWwJS1rJI/AAAAAAAAAPc/kJvyq-WtjOA/s1600-h/aion_wall_chain.jpg"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 246px; height: 184px;" src="http://4.bp.blogspot.com/_OHVjG26-BJQ/SszWwJS1rJI/AAAAAAAAAPc/kJvyq-WtjOA/s320/aion_wall_chain.jpg" alt="" id="BLOGGER_PHOTO_ID_5389918976672640146" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;AION also provide the forums support, if you feel any problem to play game or have any problem to understand it you can put the question in AION forums. In Featured media AION also provide, Wallpaper, Screenshot, Concept Art and AION Vides.&lt;br /&gt;Very simple to play, just create a login and start playing game, for help read stories in AION forums. Different types of forum helps you online like, AION News &amp;amp; Announcements, Aion Character Image, Hot Videos General Discussion, Suggestion Box (your suggestions is important for AION) and technical Support.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;Computer games, almost every 2nd Pearson like to play games on computer. This trend starts after 1990. As per survey 40% females and 60% males play games on &lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;computer. When any one get a free time, peoples like to spend time on computer. Some of peoples like to play games on web; many web sites provide this facility to play games on online. 10000 of gaming server every time online on web. Entertainment software is one of the fasters grosing industries in the U.S. Economy. In fact according to Pricewaterhouse Coopers, the sector remains “one of the above-average growth segments of the global entertainment industries through 2011.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-5622180891576223771?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5622180891576223771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/5622180891576223771'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/computer-games-and-young-generation.html' title='Computer Games and Young Generation'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_OHVjG26-BJQ/SszWwJS1rJI/AAAAAAAAAPc/kJvyq-WtjOA/s72-c/aion_wall_chain.jpg' height='72' width='72'/></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-3806178844247553489</id><published>2009-06-18T02:01:00.000-07:00</published><updated>2009-06-18T02:04:54.914-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cacti SNMP'/><title type='text'>Cacti SNMP Management</title><content type='html'>&lt;strong&gt;Purpose&lt;/strong&gt;&lt;br /&gt;The purpose of this document is to explain how to install Red Hat’s Fedora Core 2 product and utilize a suite of applications for network based SNMP management. This document will take you thru step-bystep how-to install Linux on a new system and configure all the necessary tools that will get you a fully functional SNMP management station. SNMP management can be used to monitor just about anything on just about any IP enabled device.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Requirements&lt;br /&gt;&lt;/strong&gt;Before you get started make sure you have the following things:&lt;br /&gt;· Fedora Core 2 CD’s 1 thru 3&lt;br /&gt;· Active Connection to the Internet&lt;br /&gt;· Computer that can be formatted and have a new OS installed from scratch&lt;br /&gt;· About 3-4 hours of time&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;How it works&lt;/strong&gt;&lt;br /&gt;Cacti uses a suite of applications to do visual web front end graphing of results pulled via SNMP. These SNMP values can range from input/output rates on network / server interfaces to the number of macaddresses associated to a given access-point. Using SNMP to manage a network can provide a nontechnical central point of consolidation and health monitoring of your infrastructure. As stated earlier, SNMP is something that is already or can easily be enabled on many IP capable devices. Using SNMP to constantly pull statistical information and graphing that information can be useful in tracking things like disk utilization, network activity and much more. The CACTI application requires several utilities to be configured to work together in order to present the information in a GUI web front end. These utilities include a web server, a database, PHP and RDTOOL. All of which is freely available for the Linux operating system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-3806178844247553489?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3806178844247553489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/3806178844247553489'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/cacti-snmp-management.html' title='Cacti SNMP Management'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-1879360066358350337</id><published>2009-06-17T12:21:00.000-07:00</published><updated>2009-06-17T12:23:26.424-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>How to Install Install Moodle on Ubuntu</title><content type='html'>On the command line, type:&lt;br /&gt;cd /var/www&lt;br /&gt;sudo wget http://download.moodle.org/stable19/moodle-latest-19.tgz&lt;br /&gt;sudo tar -zxf moodle-latest-19.tgz&lt;br /&gt;----&lt;br /&gt;in ubuntu 8.04 it should be:&lt;br /&gt;sudo tar zxf moodle-latest-19.tgz&lt;br /&gt;----&lt;br /&gt;sudo mkdir /var/moodledata&lt;br /&gt;sudo chown -R www-data.www-data /var/moodledata&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;We now need to edit the location of the default web site. On lines five and ten, replace /var/www/ with /var/www/moodle/. Restart Apache.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sudo nano /etc/apache2/sites-available/default&lt;br /&gt;sudo /etc/init.d/apache2 restart&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Configure Moodle website&lt;br /&gt;ifconfig (look for your server’s ip address on the 2nd line)&lt;br /&gt;On another computer open a web browser and put in your server address&lt;br /&gt;Complete the Moodle install using a secure username and password&lt;br /&gt;Go to a bar for a few hours.&lt;br /&gt;Come back and tell your boss that you FINALLY got the test server running.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-1879360066358350337?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1879360066358350337'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/1879360066358350337'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/how-to-install-install-moodle-on-ubuntu.html' title='How to Install Install Moodle on Ubuntu'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-6068531668095940847</id><published>2009-06-17T12:19:00.000-07:00</published><updated>2009-06-17T12:20:55.499-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu Installation'/><title type='text'>Install Ubuntu With Easy Steps</title><content type='html'>Start computer and use F12 to boot from CD.&lt;br /&gt;Select Install to hard drive.&lt;br /&gt;Select your language, country, and keyboard layout (i.e. English, United States, American English)&lt;br /&gt;Select manually configure and set an IP address (or autoconfig if you don't know).&lt;br /&gt;Enter your servername (i.e. moodletest)&lt;br /&gt;Select to manually edit the partition table. I’m doing my testing on a standard 40GB harddrive and will modify these sizes for production.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Select to manually edit the partition table. I’m doing my testing on a standard 40GB harddrive and will modify these sizes for production.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;/boot ext3 200MB bootable (may need to be under cylinder 1024 on your harddrive to be bootable )&lt;br /&gt;/ ext3 10GB (files are relatively static)&lt;br /&gt;swap 4GB (4xRAM if you don't have much memory, down to 1xRAM if you have gobs of memory)&lt;br /&gt;/var ext3 26GB (variable content – uses rest of the drive)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Select your timezone. (i.e. Central)&lt;br /&gt;Set clock to Universal Time.&lt;br /&gt;Enter Administrators full name. (i.e. Joe Smith)&lt;br /&gt;Enter account name. (i.e. joesmith)&lt;br /&gt;Enter a secure password. (‘abcde’ is not a good one!)&lt;br /&gt;Let the computer restart.&lt;br /&gt;Log in your account.&lt;br /&gt;Edit the /etc/apt/sources.list file. Remove the # mark on lines 22 and 38 to enable access to the universe package source and universe&lt;br /&gt;security updates. You will need to re-enter your account password when sudo asks for it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4938443720602924137-6068531668095940847?l=linuxmall.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6068531668095940847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4938443720602924137/posts/default/6068531668095940847'/><link rel='alternate' type='text/html' href='http://linuxmall.blogspot.com/2009/06/install-ubuntu-with-easy-steps.html' title='Install Ubuntu With Easy Steps'/><author><name>Muhammad Imran</name><uri>http://www.blogger.com/profile/12158641287038478088</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://3.bp.blogspot.com/_OHVjG26-BJQ/SfDyc3ixr0I/AAAAAAAAAJc/wecS_vYxVlQ/S220/DSC03703.JPG'/></author></entry><entry><id>tag:blogger.com,1999:blog-4938443720602924137.post-480612114011700262</id><published>2009-06-15T12:04:00.001-07:00</published><updated>2009-06-15T12:04:23.540-07:00</updated><title type='text'>Configuring SNMP to work with MRTG on a Linux machine</title><content type='html'>Configuring SNMP to work with MRTG on a Linux machine&lt;br /&gt;&lt;br /&gt;(A very basic, example setup)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All steps in this example are based on the following system / network :-&lt;br /&gt;&lt;br /&gt;RedHat 9.0 (Full) running on a P-II Celeron 800 Mhz, 128MB RAM acting as server&lt;br /&gt;&lt;br /&gt;One 100Mbps network card connected to a 100Mbps HUB&lt;br /&gt;&lt;br /&gt;One 56Kbps external modem (connected to a local ISP of-course)&lt;br /&gt;&lt;br /&gt;Two wintendo clients running wintendo ver 2000 and wintendo ver XP&lt;br /&gt;&lt;br /&gt;All computers are on a network of 192.168.1.0/24. Server has IP: 192.168.1.254, wintendo computers have IP 192.168.1.1 and 192.168.1.2 respectively&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(Note : it is needless to say that Server has all packages installed during installation. If you think you do not have some of the packages, see the MRTG HomePage for a list of what do you need. Also all steps were performed as root on the machine mainserver.kbsoft.local which is server)&lt;br /&gt;&lt;br /&gt;Step 1:&lt;br /&gt;&lt;br /&gt;Edit the /etc/snmp/snmpd.conf file and change things to make it look like :-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# vi /etc/snmp/snmpd.conf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;###############################################################################&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;# snmpd.conf:&lt;br /&gt;&lt;br /&gt;# An example configuration file for configuring the ucd-snmp snmpd agent.&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;###############################################################################&
