Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Reroute an Application's Network Traffic

Reroute an Application's Network Traffic

Scheduled Pinned Locked Moved C#
sysadmingame-devquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zaegra
    wrote on last edited by
    #1

    Hello, I'd like to know if it's possible to "wrap" a running process, and get all it's Outgoing network traffic? E.g when I'm playing a game, trap its network traffic and send it to a different server? :O PS: This is not used for any form of hacking. Thanks in advance, Zaegra

    Motivation is the key to software development.

    S 1 Reply Last reply
    0
    • Z Zaegra

      Hello, I'd like to know if it's possible to "wrap" a running process, and get all it's Outgoing network traffic? E.g when I'm playing a game, trap its network traffic and send it to a different server? :O PS: This is not used for any form of hacking. Thanks in advance, Zaegra

      Motivation is the key to software development.

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      for redirecting it is possible if it doesn't use direct IP accsess C:\WINDOWS\system32\drivers\etc inside there is a file named host (Without extension). You can redirect a specific DNS name to specific IP If you type www.google.com it will automatlcly go to 209.85.129.147, because it is on DNS server. If you put in host file 127.0.0.1 www.google.com and then you save that file. After that all links that try to use www.google.com will look only on your machine. (127.0.0.1 is localhost) For monitoring look at Packet Monitor C#[^]

      Z 1 Reply Last reply
      0
      • S Saksida Bojan

        for redirecting it is possible if it doesn't use direct IP accsess C:\WINDOWS\system32\drivers\etc inside there is a file named host (Without extension). You can redirect a specific DNS name to specific IP If you type www.google.com it will automatlcly go to 209.85.129.147, because it is on DNS server. If you put in host file 127.0.0.1 www.google.com and then you save that file. After that all links that try to use www.google.com will look only on your machine. (127.0.0.1 is localhost) For monitoring look at Packet Monitor C#[^]

        Z Offline
        Z Offline
        Zaegra
        wrote on last edited by
        #3

        Thanks! I will try this :D:D

        Motivation is the key to software development.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups