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. Analyzing traffic / protocols

Analyzing traffic / protocols

Scheduled Pinned Locked Moved C / C++ / MFC
comsysadmintutorialquestion
7 Posts 4 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.
  • L Offline
    L Offline
    L Denninger
    wrote on last edited by
    #1

    Recently I've spotted the download manager "Hidownload" (www.hidownload.com), and I'm wondering how they're analyzing the web-traffic. They're catching url's to streamed RealMedia files, WMV files etc. Now I know how to get download URL's from IE etc., but they seem to be doing it on a very low level. (You have to specify which network-card you want to monitor.) Does anyone have a clue how to do this ?

    P 1 Reply Last reply
    0
    • L L Denninger

      Recently I've spotted the download manager "Hidownload" (www.hidownload.com), and I'm wondering how they're analyzing the web-traffic. They're catching url's to streamed RealMedia files, WMV files etc. Now I know how to get download URL's from IE etc., but they seem to be doing it on a very low level. (You have to specify which network-card you want to monitor.) Does anyone have a clue how to do this ?

      P Offline
      P Offline
      Peter Weyzen
      wrote on last edited by
      #2

      Some of the packet sniffer programs do the same thing.... First thing they do, is put your NIC into a "promiscuous" mode. This mode allows your computer to see all packets that pass by it, not just the ones that are destined for that machine. This also assumes that the "watching" computer is on the same segment of LAN (same part of the network switch) that the "watched" machines are on. I don't know how to accomplish this, but I do know that this is NOT SUPPORTED ON ALL ethernet adapters. -p ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)

      L 1 Reply Last reply
      0
      • P Peter Weyzen

        Some of the packet sniffer programs do the same thing.... First thing they do, is put your NIC into a "promiscuous" mode. This mode allows your computer to see all packets that pass by it, not just the ones that are destined for that machine. This also assumes that the "watching" computer is on the same segment of LAN (same part of the network switch) that the "watched" machines are on. I don't know how to accomplish this, but I do know that this is NOT SUPPORTED ON ALL ethernet adapters. -p ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)

        L Offline
        L Offline
        Led 0
        wrote on last edited by
        #3

        Uhh... ok :) I don't think it's needed to see all packets that pass by though, after all all you want is to know what files are accessed by what protocol. No need to spy on other datatraffic, right..?

        P 2 Replies Last reply
        0
        • L Led 0

          Uhh... ok :) I don't think it's needed to see all packets that pass by though, after all all you want is to know what files are accessed by what protocol. No need to spy on other datatraffic, right..?

          P Offline
          P Offline
          Peter Weyzen
          wrote on last edited by
          #4

          Uhhh... how are you gonna figure out what higher-level-protocols are in use? except to watch all packets that go by, and analyze those.... Your ethernet card knows nothing about actual protocols. It only knows how to accept or deny ethernet packets. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)

          1 Reply Last reply
          0
          • L Led 0

            Uhh... ok :) I don't think it's needed to see all packets that pass by though, after all all you want is to know what files are accessed by what protocol. No need to spy on other datatraffic, right..?

            P Offline
            P Offline
            Peter Weyzen
            wrote on last edited by
            #5

            I should add that I misread a bit. They are sitting on the network card, and analyzing all data that comes to it. They don't need promiscuous mode, unless you want to see traffic generated on other machines too. But the premise is the same, they are just watching the traffic coming over the card, and it's pretty easy to catch all of that that stuff at that point. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)

            L 1 Reply Last reply
            0
            • P Peter Weyzen

              I should add that I misread a bit. They are sitting on the network card, and analyzing all data that comes to it. They don't need promiscuous mode, unless you want to see traffic generated on other machines too. But the premise is the same, they are just watching the traffic coming over the card, and it's pretty easy to catch all of that that stuff at that point. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Peter Weyzen Staff Engineer [Santa Cruz Networks](http://www.santacruznetworks.com)

              L Offline
              L Offline
              Led 0
              wrote on last edited by
              #6

              Would you know of any source / info that could show me how to do this ? (Get the lowlevel-packet-data ?)

              S 1 Reply Last reply
              0
              • L Led 0

                Would you know of any source / info that could show me how to do this ? (Get the lowlevel-packet-data ?)

                S Offline
                S Offline
                SatyaDY
                wrote on last edited by
                #7

                Hi, Try Winpcap for windows (Packet Capture Library) or pcap with unix machines. WinPCap is a free download. Satya

                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