Daniel Barlow
b438a0fd17
handlersocket must be bound before calling select()
...
this is due to a rather odd (imo) decision in luasocket which
says that the underlying socket (and therefore its file
descriptor) isn't actually created until we call something
that lets it work out whether ipv4 or ipv6
10 months ago
Daniel Barlow
2388e4ca24
recvfrom(-1) is not the same as recvfrom()
10 months ago
Daniel Barlow
f98b9c5c97
add README to say where Tufted came from
10 months ago
Daniel Barlow
1a29e2ba0f
use locally modified tftp.lua instead of upstream tufty
10 months ago
Daniel Barlow
118f78f334
remove "using luasocket" message
10 months ago
Daniel Barlow
a258456f25
check return value of bind
...
is common to forget to run this as root, in which case we would like
to see the permission denied error when it tries to open port 69
10 months ago
Daniel Barlow
71e37f1b96
update `listen` docstring
10 months ago
Daniel Barlow
55688c14ed
pass remote host and port to callback as params 2..3
...
This allows the callback to handle the response differently
depending on who is asking - for example, to refuse requests
from clients on a blocklist
10 months ago
Daniel Barlow
59c0881235
remove unhelpful debug message
10 months ago
Daniel Barlow
1b372bcb2b
simpler eof handling
10 months ago
Daniel Barlow
b84a6e0aa5
fix poll() to not mutate its parameter
10 months ago
Daniel Barlow
d729709869
remove nixio support
10 months ago
Daniel Barlow
740314b329
added at 3cb95c869e2fe74cc61ca303d88af6c5daad6734
10 months ago
Daniel Barlow
52d8c03ddd
update tufted for nixpkgs fennel changes
10 months ago
Daniel Barlow
e7987c9520
add build-host tftp server
1 year ago