despair
436025e0ca
fix utp flags leaking into the actual socket transmission
...
clang-format
2018-11-20 06:11:51 -06:00
despair
964e834fea
finally get the right error on windows
...
fix
fix up errno on win32
test
2018-11-20 02:38:24 -06:00
despair
55670b6f82
fill in PTR request if it's too short (some DNS clients do this, notable: Microsoft DNS Client 5.0)
2018-11-20 02:38:23 -06:00
despair
d1fa9ca342
is the resulting storage a proper string, or just a plain char array (no terminator)
...
eh
2018-11-20 02:38:18 -06:00
despair
b9ab1f19a9
wooooo path builds work
...
update readme
fix gcc 8.x error
fix apple cross-clang someday
2018-11-20 02:38:02 -06:00
despair
c7d3e39c53
todo: check if we're adding a tun to the event loop
...
if so, add it to the listeners, but _not_ the epollfd
abstraction - epollfd takes _only_ sockets, and will reeeee
if you give it a file handle. fuck 16-bit Windows with a rusty
knife. In this case, we assume (like unix) that a file/device file
is _always_ ready to write
2018-11-19 16:57:26 -06:00
despair
ae616d0fa5
minor fixes
...
eh
why apple why
why apple why
2018-11-19 04:29:39 -06:00
despair
be7ac352ca
switch to a simulation of epoll
...
the native async event system on windows
is _not_ very good at getting external events
(i.e. we receive data, but we don't get any indication
that this ever happened)
2018-11-19 04:29:39 -06:00
despair
c325246beb
need to start winsock to use any networking
...
try fixing this
2018-11-19 04:29:39 -06:00
despair
e18f786ab2
refactor event loop stuff
...
find some place in the C code to place the worker thread procedure
until such time that michael presents the new thread pool class
fix unix
get a new event port each time and delet in the event loop after use
2018-11-19 04:29:39 -06:00
Jeff Becker
e3dc4dca11
mark paths as dead when they need to and revert codel changes
2018-11-17 13:40:13 -05:00
Jeff Becker
ffccb058c4
syntax error
2018-11-16 09:22:52 -05:00
Jeff Becker
ce2760135a
mark paths as active when they are
2018-11-16 09:21:23 -05:00
Jeff Becker
4e3089dee4
fix last commit
2018-11-16 09:06:50 -05:00
Jeff Becker
6866e70a95
build paths if we are out of exits on exit session
2018-11-16 09:03:13 -05:00
Jeff Becker
8d613c182f
nullptr check
2018-11-15 18:07:39 -05:00
Jeff Becker
b56b3ad16d
don't remove ip mapping when endpoints are removed
2018-11-15 17:10:12 -05:00
Jeff Becker
17297837d9
that's dumb af, use std::unique_ptr
2018-11-15 16:47:05 -05:00
Jeff Becker
9d551ba768
more
2018-11-15 13:10:09 -05:00
Jeff Becker
937ab151ab
idk what is going on
2018-11-15 11:19:24 -05:00
Jeff Becker
9baf6ecfd9
idklol
2018-11-15 11:15:25 -05:00
Jeff Becker
723351eb4e
friendship with std::unordered_map is now over, std::map is my new best friend
2018-11-15 11:12:05 -05:00
Jeff Becker
c7c6905e1e
explicit type
2018-11-15 11:05:31 -05:00
Jeff Becker
207e312eb0
more logging
2018-11-15 11:00:16 -05:00
Jeff Becker
01724c8529
use const iter
2018-11-15 10:54:48 -05:00
Jeff Becker
6f796d031b
use const
2018-11-15 10:53:32 -05:00
Jeff Becker
7b188d0fde
more
2018-11-15 10:46:50 -05:00
Jeff Becker
715822c20d
logging
2018-11-15 10:43:58 -05:00
Jeff Becker
60ad2c76e0
try this
2018-11-15 09:44:57 -05:00
Jeff Becker
2bfdd7798c
use emplace?
2018-11-15 09:38:31 -05:00
Jeff Becker
d44872496f
gfdi
2018-11-15 09:16:10 -05:00
Jeff Becker
cd94da7ffe
gfdi
2018-11-15 09:12:17 -05:00
Jeff Becker
b689bbbcf6
gfdi
2018-11-15 09:08:42 -05:00
Jeff Becker
489d1e645b
actually add exit :p
2018-11-15 08:58:17 -05:00
Jeff Becker
0889071514
more logging
2018-11-15 08:54:53 -05:00
Jeff Becker
355d09e22b
random fixes
2018-11-15 08:47:46 -05:00
Jeff Becker
658210b9d1
fix up exit tun, fix up codel to actually do its job
2018-11-15 08:13:19 -05:00
Jeff Becker
2ca6a31d4c
serialize correctly
2018-11-14 17:26:00 -05:00
Jeff Becker
ca3a675ac8
more logging
2018-11-14 17:06:42 -05:00
Jeff Becker
2f2d2847b3
debug logging
2018-11-14 16:59:27 -05:00
Jeff Becker
1a410c4b22
more logging
2018-11-14 16:52:31 -05:00
Jeff Becker
b462090e9c
more
2018-11-14 16:47:58 -05:00
Jeff Becker
fa1333b13b
meh
2018-11-14 16:40:44 -05:00
Jeff Becker
b11bddad02
fixes
2018-11-14 16:31:21 -05:00
Jeff Becker
2f855c106c
increase buffer size
2018-11-14 16:20:24 -05:00
Jeff Becker
76c53a0dc9
update logging
2018-11-14 16:16:11 -05:00
Jeff Becker
a520fb379b
use rxid instead of txid for exits
2018-11-14 16:02:36 -05:00
Jeff Becker
d24bc70a7e
try fix
2018-11-14 15:56:54 -05:00
Jeff Becker
fd4b452cdd
fix
2018-11-14 15:54:13 -05:00
Jeff Becker
9584c13aca
more
2018-11-14 15:47:43 -05:00