Raw Control

This is a discussion on Raw Control within the Networking/Device Communication forums, part of the General Programming Boards category; How can I program directly at the MAC layer....... I want to build a packet monitoring utility.... considering that the ...

  1. #1
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683

    Raw Control

    How can I program directly at the MAC layer....... I want to build a packet monitoring utility.... considering that the system is connected to the hub how can I do this... are there any API's to do this...

    please advice...

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,420
    Gee, 1500 posts
    Still no idea what OS/Compiler you want to achieve this magic on.

    Have you considered looking at the source code for ethereal?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    oops sorry...
    GCC On Linux and windows using cygwin..... I think i will check ethereal..

  4. #4
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    The source code to Ethereal wont help you much, because Ethereal uses libpcap on Linux (or winpcap on windows) to do the packet capturing. You'd be better off just using libpcap to monitor packets.

  5. #5
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    thax for the info...

  6. #6
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    If you manage to compile and run ethereal on Cygwin, please let me know.
    I've tried and failed (I don't know any Unix).
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  7. #7
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,420
    > If you manage to compile and run ethereal on Cygwin, please let me know.
    Since ethereal already has a windows port, isn't this a bit moot?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  8. #8
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Quote Originally Posted by Salem
    > If you manage to compile and run ethereal on Cygwin, please let me know.
    Since ethereal already has a windows port, isn't this a bit moot?
    Yes, I meant ettercap, not ethereal.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Raw serial control in Linux
    By crepincdotcom in forum Networking/Device Communication
    Replies: 2
    Last Post: 09-12-2008, 12:17 PM
  2. (Multiline) Edit Control Limit
    By P4R4N01D in forum Windows Programming
    Replies: 9
    Last Post: 05-17-2008, 11:56 AM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 05:23 AM
  4. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM

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