<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux User &#187; Networks</title>
	<atom:link href="http://www.linuxuser.co.uk/category/tutorials/networks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxuser.co.uk</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 30 Jul 2010 09:50:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Build a Samba file server</title>
		<link>http://www.linuxuser.co.uk/tutorials/build-a-samba-file-server/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/build-a-samba-file-server/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 11:48:56 +0000</pubDate>
		<dc:creator>Russell Barnes</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[file server]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=2352</guid>
		<description><![CDATA[How to build your own file server using Samba and Ubuntu with help from Linux User &#038; Developer veteran, Sukrit Dhandhania…]]></description>
			<content:encoded><![CDATA[<p><strong>This article originally appeared in <a title="Linux User &amp; Developer #89" href="http://www.linuxuser.co.uk/magazine-issues/issue-89/" target="_self">issue 89</a> of <a title="Linux User" href="http://www.linuxuser.co.uk" target="_self"><em>Linux User &amp; Developer</em></a> magazine.</strong> <strong>Subscribe and save more than 30% and receive our exclusive money back guarantee &#8211; click <a href="https://imagine.subscribeonline.co.uk/all-titles/linux-user-&amp;-developer?offer=WEB100">here</a> to find out more.</strong></p>
<p>Samba is a Linux/UNIX software package that allows you to share files and directories with computers running other operating systems over the network. It also allows your Linux desktop or laptop to sign into a Windows network and be able to share files inside a workgroup. There are several advanced features that Samba comes with, such as domain controller. We will look at how to convert your Ubuntu box into a Samba file server and configure it to share directories with different combinations of permissions.</p>
<p><strong>01 Prerequisites</strong><br />
When setting up a Linux file server, there are certain things that you will to have set up on your server before you start working on the Samba bit. The first thing you want to do is to set up the server with a static IP address, as opposed to one assigned dynamically by a DHCP server. Edit the file ‘<em>/etc/network/interfaces</em>’ with root user privileges and set the IP address manually. An example of the settings would be using something like the following:</p>
<pre>auto eth1
 iface eth1 inet static
 address 192.168.1.3
 gateway 192.168.1.1
 netmask 255.255.255.0
 network 192.168.1.0
 broadcast 192.168.1.255</pre>
<p>Using a static IP for any type of server makes good sense. Save the changes and restart the network with the command ‘<em># sudo /etc/init.d/networking restart</em>’.</p>
<p><strong>02 Installing Samba</strong><br />
Distributions such as Ubuntu have made the installation of just about anything so simple and straightforward with smart package management that you can have pretty much any software installed with a one-line command. To install Samba on your Ubuntu computer, execute the following:</p>
<pre># sudo apt-get update
# sudo apt-get install libcupsys2 samba samba-common</pre>
<p>Here we are requesting Ubuntu to install three packages. The first one is to share your printer, the other two are Samba and its support packages.</p>
<p><strong>03 Configuration file</strong><br />
The configuration files of Samba are stored in the ‘<em>/etc/samba/</em>’ directory. The first thing you should do before we dive into the configuration of Samba is to make a backup of the main configuration file.</p>
<pre># cp /etc/samba/smb.conf /etc/samba/smb.conf.bak</pre>
<p>Now open the file with your favourite text editor and let’s make some configuration changes:</p>
<pre># sudo vim /etc/samba/smb.conf</pre>
<p><a title="Next Page" href="http://www.linuxuser.co.uk/tutorials/build-a-samba-file-server/2" target="_self">Next Page</a><br />
<a href="http://www.twitter.com/linuxusermag" target="_blank" style="display: block;">
					<img src="/wp-content/themes/arthemia/images/twitter_follow.png" style="display: block; margin: 0px auto; border: none;">
				</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/build-a-samba-file-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unified network administration using eBox</title>
		<link>http://www.linuxuser.co.uk/tutorials/unified-network-administration-using-ebox/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/unified-network-administration-using-ebox/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 12:55:20 +0000</pubDate>
		<dc:creator>Russell Barnes</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[eBox]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[system admin]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=1231</guid>
		<description><![CDATA[Linux is an excellent choice for a server operating system, no matter what the size of business. However, it is still not very easy to administrate. Recently many distributions have launched their own interface to configure these server components, but really failed at delivering an easy-to-use interface to configure it. eBox is trying to fix this particular issue…]]></description>
			<content:encoded><![CDATA[<p><strong>Advisor:<a href="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/Kunal-Deo.jpg" rel="lightbox[1231]"><img class="alignright size-thumbnail wp-image-528" title="Kunal Deo" src="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/Kunal-Deo-150x150.jpg" alt="Kunal Deo" width="120" height="120" /></a><br />
Kunal Deo</strong> is a veteran open source developer. Currently he is leading two open source projects: WinOpen64 and KUN Wiki. He is also a KDE developer. He has contributed to many open source projects, including KDE-Solaris and Openmoko. He has written numerous articles on open source, Solaris and Linux- related technologies for various technical magazines around the globe. In his free time he loves playing games on his Xbox 360 and PlayStation 3.</p>
<p><strong>Resources:</strong><br />
<a title="eBox installer ISO" href="http://trac.ebox-platform.com/wiki/Download ebox_installer-1.2-3.iso" target="_blank">eBox installer</a></p>
<p>Linux is an excellent choice for a server operating system, no matter what the size of business. However, it is still not very easy to administrate. Recently many distributions have launched their own interface to configure these server components (like Apache and Samba), but really failed at delivering an easy-to-use interface to configure it. That alone turns off many SMB (small and medium business) folks. eBox is trying to fix this particular issue. eBox (or eBox Platform, to give it its full name) can play multiple roles. It can act as a network gateway, an infrastructure manager, a unified threat manager, an office server, a unified communication server or a combination of any of these. eBox is delivering these functions using already popular open source software with a solid administration interface.</p>
<p><a href="http://www.linuxuser.co.uk/wp-content/uploads/2010/03/software_ebox.jpg" rel="lightbox[1231]"><img class="aligncenter size-medium wp-image-1246" title="software_ebox" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/03/software_ebox-300x225.jpg" alt="software_ebox" width="300" height="225" /></a></p>
<p>As of the current release of eBox (1.2), eBox ships with the following profiles…<br />
<strong>eBox Office</strong>: File server, print server and groupware server. eBox Office includes ebox-samba, ebox-printers, ebox-egroupware, ebox-antivirus, ebox-ebackup, ebox-software and ebox-monitor.<br />
<strong>eBox Communication</strong>: Mail server, chat server and VOIP server. eBox Communication includes ebox-mail, ebox-jabber, ebox-asterisk, ebox-mailfilter, ebox-antivirus, ebox-ebackup, ebox-software and ebox-monitor.<br />
<strong>eBox Security</strong>: Proxy server, intrusion detection system, firewall system and VPN server. eBox Security includes ebox-firewall, ebox-ids, ebox-squid, ebox-openvpn, ebox-mailfilter, ebox-antivirus, ebox-ebackup, ebox-software and ebox-monitor.<strong><br />
eBox Gateway</strong>: Proxy server and firewall system. eBox Gateway includes ebox-network, ebox-squid, ebox-firewall, ebox-trafficshaping, ebox-l7-protocols, ebox-ebackup, ebox-software and ebox-monitor.<strong><br />
eBox Infrastructure</strong>: DHCP server, DNS server, web server, and NTP server. eBox Infrastructure includes ebox-network, ebox-dhcp, ebox-dns, ebox-openvpn, ebox-webserver, ebox-ntp, ebox-ebackup, ebox-software and ebox-monitor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/unified-network-administration-using-ebox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Secure your Linux box with MoBlock</title>
		<link>http://www.linuxuser.co.uk/tutorials/secure-with-moblock/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/secure-with-moblock/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 07:00:39 +0000</pubDate>
		<dc:creator>Russell Barnes</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Moblock]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=977</guid>
		<description><![CDATA[MoBlock is a cutting-edge open source security tool for the Linux platform designed help fine-tune the network security of your Linux desktop or server. Sukrit Dhandhania expMoblock02lains how to use it to secure your Linux box…]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/Sukrit-Dhandhania.jpg" rel="lightbox[977]"><img class="alignright size-medium wp-image-421" title="Sukrit Dhandhania" src="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/Sukrit-Dhandhania-300x286.jpg" alt="Sukrit Dhandhania" width="138" height="133" /></a>Advisor:</strong><br />
Sukrit has spent over seven years working with several organisations and helped them adopt GNU/Linux and other free and open source tools.</p>
<p><strong>Resources:</strong><br />
<a title="moblock" href="http://moblock.berlios.de/" target="_blank">moblock</a> (or <a title="moblock Deb" href="http://moblock-deb.sourceforge.net/" target="_blank">here</a> for Debian/Ubuntu users)<br />
<a title="blockcontrol" href="http://moblock-deb.sourceforge.net/" target="_blank">blockcontrol</a><br />
<a title="mobloquer" href="http://mobloquer.foutrelis.com/" target="_blank">mobloquer</a></p>
<p>MoBlock is an open source application for the Linux platform that allows you to manage connections to and from your computer. If you have used or heard of the program PeerGuardian, MoBlock has a pretty similar function. The project caters to advanced Linux users and allows them fine-grain control over which hosts are allowed to connect to your computer and which hosts can be connected from the machine. We’ll look at how to install, configure and monitor MoBlock on your Linux machine.</p>
<p><strong>Installation</strong><br />
<strong>01 </strong>The installation of MoBlock is pretty straightforward for users of Ubuntu Linux. Ubuntu has had MoBlock available in its package management systems for some time now. You will need to add a new set of repositories to download and install MoBlock and the other supporting tools with ‘<em>apt-get</em>’. As a first step, you need to add GPG keys.</p>
<p>For Hardy and Intrepid, type the following lines in a terminal window:</p>
<blockquote><p><strong>gpg &#8211;keyserver wwwkeys.eu.pgp.net &#8211;recv 58712F29<br />
gpg &#8211;export &#8211;armor 58712F29 | sudo apt-key add -</strong></p></blockquote>
<p>For Jaunty and later versions, type the following lines in the terminal window:</p>
<blockquote><p><strong>gpg &#8211;keyserver keyserver.ubuntu.com &#8211;recv 9C0042C8<br />
gpg &#8211;export &#8211;armor 9C0042C8 | sudo apt-key add -</strong></p></blockquote>
<p><strong>02</strong> Now edit the ‘<em>apt-get</em>’ source file and add the following repository entries. Run the command ‘<em># sudo vim /etc/apt/sources.list</em>’ to edit the file.</p>
<p>If you are running Ubuntu 9.10 (Karmic Koala), add the following lines:</p>
<blockquote><p><strong>deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu karmic main<br />
deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu karmic main</strong></p></blockquote>
<p>For Ubuntu 9.04 (Jaunty Jackalope), instead add this:</p>
<blockquote><p><strong>deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu jaunty main<br />
deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu jaunty main</strong></p></blockquote>
<p>For other versions, please read the instructions in the Ubuntu documentation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/secure-with-moblock/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Internet Control Message Protocol (ICMP) Explained</title>
		<link>http://www.linuxuser.co.uk/features/internet-control-message-protocol-icmp-explained/</link>
		<comments>http://www.linuxuser.co.uk/features/internet-control-message-protocol-icmp-explained/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 15:32:14 +0000</pubDate>
		<dc:creator>Russell Barnes</dc:creator>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[ICMP]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Network]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=820</guid>
		<description><![CDATA["The fundamental purpose of the ICMP protocol is to report problems with the delivery of IP datagrams", says networking expert Swayam Prakasha. Join him in his latest article designed to help you discover more about one of the most popular protocols in the TCP/IP suite…
]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><strong><a href="http://www.linuxuser.co.uk/wp-content/uploads/2010/01/Swayam-Prakasha-SMALL.jpg" rel="lightbox[820]"><img class="alignright size-full wp-image-834" title="Swayam Prakasha SMALL" src="http://www.linuxuser.co.uk/wp-content/uploads/2010/01/Swayam-Prakasha-SMALL.jpg" alt="Swayam Prakasha SMALL" width="198" height="190" /></a>Advisor:<br />
Swayam Prakasha</strong><br />
Swayam has a master’s degree in computer engineering. He has been working in information technology for several years, concentrating on areas such as operating system, networking, network security, electronic commerce, internet services, LDAP and web servers</p>
<p style="text-align: left;">Everyone understands how critical TCP/IP (Transmission Control Protocol / Internet Protocol) is, but fails to realise the fact that the TCP/IP suite relies on many functions provided by ICMP (Internet Control Message Protocol). ICMP is one of the core protocols of the IP suite. It a network-layer protocol that is primarily concerned with routing issues.</p>
<p style="text-align: left;">With the help of this protocol, routers are able to send error or control information to their hosts. This protocol is of great help for system administrators, as it aids in testing for the connectivity and searching for the configuration errors in a network. Let us see an example of how ICMP facilitates this. When a router is not able to forward a datagram, it informs the original source about this error, and does not specify what action needs to be taken to overcome the error. It is up to the source to take the necessary action in order to correct the problem. It is important to notice here that ICMP cannot be used to inform the intermediate routers when a problem occurs. This is basically because a datagram contains fields that specify the original source and the ultimate destination. So when a router gets a datagram, it does not know the path taken by the datagram to arrive there. Instead of discarding a datagram when an error occurs, it informs the source from which the datagram originated. Hence the connectivity and configuration of a network is easily tested.</p>
<p style="text-align: left;">ICMP is a classic example of a client-server application. The fundamental purpose of this protocol is to report problems with the delivery of IP datagrams. The protocol is also frequently used by internet managers to verify correct operations of End Systems (ES) and to check that routers are correctly routing packets to the specified destination address. It is the responsibility of the network-layer protocol to ensure that the ICMP message is sent to the correct destination. This is achieved by setting the destination address of the IP packet carrying the ICMP message. The source address is set to the address of the computer that generated the IP packet (carried in the IP source address field) and the IP protocol type is set to ‘ICMP’ to indicate that the packet is to be handled by the remote end system’s ICMP client interface.</p>
<p><strong>Functions provided by ICMP</strong><br />
<em>The following are some of the functions provided by this protocol:</em></p>
<p style="text-align: left;"><strong>1. Announce network errors </strong><br />
Such as a host or entire portion of the network being unreachable, due to some type of failure. A TCP or UDP packet directed at a port number with no receiver attached is also reported via ICMP.</p>
<p><strong>2. Announce network congestion</strong><br />
When a router begins buffering too many packets, due to an inability to transmit them as fast as they are being received, it will generate ICMP source quench messages. Directed at the sender, these messages should cause the rate of packet transmission to be slowed. Of course, generating too many source quench messages would cause even more network congestion, so they are used sparingly.</p>
<p><strong>3. Assisting in troubleshooting</strong><br />
ICMP supports an echo function, which just sends a packet on a round trip between two hosts. Ping, a common network management tool, is based on this feature. Ping will transmit a series of packets, measuring average round-trip times and computing loss percentages.</p>
<p><strong>4. Announcing timeouts</strong><br />
If an IP packet’s TTL (time to live) field drops to zero, the router discarding the packet will often generate an ICMP packet announcing this fact. Traceroute is a tool which maps network routes by sending packets with small TTL values and watching the ICMP timeout announcements.</p>
<p style="text-align: left;">ICMP messages are sent in various situations. Some of the familiar situations are when a datagram cannot reach the destination, when the gateway can direct the host to send traffic on a shorter route etc. It is important to understand here that the purpose of these control messages is to provide feedback about the problems in the environment. Typically, ICMP messages report errors in the processing<br />
of datagrams.</p>
<p style="text-align: left;">ICMP packets are handled in the same way as any other data packet. However, ICMP packets do not include source and destination ports. A special signature called ‘type of message’ is included in these packets and this message type indicates the purpose of the ICMP packet. In fact, ICMP is essentially just a collection of predefined messages, each of which provides very specific functionality. It is to be observed here that ICMP packet delivery is unreliable – which means hosts can not count on receiving ICMP messages for any problems happening over a network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/features/internet-control-message-protocol-icmp-explained/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Network security &#8211; how to prevent attacks &amp; secure your server</title>
		<link>http://www.linuxuser.co.uk/tutorials/network-security/</link>
		<comments>http://www.linuxuser.co.uk/tutorials/network-security/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 07:00:02 +0000</pubDate>
		<dc:creator>Russell Barnes</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Swayam Prakasha]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://www.linuxuser.co.uk/?p=579</guid>
		<description><![CDATA[Swayam Prakasha explains the types of attacks that could happen over a network and their preventive measures. He also takes a look at various means of securing a web server...]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/558018.jpg" rel="lightbox[579]"><img class="alignright size-medium wp-image-595" title="558018" src="http://www.linuxuser.co.uk/wp-content/uploads/2009/12/558018-300x214.jpg" alt="558018" width="300" height="214" /></a>Swayam Prakasha explains the types of attacks that could happen over a network and their preventive measures. He also takes a look at various means of securing a web server</strong></p>
<p><strong>Advisor:<br />
</strong>Swayam Prakasha has been working in information technology for several years, concentrating on areas such as operating systems, networking, network security, electronic commerce, internet services, LDAP and web servers. Swayam has authored a number of articles for trade publications, and he presents his own papers at industry conferences.</p>
<p>Network and information security refers to the confidence that unauthorised users cannot access the information and services available on a network. Security implies safety. It assumes data integrity, freedom from unauthorised access of resources and freedom from disruption of services. As far as security is concerned, we need to protect both physical and abstract resources, such as information. Protecting the latter is more difficult.<br />
Information security is concerned with three main areas: confidentiality (information should be available only to those who rightfully have access to it), integrity (information should be modified only by those who are authorised to do so) and availability (information should be accessible to those who need it when they need it).</p>
<p><strong>Authentication attack</strong><br />
On the internet, where data passes across intermediate routers and networks, source authentication can be easily attacked at one of the intermediate routers. For example, an impostor can gain control of a router, ‘R’, that lies between a valid client and a server. He can then alter the routes in R to direct return traffic to him and generate a request using the authorised client’s address as a source address. The server will, in this case, accept the request and send the reply to the authorized client. When it reaches R, the reply will be forwarded along the incorrect route to the impostor.</p>
<p>The above example illustrates the need for the server and client to not communicate with impostors. One way of ensuring this is to use the authentication mechanism (also known as IP address authentication). This is a simple security mechanism to verify identification. Here, a server is configured with a list of valid IP source addresses. And when a request arrives, the server makes sure that it’s from a valid client by matching the client’s IP address with the ones in the configured list. Only if the client is authorised does the server grant it the service requested for.</p>
<p>Another method is the public-key encryption mechanism. In this case, we will be using a pair of keys: a public key and a private key. The sender using the public key of the receiver will encrypt the message and when the receiver receives it, he decrypts it using his private key (which only he knows). Thus the sender can make sure that only the intended receiver will receive the message. The public key encryption can be used for authentication, confidentiality and integrity of the messages.</p>
<blockquote><p><strong>Top Vulnerabilities<br />
1. Default installations of operating system and applications<br />
2. Accounts with no password or weak password<br />
3. Non-existent or incomplete backup<br />
4. A large number of open ports<br />
5. Not filtering packets for correct incoming and outgoing addresses<br />
6. Non-existent or incomplete logging<br />
7. Vulnerable CGI programs<br />
8. Sendmail vulnerabilities<br />
9. BIND weaknesses</strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxuser.co.uk/tutorials/network-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
