Commit Graph

6719 Commits

Author SHA1 Message Date
Jeff Becker
cb3b89457f
remove pointless operator overload 2021-02-23 05:49:32 -05:00
Jeff Becker
be3faeb402
feedback from tom.
* remove unneeded header.
* fix typo in docs
2021-02-23 05:48:50 -05:00
Jeff Becker
1c3020a05e
drop on overload 2021-02-22 15:29:12 -05:00
Jeff Becker
bb9bd25059
get rid of use of llarp::IpAddress from hotpaths 2021-02-22 10:01:05 -05:00
Jeff Becker
01262d1c4d
flush queue when full 2021-02-22 09:03:34 -05:00
Jeff Becker
42ffbcca0a
try coleasing inbound packets from iwp 2021-02-22 08:26:32 -05:00
Jeff
0c869600df
Merge pull request #1532 from majestrate/network-thaw-2021-02-08
thaw network when default gateway changes
2021-02-19 06:07:03 -05:00
Jeff Becker
dc68ff6de9
prevent bad side effects, dont use iterator after use and use operator[] 2021-02-18 18:51:43 -05:00
Jeff Becker
b2b68c413c
actually set disabled when disabiling route poker 2021-02-18 18:24:50 -05:00
Jeff Becker
6a29cc7380
call closed hook when we explicitly close a link session 2021-02-17 14:26:54 -05:00
Jeff Becker
6a2d35d907
always use most recent convotag 2021-02-17 14:26:39 -05:00
Jeff Becker
b484d9bebb
update route poker logic to include "up" 2021-02-17 13:36:57 -05:00
Jeff Becker
e46204b068
dont wire up router thaw to sigusr1 2021-02-17 13:35:06 -05:00
Jeff Becker
07b599430e
thaw router when connectivity changes 2021-02-17 13:35:06 -05:00
Jeff Becker
676ca7f511
close stale sessions on thaw because they are probably already gone. this removes them and forces the sessions to be renegotiated. 2021-02-17 13:32:55 -05:00
Jeff Becker
ffef3bc48f
wire up sigusr1 to reset libunbound dns resolver 2021-02-17 13:32:55 -05:00
Jeff
6825e9177d
Merge pull request #1538 from majestrate/ip6nat-exit-2021-02-16
ip6 nat exits
2021-02-17 13:31:11 -05:00
Jeff Becker
8239efa71b
clarify new member's purpose and name. add comment. 2021-02-17 07:54:18 -05:00
Jeff Becker
1526941f3a
make it compile again 2021-02-17 07:49:47 -05:00
Jeff Becker
0600f42814
fix up names of functions to be less hidious. 2021-02-17 06:37:21 -05:00
Jeff Becker
1ee545d6d2
fix up macos route command for ipv6 2021-02-16 16:37:08 -05:00
Jeff Becker
35137913b9
windows and macos route pokers for ipv6 2021-02-16 15:01:07 -05:00
Jeff Becker
1c7079dbab
fix up route poking with lokinet to work with ipv6 2021-02-16 12:37:16 -05:00
Jeff Becker
063e982ef6
fix exit range default value 2021-02-16 11:25:44 -05:00
Jeff Becker
bd93a8f828
initial v6 exits 2021-02-16 10:59:57 -05:00
Jeff
fe29df696c
Merge pull request #1522 from majestrate/update-readme-2021-01-25
redo readme structure
2021-02-10 05:35:14 -05:00
Jeff Becker
935f210900
update readme links 2021-02-09 11:09:53 -05:00
Jeff Becker
2d4ff6c9dd
update badge url 2021-02-09 11:05:03 -05:00
Jeff Becker
6d00c3ecd2
update windows parts
* document need for ninja-build package
* update contrib/windows.sh, remove -DCROSS_COMPILE option, set -e and set +x
2021-02-09 11:05:02 -05:00
Jeff Becker
fdc3de6f9c
redo readme structure:
* add notes about debian packages (fixes #1521)
* reorder sections to have better flow
* add notes about win/mac release location
2021-02-09 11:04:22 -05:00
Jeff
5c1f66b8c0
Merge pull request #1531 from komachi/update-apparmor
Update AppArmor profile
2021-02-06 08:00:52 -05:00
Anton Nesterov
da2c979936 update apparmor profile:
add nameservice abstraction
give profile a name
allow to read conf, tmp files, etc.
remove /lib/@{multiarch}/ld-*.so mr, already covered by abstractions/base
allow local additions
2021-02-05 20:16:57 +00:00
Jeff
c5a423d3f8
Merge pull request #1529 from majestrate/nodedb-refactor-2021-02-02
NodeDB refactor
2021-02-03 16:42:12 -05:00
Jeff Becker
1f1db29816
GetIf -> GetRandom 2021-02-03 16:38:31 -05:00
Jeff Becker
f24cdb305b
clean up calls to NodeDB::GetIf to be cleaner and more concise 2021-02-03 14:49:33 -05:00
Jeff Becker
c8aba0af31
make llarp::NodeDB::GetIf always randmize location 2021-02-03 14:49:00 -05:00
Jeff Becker
d55705362a
use good routers 2021-02-03 13:50:12 -05:00
Jeff Becker
b6dbbb4bef
consolidate pathbuilder logic
* deduplicate code for path hops selection
2021-02-03 13:44:43 -05:00
Jeff Becker
242e56507c
proper lokimq -> oxenmq refactor 2021-02-03 13:12:21 -05:00
Jeff Becker
1e58715e0b
fix pybind layer 2021-02-02 13:16:34 -05:00
Jeff Becker
d112a50096
minidump fix 2021-02-02 13:16:18 -05:00
Jeff Becker
922f4fb724
fix iteration bug 2021-02-02 13:15:51 -05:00
Jeff Becker
df4ea34a56
nodedb refactor
* bump zmq static dep
* lokimq -> oxenmq
* llarp_nodedb -> llarp::NodeDB
* remove all crufty api parts of NodeDB
* make NodeDB rc selection api not suck
* make path builder api not suck
* propagate all above changes so that unit tests work and it all compiles
2021-02-02 09:35:40 -05:00
Jeff Becker
811b2a3fbf
bump submodule 2021-02-02 08:14:32 -05:00
Jeff
5e2ba55c41
Merge pull request #1527 from jahway603/dev
fixed broken documentation link
2021-01-30 08:41:06 -05:00
jahway603
6eab03567a fixed broken documentation link 2021-01-30 02:52:43 -05:00
Jeff
899e0878eb
Merge pull request #1514 from jagerman/downgrade-required-libuv-version
Downgrade required libuv version to 1.18
2021-01-25 16:17:25 -05:00
Jason Rhinelander
3d0c9a90a8 Link against libdl for libuv 2021-01-25 15:52:15 -04:00
Jason Rhinelander
231674e5a5 Remove CMAKE_CROSSCOMPILE
We set CMAKE_CROSSCOMPILE in a few places, but that is just a typo for
CMAKE_CROSSCOMPILING.  However we don't need to set it at all: cmake
does so automatically whenever CMAKE_SYSTEM_NAME is set (which is why
our cross compiling actually works currently.)
2021-01-25 13:06:59 -04:00
Jason Rhinelander
60a267a136 Add automake+libtool for libuv static build 2021-01-25 12:58:20 -04:00