Commit Graph

21 Commits

Author SHA1 Message Date
Jeff Becker
62f41d3747
initial threadpool isolation code and run make format 2018-08-08 13:43:46 -04:00
despair86
9c0b395c67 vs clang format isn't supposed to inject tabs ffs 2018-08-03 19:06:11 -05:00
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
2018-08-01 23:41:02 -05:00
Jeff Becker
48cfdab63c get rid of wizard and autogenerate configs if not present with sane defaults 2018-07-27 10:21:57 +10:00
Ryan Tharp
dfc347aefb fix NAT 2018-07-26 03:21:19 -07:00
Jeff Becker
4dd7b2843f only get public addresses 2018-07-25 14:05:23 +10:00
Jeff Becker
c445897706 typo fix 2018-07-24 13:23:00 +10:00
Jeff Becker
ec5ac295e4 test 2018-07-24 13:21:33 +10:00
Jeff Becker
4ec076baf5 android ifaddrs shim 2018-07-24 12:34:12 +10:00
Jeff Becker
dfa567e816
Merge remote-tracking branch 'sachaaaa/refactor' into hidden-service-dht 2018-07-09 10:24:44 -04:00
sachaaaaa
c7940076bf Remove most of the extern "C"
remove extern "C"
2018-07-09 14:34:09 +10:00
Jeff Becker
21a2ffdeaf
* refactor log functions
* add more stuff for hidden service dht
2018-07-05 11:44:06 -04:00
Jeff Becker
51c5cf8540
get rid of AF_PACKET for now 2018-06-14 16:42:30 -04:00
Jeff Becker
a947806b57
start working on onion routing parts 2018-06-08 09:12:17 -04:00
Ryan Tharp
d7672aa37a AF_PACKET guards 2018-05-29 05:15:34 -07:00
Jeff Becker
d426f9e65e
more 2018-05-23 09:49:00 -04:00
Jeff Becker
bc9e32d690
clang format and lots of stupid bug fixes 2018-05-22 11:54:19 -04:00
Jeff Becker
4959067af2
it binds 2018-05-18 09:17:58 -04:00
Jeff Becker
f022a5bcdf
more 2018-05-17 16:00:58 -04:00
Jeff Becker
58247343bf
format 2018-02-01 12:07:01 -05:00
Jeff Becker
1fdfdc0244
more 2018-02-01 12:06:49 -05:00