intercepting packets for web servers and replying back

This is a discussion on intercepting packets for web servers and replying back within the Networking/Device Communication forums, part of the General Programming Boards category; hi, I was wondering how to approach a program which will run on server which is the default gateway and ...

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    13

    intercepting packets for web servers and replying back

    hi,

    I was wondering how to approach a program which will run on server which is the default gateway and will process all packets that arrive on tcp transport with destination port 80 (which are destined for a webserver somewhere on the internet) and will basically reply back to the client with some html file instead of the original webserver.

    any ideas are welcome...

    regards.

  2. #2
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,263
    Quote Originally Posted by liri View Post
    hi,

    I was wondering how to approach a program which will run on server which is the default gateway and will process all packets that arrive on tcp transport with destination port 80 (which are destined for a webserver somewhere on the internet) and will basically reply back to the client with some html file instead of the original webserver.

    any ideas are welcome...

    regards.
    Sounds like your basic transparent HTTP proxy. Look at squid.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21