Click here to Skip to main content
15,881,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
how do i monitor url from the browser using opensource package eg tcpdump or any other language and display the output in html form..?

Problem Statement :
A person would be able to look up into the network where they are able to get the information about data/packet that is send and receive across network like Wireshark (Network monitoring Tool)

Field to be display as output in HTML:-

Source IP address
MAC address
Destination IP
URL or domain name of site communicated by source
Posted

1 solution

What do you mean "monitor URL"? you can monitor all HTTP packages, for sure. And then you could filter them somehow. URL's may appear in different parts of request, not only main address (the "host" field), but in referrer, content itself, and so on. There are different plug-ins for browsers you can use. If you want to monitor it from browser, this is what you can use. If this is what you want, address to the documentation on each particular browser or use available plug-ins.

If you are talking about ASP.NET, apparently, you can monitor all requests to some page only because all HTTP requests come to this page anyway. You can log this information anywhere (usually, relational databases are used) and provide access to this log on this or some other pages. Please see: https://msdn.microsoft.com/en-us/library/system.web.httprequest%28v=vs.110%29.aspx.

You cannot get MAC address of a remote computer, of course. I don't mean rare cases when the client from the same network segment as the HTTP server (see also http://stackoverflow.com/questions/3309122/how-can-i-get-a-mac-address-from-an-http-request).

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900