1
1
mirror of https://github.com/eblot/pybootd.git synced 2024-09-17 17:09:33 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
Emmanuel Blot
dccf4bf96f Merge pull request #9 from DavidDecotigny/decot-master
Decot master
2016-10-05 11:14:46 +02:00
David Decotigny
55c5cf363c don't choke too hard on unknown options. 2016-09-15 16:46:32 -07:00
David Decotigny
4cfb701431 remove unneeded space 2016-09-15 16:46:32 -07:00
David Decotigny
8162ce912d Allow to advertise serveral DNS servers.
Multiple DNS servers can be specified, separated with ';'. Most
clients will consider only the 1st one listed. The special 'auto'
keyword is updated to advertise all nameservers used by the DHCP
server.
2016-09-15 16:46:32 -07:00
David Decotigny
ee5543ba97 Allow to configure client IP from a fixed MAC/IP mapping.
In addition to dynamic IP allocation from a pool of addresses, provide
a way to configure clients with static IPs configured in ini file: new
section "static_dhcp" allows to configure static mapping MAC ->
IP. All clients in these sections will be allowed by default (ACLs)
unless explicitely disabled in "mac" config section.

If pool_count is set to 0, only static IP allocation is supported, but
pool_start must still be defined to be a valid IP address in the local
network (eg. IP of the DHCP server).
2016-09-15 16:46:32 -07:00
David Decotigny
e4ea373068 Fix legacy DHCP protocol handling.
Some bootp ROMs don't send an explicit dhcp DISCOVER: in case we allow
"simple DHCP", handle those packets as if they were dhcp DISCOVER
packets.
2016-09-15 16:46:32 -07:00
David Decotigny
810b027efe Make Netifaces an optional module dependency.
When not available, iproute is used (Unix-specific).
2016-09-15 16:46:32 -07:00
David Decotigny
8112480bee Make pkg_resources an optional module dependency 2016-09-15 16:46:32 -07:00
David Decotigny
2e88c19568 pkg_resources doesnt raise IOError but its own 2016-09-15 16:46:32 -07:00
Emmanuel Blot
d4ad0a479d Fix #2. Thanks for the report 2014-09-15 14:39:26 +02:00
Emmanuel Blot
7fd7d045fd Invalid interface settings 2011-05-24 15:15:26 +02:00
Emmanuel Blot
5249ed9ef5 Fix forward.sh script 2011-05-24 14:32:16 +02:00
Emmanuel Blot
c216428e99 Fix syntax issue in forward.sh script 2011-05-24 14:25:24 +02:00
Emmanuel Blot
c24a402b86 Simpler syntax for Linux forwarding commands 2011-05-23 15:56:53 +02:00
Emmanuel Blot
6268386efc Improve forward script and add Linux IP forwarding support 2011-05-23 12:06:32 +02:00
Emmanuel Blot
99c1fb9694 Fix up setup.py file with valid PyPi specifiers 2011-05-22 16:01:34 +02:00
Emmanuel Blot
d1f0bfcbf7 Fix English grammar 2011-05-22 15:53:57 +02:00
Emmanuel Blot
d67e96da08 Documentation complete. 2011-05-22 14:05:42 +02:00
Emmanuel Blot
5c38a55d90 Start documentation of the configuration options 2011-05-22 02:44:05 +02:00
Emmanuel Blot
53b0511166 Fix up a bug with optional configuration section
Add a sample configuration section in README file
2011-05-21 03:04:03 +02:00
Emmanuel Blot
ddd33a4b41 Remove trailing spaces 2011-05-21 00:22:58 +02:00
Emmanuel Blot
89405ec150 Initial commit 2011-05-21 00:21:53 +02:00