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 / C++ / MFC
  4. network data capturing through sockets

network data capturing through sockets

Scheduled Pinned Locked Moved C / C++ / MFC
sysadmintutorial
4 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.
  • _ Offline
    _ Offline
    _tasleem
    wrote on last edited by
    #1

    hi all i want to know that how to capture the data passed through the network and modify its contents,suppose i had client and server and they communicate each other through sockets, i want to get the messages passed between these clients and server by my app running on those computers, i mean when they pass each other "hello" i want to capture the full message and then modify that message and then pass something else like "how".i search on the internet and found packets sniffers but i think they will capture packets not full text. in short i want to get data and modify data and then send again.

    Tasleem Arif

    T 1 Reply Last reply
    0
    • _ _tasleem

      hi all i want to know that how to capture the data passed through the network and modify its contents,suppose i had client and server and they communicate each other through sockets, i want to get the messages passed between these clients and server by my app running on those computers, i mean when they pass each other "hello" i want to capture the full message and then modify that message and then pass something else like "how".i search on the internet and found packets sniffers but i think they will capture packets not full text. in short i want to get data and modify data and then send again.

      Tasleem Arif

      T Offline
      T Offline
      TylerD75
      wrote on last edited by
      #2

      Actually most packet sniffers that I've used (on Linux) also compiles the frames. Thus producing the packet content. Try Ethereal. That should cover your needs. Cheers, TylerD75

      T 1 Reply Last reply
      0
      • T TylerD75

        Actually most packet sniffers that I've used (on Linux) also compiles the frames. Thus producing the packet content. Try Ethereal. That should cover your needs. Cheers, TylerD75

        T Offline
        T Offline
        TylerD75
        wrote on last edited by
        #3

        Ehh... sorry, forgot that you needed to modify the frame content as well. That might be a bit harder, even with ethereal... ;) TylerD75

        _ 1 Reply Last reply
        0
        • T TylerD75

          Ehh... sorry, forgot that you needed to modify the frame content as well. That might be a bit harder, even with ethereal... ;) TylerD75

          _ Offline
          _ Offline
          _tasleem
          wrote on last edited by
          #4

          Thanks for ur kind answer. suppose my application monitors my all network activities on that computer,i.e suppose when anything is going out from computer then can i do the task of getting the contents and modifying that.

          Tasleem Arif

          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