Jeff Becker
5cbfccfff4
don't crash
6 years ago
Jeff Becker
a3bb2c7d6a
actually start disk threadpool
6 years ago
Jeff Becker
1380014583
set hooks
6 years ago
Jeff Becker
ab5f477907
fix up leak
6 years ago
Jeff Becker
b543d6243d
Merge branch 'master' into dev
6 years ago
Jeff Becker
a8ec8a4215
Merge remote-tracking branch 'origin/master'
6 years ago
Jeff Becker
336ef631b2
more logging, try expunging loose sessions more vigorously
6 years ago
Michael
f91d2b9e11
Rename proto.h
6 years ago
Jeff Becker
c9fda1e5af
pass
6 years ago
Jeff Becker
2e13daae27
start threadpool explicitly
6 years ago
Jeff Becker
3585a558ec
Merge branch 'master' into dev
6 years ago
Jeff Becker
9c54939324
make llarp_router::SendToOrQueue check inbound and outbound links instead of just inbound or just outbound
6 years ago
Jeff Becker
56676002aa
wire up exit traffic
6 years ago
Jeff Becker
5dbe41608f
more exit stuff
6 years ago
Jeff Becker
09945dce62
initial exit/service node comm code with some unit tests (incomplete)
6 years ago
Jeff Becker
7b61cbb4a1
make dns port configurable, update default dns
6 years ago
Jeff Becker
a83e21c464
add upstream dns to default hidden service
6 years ago
Jeff Becker
fb0e6c3d9c
make dns configurable on runtime
6 years ago
Jeff Becker
960aa479e9
fixes for ancient rpi toolchain
6 years ago
Jeff Becker
7090a012f3
Merge remote-tracking branch 'micheal/wextra' into dev
6 years ago
Michael Thorpe
33bfaf7ecd
Enable -Wextra
...
test criteria:
- test build on macOS
- test build in debian docker container
- test build in fedora docker container
6 years ago
Michael Thorpe
a2d5d80779
Enable warnings as errors
...
test criteria:
- Built from clean on macOS
6 years ago
Jeff Becker
f1cca956f9
make android compile again
6 years ago
Jeff Becker
f03603a0da
always remove dht nodes, lock sometimes, don't make router destructor virtual
6 years ago
Jeff Becker
dbd2c41909
use event loop for time
6 years ago
Jeff Becker
6e1761eb05
first jsonrpc endpoint added
6 years ago
Jeff Becker
48e4f676cc
add rpc method for llarp.admin.link.neighboors
6 years ago
Jeff Becker
c6f1355c5d
Merge branch 'master' into dev
6 years ago
Jeff Becker
612057003a
de changes
6 years ago
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
6 years ago
Jeff Becker
d3278946f2
ipv4 bogon checking
6 years ago
Jeff Becker
bf9512dfaf
Merge remote-tracking branch 'ryan/master'
6 years ago
despair86
e08dedf7a2
really fix endianness
6 years ago
despair86
630cf99bae
fix inet4 to inet6 transition bug
6 years ago
Ryan Tharp
14ccb2f81e
Merge branch 'master' of https://github.com/loki-project/loki-network
6 years ago
Ryan Tharp
924c3c0895
fix cast
6 years ago
Jeff Becker
475ac63f4a
initial admin api infra
6 years ago
Jeff Becker
291cc57395
revert
6 years ago
Jeff Becker
0480df528c
fixes
6 years ago
Jeff Becker
848f5c3059
make it compile
6 years ago
Ryan Tharp
57fccaf2e6
ShouldCreateDefaultHiddenService(), auto mode for defaultIfAddr & defaultIfName, favor llarp::Addr, guards, NAT with no bindings fix, actually name ifname set ifname
6 years ago
Jeff Becker
d71f0db2a5
more vigorous profiling
6 years ago
Jeff Becker
746e95994e
stricter profiling and better handover
6 years ago
Ryan Tharp
f4c5999852
Merge branch 'master' of https://github.com/loki-project/loki-network
6 years ago
Ryan Tharp
bcbaf47adf
ShouldCreateDefaultHiddenService(), auto mode for defaultIfAddr & defaultIfName, favor llarp::Addr, guards, NAT with no bindings fix, actually name ifname set ifname
6 years ago
Jeff Becker
1f02498fc0
code for disabling default hidden service
6 years ago
Jeff
acc03fcad7
add default hidden service endpoint for clients
6 years ago
Jeff Becker
2b8bd11f5e
ping less and try not to double free in llarp_router::SendToOrQueue
6 years ago
Jeff Becker
ed5867e49f
don't use std::list
6 years ago
Ryan Tharp
29a304f928
Merge branch 'master' of https://github.com/loki-project/loki-network
6 years ago
Jeff Becker
a36de551e4
try connecting but still drop
6 years ago
Ryan Tharp
8f5b172d33
merge?
6 years ago
Jeff Becker
3963070139
fix windows
6 years ago
Jeff Becker
c31fd5fcde
make hidden services work again (probably)
6 years ago
Jeff Becker
5ebe3cc97c
limits and have clients use ephemeral identity
6 years ago
Jeff Becker
b0f15d668a
don't close stale router sessions
6 years ago
Jeff Becker
e047bfa266
update readme
...
add sighup
6 years ago
Jeff Becker
2f2e3be8b7
lessen logging spew
6 years ago
Jeff Becker
7027ba2cf1
more agressive network exploration
...
add install target for makefile
6 years ago
Jeff Becker
354df88367
more ip endpoint fixes
...
spam dht with lookups less
6 years ago
Jeff Becker
ffdff3e09c
mark successful connections in profiling
...
don't dht lookup bad routers
6 years ago
Jeff Becker
6986f04418
basic router profiling and fix ip rewrite
6 years ago
Jeff Becker
3af51cbe55
add path latency minimum checker
...
add min-latency option to hidden service config
6 years ago
Jeff Becker
c0afc97d41
better explore logic
6 years ago
Jeff Becker
956549c818
connect to 10 random routers on startup
6 years ago
Jeff Becker
b96887ddb2
various fixes and tweaks
6 years ago
Jeff Becker
1df9a4b078
persist RC from lookups in nodedb
6 years ago
Jeff Becker
b23dab09fb
don't overwrite our RC, hide parameter.
6 years ago
Jeff Becker
4b3a113397
mostly works
6 years ago
Jeff Becker
5dfcd60df1
more
6 years ago
Jeff Becker
6ef89ea8b2
un break (kinda)
6 years ago
Jeff Becker
60d5277351
broken
6 years ago
Jeff Becker
ba648868c4
more
6 years ago
Jeff Becker
2a8fc53ca6
make it compile
6 years ago
Jeff Becker
1839da9c3c
add bencode file helpers and move link server functions into source file
6 years ago
Jeff Becker
c3c388b6aa
remove iwp and start on curvecp
...
does not compile
6 years ago
Jeff Becker
74b713870b
use const
...
always use outbound links
6 years ago
Jeff Becker
4e693a2414
make signatures work again ;~;
6 years ago
Jeff Becker
973f86c900
it compiles
6 years ago
Jeff Becker
5228a81bae
more refactor
...
get rid of C api
6 years ago
Jeff Becker
b122fc59f8
refactor (not done)
6 years ago
Jeff Becker
bb25537fb5
build paths if we have no connected routers to make sessions happen
6 years ago
Jeff Becker
f989996bc7
lol
6 years ago
Jeff Becker
b77525b72d
persist on commit
6 years ago
Jeff Becker
377cc78144
fix crash
6 years ago
Jeff Becker
1a1f93c171
* more tun stuff
...
* use std::unique_ptr where bare pointers aren't absolutely required
6 years ago
Jeff Becker
1d3e9f6adc
make testnet no longer crash
6 years ago
Jeff Becker
e79708c1dc
hidden services sorta work
6 years ago
Jeff Becker
32d82b5ba5
add more defaults in config with comments
6 years ago
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
6 years ago
Jeff Becker
0d2bce2089
fix up win32 specific parts
6 years ago
Jeff Becker
1b20ba6a6c
fix dead code, clean up parts.
6 years ago
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
6 years ago
Jeff Becker
7622f6cef1
dht tweaks
6 years ago
Jeff Becker
d511057b7d
* logging updates
...
* nicknames in RC (yw kee)
* spec update
* more hidden service code
6 years ago
Jeff Becker
928ec3790d
deterministic logging
6 years ago
Jeff Becker
058ce4fae3
don't put private addresses into rc EVER
6 years ago
Jeff Becker
48cfdab63c
get rid of wizard and autogenerate configs if not present with sane defaults
6 years ago
Jeff Becker
976ca3015c
move iwp server to own source file
6 years ago
Ryan Tharp
554834425d
important note, as I have relays that are outbound only
6 years ago