Commit Graph

  • 29e4c0a2b4
    Fix writing domains (#135) 1.9.1 David Evans 2021-06-18 11:58:57 +01:00
  • 2f50bb22f2 Fix writing domains David Evans 2021-06-18 11:40:42 +01:00
  • b03d835bca
    Add SOCKS authentication fast path (#134) 1.9.0 David Evans 2021-06-17 14:56:32 +01:00
  • 06b37fd2cd
    Update Tests/NIOSOCKSTests/SOCKSServerHandshakeHandler+Tests.swift David Evans 2021-06-17 14:44:48 +01:00
  • 741eccfc0d Soundness David Evans 2021-06-17 14:09:44 +01:00
  • b0ee587401 Nits David Evans 2021-06-17 14:08:58 +01:00
  • b66a111d4d Refactor write methods David Evans 2021-06-17 12:56:13 +01:00
  • 61388a0f81 Refactor David Evans 2021-06-17 12:50:46 +01:00
  • 130006032a Write 0 bytes in fast path David Evans 2021-06-17 12:28:59 +01:00
  • fcea8f7c3a Add authentication failure test David Evans 2021-06-17 12:28:31 +01:00
  • 2d82ff5590 Soundness David Evans 2021-06-17 12:15:14 +01:00
  • 19ed25a181 Add authentication fast path David Evans 2021-06-17 12:13:59 +01:00
  • 548e0d4893
    Fix incorrect SOCKS client flushing behaviour (#133) David Evans 2021-06-17 11:01:54 +01:00
  • 86f449f58b Fix David Evans 2021-06-16 19:00:18 +01:00
  • 81fa0ce124 Re-add fastpath David Evans 2021-06-16 18:55:22 +01:00
  • b848f2e380 Soundness David Evans 2021-06-16 17:20:42 +01:00
  • 8b1a988248 Convert to marked buffer David Evans 2021-06-16 17:18:07 +01:00
  • dbe57d6f61 Add buffering test David Evans 2021-06-16 16:41:03 +01:00
  • 93fc12bdb7
    Implement SOCKSv5 server handshake (#132) David Evans 2021-06-16 15:51:23 +01:00
  • 72aa38f3bb Refactor to add authentication complete flag David Evans 2021-06-16 15:17:03 +01:00
  • 0252c5d62b Add data to authentication complete David Evans 2021-06-16 15:11:53 +01:00
  • 2c8c151ae8 Fix test David Evans 2021-06-16 14:56:26 +01:00
  • 6b8aa9e30c Remove promises David Evans 2021-06-16 14:24:38 +01:00
  • 8a68b0ef56 Explicitly handle states David Evans 2021-06-16 14:08:32 +01:00
  • 8d515b943e Remove client and server state from public api David Evans 2021-06-16 13:53:02 +01:00
  • 92c20130fa Add force handler removal tests David Evans 2021-06-16 13:51:13 +01:00
  • b0877907fb Add test that writing after auth fails David Evans 2021-06-16 13:39:15 +01:00
  • eac50694ad Cleanup public types David Evans 2021-06-16 13:33:14 +01:00
  • a6ff944af2 Prevent test crashes David Evans 2021-06-16 13:27:22 +01:00
  • f34ff6c6e5 Protect methods David Evans 2021-06-16 13:26:01 +01:00
  • 0a780c8c72 Make handler removable David Evans 2021-06-16 13:23:55 +01:00
  • 13fda5c503 Fix workflow tests David Evans 2021-06-16 13:19:27 +01:00
  • bc54a89f0c Docs David Evans 2021-06-16 11:36:45 +01:00
  • 0a83ecfbe0 Soundness David Evans 2021-06-16 11:22:39 +01:00
  • ba19e7dd78 Sad path tests David Evans 2021-06-16 11:19:38 +01:00
  • 373f8935c3 Remove placeholder text David Evans 2021-06-16 10:43:10 +01:00
  • 2fded79962 Soundness David Evans 2021-06-16 10:41:38 +01:00
  • e6b3379337 SOCKS handshake handler implementation David Evans 2021-06-16 10:38:59 +01:00
  • d861f305a1
    Fix SOCKS client sending greeting and port/address endianness (#131) David Evans 2021-06-11 15:21:24 +01:00
  • b375b10117
    Apply suggestions from code review David Evans 2021-06-11 14:53:14 +01:00
  • c8e63df860 Soundness David Evans 2021-06-11 14:23:43 +01:00
  • 86c8e97810 Add delayed added test David Evans 2021-06-11 14:22:15 +01:00
  • c22f1a04dc Fix endianness David Evans 2021-06-11 11:19:45 +01:00
  • 0edbe5231b Soundness David Evans 2021-06-11 10:19:09 +01:00
  • 7dabc4981f Add delayed channel connection test David Evans 2021-06-11 10:17:38 +01:00
  • ef82e7cc38 Guard channel is active David Evans 2021-06-10 22:52:11 +01:00
  • 806a0ead2c
    Implement a SOCKSv5 client (#128) David Evans 2021-06-10 12:12:30 +01:00
  • ea74fce580 Cory PR review David Evans 2021-06-10 11:36:04 +01:00
  • 2f8f80ed98 Revert missing default David Evans 2021-06-10 11:28:49 +01:00
  • f2c2b10c89 Fix Swift 5.0 again David Evans 2021-06-10 11:20:51 +01:00
  • d3a512c397 Fix Swift 5.0 David Evans 2021-06-10 11:18:17 +01:00
  • f769bf4fe1 Cory PR comments David Evans 2021-06-10 11:17:43 +01:00
  • 425bb8d6ae
    Merge branch 'main' into de/socks David Evans 2021-06-09 15:39:13 +01:00
  • bdba44ed05 Fix unwinding David Evans 2021-06-09 14:32:35 +01:00
  • bc08f3b037 George PR review David Evans 2021-06-09 14:13:42 +01:00
  • b0c90edf5e Prepend SOCKS to some vague type names David Evans 2021-06-09 13:04:44 +01:00
  • 4b24379cc8 Minor refactor David Evans 2021-06-09 11:54:44 +01:00
  • a6ca5b2848 Rename handleActionProxyEstablished David Evans 2021-06-09 11:49:42 +01:00
  • 4b8082a5aa Make functions private David Evans 2021-06-09 11:49:14 +01:00
  • 1a7d5f5592 Use BBA David Evans 2021-06-09 11:47:27 +01:00
  • a30b9baf12 Switch to circular buffer David Evans 2021-06-09 11:45:18 +01:00
  • 9e093c67a9 Refactor guarding connection state David Evans 2021-06-09 11:42:42 +01:00
  • e04c54a0ee Add missing promise David Evans 2021-06-09 11:42:15 +01:00
  • 11e12fd285 Add docs about address requirements David Evans 2021-06-09 11:40:31 +01:00
  • 3aad7a6dbf Use XCTAssertEquals David Evans 2021-06-09 11:37:18 +01:00
  • cb5aeccbb3 Rename Reply David Evans 2021-06-09 11:35:44 +01:00
  • 0de4f066ff Rename MethodSelection David Evans 2021-06-09 11:35:03 +01:00
  • ae5769aa8d Make all errors hashable David Evans 2021-06-09 11:33:50 +01:00
  • e9027bafea Remove example product David Evans 2021-06-09 11:33:15 +01:00
  • 9b3fed93ab Remove missing bytes David Evans 2021-06-09 10:59:13 +01:00
  • cd07a89f5b
    Stop publishing the executable products (#130) Johannes Weiss 2021-06-08 13:18:28 +01:00
  • 04196f718d
    stop publishing the executable products Johannes Weiss 2021-06-08 12:41:25 +01:00
  • 275d1913f2 Remove redundant unwinding David Evans 2021-06-07 16:28:06 +01:00
  • d48d6e15c7 Fix endianess David Evans 2021-06-07 16:11:38 +01:00
  • d8ec99407c Fix tests David Evans 2021-06-07 15:50:25 +01:00
  • 068432a6c3 Precondition auth method David Evans 2021-06-07 15:47:06 +01:00
  • 577443db0d Refactor error handling David Evans 2021-06-07 15:45:34 +01:00
  • bef17dbb4c Use Int for port David Evans 2021-06-07 15:20:32 +01:00
  • d0da3681e5 Prevent reentrancy David Evans 2021-06-07 15:19:43 +01:00
  • b797fa1243 Add public inits David Evans 2021-06-07 15:18:30 +01:00
  • 650e2e5497 Cleanup David Evans 2021-06-07 15:17:31 +01:00
  • 80eeb955e3 Cleanup David Evans 2021-06-07 15:08:28 +01:00
  • f433f5e904 Guard against unix domain sockets David Evans 2021-06-07 11:49:46 +01:00
  • 2059fe0305 Guard not assert state errors David Evans 2021-06-07 11:47:05 +01:00
  • 2fcdc8a98a Don't use default David Evans 2021-06-07 11:35:47 +01:00
  • 7a7deecb80 Cleanup unwinding David Evans 2021-06-07 11:23:13 +01:00
  • 44ceb74f50 Make ClientRequest internal David Evans 2021-06-07 10:45:28 +01:00
  • 213ded5f3d Make ClientGreeting internal David Evans 2021-06-07 10:45:00 +01:00
  • 592a3f867f Refactor waitForMoreData David Evans 2021-06-04 13:48:27 +01:00
  • d2aac16dab Remove redundant error David Evans 2021-06-04 13:34:27 +01:00
  • 9810800cfd Remove auth code David Evans 2021-06-04 12:58:59 +01:00
  • 57b64327c4 Nest missing errors David Evans 2021-06-04 12:44:47 +01:00
  • df6404ceb5 Soundness David Evans 2021-06-04 10:17:03 +01:00
  • 31e75f0d3f Refactor state machine error handling David Evans 2021-06-04 10:14:41 +01:00
  • ee7886afa9 Add auth state flow test David Evans 2021-06-03 23:02:47 +01:00
  • b09e56fd7b Curse you Swift 5.0 David Evans 2021-06-03 20:40:37 +01:00
  • f78249fa3f Add drip feed tests David Evans 2021-06-03 20:38:13 +01:00
  • 992ea84fea Refactor and delegate tests David Evans 2021-06-03 20:31:33 +01:00
  • 94c7bacfc8 Soundness David Evans 2021-06-03 20:03:48 +01:00
  • bd618138f1 Fix on Swift 5 David Evans 2021-06-03 20:03:34 +01:00