From: mjr@hussar.dco.dec.com (Marcus J. "will do TCP/IP for food" Ranum)
Subject: Re: unique identification of DECStation
Date: Fri, 3 Jul 1992 20:48:40 GMT [thread overview]
Message-ID: <1992Jul3.204840.26318@decuac.dec.com> (raw)
In-Reply-To: 1992Jul2.222051.27703@slc.com
>The existing method involves the extraction of the ethernet address
>from an ethernet device, but this has the drawback of requiring
>knowledge of all supported device types (ln?, xn? etc.).
You also need to consider that the ethernet address can be
changed - it is not immutable. Also a your copy protection scheme
be careful not to use the first configured network interface, since
it might be a ci connect.
>Can anyone tell me if there is a neat way of extracting some hardware
>bound identification?
Not really. You have to do the usual:
if (ioctl(s, SIOCRPHYSADDR, (caddr_t) &hw_addr) < 0) {
It gets ugly in a hurry, since if you just pick the first you
can get hosed by ci connections or hosts with multiple ether cards. I
imagine if I wanted to get around a copy protect it'd take about an
hour to write a network device that didn't actually do anything but
have a predeterimined ethernet number...
mjr.
next prev parent reply other threads:[~1992-07-03 20:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-07-02 22:20 unique identification of DECStation Chris Pinkham
1992-07-03 20:48 ` Marcus J. "will do TCP/IP for food" Ranum [this message]
1992-07-06 19:49 ` Lance Franklin
1992-07-06 16:00 ` M Darrin Chaney
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox