Commit Graph

532 Commits

Author SHA1 Message Date
despair86
3ccb425021 hmm this may work on BSD unix... 2018-08-23 13:44:44 -05:00
Ricardo Villegas
3cca107041 more header fixes
-despair86
2018-08-23 13:44:43 -05:00
despair86
9b73b013ce run-time assertion in ms c: make sure that CPP macro and local variable LOOPS == loops 2018-08-23 13:42:54 -05:00
Jeff
7af9ed0f70 Merge branch 'master' of ssh://github.com/loki-project/loki-network 2018-08-23 14:02:13 -04:00
Jeff
367258551b fix osx build 2018-08-23 14:02:02 -04:00
Jeff Becker
ba12f3e5e2
prevent crash? 2018-08-23 11:34:43 -04:00
Jeff Becker
3625313304
clear pending dht tx 2018-08-23 11:29:43 -04:00
Jeff Becker
bb25537fb5
build paths if we have no connected routers to make sessions happen 2018-08-23 11:19:16 -04:00
Jeff Becker
4e3acd0277
persist sessions between routers 2018-08-23 10:35:29 -04:00
Jeff Becker
51029f0f2f
make loopback testnet work again 2018-08-23 10:07:53 -04:00
Jeff Becker
885fb3cd97
revert back to priority queue for codel 2018-08-23 08:26:31 -04:00
Jeff Becker
f989996bc7
lol 2018-08-22 12:25:10 -04:00
Jeff Becker
b77525b72d
persist on commit 2018-08-22 12:19:51 -04:00
Jeff Becker
b7039f6e5c
more tun stuff 2018-08-22 11:52:10 -04:00
Jeff Becker
a2f4c3e3bb
add more autogenerate config lines 2018-08-22 11:51:50 -04:00
Jeff Becker
dbac1334e0
disable promises in win32 2018-08-21 14:39:18 -04:00
Jeff Becker
4e2f0ccbf8
* add ProcessIf in CoDel queue to requeue unprocessed items
* more tun code
* make event loop tick and write with tun
2018-08-21 14:17:16 -04:00
Jeff Becker
4aebbda640
more tun stuff 2018-08-20 15:12:12 -04:00
despair86
c24a73f756 ran the linter on new code 2018-08-20 05:52:47 -05:00
despair86
db1989c848 new named thread API on win32 2018-08-20 05:38:25 -05:00
despair86
961a4b1d3c eww, merge conflicts 2018-08-18 21:54:53 -05:00
Ricardo Villegas
43760dee2e more sun patches, plus a note to port solaris tuntap after
doing the windows port of same
2018-08-18 21:26:25 -05:00
despair86
8c1b2c3b79 win32 fluff
more win32 on msc++ fluff

and a solaris patch that i may revert later if the cpp directives aren't processed correctly
-despair86
2018-08-18 21:26:18 -05:00
despair86
9ad93a0893 sunos patches, avoid shadowing data members in derived classes, header fixes
SunOS build works, with a few issues:

- no tuntap debugging on Solaris? (TUNSDEBUG ioctl missing)
- regular socket ioctls are not pulled in with #include <sys/ioctl.h>
  even though they're included at the bottom of same (filio.h,
  sockio.h)
- no named threads in any libre fork of solaris

-despair86 (rick)

sun patch
2018-08-18 21:25:24 -05:00
despair86
72c2231caf this works apparently 2018-08-18 21:24:41 -05:00
despair86
556bc2b740 these headers need to be in a specific order
because the winsock sdk does weird shit
2018-08-18 21:24:41 -05:00
despair86
5f47b335a4 now matches the other platform behaviour, namely, that as long as the event-based queue file descriptor is valid, so is the event loop itself 2018-08-18 21:24:40 -05:00
Jeff Becker
4ab9f72415
backport for gcc 5 2018-08-18 11:34:06 -04:00
Jeff Becker
377cc78144
fix crash 2018-08-18 10:01:21 -04:00
Jeff Becker
1a1f93c171
* more tun stuff
* use std::unique_ptr where bare pointers aren't absolutely required
2018-08-17 15:49:58 -04:00
Jeff Becker
913fb1d88a
don't use 100% cpu 2018-08-16 11:31:32 -04:00
Jeff Becker
08d6121a5a
more tun code 2018-08-16 10:34:15 -04:00
Jeff Becker
5b322510a7
try making it compile 2018-08-15 12:21:51 -04:00
Jeff Becker
e6de816dce
touch win32 code to make it compile, sorry. 2018-08-15 12:19:22 -04:00
Jeff Becker
b47a67bbd5
make it compile 2018-08-15 12:08:54 -04:00
Jeff Becker
b4f672b950
continue to fix kqueue build 2018-08-15 11:46:39 -04:00
Jeff Becker
944d22abde
fix kqueue build 2018-08-15 11:45:07 -04:00
Jeff Becker
04bf8d6116
some tun interface code 2018-08-15 11:36:34 -04:00
Jeff Becker
6a828ea985
fix shadow build 2018-08-14 18:07:58 -04:00
Jeff Becker
98b3bd6354
add runtime toggle of AVX2 code in sntrup 2018-08-14 17:28:14 -04:00
Jeff Becker
1d3e9f6adc
make testnet no longer crash 2018-08-14 17:17:18 -04:00
Jeff Becker
c12da3dfc7
fix bad offset 2018-08-13 19:25:36 -04:00
Jeff Becker
186bd7d573
use NTRU for introset end to end encryption 2018-08-13 19:22:31 -04:00
Jeff Becker
d7c1c3322f
it works. 2018-08-12 13:22:29 -04:00
Jeff Becker
e79708c1dc
hidden services sorta work 2018-08-10 17:34:11 -04:00
Jeff Becker
a9b28e5407
more fuxing around 2018-08-09 23:51:38 -04:00
Jeff Becker
c36c83d9dc
more hidden service code 2018-08-09 15:02:17 -04:00
Jeff Becker
143da869b5
fix windows build 2018-08-09 11:55:37 -04:00
Jeff Becker
b6ec1e94db
only write nickname if present in rc 2018-08-09 11:36:58 -04:00
Jeff Becker
6bae623481
more defaults 2018-08-09 09:55:51 -04:00