Re:Critical vulnerability of NPM package macaddress
by okdana on Monday June 11, 2018 @12:18PM
(#17285572)
How are you going to white-list network-interface names? On Linux at least you can name them almost anything you want:
The only interface-name restrictions iproute2 sets is that they can't contain NUL, slash, or white space, and they can't be longer than 15 characters.
[ Parent
| on HN ]
Re:Critical vulnerability of NPM package macaddress
by tedunangst on Monday June 11, 2018 @12:36PM
(#17285814)
So I guess the question is does a regex of [^/ ]{1,15} count as a whitelist or a blacklist?