That is just some diff someone sent to a mailing list, one real nifty feature of OpenBSD's ifconfig(8) is 'lladdr random', which will randomly assign a new MAC address to an interface.
Apparently well received by developers in airport lounges.
According to the diff (and its accompanying message) this is what it supplements. It allows one to specify “nsa” instead of “random”, and it’ll fill in the first three bytes (with 00:20:91) for you.
That's funny. I like screwing with them, too. My last, temporary keypair was labeled "[email protected]." Smart people got a nice laugh out of it. Then, there was another category of persons that had sudden concerns about my true identity. They also had encrypted, authenticated mockery in their inbox upon voicing them.
Completely offtopic, but am I the only one who don't like the usage of ! in the strcmp checks? To me conceptually !cond is checking for falsity, but the return value from strcmp is not logically a boolean
It's just a shorthand for '== 0' (since !0 is true, and !<non-zero> is false). strcmp(3) returns 0 when the two strings are identical. So "if (!strcmp(a, b))" means "if the strings a and b are the same.
In the general case I'm with you, but I think !strcmp is a very common idiom that makes me(and most C programmers) go "string equality". There is also the streq(a, b) camp that #define streq !strcmp.
[+] [-] brynet|9 years ago|reply
Apparently well received by developers in airport lounges.
[+] [-] brynet|9 years ago|reply
http://man.openbsd.org/OpenBSD-current/man5/hostname.if.5
[+] [-] egwynn|9 years ago|reply
[+] [-] Hello71|9 years ago|reply
[+] [-] atmosx|9 years ago|reply
[+] [-] trothamel|9 years ago|reply
[+] [-] int0x80|9 years ago|reply
[+] [-] unknown|9 years ago|reply
[deleted]
[+] [-] nickpsecurity|9 years ago|reply
[+] [-] bitwize|9 years ago|reply
And smart FBI agents think it's very funny identity fraud.
[+] [-] poizan42|9 years ago|reply
[+] [-] bpineau|9 years ago|reply
[+] [-] int0x80|9 years ago|reply
[+] [-] moosterv|9 years ago|reply