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

64 Commits

Author SHA1 Message Date
Emmanuel Blot
8888451fcb Update documentation with new options 2020-04-10 21:32:25 +02:00
Emmanuel Blot
9e5b35a12d Fix invalid variable to track buggy clients 2020-04-10 18:40:07 +02:00
Emmanuel Blot
668a1d94d9 Update config file 2020-04-10 18:33:18 +02:00
Emmanuel Blot
352f2c16f5 Initial support for architecture-based bootfile selection 2020-04-10 18:31:00 +02:00
Emmanuel Blot
867639db90 Deal with the STUPID Intel PXE client implementation
Such buggy clients only accepts 255.255.255.255 as broadcast address,
which has been known as to-be-avoided for over a decade.
2020-04-10 18:07:15 +02:00
Emmanuel Blot
12b719bddb Fix UUID string generation (more to go) 2020-04-10 14:49:47 +02:00
Emmanuel Blot
35d930e9c1 Add missing AND operator 2020-01-08 09:24:19 +01:00
Emmanuel Blot
b4c9d26feb Fix syntax and increase patch level 2019-09-19 10:27:31 +02:00
Emmanuel Blot
7c66572388 Update AUTHORS 2019-09-19 10:18:09 +02:00
Emmanuel Blot
112354dd44 Fix byte strings 2019-09-19 10:04:34 +02:00
Emmanuel Blot
f08a6cf99d Fix block number overflow
* wrap around block number on 16-bit
* use positive integers for block number
2019-09-19 09:58:48 +02:00
Emmanuel Blot
bbf0b15edb Merge branch 'python3' 2019-09-06 18:56:37 +02:00
Emmanuel Blot
79d223d3fe Fix #6 2019-09-06 18:54:10 +02:00
Emmanuel Blot
3c9603ab5d Should address #13: infinite padding decoding loop 2019-09-06 18:45:12 +02:00
Emmanuel Blot
9992ae524b Fix package generation 2019-09-06 18:44:11 +02:00
Emmanuel Blot
1ba2f7d609 Tweak setup.py 2019-09-06 16:23:56 +02:00
Emmanuel Blot
be1195b25f Add a very basic HTTP server
Rework daemon initialization and termination
Rename HTTPd test server
Update documentation
2019-09-06 16:20:54 +02:00
Emmanuel Blot
a1cdddd8fa Add an exception for local configuration scripts 2019-09-06 11:17:49 +02:00
Emmanuel Blot
22e8079c16 Adapt httpd test server to Py3 2019-09-06 11:16:00 +02:00
Emmanuel Blot
9b5184f461 Remove UTF8 explicit def 2019-09-06 11:15:42 +02:00
Emmanuel Blot
d053b2ed11 Fix doc typo 2019-09-05 17:48:12 +02:00
Emmanuel Blot
3a2148537a Update doc, and use d suffix for local daemons/servers 2019-09-05 17:44:14 +02:00
Emmanuel Blot
6d8a7111cb Fix log messages 2019-09-05 17:08:57 +02:00
Emmanuel Blot
973f615736 Rework TFTP error codes 2019-09-05 12:01:04 +02:00
Emmanuel Blot
38bd055b15 More fixin'... 2019-09-05 11:52:52 +02:00
Emmanuel Blot
841274ca52 Do not use uname() 2019-09-05 11:06:38 +02:00
Emmanuel Blot
23b8327ff1 Fix several type error issues
* bytes vs. int
 * string vs. bytes
2019-09-05 11:06:14 +02:00
Emmanuel Blot
02c32b412c More cleanup and removing old useless stuff 2019-09-03 19:12:16 +02:00
Emmanuel Blot
d1231d55c0 Start porting to Py3 only and fix old syntax 2019-09-03 18:40:34 +02:00
Emmanuel Blot
efe3ff3b40 Start up all daemons 2016-10-05 14:37:35 +02:00
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