vb.net sniff network traffic

Hi.

I need some help sniffing networktraffic using vb.net 2005

 

What i’m looking for is Mac-address from a client doing a Pxe boot request.

The client computer will be connected directly to my sniffer computer or a networkhub and i want to be able to get the client MAC-address when the computer is doing its first network requests, that will prob. be PXE request.

How can i do this, with socks but how , i need examples.....

/Bjorne



Answer this question

vb.net sniff network traffic

  • TheCurse

    PXE was introduced as part of the Wired for Management framework by Intel and is described in the specification (v2.1) published by Intel and Systemsoft. It makes use of several network protocols like IP, UDP, DHCP and TFTP and of concepts like GUID/UUID and Universal Network Device Interface and extends the firmware of the PXE client (the computer to be bootstrapped via PXE) with a set of predefined APIs.

    Given this I believe that you can get the MAC address through RAW Sockets
    I will see if I can cook up a sample for this.

    Good question though !!!



  • sweetnlowe

    Good question. I think using RAW sockets you can get this.
    Although I am not familiar with PXE formats. Please note that if there is a
    router of anykind, the MAC address is not the client's MAC address. It seems you are OK in this case since the client gets directly connected to the sniffer.
    Is PXE a UDP based request

     



  • vb.net sniff network traffic