Need detail on TDI NBNS Request(SSLVPN)
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > WebserverTalk Community > VPN > Need detail on TDI NBNS Request(SSLVPN)




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Need detail on TDI NBNS Request(SSLVPN)  
JothiKumar


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-12-05 07:46 AM

Hi All,
I am trying to resolve short name in my TDI filter.
The short name is not resolvable in the local host/DNS.
I would like to pass this short name to the socks server for
resolution.

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.
Its a local broadcast address.

Following steps I followed & working fine.
1. The NBNS request are filtered in the driver & sent to my SSLClient
application.
2. During Every application(IE) request, I am creating a listening
socket for to accept data IN for
the application & another socket to send data to my socks server.
3. Read NBNS packet, Encrypted NBNS Request are converted in to text
format (Decode Algorithm)
to identify the short name request requested in the upper layer(IE).
This details are available in RFC 1002 & 1003.
4. The decoded short name sent to the socks server to resolve the
same.
5. Socks Server returning the resolved IP that are configured in the
clean side DNS.

Following are not working
6. Formed NBNS response as per RFC 1001 & 1002. This packet formate is
not  IP formate.
This contains 4bytes of header/flag(Not clear), Destination Ip,
Destination port , length of pkt, NBNS Response.
There is no source ip/port information. 90 % sure NBNS packet I
formed is correct except first 4 bytes.
If anybody know detail on this please send the info.
7. Using sentto command sent NBNS response packet to the upper
layer(Sent to listening loop back ip/port).
Shows No.of bytes sent with status success. I am trying to send
the NBNS response packet to the application that
requested the NBNS to give acknowledge. Before I send NBNS
response to the application(IE) requested,
IE is getting completed with "The Page Can not be displayed".
There is no response on the NBNS response i sent to the
application. Pls give me detail regarding this.

In general the broadcast NBNS packets are sent to all PC's, Whoever is
having a match on the short name will respond with NBNS response, But
in my application I am forming NBNS reply & there is no option to
get/specify  source ip/port info.
I am specifying destination ip as 127.0.0.1 & port as 137. Please give
me detail regarding this.

Note:
a. The packet received in the TDI level is not the exact Ethernet
packet format as we are looking in ethereal.
b. Partially some fields are identified & remaining are still i am
investigating(may be it represents NBNS request/flags).

Regards,
srmjothi





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:30 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register