Commit Graph

  • 17572da83e Adopt "Tun" namespace at global AdapterCount variable Simon Rozman 2019-06-20 13:42:35 +0200
  • faf810e8cb Fix NdisQueryMdl() NULL-buffer check Simon Rozman 2019-06-20 12:00:21 +0200
  • 9514ef37b3 Save some valuable lessons learned on Windows internals Simon Rozman 2019-06-20 11:24:03 +0200
  • da3caadf48 Accept IRP_MJ_WRITE when paused but silently drop the packets Simon Rozman 2019-06-19 09:38:39 +0200
  • 7004db43a7 Support surprise removal Simon Rozman 2019-06-18 13:59:27 +0200
  • 85b4a769cf Replace PnP notifications with IRP_MJ_PNP dispatch handler Simon Rozman 2019-06-20 09:46:52 +0200
  • 6b0293b18b Distinguish NDIS_STATUS and NTSTATUS Simon Rozman 2019-06-20 10:15:26 +0200
  • b07c268e0c Implement proper PnP notification re-registration on canceled removal Simon Rozman 2019-06-17 23:10:34 +0200
  • 838251780e Rename ActiveTransactionCount to ActiveNBLCount Simon Rozman 2019-06-17 21:10:39 +0200
  • e3dfeeb2be Reuse Device.RefCount value to prevent duplicate status indications Simon Rozman 2019-06-13 21:35:09 +0200
  • 54ee02ae34 Fix the cleanup order in TunDispatchWrite() Simon Rozman 2019-06-13 21:33:36 +0200
  • dc7a6fca11 Cleanup ref-counting overflow asserts Simon Rozman 2019-06-12 22:21:04 +0200
  • 70fcfdc85d Add missing state transition lock Simon Rozman 2019-06-12 22:10:37 +0200
  • 60e103cad3 Revise adapter state checking Simon Rozman 2019-06-12 20:00:36 +0200
  • 8162297c15 Count active transactions in NBLs rather than IRPs in receive direction Simon Rozman 2019-06-12 16:13:12 +0200
  • 47cde0f340 Cleanup adapter power monitoring Simon Rozman 2019-06-12 15:27:07 +0200
  • bce44d30e4 Use more appropriate status when rejecting NBLs with no client connected Simon Rozman 2019-06-12 15:26:19 +0200
  • 2392d173e7 Restore adapter on PnP remove-cancel and reuse notification file object Simon Rozman 2019-06-10 19:25:57 +0200
  • 5c8dafcb3f Simplify state machine Simon Rozman 2019-06-10 15:02:10 +0200
  • a530bb1b84 Set deny-all DACL instead of removing symlink on halting Sergei Mileshin 2019-06-17 05:05:45 +0300
  • 2e744ebde5 Revise buffer size calculation to work across 32/64-bit boundary Simon Rozman 2019-06-10 13:38:33 +0200
  • c7fbe74d0e Version bump Jason A. Donenfeld 2019-06-07 12:46:48 +0200
  • 12e9f53fe2 Do not take handle reference with verifier enabled Jason A. Donenfeld 2019-06-08 08:54:56 +0000
  • c848006144 Clean TunWaitForReferencesToDropToZero() Simon Rozman 2019-06-08 06:52:19 +0200
  • 5c2a9a991e Refactor IRP_MJ_CLOSE TransitionLock unlocking Simon Rozman 2019-06-08 06:40:32 +0200
  • 9ee4310026 Document toolchain requirement Jason A. Donenfeld 2019-06-07 13:53:39 +0200
  • ced1bcdd52 Reorder source code Simon Rozman 2019-06-07 12:23:44 +0200
  • bbbe72ce84 Remove documentation files from project file Simon Rozman 2019-06-07 13:00:56 +0200
  • b6de71ffcd Add wintun.sln for convenience Simon Rozman 2019-03-07 09:57:00 +0100
  • 2a5da5c58f Revise constants requiring network-byte order Simon Rozman 2019-06-07 08:16:24 +0200
  • 9a815147f6 Annotate service control constants Simon Rozman 2019-06-06 14:28:51 +0200
  • 3306c6ec6c Use per-protocol NBL lists on write Simon Rozman 2019-06-06 08:11:30 +0200
  • 9504191ba0 Unify interlocked reference counting Simon Rozman 2019-06-05 13:04:22 +0200
  • 6c405efc42 README: 256 packets per exchange buffer limitation is obsolete Simon Rozman 2019-06-05 11:52:15 +0200
  • cc3c1fefcb Check number of packets in exchange buffer for overflow Simon Rozman 2019-06-05 11:51:26 +0200
  • fd6300dc6f Reduce IRP reference counter to 32-bit Simon Rozman 2019-06-05 07:49:15 +0200
  • 14617f118f Revise TransitionLock usage Simon Rozman 2019-06-04 11:55:13 +0200
  • 486b1c374b Simplify NdisMSendNetBufferListsComplete() flags Simon Rozman 2019-06-04 09:04:17 +0200
  • ea26894a99 Delete symlink before forcing handles closed Jason A. Donenfeld 2019-06-03 12:08:06 +0000
  • 86e425a0dc Document TransitionLock semantics and RCU intent Jason A. Donenfeld 2019-06-03 10:56:50 +0000
  • 888cad7f2a Delay exit from HaltEx Jason A. Donenfeld 2019-05-31 12:40:49 +0000
  • c19da2a99e Revise TunCompleteRequest() and make it universal Simon Rozman 2019-05-31 12:49:31 +0200
  • b9d0b301b8 Revise IRP_MJ_WRITE error reporting Simon Rozman 2019-05-31 09:57:02 +0200
  • adefe271a1 Switch to pending writes Simon Rozman 2019-05-30 21:12:55 +0200
  • b6cc08d574 Force handles closed if required Jason A. Donenfeld 2019-05-30 21:39:33 +0200
  • 44ddfbe357 Clear NBLs on PnP notification Jason A. Donenfeld 2019-05-30 22:50:07 +0000
  • 156294bb6e Clear internal NBL queue on transition to MediaConnectStateDisconnected Simon Rozman 2019-05-24 14:18:18 +0200
  • 17e9e17826 Upgrade to VS2019 and update CSQ locking for analysis Simon Rozman 2019-05-31 08:42:36 +0200
  • c0c1bae82e Turn on compiler speed options Jason A. Donenfeld 2019-05-31 11:39:01 +0000
  • b13ecdf97a README: Fix padding calculation Jason A. Donenfeld 2019-05-15 12:13:25 +0200
  • bcb398bd62 installer: better WoW64 language Jason A. Donenfeld 2019-04-26 15:10:26 +0200
  • 585ec16cac Make InstallCertificates and MsiProcessDrivers order deterministic Simon Rozman 2019-04-26 14:48:39 +0200
  • aeb0657dff installer: put whql assets in reasonable place Jason A. Donenfeld 2019-04-26 14:20:22 +0200
  • c91cac07f9 Note sha256 issue Jason A. Donenfeld 2019-04-26 14:10:56 +0200
  • a0491c6b08 installer: fix typos Jason A. Donenfeld 2019-04-26 14:07:32 +0200
  • 5094737f8c Split driver setup to EV signed (<Win10) and WHQL signed (>=Win10) Simon Rozman 2019-04-26 11:26:59 +0200
  • 6c3084c53c Quote platform names Simon Rozman 2019-04-26 10:06:30 +0200
  • 95c5503027 Prevent WoW64 installations Simon Rozman 2019-04-26 09:30:58 +0200
  • f2c3720aa7 README: only specify SHA1 in certificate specifier Jason A. Donenfeld 2019-04-25 08:05:19 +0200
  • 66525255d0 README: Be explicit about timestamp server Jason A. Donenfeld 2019-04-25 07:56:08 +0200
  • eb16ea534d De-haiku wintun.proj Simon Rozman 2019-04-23 13:28:03 +0200
  • 56424d52f7 Extend MSBuild project to build all supported platforms at once Simon Rozman 2019-04-23 13:19:27 +0200
  • daba4f4c7d README: fix up documentation Jason A. Donenfeld 2019-04-20 11:37:09 +0900
  • 38f44fe46c MSM: Migrate WiX command line options to appropriate ItemGroups Simon Rozman 2019-04-19 20:21:47 +0200
  • 532156de82 MSM: Fix digital signing of output files Simon Rozman 2019-04-19 20:14:38 +0200
  • a979361217 MSM: Install driver files to C:\Program Files\Wintun Simon Rozman 2019-04-19 16:19:49 +0200
  • 13183d8ac6 Add missing dependencies Simon Rozman 2019-04-19 15:47:28 +0200
  • 9f31f27840 Switch from NMake to MSBuild Simon Rozman 2019-04-19 15:24:39 +0200
  • 6f38514280 Makefile: use more standard output filenames for msm Jason A. Donenfeld 2019-04-19 08:04:39 +0900
  • 64ce036fb6 Preset version to 0.1 Simon Rozman 2019-04-18 14:35:51 +0200
  • e4f4d71477 Make Makefile build all supported platforms Simon Rozman 2019-04-18 14:00:02 +0200
  • cd34b73893 Move MSM files to a distribution folder Simon Rozman 2019-04-18 12:52:56 +0200
  • 6efdb3a317 Add version and platform designation to wintun.msm filenames Simon Rozman 2019-04-18 12:21:23 +0200
  • 50b9e241d4 Stop producing wixpdb Simon Rozman 2019-04-18 12:07:39 +0200
  • 18a9219507 Remove smvbuild.log on clean Simon Rozman 2019-04-18 11:25:08 +0200
  • 04ccd6744c Nuke output folder on clean Simon Rozman 2019-04-18 11:24:38 +0200
  • c223393e7c Cleanup clean target Simon Rozman 2019-04-17 15:09:21 +0200
  • bfa3b3f6cc MSM: Explicitly version driver files Simon Rozman 2019-04-17 13:25:55 +0200
  • 361dd60a04 MSM: Mark package as read-only Simon Rozman 2019-04-17 12:40:54 +0200
  • baba7bb6d0 MSM: Mark package to require elevated and per-machine install Simon Rozman 2019-04-17 12:39:27 +0200
  • 1ec2a54a5c MSM: Mark module as language-independent Simon Rozman 2019-04-17 12:38:10 +0200
  • 1031ad44da Add MSM packaging support Simon Rozman 2019-04-16 16:10:48 +0200
  • f8a2923b93 Reintroduce Windows 7 support Simon Rozman 2019-04-15 15:28:33 +0200
  • 84f3c3e455 Add ARM64 compiling support Simon Rozman 2019-04-15 13:25:31 +0200
  • afef39616c Revise architecture naming convention Simon Rozman 2019-04-15 13:14:42 +0200
  • 82655e6e0e Fixup readme markdown formatting Jason A. Donenfeld 2019-04-14 08:48:00 +0200
  • 6298787aa3 Establish command line building support Simon Rozman 2019-04-13 19:15:23 +0200
  • 207144965a Revise OID request return statuses Simon Rozman 2019-04-12 15:27:45 +0200
  • 207e1c4896 Assist SDV in realizing that non-NULL IRP => non-NULL buffer Simon Rozman 2019-04-12 14:37:01 +0200
  • 4c47c2fbbf TunCanFitIntoIrp => TunWontFitIntoIrp Simon Rozman 2019-04-12 13:51:33 +0200
  • 366e8f1eef .gitignore Static Driver Verifier output Simon Rozman 2019-04-12 13:13:15 +0200
  • 5120529350 Fix output folder Simon Rozman 2019-04-12 13:10:26 +0200
  • 50a09cad71 Move #define NDIS... to ClCompile/PreprocessorDefinitions Simon Rozman 2019-04-12 13:02:34 +0200
  • 4eb3c1f7c0 Enable code analysis on Release build and set it to DriverMustFixRules Simon Rozman 2019-04-12 09:04:49 +0200
  • 67ebf9fe4a Set UseDebugLibraries to true for debug driver builds Simon Rozman 2019-04-12 10:13:07 +0200
  • 9cda719d85 Fix indentation Simon Rozman 2019-04-12 08:09:06 +0200
  • d9831a9197 InterlockedAdd/Subtract(val, 1) => InterlockedIncrement/Decrement(val) Simon Rozman 2019-04-12 07:58:03 +0200
  • 1770ac146d Wait for handles to close before returning from TunHaltEx() Simon Rozman 2019-04-11 19:28:33 +0200
  • ca79fd1368 Revise I/O errors Simon Rozman 2019-04-11 18:24:45 +0200
  • d3cc0570de Initialize ActiveTransactionCount to 1 Simon Rozman 2019-04-11 15:08:45 +0200