Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289050 - net-misc/dhcpcd-4.0.13: feature request for whitelist configuration
Summary: net-misc/dhcpcd-4.0.13: feature request for whitelist configuration
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 14:14 UTC by Chris Frederick
Modified: 2009-12-30 16:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified ebuild (dhcpcd-4.0.13.ebuild,2.83 KB, text/plain)
2009-10-14 14:15 UTC, Chris Frederick
Details
Patch to add whitelist to dhcpcd-4.0.13 (dhcpcd-4.0.13-whitelist.patch,3.69 KB, patch)
2009-10-14 14:16 UTC, Chris Frederick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Frederick 2009-10-14 14:14:14 UTC
This patch adds "-whitelist", and "-W" to the command line options and "whitelist" to the dhcpcd.conf file.  This allows you to use whitelisting for validating dhcp servers.

Reproducible: Always

Steps to Reproduce:
1. Assuming you have your dhcp server on 192.168.0.1
2. /sbin/dhcpcd -whitelist 192.168.0.1
3. User violates policy and adds a wireless router with dhcp enabled to the network
4. dhcpcd will ignore the dhcp replies from the unknown router
Comment 1 Chris Frederick 2009-10-14 14:15:16 UTC
Created attachment 207087 [details]
Modified ebuild

Ebuild adds whitelist use flag
Comment 2 Chris Frederick 2009-10-14 14:16:25 UTC
Created attachment 207089 [details, diff]
Patch to add whitelist to dhcpcd-4.0.13

The patch that does all the work
Comment 3 William Hubbs gentoo-dev 2009-12-30 16:48:29 UTC
This feature has been added upstream in dhcpcd-5.x.