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

84 Commits

Author SHA1 Message Date
Emmanuel Blot
c6362196fd Fix issues, Python 2.7 is now a requirement
Six module is also require, to prepare for Python3 support
2016-10-05 14:35:03 +02:00
Emmanuel Blot
d5ef11770a Code cleanup, PEP8 2016-10-05 12:21:03 +02:00
Emmanuel Blot
84027667f2 Bump up version and update AUTHORS 2016-10-05 12:17:53 +02:00
Emmanuel Blot
a3550d4bb9 Merge pull request #7 from skrubly/master
Added always_check option for http auth
2016-10-05 11:28:09 +02:00
Emmanuel Blot
503be03b53 Merge pull request #3 from cloudbase/master 2016-10-05 11:27:11 +02:00
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
skrubly
982a6728a0 Added always_check option for http auth 2015-06-18 10:47:54 -07:00
Alessandro Pilotti
a0bc0311bd Adds support for reserved IPs 2015-02-21 18:41:56 +02:00
Alessandro Pilotti
a1b0bc6ee4 Fixes relay agent DHCP issues 2015-02-20 05:52:46 +02:00
Alessandro Pilotti
cf9ccd23f4 Adds custom gateway support 2015-02-18 01:26:33 +02:00
Alessandro Pilotti
5b7e756764 Fixes issue with empty netmasks on host interfaces
Pybootd fails is the host contains interfaces where the
netmask is not set, for example in case on auto assigned
RFC 3927 IPs (169.254.0.0./16).
2014-12-02 19:39:00 +02:00
Alessandro Pilotti
f5ff5f3825 Fix DistributionNotFound issue
When deploying pybootd using PyInstaller, an exception
is raised by pkg_resources preventing the module from
being loaded.
2014-11-02 13:17:44 +02:00
Alessandro Pilotti
a62124c6a9 Adds set_gateway option
The DHCP gatewy option should not be set in cases in which the
interface where pybootd is bound in not meant to act as the gateway
for the host booted via PXE.
2014-10-26 19:09:58 +02: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