Commit Graph

55 Commits (7a7a4f1e52ed3669565ef2446f0a398b1755f9ec)

Author SHA1 Message Date
Jeff Becker 49c898ed92
Merge remote-tracking branch 'origin/master' into staging 6 years ago
Jeff 4b2a1ea9f3 make format and attempt to fix #158 6 years ago
Rick deab67d290
add special case for loopback (which is _not_ a distinct interface on windows) 6 years ago
Jeff Becker c454b5264c
Merge branch 'master' into dev 6 years ago
Jeff Becker a838d0431c
fix 6 years ago
Jeff Becker 1cde6c52c4
don't pick bogons 6 years ago
Jeff Becker 861cfcebd5
don't pick bogons 6 years ago
Michael 85dde7b6b0
Move remaining include/llarp headers to llarp/ 6 years ago
Michael f667d4e81c
Move str.hpp to llarp/ 6 years ago
despair d26141d433 Merge branch 'dev' into reeeee-divergence
ok hope this works -rick

# Conflicts:
#	.gitignore
#	.vscode/settings.json
#	include/llarp/service/context.hpp
#	llarp/dns.cpp
#	llarp/dnsc.cpp
#	llarp/ev.cpp
#	llarp/ev.hpp
#	llarp/ev_win32.hpp
#	llarp/net.cpp
#	llarp/router.cpp
#	llarp/router.hpp
#	llarp/service/context.cpp
6 years ago
Jeff Becker 25fac844eb
make format 6 years ago
Jeff 067f6c7b26 make format and make it compile with clang 6 years ago
Jeff Becker 5d0a9d7dc7
make format 6 years ago
despair be7ac352ca switch to a simulation of epoll
the native async event system on windows
is _not_ very good at getting external events
(i.e. we receive data, but we don't get any indication
that this ever happened)
6 years ago
despair d311b2e9a9 remove dead code
(rip golden shield users D:)

remove more dead code

debug udp stuff

remove debug kqueue
6 years ago
Jeff Becker 38a92cb1a8
fixes for testnet 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
Jeff Becker f1cca956f9
make android compile again 6 years ago
Ryan Tharp 5d90cbe895 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Ryan Tharp 67390de0c2 merge 6 years ago
despair c5d1b32286 remove microsoft c++ crud
🤔🤔🤔🤔
6 years ago
Jeff Becker cc106ed37b
fix dht bug, probably, re-enable loopback testnet functionality 6 years ago
Jeff Becker 15c99f3192
unit tests for bogons 6 years ago
Jeff Becker d3278946f2
ipv4 bogon checking 6 years ago
Ryan Tharp 2fb5eaba1c remove getSockAddr() per Jeffs PR CR, add additional notes to reduce confusion 6 years ago
Ryan Tharp 48d9a38534 getSockAddr(), findFreePrivateRange(), findFreeLokiTunIfName() 6 years ago
despair86 19b7f47322 bug: if we have only one network interface, then terminate the linked list with nullptr
otherwise, the windows build will crash
6 years ago
despair86 7c5d98ca31 clean up win32 build rules 6 years ago
Ryan Tharp 9f33edeed0 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Jeff Becker 085563ac2f
implement utp link protocol
gut curvecp for now
6 years ago
Jeff Becker ce1290d327
add more members to llarp::Addr 6 years ago
Jeff Becker 62f41d3747
initial threadpool isolation code and run make format 6 years ago
Ryan Tharp f6398f0126 llarp_getPrivateIfs(), format 6 years ago
despair86 9c0b395c67 vs clang format isn't supposed to inject tabs ffs 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 48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 6 years ago
Ryan Tharp dfc347aefb fix NAT 6 years ago
Jeff Becker 4dd7b2843f only get public addresses 6 years ago
Jeff Becker c445897706 typo fix 6 years ago
Jeff Becker ec5ac295e4 test 6 years ago
Jeff Becker 4ec076baf5 android ifaddrs shim 6 years ago
Jeff Becker dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 6 years ago
sachaaaaa c7940076bf Remove most of the extern "C"
remove extern "C"
6 years ago
Jeff Becker 21a2ffdeaf
* refactor log functions
* add more stuff for hidden service dht
6 years ago
Jeff Becker 51c5cf8540
get rid of AF_PACKET for now 6 years ago
Jeff Becker a947806b57
start working on onion routing parts 6 years ago
Ryan Tharp d7672aa37a AF_PACKET guards 6 years ago
Jeff Becker d426f9e65e
more 6 years ago