Commit Graph

60 Commits (67eadff1434de707b121ed535139d19c35095d37)

Author SHA1 Message Date
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 a59343cfec
we NEED NT >= 6 for event loop 6 years ago
Jeff Becker 13f9816c38
format 6 years ago
Jeff Becker 11e2e565c3
correct endianness 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
Jeff Becker 2d279e83fd
initial tcp connect for epoll 6 years ago
despair c5d1b32286 remove microsoft c++ crud
🤔🤔🤔🤔
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
Ryan Tharp 3b24b69513 TunEndpoint::ObtainAddrForIP(), identity tun range better, actually return revdns for tunmapaddrs, make in-addr.arpa matching smarter, actually send 404s, additional unit test 6 years ago
Jeff Becker 15c99f3192
unit tests for bogons 6 years ago
Jeff Becker e4f8917a89
correct ip range check 6 years ago
Jeff Becker d3278946f2
ipv4 bogon checking 6 years ago
cathugger 4d5f5fecfa
ip: make things fragmentation-aware, cleanup UDP handling; also format
one's complement math is pretty fun
6 years ago
Jeff Becker bf9512dfaf
Merge remote-tracking branch 'ryan/master' 6 years ago
Jeff Becker 8bf28940d1
Merge remote-tracking branch 'cathugger/master' 6 years ago
cathugger 18c20396b6
add {h,n}uint16_t types, optimize TCP/UDP checksuming
use static functions + switch instead of lambda functions + map.
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
cathugger e1c7d8a696 some tweaks and fixups 6 years ago
cathugger 4971fae171 uint32_t byte ordering type safety 6 years ago
Ryan Tharp 9b3bd751e7 non-const sockaddr support 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
Ryan Tharp 4b3b09736b Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
despair86 9fdde65798 make bencode ILP32/LLP64 clean (long is 32 bits outside of unix!)
actually open new RCs in binary mode
clang-format
win32 skeleton code for tun (still working on the guts)
6 years ago
despair86 8ac7d4f6dc if we didn't specify a path to save our config in, only create .lokinet on the assumption that $HOME or $APPDATA (on NT) already exist
add win32 tun glue, fix llarp timebase
(In fact, _both_ of these are guaranteed to exist on their respective platforms.)
also, tuntap is now wired up to the windows port
6 years ago
despair86 7f809eb53b fix windows build 6 years ago
Ryan Tharp 094223a257 from_4int() and from_char_array() refactor 6 years ago
Ryan Tharp 5342c3d027 clang format 6 years ago
Ryan Tharp bda43fdad6 add c str cstr, fix ipv4 cstr, tohl(), tonl() 6 years ago
Ryan Tharp 30dc6186e9 fix LLVM 3.8 compiling 6 years ago
Ryan Tharp f9936b43d3 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Jeff Becker 58198656a3
configurable base directory for config and add option for only generating config 6 years ago
Ryan Tharp 9f33edeed0 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Ryan Tharp 742a0b8da7 Merge branch 'master' of https://github.com/loki-project/loki-network 6 years ago
Jeff Becker ba648868c4
more 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 c3c388b6aa
remove iwp and start on curvecp
does not compile
6 years ago
Jeff Becker 5228a81bae
more refactor
get rid of C api
6 years ago
Jeff Becker 199dad09dd
* kill dht feedback loop
* add dht exploration for discovering new routers

* tweak loopback testnet paramters to not be initially fully connected
6 years ago
Jeff Becker 435fba25fd
add parts to rcutil to print out info about RCs: ./rcutil -V self.signed 6 years ago
Jeff Becker 2db8811cae
fix address detection 6 years ago
Ryan Tharp 15dbaf3808 big clang-format cleanup 6 years ago
Ryan Tharp b5e136d916 fix if 10 is in use, comments and other last minute notes 6 years ago
Ryan Tharp 75bb65e909 clean up ipv4 creation, fix CopyInto 6 years ago
Ryan Tharp 352aa50aa8 privatesInUse struct, ipv4 cstr attempt, isPrivate refactor 6 years ago