Bryan,
With all my respect to MS in general and to you in particular I can agree
with you in principle only, regretfully practice is really different. Easy
installation, NT4.0 support, transparent dial-up support, full control over
protocols registration on the system (for virus protection) are advantages
of NDIS-hooking approach. The only disadvantage is no support from MS. As
for compatibility between NT releases and SP’s, you can take NDIS-hooking
binary on the following link and try (there are two ini-files, one for
WinNT4.0 another for 2k and higher). This driver is a bit similar to
PASSTHRU, it’s only limited to TCPIP protocol (including
TCPIP_WANARP/RASARP) and simply traces size of the sent/received packet. I
would appreciate if you find it incompatible with any existing NT releases
(from NT4 till XP) or SP’s.
Warning: Driver is provided with warranty of any kind. Regretfully, I have
not chance to test it on system with more then 2 processors.
http://www.ntndis.com/downloads/ndispim.zip
BR,
Vadim
-----Original Message-----
From: Bryan Burgin [mailto:xxxxx@microsoft.com]
Sent: Friday, January 18, 2002 12:17 AM
To: NT Developers Interest List
Cc: xxxxx@dolce.it; xxxxx@pcausa.com
Subject: RE: [ntdev] RE: Hooking
Matteo,
We strongly object to using the so-called NDIS hooking scheme. This is not
an architecturally supported way of doing this and any implementation
dependent reverse engineering is likely to break from release to release or
even from SP to SP. There are supported and documented methods to achieve
the results you desire in the relevant DDKs.
The proper and supported method is the PASSTHRU sample in the Windows 2000
and (updated) in the Windows XP DDK.
Bryan S. Burgin
xxxxx@microsoft.com
bburgin x58049 40/2153
This posting is provided “AS IS” with no warranties, and confers no rights ?
2002 Microsoft Corporation. All rights reserved.
-----Original Message-----
From: Vadim Smirnov [mailto:xxxxx@pcausa.com]
Sent: Thursday, January 17, 2002 9:31 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Hooking
There are ways. Try to look at this
http://www.ntndis.com/articles/firewalleng.htm?. The actual technology is
rather similar to the same in user-mode.
?
BR,
Vadim
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Matteo Pelati
Sent: Thursday, January 17, 2002 7:36 PM
To: NT Developers Interest List
Subject: [ntdev] Hooking
I want to hook these functions exported from ndis.sys
?
NdisRegisterProtocol
NdisDeregisterProtocol
NdisOpenAdapter
NdisCloseAdapter
?
Anyone has an example of how that can be done ?
?
Thnaks
Matteo
You are currently subscribed to ntdev as: xxxxx@pcausa.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com