Tuesday, January 31, 2012

How to Use Wireshark to Capture, Filter and Inspect Packets


Wireshark, a network analysis tool formerly known as Ethereal, captures packets in
real time and display them in human-readable format. Wireshark includes filters, 
color-coding and other features that let you dig deep into network traffic and inspect 
individual packets.
This tutorial will get you up to speed with the basics of capturing packets, filtering
them and inspecting them. You can use Wireshark to inspect a suspicious program’s
network traffic, analyze the traffic flow on your network or troubleshoot network 
problems.

Getting Wireshark

You can download Wireshark for Windows or Mac OS X from its official website.
If you’re using Linux or another UNIX-like system, you’ll probably find Wireshark 
in its package repositories. For example, if you’re using Ubuntu, you’ll find Wireshark 
in the Ubuntu Software Center.
Just a quick warning: Many organizations don’t allow Wireshark and similar tools on
their networks. Don’t use this tool at work unless you have permission.

Capturing Packets

After downloading and installing Wireshark, you can launch it and click the name of
an interface under Interface List to start capturing packets on that interface. 
For example,if you want to capture traffic on the wireless network, click your wireless 
interface. You can configure advanced features by clicking Capture Options, but this isn’t necessary for now.
As soon as you click the interface’s name, you’ll see the packets start to appear in
real time. Wireshark captures each packet sent to or from your system. If you’re
capturing on a wireless interface and have promiscuous mode enabled in your 
capture options, you’ll also see other the other packets on the network.
Click the stop capture button near the top left corner of the window when you want
to stop capturing traffic.

Color Coding

You’ll probably see packets highlighted in green, blue and black. Wireshark uses
colors tohelp you identify the types of traffic at a glance. By default, green is TCP 
traffic, dark blue is DNS traffic, light blue is UDP traffic and black identifies TCP 
packets with problems — for example, they could have been delivered out-of-order.

Sample Captures

If there’s nothing interesting on your own network to inspect, Wireshark’s wiki
has youcovered. The wiki contains a page of sample capture files that you can 
load and inspect.
Opening a capture file is easy; just click Open on the main screen and browse for a file.
You can also save your own captures in Wireshark and open them later.

Filtering Packets

If you’re trying to inspect something specific, such as the traffic a program sends
when phoning home, it helps to close down all other applications using the network 
so you can narrow down the traffic. Still, you’ll likely have a large amount of packets to sift through.
That’s where Wireshark’s filters come in.
The most basic way to apply a filter is by typing it into the filter box at the top of the
window and clicking Apply (or pressing Enter). For example, type “dns” and you’ll see only 
DNS packets. When you start typing, Wireshark will help you autocomplete your filter.
You can also click the Analyze menu and select Display Filters to create a new filter.
Another interesting thing you can do is right-click a packet and select Follow TCP Stream.
You’ll see the full conversation between the client and the server.
Close the window and you’ll find a filter has been applied automatically — Wireshark is
showing you the packets that make up the conversation.

Inspecting Packets

Click a packet to select it and you can dig down to view its details.
You can also create filters from here — just right-click one of the details and use
the Apply as Filter submenu to create a filter based on it.
Wireshark is an extremely powerful tool, and this tutorial is just scratching the
surface of what you can do with it. Professionals use it to debug network protocol implementations, examine security problems and inspect network protocol internals.

Posted by howtogeek.com see the post here 

Friday, January 20, 2012

Leave your musical status on Gtalk for Windows

Google Talk or gTalk chat application has a feature to show currently playing Music track on Windows Media player as you Status. On Windows Xp, it runs without problem.
 If GTalk doesn’t update status on change of Music track on Windows Media Player 12 in Window 7, there is some tricks you may need to apply.
 Actually there was no Google Talk Music Plugin for WMP 12 installed on Windows 7 system. So, Follow the steps given to start showing the name of song you are listening as Gtalk status.
 1. Uninstall Google Talk.
2. Visit http://www.google.com/talk/
3. Click Download Google Talk client near the bottom of the page.
4. Save the installation file to your desktop.
5. Right-click the installation file (googletalk-setup.exe) on your desktop and select Run as administrator.
6. Follow the instructions to install Talk
7. Run and Sign In to your gtalk and set as shown in figure


Still not working?
  • Run Windows Media Player.
  • Then go to Tools and then options.
  • Click on the Plug-ins tab and select Background category in it.
  • Now check the option of “Google Talk music plug-in” on the right side.
  • Then Apply and exit.

Add or Change GTalk Theme

Most of the internet users prefer using Google talk as default chat client. Changing its appearance can enhance you chatting experience and it can be done using Gtalk themes. If you are bored with default look, mix some colors and change chatting styles and chat windows interface with cool, funny and fantastic Google Talk themes.
Now you can change appearance of Gtalk according to your choice and for that You can find a huge collection of Google talk Themes here for free download or Theme Pack Here
.
How to install Google Talk theme?
  • Download Theme Pack Here
  • Extract the files in this .ZIP file to your desktop ( for example, with WinRAR )
  • If there is an executable between the files you extracted, run it.
  • This will install the theme for you. You’re done.
  • If you can’t find an executable, you need to install the theme manually.
  • The theme is located in a folder you just extracted. Look for a folder with the same name as the theme.
  • Once you have found this folder, you need to move it to the directory where Google Talk stores all its themes.
For Windows XP – This is C:\Documents and Settings\USERNAME\Local Settings\Application Data\Google\Google Talk\themes\user\chat.
For Windows 7 – This is C:\Users\USERNAME\AppData\Local\Google\Google Talk\themes\system\chat
USERNAME needs to be replaced with your windows username. Move the entire theme folder to this location.
After following above steps, You need to apply Google talk theme.

How to change Google Talk Theme?
  • Start Google Talk if it’s not already running.
  • Now open your settings window by clicking ‘Settings’.
  • Select ‘Appearance’ from the left menu
  • Your theme should appear in the list, if not, you did something wrong.
  • Select the theme and click OK.

Log in with Multiple Account in Gtalk

If you have two or more gtalk account and having problem to login at the same time…
This is some trick to use multiple account in the same computer at the same time.
As shown in the following figure, u can log in to many gtalk users in the same computer.

To do so,

Right click on the gtalk shortcut and go to properties and

just append the text /nomutex in the Target box..
The text would be the following:
"C:\Program Files\Google\Google Talk\googletalk.exe" /startmenu /nomutex
See the following image.

Tuesday, January 10, 2012

Unlock Root for Android

Introduction
Unlock Root Tools is a android root tool. Support the Android 2.1,2.2 and 2.3,Easy way to get root access Permissions!
Working on the following devices:
HTC Sensation (G14) Galaxy Nexus (i9250) LG Optimus 3D (P920)
HTC Wildfire S (G13) Galaxy Note (I9220) LG Optimus 2x
HTC Desire S (G12) Galaxy S II (I9100) LG Optimus LET
HTC Incredible S (G11) Galaxy S (I9000) LG Optimus Black

more devices



http://www.unlockroot.com


Thursday, January 5, 2012

Error 553, SMTP Authorization


“553 sorry, that domain isn’t in my list of allowed rcpthosts; no valid cert for gatewaying”

There could be many things leading to the problem. One of them is client inability to authorize to SMTP server. Here’s a quick explanation of what happens and how the problem could be solved.

Several years ago when the Internet was young and all internet users were absolutely honest people the SMTP protocol (the one that works when you’re sending emails) was very simple and quite unprotected. Anyone was allowed to connect to any server, introduce themselves as anyone and send email to anyone in the world. When the Internet expanded beyond those few hundred scientists that used the net of the nets for their fair purposes spam was born. 
So people realized that they should somehow limit the scope of people allowed to send emails thru given mail server. That means anyone willing to send email using some mail server in the modern world has to authenticate. 

The 553 error message may mean that your mail client didn’t authorized itself correctly.

There are two basic ways of authentications and dozen of their modifications. The primary methods are
  • POP3 lock – the server assumes that anyone authenticated using POP3 is also allowed to send email
  • SMTP authorization requires your client to provide login and password before you’re able to send emails
So what you have to do is to enable one method or another on the mail server and configure your mail client. Here are some glitches you might be hit with:
  • If you’re using IMAP protocol to retrieve mail from the server you obviously can’t use POP3 lock. SMTP suthorization if your only choice.
  • If you enable both POP3 lock and SMTP auth in combination with IMAP mail retrieval macmail client will be able to send email only every other time. I have no good explanation for this

So SMTP authorization looks like you best choice. To configure it in MS Outlook
  • Go to Tools->E-mail Accounts
  • Select View or Change existing, Click Next
  • In the new window select the account you want to configure and click Change
  • In the new window click Change
  • In the new window select Outgoing Server tab
  • Check My outgoing server (STMP) requires authentication, provide login and password if necessary (typically use the same settings as your POP3 account)
  • Click Ok
  • Click Next
  • Click Finish