Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there an application in Linux that allows me to see all outbound HTTP requests like the HTTPFox Firefox plugin. In case you don't know about HTTPFox, the screenshot below shows what I am looking for.

enter image description here

EDIT:: I want to be able to see the info of any HTTP connection from any application. Not just Firefox.

share|improve this question

migrated from stackoverflow.com Jun 17 '11 at 23:37

This question came from our site for professional and enthusiast programmers.

    
Is there something stopping you from using HTTPFox through firefox on your ubuntu install? I just installed the plugin and its running like a champ. –  nsfyn55 Jun 17 '11 at 18:06
    
I meant to ask that I need to be able to view the request headers and response headers, content etc of ANY http connection from any application. –  Raj Sekharan Jun 17 '11 at 18:44
1  
Can you elaborate a little bit more on what you are trying to do? You can use WireShark and its querying facilities to isolate the source/destination ports and protocols that are relevant to your application(Basically capturing everything that travels through a specific interface). If you limit to HTTP only you will get exactly the same information available in HTTPFox(Headers, encodings, content) plus you'll have access to everything right down to the individual frames on wire. –  nsfyn55 Jun 17 '11 at 19:50
    
I need to view the requests send and the resposne received for many projects I work on from time to time. If wireshark does this, thats exactly what I am looking for. Add the same as an answer. I'll accept it. –  rsman Jun 18 '11 at 5:08
add comment

2 Answers 2

up vote 3 down vote accepted

Not sure if I understand your question correctly. HTTPfox works fine on Firefox on Linux (including Ubuntu) as far as I know.

If you're looking for something more general, outside the browser, Wireshark can listen to the traffic happening on your network (in particular on your machine). It has a comprehensive set of protocol analysers, including HTTP.

Since it doesn't run within the browser (or other application), it won't be able to see what's going on within the application itself. In particular, it will be harder look into HTTPS traffic, although with some configurations (provided you have the server's private key and you're using a subset of cipher suites Wireshark can decipher), you'll also be able to look into SSL/TLS-encrypted traffic (and the HTTP analyser will work on top of this, in this case).

share|improve this answer
add comment

firebug in firefox has the net tab(http://getfirebug.com/network). This shows all the requests and responses received or sent through the browser. A little lower down the chain is wireshark which allows filtering by protocol, inspection of individual packets, etc. This seems like it might be a little more robust than you are looking for. I am running these both on my Ubuntu box without an issue.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.