Commit Graph

516 Commits

Author SHA1 Message Date
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
Jeff Becker
32d82b5ba5
add more defaults in config with comments 2018-08-09 09:38:44 -04:00
Jeff Becker
d5532e4de4
more boilerplate and enable tun/tap build 2018-08-08 15:37:33 -04:00
Jeff Becker
c71d0b2bb3
always use SIGCHLD in clone 2018-08-08 14:50:45 -04:00
Jeff Becker
e4bcf44a25
make net isolated threadpool more generic 2018-08-08 14:02:08 -04:00
Jeff Becker
33c5cf5a89
override join for isolated threadpool 2018-08-08 13:47:13 -04:00
Jeff Becker
62f41d3747
initial threadpool isolation code and run make format 2018-08-08 13:43:46 -04:00
Jeff Becker
30edb26ed9
use endian helpers 2018-08-08 13:01:32 -04:00
Jeff Becker
ebfe820b7a
remove the rest of gcc compiler warnings 2018-08-08 12:58:43 -04:00
Jeff Becker
53b4a94c75
clang format and fix (some) compile warnings 2018-08-08 12:56:45 -04:00
despair86
1e9f49d6ef Merge remote-tracking branch 'upstream/master' 2018-08-03 22:07:46 -05:00
Jeff Becker
224748bcaf Merge remote-tracking branch 'loki/master' 2018-08-04 13:00:42 +10:00
Jeff Becker
86ec4dacc3 dht and testnet fixes 2018-08-04 12:59:32 +10:00
despair86
9c0b395c67 vs clang format isn't supposed to inject tabs ffs 2018-08-03 19:06:11 -05:00
despair86
c1765d562b minor patch, make sure the iocp fields are valid before attempting to cast the ev_id back to its ptr 2018-08-03 19:05:45 -05:00
despair86
ae956aff5f This completes the Windows NT Server port of the LokiNetwork components.
Also changed the epoll_wait timeout to 10ms in llarp_epoll_loop::run() to match the other platforms.

-despair86
2018-08-03 04:21:53 -05:00
Jeff Becker
f68e3029b0 fix timeouts 2018-08-03 15:32:07 +10:00