Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Treiber - Programmierung (https://www.delphipraxis.net/53051-treiber-programmierung.html)

mumu 12. Sep 2005 10:20

Re: Treiber - Programmierung
 
macht der tdi_fw treiber das selbe wie drvfltip.

in der readme von tdi_fw steht:
Zitat:

TdiFw now can use filter-hook driver in Win2k (XP, 2003) to get packets
and check them against state table.

"ipfilterdriver" driver must be started before "tdifw" service.
der drvfltip driver basiert ja auch auf den ipfilterdriver.

weil dann hab ich nämlich folgende probleme, wenn ich eine solche art von treiber nehme:
Zitat:

Result: Filter-Hook Driver isn't the best in nothing, but it hasn't bad characteristics. However why this method isn't used in commercial products?

The answer is simple. Although this driver hasn't bad characteristics it has a great disadvantage, too. As I mentioned this before, only one filter function can be installed each time. We can develop a great firewall, it can be downloaded and installed by thousands of users but if other applications use this filter (and installed the filter function before) our program won't do anything.

This method has another disadvantage not documented by Microsoft. Although DDK documentation says that you can access packet content in filter function, it's not real. You can access packet content for received packets but for sent packets you can only read IP and TCP, UDP or ICMP header. I don't understand why...

Microsoft introduced another type of driver without this limitation in Windows XP: firewall-hook driver. Its installation is very similar, but Microsoft doesn't recommend its use because "it ran too high in the network stack". Maybe this driver will disappear in later Windows versions.

Olli 12. Sep 2005 10:29

Re: Treiber - Programmierung
 
Um ehrlich zu sein, dachte ich, daß der Filter-Hooktreiber nur ab Windows 2000 Server existiert.

tdi_fw kann diese Methode benutzen, aber soweit ich es verstanden habe, wird standardmäßig eine andere verwendet. Müßte ich mir wohl den Source mal zu Gemüte führen.

mumu 14. Sep 2005 11:43

Re: Treiber - Programmierung
 
ok, also wer lesen kann ist klar im vorteil. ja, bei dem treiber hat man mehrere möglichkeiten, mit
Code:
#define USE_TDI_HOOKING
kann man TDI-Hooking aktivieren. Dann hat man eben die möglichkeit einen Filter-Treiber zu installieren (ist bei meinem Windows XP Prof. auch vorhanden.) und was für Möglichkeiten gibt es noch? Hast du es dir schonmal angeschaut?

was ist der Unterschied zwischen nem Filter-Treiber (wie das auch drvfltip ist) und nem TDI-Hooking Treiber?


Alle Zeitangaben in WEZ +1. Es ist jetzt 19:16 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz