How to obtain short name string in TDI Filter

Hi,
I am trying to resolve short name in my TDI filter.
I am getting ip xx.xx.xx.255 with port 137/138/139 response(RFC
1002/1003)in TDI_CONNECT for short name request frm IE. The short name
is not resolvable in the local host/DNS. I would like to pass this short
name to server for resolution.

Is it possible to find the URL we are requesting from IE(or other
application) in TDI Client. If so how to obtain URL frm my IRP that i am
receiving in TDI_CONNECT. Is this embedded in to IRP that i am receiving
in TDI filter?

Regards,
Jothi.

SRM Jothi wrote:

Hi,
I am trying to resolve short name in my TDI filter.
I am getting ip xx.xx.xx.255 with port 137/138/139 response(RFC
1002/1003)in TDI_CONNECT for short name request frm IE. The short name
is not resolvable in the local host/DNS. I would like to pass this
short name to server for resolution.

I believe you are trying to do reverse lookup (IP address -> DNS name).
You should use QType = PTR in your DNS query.
Consult the RFC1035 for details.

Is it possible to find the URL we are requesting from IE(or other
application) in TDI Client. If so how to obtain URL frm my IRP that i
am receiving in TDI_CONNECT. Is this embedded in to IRP that i am
receiving in TDI filter?

Regards,
Jothi.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@bitdefender.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Ignorance more frequently begets confidence than does knowledge.
— Charles Darwin


This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/