<?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>Michael Wheeler &#187; cisco</title>
	<atom:link href="http://michael-wheeler.org/tag/cisco/feed/" rel="self" type="application/rss+xml" />
	<link>http://michael-wheeler.org</link>
	<description>mmmm bacon.</description>
	<lastBuildDate>Fri, 27 Jan 2012 12:12:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>30 Days of Geek &#8211; Day 8 &#8211; Geek Photos</title>
		<link>http://michael-wheeler.org/2010/11/08/30-days-of-geek-day-8-geek-photos/</link>
		<comments>http://michael-wheeler.org/2010/11/08/30-days-of-geek-day-8-geek-photos/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 09:46:25 +0000</pubDate>
		<dc:creator>mwheeler</dc:creator>
				<category><![CDATA[None]]></category>
		<category><![CDATA[30-days-of-geek]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[cable]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sun]]></category>
		<category><![CDATA[switch]]></category>

		<guid isPermaLink="false">http://michael-wheeler.org/?p=834</guid>
		<description><![CDATA[And Yes, I do use a Dvorak keyboard.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/theskorm/5157786700/" title="IMG_4050 by TheSkorm, on Flickr"><img src="http://p.michael-wheeler.org/flickr/5157786700_76147b2191.jpg" width="375" height="500" alt="IMG_4050" /></a><a href="http://www.flickr.com/photos/theskorm/5157786696/" title="IMG_4049 by TheSkorm, on Flickr"><img src="http://p.michael-wheeler.org/flickr/5157786696_7be41bb143.jpg" width="375" height="500" alt="IMG_4049" /></a><a href="http://www.flickr.com/photos/theskorm/5157783684/" title="IMG_4048 by TheSkorm, on Flickr"><img src="http://p.michael-wheeler.org/flickr/5157783684_890237347c.jpg" width="500" height="375" alt="IMG_4048" /></a><a href="http://www.flickr.com/photos/theskorm/5157783678/" title="IMG_4047 by TheSkorm, on Flickr"><img src="http://p.michael-wheeler.org/flickr/5157783678_f82bc93f33.jpg" width="500" height="375" alt="IMG_4047" /></a><a href="http://www.flickr.com/photos/theskorm/5157783672/" title="IMG_4046 by TheSkorm, on Flickr"><img src="http://p.michael-wheeler.org/flickr/5157783672_35bea92de9.jpg" width="500" height="375" alt="IMG_4046" /></a><a href="http://www.flickr.com/photos/theskorm/5157783662/" title="IMG_4045 by TheSkorm, on Flickr"><img src="http://p.michael-wheeler.org/flickr/5157783662_b9a1803e49.jpg" width="500" height="375" alt="IMG_4045" /></a><a href="http://www.flickr.com/photos/theskorm/5157783644/" title="IMG_4044 by TheSkorm, on Flickr"><img src="http://p.michael-wheeler.org/flickr/5157783644_6b5393f9ba.jpg" width="500" height="375" alt="IMG_4044" /></a><a href="http://www.flickr.com/photos/theskorm/5157783642/" title="IMG_4043 by TheSkorm, on Flickr"><img src="http://p.michael-wheeler.org/flickr/5157783642_464cc8cb53.jpg" width="500" height="375" alt="IMG_4043" /></a></p>
<p>And Yes, I do use a Dvorak keyboard.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael-wheeler.org/2010/11/08/30-days-of-geek-day-8-geek-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Duplex, Speed and MDIX, and an interesting problem</title>
		<link>http://michael-wheeler.org/2010/06/30/duplex-speed-and-mdix-and-an-interesting-problem/</link>
		<comments>http://michael-wheeler.org/2010/06/30/duplex-speed-and-mdix-and-an-interesting-problem/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 09:37:44 +0000</pubDate>
		<dc:creator>mwheeler</dc:creator>
				<category><![CDATA[None]]></category>
		<category><![CDATA[100base-tx]]></category>
		<category><![CDATA[auto mdix]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[duplex]]></category>
		<category><![CDATA[ethernet]]></category>
		<category><![CDATA[half duplex]]></category>
		<category><![CDATA[mdix]]></category>
		<category><![CDATA[speed]]></category>

		<guid isPermaLink="false">http://michael-wheeler.org/?p=517</guid>
		<description><![CDATA[Two features of modern switches and routes is auto negotiation and auto mdix. Auto Negotiation provides an easy way for network engineers to configure ports, allow automatic detection of speed and duplex settings. In an ideal world auto negotiation would &#8230; <a href="http://michael-wheeler.org/2010/06/30/duplex-speed-and-mdix-and-an-interesting-problem/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Two features of modern switches and routes is auto negotiation and auto mdix.</p>
<p><strong>Auto Negotiation</strong> provides an easy way for network engineers to configure ports, allow automatic detection of speed and duplex settings. In an ideal world auto negotiation would be used on both ports, but in some cases (eg, when a network engineer only has access to one of the devices), a network engineer cannot tell if the port is statically set, or set to auto negotiation.</p>
<p>If a port is set statically on one device, and not the other, the auto negotiation process will detect the speed, but no the duplex.  By the IEEE standard, if duplex can&#8217;t be detected for 10M or 100M then the duplex by default is set to half. Starting at 1G the duplex is set to full.</p>
<p>So what ends up happening is one port set to half duplex, and the other set to full. This causes a duplex mismatch, resulting in a slow link with packet loss. This leaves two simple solutions, set both to a static setting or set both to auto.</p>
<p>This is all well and good, and you end up statically setting the speed and duplex. Duplex is set to full, and 100 on both sides, and suddenly the link won&#8217;t come back up. Why is this?</p>
<p>Well on newer switches and devices, a feature called <strong>auto mdix</strong> allows network engineers to be lazy and use straight through cables where crossover cables are needed and vice versa. Some implementations even allow use of other pairs of wire when cables are damaged.</p>
<p>In Cisco devices when speed and duplex are set, auto mdix is disabled. Therefore if a network engineer has statically set the speed and duplex on one side, and has used the wrong cable, the link will fail.</p>
<p><strong>Long story short&#8230;</strong></p>
<ul>
<li>Use the right cable types when connecting devices</li>
<li>Set duplex and speed the same on each device</li>
<li>If you can&#8217;t swap the cable, use auto on both sides</li>
<ul>
]]></content:encoded>
			<wfw:commentRss>http://michael-wheeler.org/2010/06/30/duplex-speed-and-mdix-and-an-interesting-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why using SSH won&#039;t secure your network</title>
		<link>http://michael-wheeler.org/2010/03/04/ssh/</link>
		<comments>http://michael-wheeler.org/2010/03/04/ssh/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 10:11:29 +0000</pubDate>
		<dc:creator>mwheeler</dc:creator>
				<category><![CDATA[None]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[snmp]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://michael-wheeler.org/?p=459</guid>
		<description><![CDATA[SSH is a wonderful protocol / tool which I use every day. It allows a user secure communication between hosts. Amongst it&#8217;s many features it allows people to securely to execute commands, copy files and tunnel net traffic. Using SSH &#8230; <a href="http://michael-wheeler.org/2010/03/04/ssh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>SSH is a wonderful protocol / tool which I use every day. It allows a user secure communication between hosts. Amongst  it&#8217;s many features it allows people to securely to execute commands, copy files and tunnel net traffic. Using SSH rather than telnet to configure and access devices is a great step up, and unlike telnet, passwords and secure information is encrypted.</p>
<p>But just because you&#8217;ve enabled SSH on all your devices doesn&#8217;t mean your network is any more secure. SSH is only one in many changes that need to be changed in order to have a secure network.</p>
<p><strong>Network Management</strong>, most network management software still access your devices using insecure techniques (some of which are listed below). What&#8217;s the use of using SSH, when you network management polls it every 5 minutes insecurely</p>
<p><strong>Keys</strong><br />
A simple think overlooked in most SSH setups, is that keys are never logged / saved, nor are private/public key authentication. So when you have 500 network devices, when you connect to one, people start getting into the habit of just accepting ssh keys without looking at them. A simple ARP man in the middle attack could allow a user to grab your password without any work.</p>
<p><strong>File Transfer</strong><br />
So you need to upload a config file. Simple I&#8217;ll just TFTP or FTP it. Maybe you might even HTTP it across. Well there you go, all the work of installing SSH on all your devices has been wasted. This can easily be fixed with either SCP, HTTPS or FTPS.</p>
<p><strong>SNMP</strong><br />
Commonly used SNMPv2 and v1 has no encryption support. It is common that most devices are setup with SNMPv2 and v1 rather than the SNMPv3 which support encryption. SNMP can be used to monitor, and set configuration options on most devices.</p>
<p><strong>Vulnerabilities in software</strong><br />
Sounds pretty stupid, but why would an attacker bother with SSH when they can just exploit a page. It&#8217;s annoying, but IOS and other software need to stay updated.</p>
<p><strong>Routing Protocols</strong><br />
Routing protocols really need to stay on routed links. Having OSPF running on general access VLANs is not a good idea. Very easy to make a man in the middle attack.</p>
<p><strong>Spanning Tree</strong><br />
Spanning Tree can easily be disturbed, and be used for malicious activities. BPDU GUARD really needs to be enabled on access ports, otherwise you&#8217;ll be in trouble.</p>
<p>Theses simple fixes will in fact make your network more secure than SSH would.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael-wheeler.org/2010/03/04/ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco</title>
		<link>http://michael-wheeler.org/2009/08/08/cisco/</link>
		<comments>http://michael-wheeler.org/2009/08/08/cisco/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 00:33:18 +0000</pubDate>
		<dc:creator>mwheeler</dc:creator>
				<category><![CDATA[None]]></category>
		<category><![CDATA[aironet]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco ios]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://michael-wheeler.org/2009/08/08/cisco</guid>
		<description><![CDATA[melissa_sucks &#8211; Cisco IP Phone ft. HELLO KITTY Cisco make some damn nice products, but they also make some products that make my life hell. Here is my list. Things Cisco does right: Cisco Switches, Routers, and Access Points Cisco &#8230; <a href="http://michael-wheeler.org/2009/08/08/cisco/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="flickr"><a title="photo sharing" href="http://www.flickr.com/photos/melissa_sucks/2943279903/"><img class="flickr-photo" src="http://p.michael-wheeler.org/flickr/2943279903_7a422d3511_m.jpg" alt="Cisco IP Phone ft. HELLO KITTY" width="200" /></a><br />
<span class="flickr-caption"><a href="http://www.flickr.com/people/melissa_sucks/">melissa_sucks</a> &#8211; <a href="http://www.flickr.com/photos/melissa_sucks/2943279903/">Cisco IP Phone ft. HELLO KITTY</a></span></div>
<p class="flickr-yourcomment">
Cisco make some damn nice products, but they also make some products that make my life hell. Here is my list.</p>
<p><b>Things Cisco does right:</b></p>
<p><i><b>Cisco Switches, Routers, and Access Points</b></i></p>
<p>Cisco switches, rouners and access points are amazing pieces of equipment. They have lots of features, fast, secure and easy to configure. All are simple to configure using IOS and most devices can be configured to do many tasks.</p>
<p><i><b>Cisco VoIP Devices</b></i></p>
<p>Cisco phones are easy to use, customizable, and support various backends. The range includes phone that can be configured for any task.</p>
<p><i><b>IOS</b></i></p>
<p>IOS has to be the best / most usable operating system for switches that I&#8217;ve seen. It has a small foot print allowing for low lag, yet is still feature packed. It&#8217;s a shame that there are still devices floating around not running IOS (eg voice gateways and old aironet devices).</p>
<p><i><b>Standards</b></i></p>
<p>If there is a need for a protocol or standard Cisco will make one to suit the need, which gets the market moving.</p>
<p><b>Things that Cisco should be banned from developing:</b></p>
<p><i><b>Client Software</b></i></p>
<p>Cisco makes the crappiest client software round at times. Why does their software phone have to act / feel like a real phone. Their software is typically hard to install, hard to use, and breaks easily.</p>
<p><i><b>Server Software</b></i></p>
<p>Just like the client software, Cisco server software is hard to install, hard to maintain and hard to use. The software usually installs several services, most without descriptions, contains lots of memory leaks, bugs and security flaws and breaks with OS updates.</p>
<p><i><b>Web Sites</b></i></p>
<p>Most of Cisco software and devices contain built in web servers for easy management. The menus are hard to use, and are designed purely for IE 6 running on Windows, and break if you use another browser. Cisco websites usually contain numerous exploits.</p>
<p>Even worse than their devices and software, Cisco&#8217;s own website struggles. While the look actually seems appealing, their site is impossible to navigate (thank the lord for Google). A simple task of finding a firmware is impossible without reading the &#8220;Navigating Cisco Website for Dummies&#8221; book. Old content has disappeared, pages full of broken links and missing files, and new content disappearing. Finding what devices / firmware support what SFPs is impossible.</p>
<p>
<i><b>Java</b></i></p>
<p>Any Cisco product that requires Java requires a specific version. I am required to be running 4 different versions of Java because of this. Java software is slow to use, and usually leaves me with no memory for other programs.</p>
<p><i><b>Drivers</b></i></p>
<p>If you have used an Aironet card, you&#8217;ll understand why. The GUI is hard to use and the software can get fairly confusing.</p>
<p><i><b>Standards</b></i></p>
<p>While Cisco will make a standard to fill a gap, it usually won&#8217;t disclose the standard to any other companies without large sums of money. This forces companies to make their own, creating compatibility issues between devices.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael-wheeler.org/2009/08/08/cisco/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find which ports are unused over a period of time.</title>
		<link>http://michael-wheeler.org/2009/05/06/find-which-ports-are-unused-over-a-period-of-time/</link>
		<comments>http://michael-wheeler.org/2009/05/06/find-which-ports-are-unused-over-a-period-of-time/#comments</comments>
		<pubDate>Wed, 06 May 2009 03:31:44 +0000</pubDate>
		<dc:creator>mwheeler</dc:creator>
				<category><![CDATA[None]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[programing]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://michael-wheeler.org/2009/05/06/find-which-ports-are-unused-over-a-period-of-time</guid>
		<description><![CDATA[Brian&#8217;s Eye &#8211; Cisco&#8217;s One Millionth Catalyst 3750 Switch Below is a simple bash script which uses snmpwalk to find out which ports on a Cisco switch (It should work on other as well) aren&#8217;t being used, over a period &#8230; <a href="http://michael-wheeler.org/2009/05/06/find-which-ports-are-unused-over-a-period-of-time/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="flickr"><a title="photo sharing" href="http://www.flickr.com/photos/through_brians_eye/422746496/"><img class="flickr-photo" src="http://p.michael-wheeler.org/flickr/422746496_3fcca627e5_m.jpg" alt="Cisco's One Millionth Catalyst 3750 Switch" width="200" /></a><br />
<span class="flickr-caption"><a href="http://www.flickr.com/people/through_brians_eye/">Brian&#8217;s Eye</a> &#8211; <a href="http://www.flickr.com/photos/through_brians_eye/422746496/">Cisco&#8217;s One Millionth Catalyst 3750 Switch</a></span></div>
<p class="flickr-yourcomment">Below is a simple bash script which uses snmpwalk to find out which ports on a Cisco switch (It should work on other as well) aren&#8217;t being used, over a period of time. It works by checking if the port is up or down, if it&#8217;s up it&#8217;ll remove it from the list of ports. For best results, set the script up for a crontab of about 5 to 15 minutes, and then come back in a few weeks to see which ports are inactive.</p>
<pre>#!/bin/bash
date
WORKDIR=/root/
IPs=( 10.0.0.1 10.0.0.2 ) #IP addresses seperated by spaces
# Start making indexes if file doesn't exist
for IP in ${IPs[@]} #Loop through list of IPs
do
        if [ ! -f $WORKDIR$IP.index ] #If the ip.index file doesn't exist then create it.
        then
                snmpwalk -v1 -c snmpass $IP  1.3.6.1.2.1.2.2.1.2 &gt; $WORKDIR$IP.index
# We walk this snmp value to get the names of the interface so we can find them on the switch easier
        fi
        INTERFACES=`cat $WORKDIR$IP.index | sed 's/IF-MIB::ifDescr.//' | sed 's/ = STRING.*//'`

 #Get a list of interface IDs
        for INTERFACE in $INTERFACES
#Loop though each interface ID
        do
                if [ `snmpwalk -v1 -c snmpass $IP 1.3.6.1.2.1.2.2.1.8.$INTERFACE | \
sed 's/IF-MIB::ifOperStatus\.[0-9]* = INTEGER: //' | sed 's/([0-9])//'` == "up" ]
#We then sed the snmp results to get up or down state
                then
                        echo Success $IP / $INTERFACE is UP - Removing from list
#We echo if an interface is up
                        mv $IP.index $WORKDIR$IP.index.tmp
#We need a temp file since we can't read and write at the same time in a pipe
                        cat $WORKDIR$IP.index.tmp | \
sed "s/IF-MIB::ifDescr.$INTERFACE.*//" &gt; $WORKDIR$IP.index
#remove the interface that is up and pipe it to the index file
                        rm $WORKDIR$IP.index.tmp #remove the temp index file
                fi
        done
done

rm $WORKDIR*.index.tmp &gt;/dev/null 2&gt;&amp;1
#Do a quick clean up incase we left some files behind. This should always return an error</pre>
]]></content:encoded>
			<wfw:commentRss>http://michael-wheeler.org/2009/05/06/find-which-ports-are-unused-over-a-period-of-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco Switch IOS SSH and Line Logging</title>
		<link>http://michael-wheeler.org/2009/02/11/cisco-switch-ios-ssh-and-line-logging/</link>
		<comments>http://michael-wheeler.org/2009/02/11/cisco-switch-ios-ssh-and-line-logging/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 09:52:39 +0000</pubDate>
		<dc:creator>mwheeler</dc:creator>
				<category><![CDATA[None]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[cisco ios]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://blog.theskorm.net/?p=190</guid>
		<description><![CDATA[Cisco &#8211; queued Cisco messages can be annoying when you are working a switch that logs ACL rules on a Cisco switch, so something that I&#8217;ve found quite useful is editing the line configuration to make the command you are &#8230; <a href="http://michael-wheeler.org/2009/02/11/cisco-switch-ios-ssh-and-line-logging/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="flickr"><a title="photo sharing" href="http://flickr.com/photos/persona/37201953/"><img class="flickr-photo" src="http://p.michael-wheeler.org/flickr/37201953_0ab41125fd.jpg?v=0" alt="" width="200" /></a><br />
<span class="flickr-caption"><a href="http://flickr.com/photos/persona/37201953/">Cisco</a> &#8211; <a href="http://flickr.com/photos/persona/">queued</a></span></div>
<p class="flickr-yourcomment">Cisco messages can be annoying when you are working a switch that logs ACL rules on a Cisco switch, so something that I&#8217;ve found quite useful is editing the line configuration to make the command you are typing in on a Cisco switch be re-printed below the log message.</p>
<p>It&#8217;s pretty simple to use, and all you need to do is this, in &#8220;configure terminal&#8221;.</p>
<p><code><br />
line con 0<br />
 logging synchronous<br />
line vty 0 4<br />
 logging synchronous<br />
line vty 5 15<br />
 logging synchronous<br />
</code></p>
<p>Another handy tip is enabling SSH. SSH is secure unlike telnet, meaning passwords or important information can&#8217;t be seen if an attacker was able to log packets.</p>
<p>SSH is fairly easy to enable, first off make sure you have a username configured or radius, enable the ssh transport under the lines, set a domain-name and then generate some keys.</p>
<p><code><br />
line vty 0 15<br />
  login local<br />
 transport input telnet ssh<br />
!<br />
username admin password god<br />
ip domain-name internaluse.net<br />
! out of config mode run<br />
crypto key generate rsa<br />
</code></p>
<p>Make sure you put down 1024 for the RSA keys, other most SSH clients will turn you down.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael-wheeler.org/2009/02/11/cisco-switch-ios-ssh-and-line-logging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TCP, UDP and their place in the world&#8230;</title>
		<link>http://michael-wheeler.org/2009/02/09/tcp-udp-and-their-place-in-the-world/</link>
		<comments>http://michael-wheeler.org/2009/02/09/tcp-udp-and-their-place-in-the-world/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 10:31:11 +0000</pubDate>
		<dc:creator>mwheeler</dc:creator>
				<category><![CDATA[None]]></category>
		<category><![CDATA[ccna]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[udp]]></category>

		<guid isPermaLink="false">http://blog.theskorm.net/?p=187</guid>
		<description><![CDATA[TCP-Header &#8211; flickr_xtaci When setting up servers and services I used to wonder why people would use UDP. It&#8217;s annoying to setup and test with firewalls, however lately while doing my CCNA study I have learned the important uses of &#8230; <a href="http://michael-wheeler.org/2009/02/09/tcp-udp-and-their-place-in-the-world/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="flickr"><a title="photo sharing" href="http://flickr.com/photos/7345275@N08/2864257365/"><img class="flickr-photo" src="http://p.michael-wheeler.org/flickr/2864257365_0dddf45866.jpg?v=0" alt="" width="200" /></a><br />
<span class="flickr-caption"><a href="http://flickr.com/photos/7345275@N08/2864257365/">TCP-Header</a> &#8211; <a href="http://flickr.com/photos/7345275@N08/">flickr_xtaci</a></span></div>
<p class="flickr-yourcomment">When setting up servers and services I used to wonder why people would use UDP. It&#8217;s annoying to setup and test with firewalls, however lately while doing my CCNA study I have learned the important uses of UDP and TCP.</p>
<p>TCP has lots of features, like error recovery and acknowledgment which UDP doesn&#8217;t support. Both use &#8220;ports&#8221; and both have error detection. So why use UDP?</p>
<p>I&#8217;ve linked to a flickr scan of TCP header. As you can see a TCP header is 20 Bytes long, without it&#8217;s payload, where as if you look at a UDP header it&#8217;s only 8 Bits long. UDP already has the advantage of being smaller in size, but what really makes UDP useful is it&#8217;s lack of error recovery.</p>
<p>In services like VoIP , Video Conferencing and Gaming, by the time TCP has detected an error, sent a request for the missing packet, and continued on it&#8217;s way it has interrupted the call, making TCP a bad choice. Since UDP doesn&#8217;t have error handling, it doesn&#8217;t matter if a packet was lost or damaged, because UDP won&#8217;t request (or check) for the missing packet and continue on it&#8217;s merry way. Thus keeping the call at low latency.</p>
<p>Ps. Now that I have gotten half way through the first Cisco CCNA book I might share a few other network tips, tricks or info.</p>
]]></content:encoded>
			<wfw:commentRss>http://michael-wheeler.org/2009/02/09/tcp-udp-and-their-place-in-the-world/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

