Commit Graph

319 Commits (41cd1d4df12ab1a33fc231cfbe96eb03c8ac19d9)

Author SHA1 Message Date
Jeff Becker 41cd1d4df1
fix win32 6 years ago
Jeff Becker 4e2f0ccbf8
* add ProcessIf in CoDel queue to requeue unprocessed items
* more tun code
* make event loop tick and write with tun
6 years ago
Jeff Becker 4aebbda640
more tun stuff 6 years ago
despair86 c24a73f756 ran the linter on new code 6 years ago
despair86 8c1b2c3b79 win32 fluff
more win32 on msc++ fluff

and a solaris patch that i may revert later if the cpp directives aren't processed correctly
-despair86
6 years ago
Ricardo Villegas d394e229ca unix fixes 6 years ago
despair86 9ad93a0893 sunos patches, avoid shadowing data members in derived classes, header fixes
SunOS build works, with a few issues:

- no tuntap debugging on Solaris? (TUNSDEBUG ioctl missing)
- regular socket ioctls are not pulled in with #include <sys/ioctl.h>
  even though they're included at the bottom of same (filio.h,
  sockio.h)
- no named threads in any libre fork of solaris

-despair86 (rick)

sun patch
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 62e14379c8
bump version to 0.0.3 6 years ago
Jeff Becker 08d6121a5a
more tun code 6 years ago
Jeff Becker bb2754f3d9
more fixes? 6 years ago
Jeff Becker 191e9c29e1
will this help ? idk 6 years ago
Jeff Becker 27ba8b6c67
try fixing win32 build 6 years ago
Jeff Becker 04bf8d6116
some tun interface code 6 years ago
Jeff Becker 54f70f370a
remove NullCondition unused code 6 years ago
Jeff Becker 6a828ea985
fix shadow build 6 years ago
Jeff Becker 1d3e9f6adc
make testnet no longer crash 6 years ago
Jeff Becker 186bd7d573
use NTRU for introset end to end encryption 6 years ago
Jeff Becker d7c1c3322f
it works. 6 years ago
Jeff Becker e79708c1dc
hidden services sorta work 6 years ago
Jeff Becker a9b28e5407
more fuxing around 6 years ago
Jeff Becker c36c83d9dc
more hidden service code 6 years ago
Jeff Becker 2db8811cae
fix address detection 6 years ago
Jeff Becker 6bae623481
more defaults 6 years ago
Jeff Becker 32d82b5ba5
add more defaults in config with comments 6 years ago
Jeff Becker d5532e4de4
more boilerplate and enable tun/tap build 6 years ago
Jeff Becker e4bcf44a25
make net isolated threadpool more generic 6 years ago
Jeff Becker 62f41d3747
initial threadpool isolation code and run make format 6 years ago
Jeff Becker 4deda702ff fix it 6 years ago
Jeff Becker bed57ee44d more android logging 6 years ago
Jeff Becker 2d34935dd9 fix 6 years ago
Jeff Becker 8488844ac0 fix 6 years ago
Jeff Becker ec6b468b44 android logging 6 years ago
Jeff Becker 86ec4dacc3 dht and testnet fixes 6 years ago
sachaaaaa 37aed03df2 use WIN32_LEAN_AND_MEAN project-wise to silent warnings on windows about winsock2.h and windows.h 6 years ago
Jeff Becker a99fa8f6cf try fixing windows cross compile 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 6ffa2eed1c fix up dht 6 years ago
Jeff Becker d511057b7d * logging updates
* nicknames in RC (yw kee)

* spec update

* more hidden service code
6 years ago
Jeff Becker bc1c49b092 dht fixes 6 years ago
Jeff Becker d1bbce8192 add uint16/32 put/read on buffers 6 years ago
Jeff Becker 928ec3790d deterministic logging 6 years ago
Jeff Becker 2c652174b9 correct bitmask 6 years ago
Jeff Becker 2e13eac024 make it compile 6 years ago
Jeff Becker 14b27b432e typofix 6 years ago
Jeff Becker 24960ca47b meh 6 years ago
Jeff Becker a8567b0d21 fix previous commit 6 years ago
Jeff Becker 1f29155f43 typofix 6 years ago