I want to start a project for class CS.
Can someone give an idea of ββhow to write a tool that will display information about the network and state device, IP information, open ports, etc.
I will use OS X.
There are several things you can use to discover hosts on a network.
SNMP . SNMP get sysName.0 , SNMP ( OID). , , NAS .. sysDescr.0 , ( ) , sysName.0. Mac OS X NetSNMP. SNMP, SNMP . , /usr/share/snmp/mibs.
sysName.0
sysDescr.0
/usr/share/snmp/mibs
( root, - ping ). . ping BSD, Mac OS X, - Apple. ping root setuid, , ping root , root ( non-root ping). , ping root, .
ping
root
setuid
Zeroconf/Bonjour . Core Foundation CFNetServices Foundation NSNetServices. Mac , . Windows Linux, , , , .
, , . , , , IP-. TCP /etc/services, . POSIX getnameinfo.
/etc/services
getnameinfo
Source: https://habr.com/ru/post/1763910/More articles:How to sum 2 joda-time DateTime values ββ(one contains date and zero time, and the other contains time and zero date)? - javaTutorial or Book on the implementation of metalanguage in Javascript - javascripthttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1763907/copy-magento-categories-to-parents&usg=ALkJrhhCr0R7Iw6ugrNCSDFhd-5DnMylEgHow are all the binding functions of Boost, Boost, Boost Signals, and C ++ related to each other? - c ++OData WCF Data Services - Related data (by foreign key) is not displayed when a service is called - linqAndroid flash flash - androidWhere to save inner classes? - c #How to insert Evince? - cHow to get WPF element sizes at runtime without specifying them at compile time - c #Inheritance and foreign key constraints using postgresql? - inheritanceAll Articles