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

74 Commits

Author SHA1 Message Date
Emmanuel Blot
f4d0ab63e9 Add GitHub badge 2020-04-12 19:20:38 +02:00
Emmanuel Blot
a8dbc07817 Add basic CI rule to build package 2020-04-12 19:18:25 +02:00
Emmanuel Blot
f422eb13f5 Improve setup script. 2020-04-12 19:10:19 +02:00
Emmanuel Blot
1556f78b18 Debian no longer provides all the files required to install from PXE... 2020-04-12 18:44:30 +02:00
Emmanuel Blot
40abb45ddd Add a trace and fix remote file size 2020-04-12 18:38:17 +02:00
Emmanuel Blot
d284d5bfce Add support for remote file size evaluation 2020-04-12 18:31:23 +02:00
Emmanuel Blot
45f79fc53f Fix socket's bindtodevice for Linux hosts 2020-04-12 18:17:53 +02:00
Emmanuel Blot
b96e352c34 Do not use ThreadingHTTPServer which has only been introduced w/ Py3.7 2020-04-12 18:11:19 +02:00
Emmanuel Blot
0eacc7899b Clean up dependencies 2020-04-10 21:38:30 +02:00
Emmanuel Blot
3561be6722 Fix a regression when no UUID is emitted. 2020-04-10 21:32:50 +02:00
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