Jump to content

Is it possible to log the NetBIOS name instead of the IP?


Eiolon

Recommended Posts

This is an internal project I am working on.  I know that the NetBIOS cannot be routed outside the LAN but it can go through routers and switches so I am hoping this can be accomplished via PHP.

 

Any ways, as the subject says, I'd like to log the name of the computer instead of the IP address if possible.

 

Thanks in advance for your help!

The netbios name doesn't come along with an http request (which is what php works over).  But you may be able to resolve the ip address back to a netbios name from your script, perhaps with an external program.  I can't help you with details of which program unfortunately.  Are you running windows or linux on the php server?

http://us2.php.net/manual/en/ref.geoip.php

 

It cost money but it gets the job done beyond what doing a cURL or fopen on a samsapde site can get you.  Most sites that use that Meet local singles in your city thing get your city off geoip or some derivation of it.  I think it can retrieve netbios info also

Because some ISP require NetBIOS of systems to be aviable to them, which you might be able to do via  2 part system, but i'd have to say that odds are you can't get it unless you had some sort of script on the computers that forced them to send the info via post to your script over a LAN.  On a wLAN/Internet system its be nearly impossible.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.