Aufgabe 2 - FH Wedel - Studenten Homepages der FH-Wedel

Aufgabe 2 - FH Wedel - Studenten Homepages der FH-Wedel Aufgabe 2 - FH Wedel - Studenten Homepages der FH-Wedel

stud.fh.wedel.de
von stud.fh.wedel.de Mehr von diesem Publisher
31.10.2013 Aufrufe

2.2.2 Installation des Packet-Treibers WinPCap 4.1.x Für die Aufzeichnung des gesamten Datenverkehrs benötigen wir noch einen spezielle LAN- Treiber. Laden Sie sich aktuellen WinPcap-Treiber herunter und installieren Sie ihn. Quelle: http://www.winpcap.org/install/default.htm WinPcap is the industry-standard tool for link-layer network access in Windows environments: it allows applications to capture and transmit network packets bypassing the protocol stack, and has additional useful features, including kernel-level packet filtering, a network statistics engine and support for remote packet capture. WinPcap consists of a driver, that extends the operating system to provide low-level network access, and a library that is used to easily access the low-level network layers. This library also contains the Windows version of the well known libpcap Unix API. Die Dokumentation finden Sie bei Bedarf unter http://www.winpcap.org/docs/default.htm oder Online unter http://www.winpcap.org/docs/docs_412/html/main.html 2.2.3 Erstes Übersetzen der Magenta-Demoanwendungen Das mitgelieferte Beispielprogramm „sockmon“ (ein Socket-Monitor) stellt bereits einen einfachen Packet-Sniffer dar, welcher mit Hilfe einer Raw-Packet Lesefunktionen von einem LAN-Adapter im Promiscuous-Modus alle sichtbaren Datenpakete ausgibt (vergl. Kapitel LAN- Analyzer / Observer). Demo Application – Display Packets using Raw Sockets and WinPcap Updated by Angus Robertson, Magenta Systems Ltd, England, v1.3 9th August 2010 delphi@magsys.co.uk, http://www.magsys.co.uk/delphi/ Copyright Magenta Systems Ltd Praktikum Rechnernetze, Arbeitsbogen P1 Seite 8 / 14

TMonitorSocket needs WSocket from François PIETTE internet component suite V6 or V7 from http://www.overbyte.be, TMonitorPcap needs WinPcap, but this application will run without it being installed. This application displays ethernet packets captured using two different techniques: 1. Raw sockets (W2K and later) using ICS, does not any other software installed, but may not capture send packets on W2K and XP, only W2K3, and ignores non-IP 2. WinPcap device driver, needs to be installed (two DLLs and a driver), but captures all packets including non-IP. Get it from http://www.winpcap.org/ Note the Delphi WinPcap pcap.pas and packet32.pas were originally written by Lars Peter Christiansen, but have several bug fixes and many new features. In theory WinPcap will run on Windows 9x, but it's not been tested. Use of the latest WinPcap version 4.1.2 2nd July 2010 is strongly recommended, but the component also supports older versions 4.1.1 20th October 2009, 4.0.2 9th November 2007, 3.1 5th August 2005 and 3.0 10 February 2003. Version 4.0 and later support Windows NT4/2000/XP/2003/Vista/2008/Win7/2008R2 (x86 and x64). *** This application is only designed to demonstrate the two components, it's not intended as a full network analyser. Demo-Anwendung “Sockstat”: Die zweite Demoanwendung “sockstat” (Socket-Status) erweitert den Basis-Monitor um eine statistische Ausgabeansicht. Dieses erlaubt es, den Kommunikationsablauf auch über eine längere Zeit übersichtlicher zu gestalten (Protokollverteilung, Anzahl gefundener Hosts, etc.). Praktikum Rechnernetze, Arbeitsbogen P1 Seite 9 / 14

2.2.2 Installation des Packet-Treibers WinPCap 4.1.x<br />

Für die Aufzeichnung des gesamten Datenverkehrs benötigen wir noch einen spezielle LAN-<br />

Treiber. Laden Sie sich aktuellen WinPcap-Treiber herunter und installieren Sie ihn.<br />

Quelle: http://www.winpcap.org/install/default.htm<br />

WinPcap is the industry-standard tool for link-layer network access in Windows<br />

environments: it allows applications to capture and transmit network packets bypassing the<br />

protocol stack, and has additional useful features, including kernel-level packet filtering, a<br />

network statistics engine and support for remote packet capture.<br />

WinPcap consists of a driver, that extends the operating system to provide low-level network<br />

access, and a library that is used to easily access the low-level network layers. This library<br />

also contains the Windows version of the well known libpcap Unix API.<br />

Die Dokumentation finden Sie bei Bedarf unter http://www.winpcap.org/docs/default.htm<br />

o<strong>der</strong> Online unter http://www.winpcap.org/docs/docs_412/html/main.html<br />

2.2.3 Erstes Übersetzen <strong>der</strong> Magenta-Demoanwendungen<br />

Das mitgelieferte Beispielprogramm „sockmon“ (ein Socket-Monitor) stellt bereits einen<br />

einfachen Packet-Sniffer dar, welcher mit Hilfe einer Raw-Packet Lesefunktionen von einem<br />

LAN-Adapter im Promiscuous-Modus alle sichtbaren Datenpakete ausgibt (vergl. Kapitel LAN-<br />

Analyzer / Observer).<br />

Demo Application – Display Packets using Raw Sockets and WinPcap<br />

Updated by Angus Robertson, Magenta Systems Ltd, England, v1.3 9th August 2010<br />

delphi@magsys.co.uk, http://www.magsys.co.uk/delphi/<br />

Copyright Magenta Systems Ltd<br />

Praktikum Rechnernetze, Arbeitsbogen P1 Seite 8 / 14

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!