Archive for the ‘Internet’ Category

Getting started with Wireshark, the Fiddler for Ubuntu

Posted on the February 1st, 2010 under Internet, Linux, Software and Technology by Tohir

Fiddler is a useful tool for tracking http requests and responses. It’s similar to the Net tag in Firebug, except that it can be used to track all requests, not only browser-based ones.

For Ubuntu users, the recommended alternative is Wireshark. Wireshark is noted as being more powerful than Fiddler, but the focus will be on the features most commonly used by web developers for tracking.

Installation

Wireshark is found in the Ubuntu repositories, so simply search for wireshark in Synaptic, or enter sudo apt-get install wireshark

Usage

Under Applications > Internet, you will notice there are two options. Wireshark and Wireshark (as root). Run the second one (as root) as this gives you more data to track.

wireshark-1

After wireshark has started, the process is straightforward:

  1. Choose which network interfaces to capture traffic from
  2. Start capturing
  3. Filter captured requests

1. Choosing which network interfaces to capture traffic from. From the menu, choose: Capture > Interfaces

wireshark-2

This will bring up a list of network devices.

2. Since my work involves debugging work off my laptop (http://localhost etc), I only start device lo (127.0.0.1). This is useful as it immediately ignores all other traffic.

3. The one thing you will notice is that fiddler will log both the TCP and HTTP requests. For the purpose of debugging AJAX, etc., we are only interested in HTTP requests, TCP requests are not required. These can be hidden by adding a filter.

wireshark-3

In the field next to Filter:, enter http and click on Apply.

wireshark-4

The steps will now show all traffic coming on 127.0.0.1 via HTTP. The last step is picking up the AJAX parts for debugging. Notice that for each request, there is a response. Unlike Fiddler, Wireshark does not combine the request and the response. So click on the response line, and then expand the Line-based text data row. This will show the text of the AJAX response.

wireshark-5

Conclusion

Wireshark takes more steps than Fiddler, and Fiddler is a more focussed program than Wireshark. Wireshark also captures traffic without having to install a plugin into firefox, etc., so it’s useful for debugging applications as well. The biggest improvement to make Wireshark truly replace Fiddler is to turn off truncation of the response text. Wish I knew how!

Will Facebook exacerbate social issues in Mxit?

Posted on the August 6th, 2009 under Internet, Reflections/Thoughts by Tohir

Recently, I’ve noticed more and more young people talking about and joining Facebook. In one instance, I’ve come to learn that practically a large majority of learners in a secondary school (we talking about 12-16 year olds) have joined Facebook.

In light of a recent incident where a girl met someone on Mxit and ran away from home, it raises some questions:

  • Are such young people putting themselves at risk with personal info and details being shared on Facebook?
  • What steps/advice can be taken/rendered to assist and protect young people who are on Facebook?

Understanding Mxit vs Facebook

Mxit is a popular cellphone application in South Africa. In a region and continent with high and excessive telecommunication costs, Mxit is a cheap alternative to SMS (Short Message Service). Whereas users pay a premium rate to send SMS’es, Mxit uses a form of instant messaging, where users only pay for the data cost of sending a message.

Being a cellphone-based social instant-messaging application, the only information really being made available is the cell phone number of the user, and possibly the name of the user if they dont use a pseudo-name.

Mxit (like Facebook) operates on a friend request-and-accept approach, but also offers a chatroom service, and it is seemingly here that ‘relationships’ (for want of a better word) fosters.

Given the ability to generate online friendship, being known for having a lot of online friends, and thus possibly popular, may be one reason why people allow such friendships and relationships to happen.

Enter Facebook

These young people are entering Facebook at a time where it has already reached spectacular growth, and some are even forsaking it for alternatives like Twitter. I’m unable to account for why they are switching to Facebook. Is it perhaps the next step after Mxit? Is it because Facebook offers more features than Mxit? Is it because of the popularity of Facebook and that adults are using it?

Oddly, Internet access is not an issue since many of them are accessing Facebook via there cell phones. Perhaps the fact that Facebook has a mobile version helps.

Facebook Features which could be considered dangerous from a Mxit perspective

  • Facebook allows users to upload photos of themselves, providing a picture to the name
    • So unlike Mxit, there is a picture to the person you are corresponding with
  • Facebook allows users to be tagged in photographs
    • Even if the user does not provide a photo of him/herself, others could do it for them
  • Facebook allows users to enter a detailed profile, including contact details
    • Compared to Mxit, this is much more comprehensive
  • Facebook provides a history of past activity
    • Mxit doesnt.
  • Facebook’s add a Friend feature provides a risk where people blindly accept friendships.
    • The more friends you have, the better it supposedly seems, as it makes you appear more popular. Mxit doesnt have the search feature of Facebook where users can search for friends.

If parents become concerned and paranoid about Mxit, it’s not difficult to see why they could possibly be more apprehensive of the dangers Facebook potentially provides at a greater risk than Mxit.

Facebook’s negative could also be positive

I recall an incident a few months ago where an older sister stepped in when her younger sister started receiving inappropriate comments on some of her photos. This is an advantage of an open system, and makes it easier for an adult/guardian to supervise. Needless to say, the intervention was a rebuke to the offenders who desisted from their actions.

What are your thoughts on the matter?

 

Appreciating Mozilla Prism

Posted on the June 15th, 2009 under Internet, Reflections/Thoughts, Software and Technology by Tohir

Mozilla Prism

When Mozilla Prism was first launched, I honestly never gave it much thought as to it’s usefulness, or why anyone would want to use it. Today, it is such an essential tool for me. Let me explain.

Free Flex Builder 3 Professional for the Unemployed

Posted on the April 21st, 2009 under Flash, Actionscript, Flex, Internet by Tohir

Adobe launched a program earlier this month whereby it is giving its Flex Builder 3 Professional software free of charge to developers who have been hit by current economic conditions and are out of work. To participate in the program, unemployed developers must attest that the software will be used only for personal use and skill-building—not for any production or commercial purposes. In exchange, they get a free copy of Flex Builder 3’s Professional version, which is normally priced at USD 699.

Facebook Advertising

Posted on the March 30th, 2009 under Internet by Tohir

Recently I came across this advert on the left, and it left be kind of shocked. How did they know i am 29? Is Facebook sharing my details with advertisers?

Knowing it could be too good to be true, I nonetheless clicked on the ad. Pity I’m not in Australia (the target audience), else I could have won the iPhone – yeah right!

Nonetheless, looking up on Facebook advertising, it does offer some really great targeting information. With people providing location, personal info, what they like (fans, etc.) it seems to be an advertiser’s paradise. All that needs to be done is really accurate profile of the target audience.

One just wonders where does the blur occur if it does at all?

A Money-Making Website in 10 Minutes?

Posted on the March 27th, 2009 under Internet by Tohir

DevHub claims it can help you build a money-making website in 10 minutes. I’m going to put that to the test [the building part at least ;-) ] and post the results on this blog. Keen to try it yourself?

How to Transfer Large Files using DepositFiles.com

Posted on the March 24th, 2009 under Internet by Tohir

This is a guide I did a year ago for someone. Never realised it until I recently logged into scribd.com, but it made it to the hotlist.

How to Transfer Large Files using DepositFiles.com

Publish at Scribd or explore others: Manuals Internet & Technolog Tutorial