Commit Graph

20 Commits (b16a76afbec25c62737f749d94fa251de2d20a08)

Author SHA1 Message Date
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
Jeff Becker bc9e32d690
clang format and lots of stupid bug fixes 6 years ago
Jeff Becker 4959067af2
it binds 6 years ago
Jeff Becker f022a5bcdf
more 6 years ago
Jeff Becker 58247343bf
format 6 years ago
Jeff Becker 1fdfdc0244
more 6 years ago