Jeff Becker
3718a7d016
Merge remote-tracking branch 'github/master' into dev
6 years ago
Jeff
23c8807d59
Merge pull request #54 from neuroscr/master
...
DNS QoL improvements
6 years ago
Ryan Tharp
f03c41a99f
Deprecate DNS_PORT as configureable in INI now. Reduce confusion as it would change DNSc port too and I believe it was meant only to change DNSd port.
6 years ago
Jeff Becker
658210b9d1
fix up exit tun, fix up codel to actually do its job
6 years ago
Jeff Becker
b462090e9c
more
6 years ago
Jeff Becker
fa1333b13b
meh
6 years ago
Jeff Becker
b11bddad02
fixes
6 years ago
Jeff Becker
d24bc70a7e
try fix
6 years ago
Jeff Becker
fd4b452cdd
fix
6 years ago
Jeff Becker
56676002aa
wire up exit traffic
6 years ago
Jeff Becker
f40e4c0c84
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
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
Ryan Tharp
5d90cbe895
Merge branch 'master' of https://github.com/loki-project/loki-network
6 years ago
Ryan Tharp
82d8d3c04d
merge
6 years ago
Ryan Tharp
67390de0c2
merge
6 years ago
cathugger
73e6141023
ip: endianess swaps aren't needed, a bit of renaming and tweaking
...
Also `make format`.
6 years ago
Jeff Becker
dbd2c41909
use event loop for time
6 years ago
Ryan Tharp
9205b8172c
scan-build fixes
6 years ago
Jeff Becker
d3bada5564
fix windows
6 years ago
Jeff Becker
51baf43e99
fix
6 years ago
Jeff Becker
94e4a6798c
fix windows
6 years ago
Ryan Tharp
c3c2eda283
clang-format
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
d3278946f2
ipv4 bogon checking
6 years ago
cathugger
ca01daa89a
ip: support DCCP and UDP-Lite, TCP chksum twx; tun: more filtering
6 years ago
cathugger
d0c35803a5
tun+ip: filter packets at destination, drop instead of truncating
6 years ago
cathugger
71c9965471
ip: code cleanups and compatibility improvements
...
do not assume that packets come with address zero-ed, older clients don't do that.
they don't modify checksum either, therefore we should be able to get correct checksum if we use deltachksum with old and new addresses.
6 years ago
cathugger
e1c7d8a696
some tweaks and fixups
6 years ago
cathugger
4971fae171
uint32_t byte ordering type safety
6 years ago
Jeff Becker
aa988a6fa4
Merge remote-tracking branch 'cathugger/master'
6 years ago
cathugger
05e6c31238
ip: some fixes and tweaks
6 years ago
Jeff Becker
32a028f6d8
Merge remote-tracking branch 'cathugger/master'
6 years ago
Jeff Becker
cbfc73515e
fix zeroing of addresses, put it in the right place
6 years ago
cathugger
0f8e0e9d58
tun: fix "fix "clear src/dst addresses and checksum before sending""
...
correct dst address is required for FlushSend to work, so do IP address and checksum null'ing there.
dang myself.
6 years ago
cathugger
4f7ae52cad
tun: fix "clear src/dst addresses and checksum before sending"
...
clearing of addresses and checksum was put in wrong place, so it null'd everything before writing to tun interface.
damnit jeff.
6 years ago
cathugger
2f4b0fbda6
ip: use delta TCP checksum calculation, don't recalculate ICMP checksum
6 years ago
cathugger
4cba59f3c4
tun+ip: clarify what happens where
6 years ago
Jeff Becker
eb9150431f
make it compile
6 years ago
Jeff Becker
6d7d6f6efa
clear src/dst addresses and checksum before sending (infoleak)
6 years ago
despair86
3c13101beb
clang-format
6 years ago
despair86
457d6fbaf6
rebase conflict
6 years ago
despair86
ca0d09142a
Finally put together some skeletal TUN code for NT
...
up next: debugging the windows client code
stretch goal: prototype hosting a full masternode on Windows Server (still _highly_ experimental when it _does_ appear)
6 years ago
Ryan Tharp
6738fcaa6a
make sure iptracker is configured on start
6 years ago