Commit Graph

4560 Commits

Author SHA1 Message Date
Jeff Becker
d7f09a365d
contention killer 2019-11-22 16:23:18 -05:00
Jeff
99d76280be
Merge pull request #917 from jagerman/remove-resolveConf
Remove shell globbing of path
2019-11-21 11:33:54 -05:00
Jeff
a188291055
Merge pull request #919 from jagerman/avx2-detection
Fix runtime AVX2 detection
2019-11-21 10:54:46 -05:00
Jason Rhinelander
cdca34e628 Fix runtime AVX2 detection
The feature flags come via __cpuid_count instead of __cpuid

Also removes a couple unneeded headers.
2019-11-21 11:50:04 -04:00
Jason Rhinelander
f54740fa85 Don't pointlessly set conffname back to itself 2019-11-20 18:00:10 -04:00
Jason Rhinelander
e0340e86b2 clang-format fixes 2019-11-20 17:45:56 -04:00
Jason Rhinelander
2bdde18558 Remove shell globbing of path
resolvePath was leaking memory (the returned char * from realpath was
never freed), but upon closer inspection resolvePath doesn't seem right:
shell/glob/~ expansion is the job of the shell, not the argument (but
worse, if you pass it something like '~' (quoted) it would expand, which
is wrong.

Also de-duplicate some code.
2019-11-20 17:22:07 -04:00
Jason Rhinelander
d96d33329b
Merge pull request #912 from majestrate/logic-thread-fix-2019-11-13
fix logic thread behavior
2019-11-19 15:26:35 -04:00
Jeff
8f6a18f411
Merge pull request #915 from notlesh/fix-session-key-mismatch-2019-11-19
Fix #911: Drop new inbound IWP sessions when the first packet can't be handled
2019-11-19 14:25:49 -05:00
Jason Rhinelander
6524563d33
Merge pull request #897 from majestrate/bencode-seek-for-version-2019-11-03
seek for version and set it before deserializing
2019-11-19 15:24:07 -04:00
Stephen Shelton
b5b8cf0745 Reduce log level of IWP session issues as they may be encountered frequently and normally 2019-11-19 12:17:34 -07:00
Stephen Shelton
9eed243346
Merge pull request #860 from notlesh/null_mutex_clarity
Null mutex clarity (via comments / log statement)
2019-11-19 11:19:44 -07:00
Stephen Shelton
46fe64c2e6 make format (and git commit --amend to re-trigger CI) 2019-11-19 10:07:27 -07:00
Stephen Shelton
ef2670dfb4 Drop new inbound IWP sessions when the first packet can't be handled 2019-11-19 09:24:29 -07:00
Jeff Becker
168d25f244
add warning when trying to queue onto full logic thread 2019-11-14 12:18:20 -05:00
Jeff Becker
b34caa3e26
make unit tests pass for iwp 2019-11-14 11:48:02 -05:00
Jeff Becker
1a864832c8
make format 2019-11-14 10:07:40 -05:00
Jeff Becker
b31d7b75fc
Merge remote-tracking branch 'origin/dev' into logic-thread-fix-2019-11-13 2019-11-14 10:07:19 -05:00
Jeff Becker
f16c9f9b5d
iot seems that logic thread didn't work the way i remember it should
make logic work the way it should
2019-11-14 10:06:53 -05:00
Jeff
17efd37d37
Merge pull request #873 from tewinget/path-queues
Add per-path queues, prioritize control messages over traffic
2019-11-13 19:09:18 -05:00
Jeff Becker
3c8e148372
prevent double free crap with shared_ptr 2019-11-13 18:16:34 -05:00
Thomas Winget
5ce6ed5134
fixes some logical errors in per-path queues 2019-11-07 15:05:04 -05:00
Thomas Winget
23a9773e1e
remove our paths from outbound queues 2019-11-07 13:23:14 -05:00
Thomas Winget
ef1a5652ef
remove our paths from outbound queues 2019-11-07 13:23:06 -05:00
Thomas Winget
17de3f2478 do...while; make format; remove erroneous GUARDED_BY 2019-11-06 10:26:51 -05:00
Thomas Winget
12adff570d fix seg fault, fix uninitialized static member 2019-11-06 10:26:51 -05:00
Thomas Winget
75512b1b58 ban zero id for pathid; clarity and cleanup 2019-11-06 10:26:51 -05:00
Thomas Winget
9d3e7d349c Add per-path queues, prioritize control messages over traffic 2019-11-06 10:26:51 -05:00
Jeff
c05d7b69fc
Merge pull request #904 from majestrate/try-fixing-path-shit-again-2019-11-05
make path builds work
2019-11-05 12:21:51 -05:00
Jeff Becker
8d44eefead
make router give time directly 2019-11-05 12:10:14 -05:00
Jeff Becker
2c5561fc3c
make format 2019-11-05 12:01:34 -05:00
Jeff Becker
b589ea96ff
remove printf 2019-11-05 12:00:33 -05:00
Jeff Becker
7ee026fa50
make path builds work again 2019-11-05 11:58:53 -05:00
Jeff
7a295a9eab
Merge pull request #903 from majestrate/fix-cmake-crypto-flags
set NON_PC_TARGET internally automatically
2019-11-05 08:23:05 -05:00
Jeff Becker
9b99752276
i hate windows 2019-11-05 08:19:27 -05:00
Jeff Becker
8bac293dc7
fix patching command 2019-11-05 08:09:17 -05:00
Jeff Becker
defc12734d
re-add windows to CI pipeline just allow fail 2019-11-05 07:40:12 -05:00
Jeff Becker
d50e25d05d
disable windows native in CI 2019-11-05 07:34:41 -05:00
Jeff Becker
70ceca1e72
disable gtest when no unit tests 2019-11-05 07:29:43 -05:00
Jeff Becker
6bd593f3e2
move it more 2019-11-05 07:28:08 -05:00
Jeff Becker
329c9d1044
move more stuff 2019-11-05 07:26:44 -05:00
Jeff Becker
a5b1379b88
exclude debian from setting CRYPTO_FLAGS 2019-11-05 07:24:05 -05:00
Jeff Becker
c3302018ba
more 2019-11-05 07:11:05 -05:00
Jeff Becker
e3724577d3
detect properly for mobile 2019-11-05 07:01:14 -05:00
Jeff Becker
ea7884231d
move it 2019-11-05 06:58:40 -05:00
Jeff Becker
01dbd329bd
add forgotten file 2019-11-05 06:52:40 -05:00
Jeff Becker
9d0d96b70f
get rid of NON_PC_TARGET 2019-11-05 06:45:49 -05:00
Jeff
0b70bbde1a
Merge pull request #901 from jagerman/silence-warnings
Silence unused variable warnings in non-debug build
2019-11-04 14:37:57 -05:00
Jason Rhinelander
b0ab703c45 Silence unused variable warnings in release build 2019-11-04 15:21:32 -04:00
Jeff
c941ce5962
Merge pull request #900 from majestrate/fix-pump-order-2019-11-04
pump to upper layers every time we decrypt link layer traffic
2019-11-04 14:12:44 -05:00