[pso] pso, t5 w2k probleme (fwd)
Octavian PURDILA
pso@cursuri.cs.pub.ro
Sun, 30 May 2004 13:28:32 +0300 (EEST)
---------- Forwarded message ----------
Date: Sat, 29 May 2004 07:47:59 -0700 (PDT)
From: Herisanu Ioan <herise2000@yahoo.com>
To: tavi@cs.pub.ro
Subject: pso, t5 w2k probleme
1.
regulile sunt valabile pt ambele protovcoale? adica si
pre tcp si pe udp?
2.Am probleme la incarcarea functie de hook in modulul
ip.
iata codul.
PDEVICE_OBJECT ipDeviceObject=NULL;
PFILE_OBJECT ipFileObject=NULL;
UNICODE_STRING IPname;
RtlInitUnicodeString(&IPname,
DD_IPFLTRDRVR_DEVICE_NAME);
status =
IoGetDeviceObjectPointer(&IPname,STANDARD_RIGHTS_ALL,
&ipFileObject,
&ipDeviceObject);
if( status == STATUS_OBJECT_NAME_INVALID)
DbgPrint("Success1\n");
if( status == STATUS_INVALID_PARAMETER)
DbgPrint("Success2\n");
if( status ==STATUS_INSUFFICIENT_RESOURCES)
DbgPrint("Success3\n");
if( status ==STATUS_PRIVILEGE_NOT_HELD)
DbgPrint("Success4\n");
if( status ==STATUS_OBJECT_TYPE_MISMATCH)
DbgPrint("Success5\n");
if( NT_SUCCESS(status))
DbgPrint("Success\n");
else
DbgPrint("Eroare\n");
Problema e ca mie nu-mi afiseaza decat Eroare. Care e
problema? drepturi? activarea optiunii de ip filtering
pe placa de retea?(adica pt toate adaptoarele)? pe
astea le-am facut. am incercat cam toate combinatiile.
sunt putin disperat. ce nu fac bine?
Multumesc, Herisanu Ioan 341C3
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/