1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
Commit graph

46 commits

Author SHA1 Message Date
Jeff Becker
79cffacafd
new exit packet buffer format 2018-11-29 16:19:20 -05:00
Jeff Becker
2d83ad4637
try tiered packing based off size of packet 2018-11-29 10:45:27 -05:00
Jeff Becker
b543d6243d
Merge branch 'master' into dev 2018-11-20 07:42:17 -05:00
Michael
0b2ebc83e0
De-C-ify several .h headers 2018-11-19 22:45:37 +00:00
Jeff Becker
658210b9d1
fix up exit tun, fix up codel to actually do its job 2018-11-15 08:13:19 -05:00
cathugger
73e6141023
ip: endianess swaps aren't needed, a bit of renaming and tweaking
Also `make format`.
2018-11-02 11:00:05 -04:00
Jeff Becker
dbd2c41909
use event loop for time 2018-10-29 12:48:36 -04:00
cathugger
fdc54a4cce
ip: insignificant change of arguments case 2018-10-12 04:53:18 +00:00
cathugger
71c9965471
ip: code cleanups and compatibility improvements
do not assume that packets come with address zero-ed, older clients don't do that.
they don't modify checksum either, therefore we should be able to get correct checksum if we use deltachksum with old and new addresses.
2018-10-10 21:41:53 +00:00
cathugger
4971fae171 uint32_t byte ordering type safety 2018-10-10 15:16:10 +00:00
cathugger
05e6c31238 ip: some fixes and tweaks 2018-10-10 12:06:28 +00:00
cathugger
4cba59f3c4 tun+ip: clarify what happens where 2018-10-09 17:09:03 +03:00
despair86
e3a94101b4 the AVX2 codepaths now appear to be 32-bit clean.
old hard-coded inline asm is still included if requested.
-rick

nb: is a vector of eight floats not the same layout as a simple linear array of same? (Aside from the alignment requirements)

netbsd-family build fixes, also - the AVX2 codepaths are _compiler-specific_, they use features _exclusive_ to gcc and clang
2018-10-01 15:06:07 -05:00
Ryan Tharp
14d9b19a0f clang-format 2018-09-22 04:28:55 -07:00
Ryan Tharp
dba3b66b50 fix FreeBSD compil 2018-09-22 04:25:37 -07:00
Ryan Tharp
3138610253 clang format 2018-09-21 07:36:06 -07:00
Ryan Tharp
8f5b172d33 merge? 2018-09-19 06:24:36 -07:00
Ryan Tharp
f283923cb7 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:28:48 +00:00
Ryan Tharp
9f33edeed0 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-19 12:22:34 +00:00
Jeff
dc3bb02f94 make it compile 2018-09-17 16:18:11 -04:00
Jeff
689668d892 fix osx build 2018-09-17 14:59:12 -04:00
Jeff Becker
5d0f441e29
use ntohl 2018-09-16 08:31:14 -04:00
Jeff Becker
6986f04418
basic router profiling and fix ip rewrite 2018-09-13 12:41:53 -04:00
Jeff Becker
baf2e1fb3c
client improvements
for real do correct timestamp comparison for introsets
2018-09-11 09:21:35 -04:00
Jeff Becker
2993e834a0
fix ip stuff 2018-09-10 15:31:29 -04:00
Jeff Becker
11718d95cf
windows build fix 2018-09-07 16:56:30 -04:00
Ryan Tharp
742a0b8da7 Merge branch 'master' of https://github.com/loki-project/loki-network 2018-09-06 00:32:06 +00:00
Jeff Becker
8bae1a4735
move codel off of pointer types 2018-08-31 10:41:04 -04:00
Jeff Becker
3588580c1a
Merge branch 'master' of ssh://github.com/loki-project/loki-network 2018-08-24 12:07:46 -04:00
Jeff Becker
435fba25fd
add parts to rcutil to print out info about RCs: ./rcutil -V self.signed 2018-08-24 12:07:17 -04:00
Ryan Tharp
a5af98ad0c fix FreeBSD build 2018-08-23 17:37:52 -07:00
despair86
b7b69f5596 this was already fixed before latest rebase ;-; 2018-08-23 18:28:09 -05:00
Ricardo Villegas
3cca107041 more header fixes
-despair86
2018-08-23 13:44:43 -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
ee2d54d564
win32 fix 2018-08-23 09:19:50 -04:00
Jeff Becker
885fb3cd97
revert back to priority queue for codel 2018-08-23 08:26:31 -04:00
Jeff Becker
b7039f6e5c
more tun stuff 2018-08-22 11:52:10 -04:00
Jeff Becker
7237d701f1
more win32 2018-08-21 14:33:27 -04:00
Jeff Becker
41cd1d4df1
fix win32 2018-08-21 14:31:42 -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
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
Ricardo Villegas
d394e229ca unix fixes 2018-08-18 21:25:38 -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
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