Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Glider | 2,185 | 3 | 3 months ago | 57 | May 12, 2022 | 25 | gpl-3.0 | Go | ||
glider is a forward proxy with multiple protocols support, and also a dns/dhcp server with ipset management features(like dnsmasq). | ||||||||||
Freeradius Server | 1,844 | 16 hours ago | 56 | gpl-2.0 | C | |||||
FreeRADIUS - A multi-protocol policy server. | ||||||||||
Dhcplb | 1,008 | a month ago | May 26, 2021 | 4 | mit | Go | ||||
dhcplb is Facebook's implementation of a load balancer for DHCP. | ||||||||||
Coredhcp | 823 | 3 | a month ago | 9 | April 16, 2021 | 41 | mit | Go | ||
Fast, multithreaded, modular and extensible DHCP server written in Go | ||||||||||
Dhcpwn | 639 | 3 | 5 years ago | 4 | June 04, 2018 | gpl-3.0 | Python | |||
All your IPs are belong to us. | ||||||||||
Dhcp | 572 | 131 | 21 days ago | 17 | April 20, 2021 | 38 | bsd-3-clause | Go | ||
DHCPv6 and DHCPv4 packet library, client and server written in Go | ||||||||||
Glass Isc Dhcp | 510 | 2 years ago | 53 | mit | CSS | |||||
Glass - ISC DHCP Server Interface | ||||||||||
Pypxe | 472 | 6 months ago | 8 | April 03, 2022 | 11 | mit | Python | |||
Pure Python PXE (DHCP-(Proxy)/TFTP/HTTP/NBD) Server | ||||||||||
Node Dhcp | 256 | 4 | 3 | a year ago | 22 | October 02, 2020 | 30 | mit | JavaScript | |
A DHCP server and client written in pure JavaScript | ||||||||||
Etcdhcp | 244 | 6 years ago | May 29, 2021 | 2 | gpl-3.0 | Go | ||||
A DHCP server backed by etcd |
Table of Contents
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
cd /opt git clone https://github.com/Akkadius/glass-isc-dhcp.git cd glass-isc-dhcp mkdir logs chmod u+x ./bin/ -R chmod u+x *.sh sudo npm install sudo npm install forever -g sudo npm start
sed -i '/\/etc\/dhcp\/\*\*/a\ \ \/var\/lib\/dhcp\/\*\* lrw,' /etc/apparmor.d/usr.sbin.dhcpd sed -i '/\/etc\/dhcp\/\*\*/a\ \ \/opt\/glass-isc-dhcp\/\*\* lrw,' /etc/apparmor.d/usr.sbin.dhcpd service apparmor restart
Defaults
{ "admin_user": "glassadmin", "admin_password": "glassadmin", "leases_file": "/var/lib/dhcp/dhcpd.leases", "log_file": "/var/log/dhcp.log", "config_file": "/etc/dhcp/dhcpd.conf", "shared_network_critical_threshold": "95", "shared_network_warning_threshold": "0", "slack_webhook_url": "", "slack_alert_channel": "", "leases_per_minute_threshold": "50", "ip_ranges_to_allow": [ "" ], "email_alert_to": "", "sms_alert_to": "" }
crontab -l > mycrontab echo "@reboot cd /opt/glass-isc-dhcp && /usr/bin/forever --minUptime 10000 --spinSleepTime 10000 -a -o ./logs/glass-process.log -e ./logs/glass-error.log ./bin/www" >> mycrontab crontab mycrontab rm mycrontab
iptables -A INPUT -p tcp --dport 3000 -s 127.0.0.0/8 -j ACCEPT iptables -A INPUT -p tcp --dport 3000 -s x.x.x.x/24 -j ACCEPT iptables -A INPUT -p tcp --dport 3000 -j REJECT --reject-with icmp-port-unreachable
sudo apt-get install -y unzip sudo apt-get install -y libtool git clone https://github.com/Akkadius/dhcpd-pools.git cd /tmp wget https://github.com/troydhanson/uthash/archive/master.zip unzip master.zip cd /tmp/dhcpd-pools ./bootstrap # only when building git clone ./configure --with-uthash=/tmp/uthash-master/include make -j4 make check make install
Output example truncated - some info redacted
"64.90.X.X": { "start": 1507177832, "end": 1507181432, "mac": "14:91:82:6e:77:0a", "mac_oui_vendor": "Belkin International Inc.", "options": { "ClientMac": "14:91:82:6e:77:a", "ClientIP": "64.90.X.X", "vendor-class-identifier": "udhcp 1.19.4", "vendor-string": "udhcp 1.19.4", "agent.remote-id": "3:c:0:0:d1:d4:29:81:f6:3:2:8a:0:be" }, "host": "Vargo" }, "209.212.X.X": { "start": 1507177401, "end": 1507181001, "mac": "20:aa:4b:12:bd:9b", "mac_oui_vendor": "Cisco-Linksys, LLC", "options": { "ClientMac": "20:aa:4b:12:bd:9b", "ClientIP": "209.212.X.X", "agent.remote-id": "3:c:0:0:d1:d4:29:81:f6:3:1:4e:4:51" }, "host": "snarley55" }, ...
Output example truncated - some info redacted
{ "subnets": [ { "location": "69.168.x.x/26", "range": "69.168.x.x - 69.168.x.x", "defined": 55, "used": 0, "touched": 0, "free": 55 }, { "location": "10.70.48.0/21", "range": "10.70.48.2 - 10.70.55.254", "defined": 2045, "used": 0, "touched": 0, "free": 2045 }, ...
Output example truncated - some info redacted
{ "100000": "Private", "100501": "PEGATRON CORPORATION", "100723": "IEEE Registration Authority", "101212": "Vivo International Corporation Pty Ltd", "101218": "Korins Inc.", "101248": "ITG, Inc.", "101250": "Integrated Device Technology (Malaysia) Sdn. Bhd.", "101331": "Technicolor", "102279": "ZeroDesktop, Inc.", ...
Output example
{ "cpu_utilization": 3.1, "leases_per_second": 4, "leases_per_minute": 310, "host_name": "DHCP-Server" }
Output example truncated
{ "Belkin International Inc.": 1230, "Cisco-Linksys, LLC": 1345, "Calix Inc.": 4368, "Billion Electric Co. Ltd.": 404, "Apple, Inc.": 528, "Wistron Corporation": 18, "ASUSTek COMPUTER INC.": 266, "Zyxel Communications Corporation": 320, "Billion Electric Co., Ltd.": 611, "NETGEAR": 2797, "Cisco Systems, Inc": 65, "Hewlett Packard": 87, "Sonicwall": 11, ...
Output example truncated
{ "149182": { "count": 131, "mac_prefix": "149182", "vendor": "Belkin International Inc." }, "180373": { "count": 4, "mac_prefix": "180373", "vendor": "Dell Inc." }, "186590": { "count": 1, "mac_prefix": "186590", "vendor": "Apple, Inc." }, ...
Output example truncated - some info redacted
{ "20:aa:4b:1d:d0:17": { "request_for": "68.170.X.X", "request_via": "209.212.X.X", "request_count": 139, "request_vendor": "Cisco-Linksys, LLC" }, "58:6d:8f:aa:37:6a": { "request_for": "68.170.X.X", "request_via": "209.212.X.X", "request_count": 171, "request_vendor": "Cisco-Linksys, LLC" }, ...