Jump to content

Monitor and Edit Network Traffic


Redhatcc

Recommended Posts

I have two personal home computer, a little project of mine i have been working on.

Is there a program that monitors network traffic and can edit packets that is more less easy to pick up on for someone that is somewhat computer savvy? Not really trying to install 2 nic's into one computer and direct all the traffic from one of my computers to the other and then to the internet. But if i must install two nic's into one computer to hook the other computer into before it hits the modem i will.

Basically my target is if i type in www.google.com on one computer, i want it to be able to change it with the other computer once i click enter to www.yahoo.com

Or is this little project of mine a lost hope haha?

Link to comment
Share on other sites


Hi Redhatcc,

Your question was understood, however for the example usage you gave DNS spoofing or a proxy server are both much better methods. If you want to intercept the packets and modify the data in real time i think you will find that substantially harder. For one each packet has a check sum to verify its not been tampered with which would be beyond most peoples skills to spoof. Far better would be acting as a man in the middle as either a router or a proxy. For example using something like squid 3 and an ICAP server you can rewrite webpages in real time so that, for example, all html tags defining the font colour for black are changed to pink, or all txt sitting between <p> tags is reversed. You could also use a url rewriter to redirect people to different parts of a site or different sites altogether. for example you can enforce google safesearch with a simple url rewrite that appends &safe=active to the end of your query string. both these methods are limited only by your own inventiveness. I saw one setup that processed the webpages via a filter to render them upside down as a joke on a wifi freeloader.

I manage a substantial estate of proxy servers which is why i personally would use that method to intercept and modify traffic. but im sure that much of that can be accomplished by a router as well.

Can you clarify what exactly would would like to accomplish by editing the raw tcp traffic?

Link to comment
Share on other sites

well its not a major project of mine, but im always digging into stuff that is a bit confusing.

say i have a little brother, and he talks on AIM. each time he sends "Hey!" it would be neat for it to be modified as "Bye" just for a mean time..

projects like these keep me learning while i am between major projects

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...