Skip to content
Snippets Groups Projects
Select Git revision
  • experimental
  • main default protected
2 results

ChangeLog

Blame
    • Yawning Angel's avatar
      a8d7134f
      Use a built in SOCKS 5 server instead of goptlibs. · a8d7134f
      Yawning Angel authored
      Differences from my goptlib branch:
       * Instead of exposing a net.Listener, just expose a Handshake() routine
         that takes an existing net.Conn. (#14135 is irrelevant to this socks
         server.
       * There's an extra routine for sending back sensible errors on Dial
         failure instead of "General failure".
       * The code is slightly cleaner (IMO).
      
      Gotchas:
       * If the goptlib pt.Args datatype or external interface changes,
         args.go will need to be updated.
      
      Tested with obfs3 and obfs4, including IPv6.
      a8d7134f
      History
      Use a built in SOCKS 5 server instead of goptlibs.
      Yawning Angel authored
      Differences from my goptlib branch:
       * Instead of exposing a net.Listener, just expose a Handshake() routine
         that takes an existing net.Conn. (#14135 is irrelevant to this socks
         server.
       * There's an extra routine for sending back sensible errors on Dial
         failure instead of "General failure".
       * The code is slightly cleaner (IMO).
      
      Gotchas:
       * If the goptlib pt.Args datatype or external interface changes,
         args.go will need to be updated.
      
      Tested with obfs3 and obfs4, including IPv6.
    ChangeLog 1.43 KiB