<?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>Truth, Computing and Fail &#187; Networking</title>
	<atom:link href="http://anomit.com/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://anomit.com</link>
	<description></description>
	<lastBuildDate>Sun, 26 Dec 2010 19:39:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>P2P traffic being throttled by Comcast</title>
		<link>http://anomit.com/2007/10/22/p2p-traffic-being-throttled-by-comcast/</link>
		<comments>http://anomit.com/2007/10/22/p2p-traffic-being-throttled-by-comcast/#comments</comments>
		<pubDate>Mon, 22 Oct 2007 04:16:55 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2007/10/22/p2p-traffic-being-throttled-by-comcast/</guid>
		<description><![CDATA[Ah! The cat is now out of the bag. Comcast does pose restrictions on P2P traffic under the garb of QoS. Refer to one of my previous posts where I mentioned traffic shaping on our college network. The ISPs should limit themselves to what they are supposed to do, provide us with a connection to [...]]]></description>
			<content:encoded><![CDATA[<p>Ah! <a href="http://news.yahoo.com/s/ap/20071019/ap_on_hi_te/comcast_data_discrimination;_ylt=AoypE.8gka6EUcy98ZP3cfas0NUE">The cat is now out of the bag</a>. Comcast does pose restrictions on P2P traffic under the garb of QoS. Refer to one of my <a href="http://oni.ifastnet.com/2007/09/10/dirty-games/">previous posts</a> where I mentioned traffic shaping on our college network.</p>
<p>The ISPs should limit themselves to what they are supposed to do, provide us with a connection to  the internet. It is none of their business to decide what are we going to do with that connection. The problem actually arises from the fact that these ISPs have bitten off more than they can chew. The next time you see some ISP going hysterical with its claims of offering you a 384 kbps unlimited connection, be careful. They simply don&#8217;t have the necessary bandwidth to keep on adding customers by tons and yet provide them with the same download speeds. They expect all the customers to be (lets face it) lamers who would never go beyond a few mails, orkut scraps and a few movie review sites. The problem starts when you really start taxing your connection to the hilt. Anyways, thats what you are supposed to do. You are getting a 384 kbps connection, so you would be ofcourse downloading at that speed for whatever time you want. You are not going to get 500+ speeds on a 384 kbps connection anyways.</p>
<p>So here is the scenario. A user is downloading within the limits of his connection (as advertised by you, my dear ISP) yet you can&#8217;t handle that much traffic.</p>
<p>A very common excuse by the ISPs that we would often come across is that file-sharing applications constitute close to 90% of the network traffic. Let us examine this point. Where lies the problem if it constitutes some x% of the traffic? The users are downloading at the rates you have supplied them with, they aren&#8217;t crossing the limit. It simply means that you don&#8217;t have the capacity to handle such a volume of data flow and hence resort to such dirty tactics.</p>
<p>Coming back to the modern file-sharing protocols, they are the true applications of distributed computing in the public realm that benefit the common user instead of being restricted to University research projects. We don&#8217;t need to be re-introduced to the virtues of distributed and decentralized computing, do we? Its no use denying the fact that P2P protocols are the next level in the way the internet will be used. Lets face it. Change is inevitable. It started off with dial-in BBS boards and plain text webpages. Are we still clinging on to those technologies?</p>
<p>Now moving on to the technique that Comcast uses to &#8220;shape the traffic&#8221;.</p>
<p>Comcast&#8217;s technology kicks in, though not consistently, when one BitTorrent user attempts to share a complete file with another user.</p>
<blockquote><p>Each PC gets a message invisible to the user that looks like it comes from the other computer, telling it to stop communicating. But neither message originated from the other computer — it comes from Comcast. If it were a telephone conversation, it would be like the operator breaking into the conversation, telling each talker in the voice of the other: &#8220;Sorry, I have to hang up. Good bye.&#8221;</p></blockquote>
<p>Isn&#8217;t this the same MITM (Man In The Middle) attack for which hackers are despised?</p>
<p>An analogy on Wi-Fi networks (&#8216;coz thats what I&#8217;m comfortable with <img src='http://anomit.com/wordpress/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  ).</p>
<p>Suppose a certain network is an &#8216;Open Network&#8217; but uses a captive portal to authenticate users. So now I probe the network in promiscuous mode and find out an authenticated client associated to an AP. I <strong>deauth</strong> that machine and spoof its MAC address, and then the possibilities are endless&#8230;..</p>
<p>What I wanted to point out was, had I been caught in the above act, there is no doubt I would be behind bars. So what about these corporations?</p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2007/10/22/p2p-traffic-being-throttled-by-comcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dirty games</title>
		<link>http://anomit.com/2007/09/10/dirty-games/</link>
		<comments>http://anomit.com/2007/09/10/dirty-games/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 13:46:13 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[My Life]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Wireless networks]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2007/09/10/dirty-games/</guid>
		<description><![CDATA[With much hype and publicity, the wifi service of our university was launched 10 days ago. The service was christened I-ON (no idea what that has got to do with wireless networking) and large, beautiful posters greeted you on every step inside the campus: inside the hostels, the college, the lecture halls and all other [...]]]></description>
			<content:encoded><![CDATA[<p>With much hype and publicity, the wifi service of our university was launched 10 days ago. The service was christened <strong>I-ON</strong> (no idea what that has got to do with wireless networking) and large, beautiful posters greeted you on every step inside the campus: inside the hostels, the college, the lecture halls and all other places imaginable and within the reach of the human physique. It promised to <strong>Mobify ur world</strong> and according to the fkin fully techno illiterate helpdesk personnel, you would be getting speeds around 500 kbps. So, the first few days went fine, we were downloading and surfing merrily at speeds touching 50 KB/s. Anyways we were very well aware that a speed of 500 kbps is not feasible and possible for the size of the network and the backbone our university possesses. But still the speeds were simply great.<br />
And then comes the shocker. Some 3 days back, suddenly everything drops and starts to suck, big time. Downloads drop to 6 KB/s. So what is it? As obvious it can get, its a nasty traffic shaper. The University gets back to its dirty tricks. You decide for yourself. 6 KB/s. Fucking hell. I would be getting the same speed on a dial up connection. For God&#8217;s sake, it is an internet service for the whole University. What can be more shameful that a University with 50+ years of history behind can&#8217;t offer a basic, decent internet connection to its students. Everything is simply wrong about the whole thing. To download even a small tool like Brutus, I&#8217;ve to wait 5 minutes and yes, that is if I stop whatever surfing I might be doing at that time. What purpose would this connection serve?</p>
<p>Agreed that traffic shapers are very much needed for maintaining the QoS of the network, but the University authorities have simply pulled off a cheap trick by misusing the powers of these tools.</p>
<p>In my next post, I&#8217;ll be posting some <strong>iperf</strong> results as evidence to my claims.</p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2007/09/10/dirty-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Possible flaw in CISCO RADIUS authentication</title>
		<link>http://anomit.com/2007/05/30/possible-flaw-in-cisco-radius-authentication/</link>
		<comments>http://anomit.com/2007/05/30/possible-flaw-in-cisco-radius-authentication/#comments</comments>
		<pubDate>Wed, 30 May 2007 01:50:26 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Wireless networks]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2007/05/30/possible-flaw-in-cisco-radius-authentication/</guid>
		<description><![CDATA[The wi-fi connection in our hostels is controlled and billed through a login and authentication procedure using RADIUS(Remote Authentication Dial In User Service) on the CISCO IOS. Recently I happened to notice something. Suppose I log out of my account but have a program that keeps me connected to the net like Google Talk or [...]]]></description>
			<content:encoded><![CDATA[<p>The wi-fi connection in our hostels is controlled and billed through a login and authentication procedure using RADIUS(Remote Authentication Dial In User Service) on the CISCO IOS. Recently I happened to notice something. Suppose I log out of my account but have a program that keeps me connected to the net like Google Talk or any P2P program. Now someone else on another machine can login with the same ID and there you go, two machines on the network authenticated with the same ID. No, I don&#8217;t lose my connection.</p>
<p>If any experts are reading this, is it a flaw in the IOS RADIUS itself or something is wrong with its implementation on our network?</p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2007/05/30/possible-flaw-in-cisco-radius-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aircrack-ng: Part I</title>
		<link>http://anomit.com/2007/03/31/aircrack-ng-part-i/</link>
		<comments>http://anomit.com/2007/03/31/aircrack-ng-part-i/#comments</comments>
		<pubDate>Sat, 31 Mar 2007 06:36:08 +0000</pubDate>
		<dc:creator>anomit</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Wireless networks]]></category>

		<guid isPermaLink="false">http://oni.ifastnet.com/2007/03/31/aircrack-ng-part-i/</guid>
		<description><![CDATA[Finally decided to get cracking on the aircrack-ng suite that was lying with me. But just setting it up was a heck of a task but as it is always with linux, a great learning experience too. I have an atheros chipset wireless card on my lappy, and the madwifi-ng drivers for Edgy don&#8217;t include [...]]]></description>
			<content:encoded><![CDATA[<p>Finally decided to get cracking on the aircrack-ng suite that was lying with me. But just setting it up was a heck of a task but as it is always with linux, a great learning experience too.</p>
<p><span id="more-12"></span></p>
<p>I have an atheros chipset wireless card on my lappy, and the <a href="http://madwifi.org/" target="_blank">madwifi-ng</a> drivers for Edgy don&#8217;t include the madwifi-tools package. So had to download and install it from <a href="http://packages.debian.org/cgi-bin/search_packages.pl?keywords=madwifi-tools&amp;searchon=names&amp;subword=1&amp;version=testing&amp;release=all" target="_blank">debian&#8217;s testing branch</a>. This package includes the <strong>wlanconfig</strong> tool. Without this, the aircrack-ng suite is as good as defunct.</p>
<p>Now comes the real part. Firing up the suite. First of all, you need to put your card into &#8216;monitor mode&#8217; . Under this mode, you will be able to monitor all the traffic in your wireless network. Somewhat like the promiscuous mode.</p>
<p>Now, when you enter the following command, you will get something like the following output:</p>
<pre class="brush: plain; title: ;"># iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:&quot;Tata Indicom Wi-Fi&quot;
Mode:Managed  Frequency:2.462 GHz  Access Point: 00:17:5A:B7:B8:20
Bit Rate:11 Mb/s   Tx-Power:8 dBm   Sensitivity=0/3
Retry:off   RTS thr:off   Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=19/94  Signal level=-76 dBm  Noise level=-95 dBm
Rx invalid nwid:28018  Rx invalid crypt:0  Rx invalid frag:0
Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.
</pre>
<p>Now lets be clear about something. The interface wifi0 is actually the base device, indicative of the network card you are using. Suppose you have two cards supported by the madwifi driver. Then these two will show up as wifi0 and wifi1. Now for each base device, you can use <strong>wlanconfig</strong> to create <strong>VAPs</strong> (<strong>V</strong>irtual <strong>A</strong>ccess <strong>P</strong>oints) running under different modes. Now going back to the output above, if you want to use ath0 for monitoring purposes, which is already under use, use airmon-ng to first stop the VAP.</p>
<pre class="brush: plain; title: ;">#airmon-ng stop ath0

Interface       Chipset         Driver

wifi0           Atheros         madwifi-ng
ath0            Atheros         madwifi-ng VAP (parent: wifi0) (VAP destroyed)
</pre>
<p>Now if you want to use another VAP like say ath1, use wlanconfig to create it in station mode and then stop it by issuing the above command.</p>
<pre class="brush: plain; title: ;"># wlanconfig ath1 create wlandev wifi0 wlanmode sta</pre>
<p>Now, after stopping the device you need to put the card in monitor mode</p>
<pre class="brush: plain; title: ;">#airmon-ng start wifi0

Interface       Chipset         Driver

wifi0           Atheros         madwifi-ng
ath0            Atheros         madwifi-ng VAP (parent: wifi0) (monitor mode enabled)</pre>
<p>Now comes the role of airodump-ng for sniffing out networks. Start it</p>
<pre class="brush: plain; title: ;">#airodump-ng ath0</pre>
<p>So, airodump-ng now starts hopping channels and lists all the access points it can receive beacons from. You will see an output like this:</p>
<p><a href="http://server6.theimagehosting.com/image.php?img=aircrack-ng.png" target="_blank"><img src="http://images6.theimagehosting.com/aircrack-ng.th.png" title="The Image Hosting" border="0" /></a></p>
<p>Next comes the part of zeroing in one certain AP and capturing data packets from it, writing all of it to disk and use it for cracking the WEP key.</p>
<p>To be contd in the 2nd part (&#8216;coz this gets updated as soon as I myself learn it!)</p>
<p>Recommended readings:<br />
1. <a href="http://madwifi.org">The MadWifi wiki page</a><br />
2. <a href="http://www.aircrack-ng.org/doku.php">The aircrack-ng documentation</a><br />
3. And ofcourse the man pages!</p>
<p>If you are stuck at any point or screw something up, just visit the <strong>#madwifi </strong>channel on freenode network. The guys there are ever willing to help you out!<br />
<script type="text/javascript"><!--
google_ad_client = "pub-7394086270476181";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "image";
//2007-04-05: homepage_banner
google_ad_channel = "5052727704";
google_color_border = "FFFFFF";
google_color_bg = "C3D9FF";
google_color_link = "000000";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://anomit.com/2007/03/31/aircrack-ng-part-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

