bugDotGNU Portable.NET - Bugs: bug #53324, NetBIOS Responder should respond...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #53324: NetBIOS Responder should respond to "*" names for lwIP 2.0.2

Submitted by:  Ray Abram <rambooka>
Submitted on:  Mon 12 Mar 2018 02:26:39 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Mon 12 Mar 2018 02:47:06 AM UTC, comment #1:

just noticed that this is posted against the wrong project.
--> can the sys admin please delete this post, as i have now posted in the correct project

Thanks

Ray Abram <rambooka>
Mon 12 Mar 2018 02:26:39 AM UTC, original submission:

If you want to ask a PC what it's NetBIOS name is then you send that PC a query with the name * and then that pc sends back it's NetBIOS name

When you use Angry IP to scan all PC's on a network, Angry IP sends a NetBIOS request to each PC with the NetBIOS name as *
the file "netbiosns.c" does NOT know how to handle a * name

The Arduino NetBIOS code base for the ESP8266 has an implementation that does respond to * names. the code is here: https://github.com/esp8266/Arduino/commit/1f7989b31d26d7df9776a08f36d685eae7ac8f99

I have taken the concepts from it and merged them into lwIP V2.0.2's "lwip\apps\netbiosns\netbiosns.c" so that it can respond to NetBIOS commands addressed to *

maybe my modifications can be merged into the lwIP next release ?

I have also changed the api "netbiosns_set_name()" to make the incoming name into upper case as per NetBIOS spec's

Ray Abram <rambooka>

 

Attached Files
file #43520:  netbiosns.c added by rambooka (16KiB - text/plain - updated "netbiosns.c" to support * name requests)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rambooka (Submitted the item)
  • -email is unavailable- added by rambooka
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-03-12 rambooka Attached File- => Added netbiosns.c, #43520
        Carbon-Copy- => Added -email is unavailable-

    Back to the top


    Powered by Savane 3.3