Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network Utility




On Mar 21, 2006, at 19:55 , Tim michals wrote:

Is this an open source app?  I'm trying to create an
app that is simlar.

The app, AFAIK, is not open source. I am not even sure that the functionality invoked by each of the tabs is open source, but there are open source equivalents. All the below, except for nmap, are available on the darwin site.


   Info - ifconfig/netstat
   Netstat - netstat
   AppleTalk - appletalk
   Ping - ping
   Lookup - nslookup/dig
   Traceroute - traceroute
   Whois - whois
   Finger - finger
   Port Scan - nmap

For nmap, check <http://www.insecure.org>.

If not, here are a couple of questions:
- can the entire network (TCP/IP) stack be restarted?
ie, stop and restarted?

What do you mean by "restart", and why do you want to do that?

The Darwin/BSD stack really doesn't have that kind of functionality, for almost any definition (short of restart == reboot).

- I have a couple of examples to get the MAC address
for each interface, how can the IP address be
retreived? What happen if it is DHCP assigned?
(just use sysctrl to get the info, ie like ifconfig?)

"man getifaddrs". Also, searching the archives couldn't hurt. It will often get you started more quickly.


And, since you ask, the notion of "the IP address" is ill-defined.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds
--------
Some people have a mental horizon of radius zero, and
call it their point of view.
  -- David Hilbert
--------


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden
References: 
 >Network Utility (From: Tim michals <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.