Commit Graph

2018 Commits (984d281d0b4a4838fe96b2f500006be6ae9cde63)
 

Author SHA1 Message Date
despair 964e834fea finally get the right error on windows
fix

fix up errno on win32

test
6 years ago
despair 55670b6f82 fill in PTR request if it's too short (some DNS clients do this, notable: Microsoft DNS Client 5.0) 6 years ago
despair d1fa9ca342 is the resulting storage a proper string, or just a plain char array (no terminator)
eh
6 years ago
despair b9ab1f19a9 wooooo path builds work
update readme

fix gcc 8.x error
fix apple cross-clang someday
6 years ago
Michael d21af22ca3
Rename defaults.h 6 years ago
Michael d750ec0605
Rename logic.h 6 years ago
Michael 1c0cf72c02
Rename endian.h 6 years ago
Michael f91d2b9e11
Rename proto.h 6 years ago
Michael e39d02ddc2
Rename version.h 6 years ago
Michael 4851c54c92
Rename common.h 6 years ago
Ryan Tharp f5c05289aa start SOA type record 6 years ago
Ryan Tharp 271ef910d7 Fix RPI build 6 years ago
Ryan Tharp 375c39e748 Merge branch 'master' of http://github.com/loki-project/loki-network 6 years ago
Ryan Tharp 3a8a90e440 make gcc 8.2 and RPI=1 happy 6 years ago
Jeff 92a1799902
Merge pull request #57 from michael-loki/deeceeify
De-C-ify several .h headers
6 years ago
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
6 years ago
Michael 0b2ebc83e0
De-C-ify several .h headers 6 years ago
Jeff Becker e287e5132b
more vigorus pings 6 years ago
Jeff Becker 950d13a818
more logging 6 years ago
Jeff Becker bad32dbb98
more logging 6 years ago
Jeff Becker c9fda1e5af
pass 6 years ago
Jeff Becker 3dd466629b
check for nullptr 6 years ago
Jeff Becker 90a4f90ee6
limit build rate a lot more 6 years ago
Jeff Becker 2e13daae27
start threadpool explicitly 6 years ago
Jeff Becker 4e105f3cd5
add std::optional backport option for cxx11 6 years ago
Jeff Becker f8180839db
s/17/11/ 6 years ago
Jeff Becker b64ed33755
more static linking flag magic 6 years ago
Jeff Becker a35066ce42
static link with pthread because GNU a shit 6 years ago
Jeff Becker 5357b4b69f
make clang happy, disable netns by default (for now) 6 years ago
Jeff Becker 3585a558ec
Merge branch 'master' into dev 6 years ago
Jeff Becker 9c54939324
make llarp_router::SendToOrQueue check inbound and outbound links instead of just inbound or just outbound 6 years ago
Jeff Becker 270e5648b8
Merge remote-tracking branch 'github/master' 6 years ago
Jeff Becker 3718a7d016
Merge remote-tracking branch 'github/master' into dev 6 years ago
Jeff Becker d37daf7996
Merge branch 'master' into dev 6 years ago
Jeff Becker 7214f242e0
rip out old threadpool code 6 years ago
Jeff c0efc9ed29
Merge pull request #56 from michael-loki/uint32_t
Use std::atomic<std::uint32_t> over std::atomic_uint32_t
6 years ago
Michael 4c6f261b06
Use std::atomic<std::uint32_t> over std::atomic_uint32_t 6 years ago
despair 1046cbab0b make sure the user folder exists before running bootstrap 6 years ago
despair 1050e16ce9 make less noise during setup 6 years ago
despair ae616d0fa5 minor fixes
eh

why apple why

why apple why
6 years ago
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)
6 years ago
despair c325246beb need to start winsock to use any networking
try fixing this
6 years ago
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
6 years ago
despair d9863128b9 the intrinsic variant is 32-bit clean
the ASM variant is not

found it

fix

something is wrong with the external build

hmm

why is this critical section doing nothing

fix multiple init

debug init

ok fixed
6 years ago
Ryan Tharp 2daa986c33 fix static analysis issues 6 years ago
Ryan Tharp de418125f2 remove redundance from (sockaddr) param refactor 6 years ago
Ryan Tharp 7039d70aa5 clean up 6 years ago
Ryan Tharp 42b8fc3a7a don't truncate last 2 bytes 6 years ago
Ryan Tharp 969865c499 internal refactor
- created various structs for each record type
- changed DNSd to return most of the recieved packet (allowing for multiple answers)
- favor vector<byte_t> over c-style buffers
- support NS records a little better
- fixed output on cname, ptr, txt
6 years ago
Ryan Tharp 373a14b44b clang-format 6 years ago