24. March 2017

How to start Wireshark on openSUSE

The simple way how to start Wireshark on Linux is to type:

wireshark

If you run this command as a normal user you won’t be able to capture packets. In order to dump packets, you need to execute it as root. This must be done in a specific way. If try just sudo you’ll end up with interesting errors like:

Attempt #1

$ sudo su
# wireshark
QXcbConnection: Could not connect to display 
Aborted (core dumped)

Attempt #2

$ sudo wireshark
QXcbConnection: Could not connect to display 
[1]    8836 abort      sudo wireshark

The proper way how to start Wireshark is by gtk-su:

xdg-su -c wireshark

8. January 2011

How to dump POST response from server

In previous “POST” I mentioned solution how to dump client’s POST request at server side.

What about POST respose?

Start Firefox. Open Firebug Network monitor and…

… and it does not work properly for POST response.

Let’s try different solution. Start Opera. Open Dragonfly Network monitor and..

… and it does not work for POST response. Not implemented yet?

That is quite sad situation, but don’t worry there is simple solution.

There is plugin for Firefox known as HttpFox which works very well. (thanks to E. for link)

I would like to mention also one other tool known as Fideler2. It’s Windows application which allows you to track all HTTP communication from your computer.

Then there is another solution known as Wireshark. The only problem is that Wireshark does not work on Windows with some wireless interfaces.

  • Where is the fish?

  • Further info

  • Twitter

    Follow @jurajmichalek on twitter.

  • Comments

  • Tags

  • Topics