Commit Graph

49 Commits (d58fab844031233cca1be72f9621105f87553c63)

Author SHA1 Message Date
Michael e887b4e9c7
Move service* to llarp/ 6 years ago
Jeff c2e379809a
Merge pull request #131 from majestrate/dev
begin fixing issue #121
6 years ago
Jeff Becker c9b014a6da
begin fixing issue #121 6 years ago
Michael 7be452092c
Convert llarp_crypto to be a true C++ class 6 years ago
Michael f0fce5b68a
Convert llarp_router to be a true C++ class 6 years ago
Jeff Becker 622ed8d12e
fix crash on premature close of event loop (also make format) 6 years ago
Jeff Becker 0147672416
more 6 years ago
Jeff Becker 3ae5c3fc54
set vanity nonce 6 years ago
despair 186e2ea989 refactored event loop base classes
use the base class impl for llarp::tcp_conn::sendto

can't seem to escape quotes ;-;

yeah this need to stay out of the unix build

turn on gnu extensions

apple stuff

remove duplicate code

clean up

fix vtable

clang-format

parameter checks
6 years ago
despair c5d1b32286 remove microsoft c++ crud
🤔🤔🤔🤔
6 years ago
Jeff Becker dbd2c41909
use event loop for time 6 years ago
Jeff cc3908f025 more changes 6 years ago
Jeff Becker 252b2ee3fb
move function into source file out of header and add operator overloading for == and != on introset 6 years ago
Jeff e0c6404830 fix previous commit 6 years ago
Jeff 0023c15d0f fix introset expiration 6 years ago
Jeff Becker 97bae70817
close sessions on link close not on destructor 6 years ago
Jeff Becker 6652cc4bde
breaking change: add timestamp to introset
i don't know why this wasn't here. i could've sworn it was.
6 years ago
Jeff Becker 86807d2631
permit 10 seconds clock skew for introsets 6 years ago
Jeff Becker ef9666e79b
add logging 6 years ago
Jeff Becker 5fb08c2139
check introset timestamps 6 years ago
Jeff Becker 29cf0c9ba5
don't propagate expired introsets 6 years ago
Jeff Becker 70a04c5dad
better introset expire logic 6 years ago
Jeff Becker baf2e1fb3c
client improvements
for real do correct timestamp comparison for introsets
6 years ago
Jeff Becker c3a7f64344
expire introsets correctly and allow multiple tun if 6 years ago
Jeff Becker 0f97494998
fug 6 years ago
Jeff Becker 751b86d8c3
forgot a change 6 years ago
Jeff Becker 186bd7d573
use NTRU for introset end to end encryption 6 years ago
Jeff Becker e79708c1dc
hidden services sorta work 6 years ago
Jeff Becker a9b28e5407
more fuxing around 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 908716aca4 cleanup 6 years ago
Jeff Becker 48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 6 years ago
Jeff Becker dbe4a35230 add sequence numbers to routing messages 6 years ago
Jeff Becker d38646ed54 more hidden service stuff 6 years ago
Jeff Becker 02ca1796b2 all the files 6 years ago
Jeff Becker 7fbc21207f more hidden service stuff 6 years ago
Jeff Becker 994a5fe928 dht fixups 6 years ago
Jeff Becker 7c518bc4da prefetch introset via tag (non working) 6 years ago
Jeff Becker 2dec6428dc introset expiration 6 years ago
Jeff Becker bb8d566671 hidden service tags 6 years ago
Jeff Becker f23ed98c33 make it work 6 years ago
Jeff Becker 0242e293c9 more 6 years ago
Jeff Becker fe01c38d8e
* fix dht feedback loop
* start on dht lookups for hidden services

* make debug logging confurable on runtime with env var LLARP_DEBUG=1

* make eventloop tick only when we get traffic

* make testnet parameters configurable on runtime
6 years ago
Jeff Becker bae4f746be
publish hidden service descriptors and acknoledge publish 6 years ago
Jeff Becker 4c08d9a028
make it compile 6 years ago
Jeff Becker 6ad79b97dc
broken 6 years ago
Jeff Becker 6cb31ecb1a
base32 encoding and unit tests 6 years ago
Jeff Becker 21a2ffdeaf
* refactor log functions
* add more stuff for hidden service dht
6 years ago
Jeff Becker c88d3860b8
some api code 6 years ago