Jeff Becker
48e4f676cc
add rpc method for llarp.admin.link.neighboors
2018-10-25 14:18:12 -04:00
Jeff Becker
c6f1355c5d
Merge branch 'master' into dev
2018-10-21 09:07:48 -04:00
Jeff Becker
612057003a
de changes
2018-10-19 07:41:36 -04:00
despair86
ae4a6ac217
fix ineffective RC bogon check
...
this used to write both private and public inet6 addresses into the RCs, for relays with port forwarding enabled
2018-10-16 12:49:41 -05:00
Jeff Becker
d3278946f2
ipv4 bogon checking
2018-10-15 08:02:32 -04:00
Jeff Becker
bf9512dfaf
Merge remote-tracking branch 'ryan/master'
2018-10-12 08:05:03 -04:00
despair86
e08dedf7a2
really fix endianness
2018-10-11 19:22:10 -05:00
despair86
630cf99bae
fix inet4 to inet6 transition bug
2018-10-11 19:22:10 -05:00
Ryan Tharp
14ccb2f81e
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-10-11 12:21:16 +00:00
Ryan Tharp
924c3c0895
fix cast
2018-10-09 05:38:41 -07:00
Jeff Becker
475ac63f4a
initial admin api infra
2018-10-09 08:06:30 -04:00
Jeff Becker
291cc57395
revert
2018-10-07 11:29:36 -04:00
Jeff Becker
0480df528c
fixes
2018-10-07 10:11:03 -04:00
Jeff Becker
848f5c3059
make it compile
2018-10-05 11:05:52 -04:00
Ryan Tharp
57fccaf2e6
ShouldCreateDefaultHiddenService(), auto mode for defaultIfAddr & defaultIfName, favor llarp::Addr, guards, NAT with no bindings fix, actually name ifname set ifname
2018-10-05 11:02:58 -04:00
Jeff Becker
d71f0db2a5
more vigorous profiling
2018-10-04 13:34:26 -04:00
Jeff Becker
746e95994e
stricter profiling and better handover
2018-10-04 12:48:26 -04:00
Ryan Tharp
f4c5999852
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-10-03 11:46:24 +00:00
Ryan Tharp
bcbaf47adf
ShouldCreateDefaultHiddenService(), auto mode for defaultIfAddr & defaultIfName, favor llarp::Addr, guards, NAT with no bindings fix, actually name ifname set ifname
2018-10-03 04:01:42 -07:00
Jeff Becker
1f02498fc0
code for disabling default hidden service
2018-10-03 06:59:30 -04:00
Jeff
acc03fcad7
add default hidden service endpoint for clients
2018-10-02 13:35:51 -04:00
Jeff Becker
2b8bd11f5e
ping less and try not to double free in llarp_router::SendToOrQueue
2018-09-30 08:01:58 -04:00
Jeff Becker
ed5867e49f
don't use std::list
2018-09-30 07:17:48 -04:00
Ryan Tharp
29a304f928
Merge branch 'master' of https://github.com/loki-project/loki-network
2018-09-20 12:45:19 +00:00
Jeff Becker
a36de551e4
try connecting but still drop
2018-09-19 09:27:15 -04:00
Ryan Tharp
8f5b172d33
merge?
2018-09-19 06:24:36 -07:00
Jeff Becker
3963070139
fix windows
2018-09-19 07:54:58 -04:00
Jeff Becker
c31fd5fcde
make hidden services work again (probably)
2018-09-18 17:32:17 -04:00
Jeff Becker
5ebe3cc97c
limits and have clients use ephemeral identity
2018-09-18 16:56:22 -04:00
Jeff Becker
b0f15d668a
don't close stale router sessions
2018-09-18 10:17:15 -04:00
Jeff Becker
e047bfa266
update readme
...
add sighup
2018-09-17 07:47:34 -04:00
Jeff Becker
2f2e3be8b7
lessen logging spew
2018-09-16 08:09:21 -04:00
Jeff Becker
7027ba2cf1
more agressive network exploration
...
add install target for makefile
2018-09-15 07:37:46 -04:00
Jeff Becker
354df88367
more ip endpoint fixes
...
spam dht with lookups less
2018-09-14 09:43:42 -04:00
Jeff Becker
ffdff3e09c
mark successful connections in profiling
...
don't dht lookup bad routers
2018-09-13 12:58:25 -04:00
Jeff Becker
6986f04418
basic router profiling and fix ip rewrite
2018-09-13 12:41:53 -04:00
Jeff Becker
3af51cbe55
add path latency minimum checker
...
add min-latency option to hidden service config
2018-09-13 08:27:28 -04:00
Jeff Becker
c0afc97d41
better explore logic
2018-09-13 08:04:36 -04:00
Jeff Becker
956549c818
connect to 10 random routers on startup
2018-09-11 11:53:54 -04:00
Jeff Becker
b96887ddb2
various fixes and tweaks
2018-09-10 09:43:36 -04:00
Jeff Becker
1df9a4b078
persist RC from lookups in nodedb
2018-09-09 14:18:34 -04:00
Jeff Becker
b23dab09fb
don't overwrite our RC, hide parameter.
2018-09-09 07:23:21 -04:00
Jeff Becker
4b3a113397
mostly works
2018-09-07 13:41:49 -04:00
Jeff Becker
5dfcd60df1
more
2018-09-06 16:31:58 -04:00
Jeff Becker
6ef89ea8b2
un break (kinda)
2018-09-06 09:16:24 -04:00
Jeff Becker
60d5277351
broken
2018-09-06 07:46:19 -04:00
Jeff Becker
ba648868c4
more
2018-09-04 15:15:06 -04:00
Jeff Becker
2a8fc53ca6
make it compile
2018-09-04 08:55:20 -04:00
Jeff Becker
1839da9c3c
add bencode file helpers and move link server functions into source file
2018-09-03 09:10:56 -04:00
Jeff Becker
c3c388b6aa
remove iwp and start on curvecp
...
does not compile
2018-09-02 14:25:42 -04:00
Jeff Becker
74b713870b
use const
...
always use outbound links
2018-08-31 15:46:25 -04:00
Jeff Becker
4e693a2414
make signatures work again ;~;
2018-08-31 09:51:24 -04:00
Jeff Becker
973f86c900
it compiles
2018-08-31 08:46:54 -04:00
Jeff Becker
5228a81bae
more refactor
...
get rid of C api
2018-08-30 14:48:43 -04:00
Jeff Becker
b122fc59f8
refactor (not done)
2018-08-29 16:40:26 -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
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
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
1d3e9f6adc
make testnet no longer crash
2018-08-14 17:17:18 -04:00
Jeff Becker
e79708c1dc
hidden services sorta work
2018-08-10 17:34:11 -04:00
Jeff Becker
32d82b5ba5
add more defaults in config with comments
2018-08-09 09:38:44 -04: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
0d2bce2089
fix up win32 specific parts
2018-08-03 09:30:34 +10:00
Jeff Becker
1b20ba6a6c
fix dead code, clean up parts.
2018-08-03 09:03:23 +10:00
despair86
bdc54835c2
initial windows server port. Requires Windows 2000 Server or later.
...
- updated CMake build script
- builds with Microsoft C++ 19.1x. such builds require Windows 8.1 or later
unless you have the .NET Server 2003-toolset (v141_xp)
- windows port requires a C++17 compiler since cpp17::filesystem is POSIX-only
- HAVE_CXX17_FILESYSTEM manual toggle in CMake. You must manually specify where
std::[experimental::]filesystem is defined in LDFLAGS or CMAKE_x_LINKER_FLAGS.
- IPv6 support can be added at any time, and the windows sdk still has that
inline getaddrinfo(3) if it can't find a suitable IPv6 stack.
- inline code for mingw-w64: there's a few bits and pieces still missing simply because
mingw-w64 derives its windows sdk from wine and reactos, and then writing all the newer
stuff into it by hand straight from the MSDN manpages.
- misc. C++11 stuff (nullptr and friends)
- Internal file handling code takes UTF-8 or plain 8-bit text, NTFS is UTF-16, so
std::filesystem::path::c_str() is wchar_t. That's no good unless you first
call std::filesystem::path::string().
- implemented getifaddrs(3) and if_nametoindex(3) on top of GetAdapters[Info|Addresses](2).
- updated readme with new info
BONUS: may implement Solaris/illumos IOCP someday...
-despair86
2018-08-01 23:41:02 -05:00
Jeff Becker
7622f6cef1
dht tweaks
2018-08-02 14:34:46 +10:00
Jeff Becker
d511057b7d
* logging updates
...
* nicknames in RC (yw kee)
* spec update
* more hidden service code
2018-08-02 10:48:43 +10:00
Jeff Becker
928ec3790d
deterministic logging
2018-07-31 08:35:54 +10:00
Jeff Becker
058ce4fae3
don't put private addresses into rc EVER
2018-07-30 15:58:20 +10:00
Jeff Becker
48cfdab63c
get rid of wizard and autogenerate configs if not present with sane defaults
2018-07-27 10:21:57 +10:00
Jeff Becker
976ca3015c
move iwp server to own source file
2018-07-27 08:06:11 +10:00
Ryan Tharp
554834425d
important note, as I have relays that are outbound only
2018-07-26 03:21:51 -07:00
Jeff Becker
7cec96901d
update build logic for clients
2018-07-25 11:39:12 +10:00
Jeff Becker
ee54149465
when building paths only use nodes we are directly connected to for first hops.
2018-07-25 11:36:22 +10:00
Jeff Becker
17ad12cd2c
* don't heap allocate llarp_rc
...
* store rc into network database cache on connect
2018-07-25 11:24:37 +10:00
Jeff Becker
98e992e28f
backport
2018-07-24 16:31:25 +10:00
Jeff Becker
40dc125b17
another backport
2018-07-24 16:22:03 +10:00
Jeff Becker
02ca1796b2
all the files
2018-07-20 14:50:28 +10:00
Jeff Becker
6945fe53a5
more also run make format
2018-07-17 14:37:50 +10:00
Jeff Becker
0242e293c9
more
2018-07-16 13:32:13 +10:00
Jeff Becker
a68cfefaa6
make it compile and run make format
2018-07-13 09:36:51 -04:00
Ryan Tharp
0750befddc
skip private interfaces if no public-address et
2018-07-13 06:13:04 -07:00
Ryan Tharp
a3d791e516
update logging to new format
2018-07-13 09:28:50 +00:00
Ryan Tharp
cfb69224b5
Merge branch 'master' of https://github.com/neuroscr/loki-network
2018-07-13 07:54:27 +00:00
Jeff Becker
5bbaae4e2e
more
2018-07-12 14:21:44 -04:00
Jeff Becker
bae4f746be
publish hidden service descriptors and acknoledge publish
2018-07-11 12:11:19 -04:00
Jeff Becker
6ad79b97dc
broken
2018-07-09 13:32:11 -04:00
Jeff Becker
dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht
2018-07-09 10:24:44 -04:00
sachaaaaa
61bb7905f0
fix method calls in server.cpp + use ctor instead of factory/allocator
...
to squash
2018-07-09 15:01:30 +10:00
sachaaaaa
661f050636
Fix includes/forward declarations
2018-07-09 15:01:30 +10:00
sachaaaaa
c7940076bf
Remove most of the extern "C"
...
remove extern "C"
2018-07-09 14:34:09 +10:00
Ryan Tharp
840a50abbc
don't skip private interfaces quite yet/we need them for NAT to work correctly, try_connect refactor clean up
2018-07-08 06:28:10 -07:00
Jeff Becker
21a2ffdeaf
* refactor log functions
...
* add more stuff for hidden service dht
2018-07-05 11:44:06 -04:00
Ryan Tharp
938cfec657
Revert "resolve_job_type() and on_verify_client_rc() clean u"
...
This reverts commit 9805cc153f
.
2018-07-04 14:01:32 -07:00
Ryan Tharp
9805cc153f
resolve_job_type() and on_verify_client_rc() clean u
2018-07-04 05:09:18 -07:00
Jeff Becker
cc23d8ddbd
format
2018-07-03 09:34:53 -04:00
Jeff Becker
2b8cd93d6a
make it compile :^)
2018-07-03 09:34:46 -04:00
Jeff Becker
ab509e0a13
try not to crash
2018-07-03 09:33:37 -04:00