Re: Network Utility
Re: Network Utility
- Subject: Re: Network Utility
- From: "Justin C. Walker" <email@hidden>
- Date: Tue, 21 Mar 2006 20:30:42 -0800
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:
This email sent to email@hidden