@hackage crypton-socks0.6.2

SOCKS Protocol Version 5

  • Installation

  • Dependencies (4)

  • Dependents (1)

    @hackage/crypton-connection
  • Package Flags

      example
       (off by default)

      Build the example application.

      network-3-0-0-0
       (on by default)

      Use network-3.0.0.0 or later. If used the example application has a dependency on network-bsd.

crypton-socks

Originally forked from socks-0.6.1.

Haskell library implementing the SOCKS Protocol Version 5.

Usage

See example/Example.hs for really simple and straighforward examples. The main API of the library is three functions:

  • socksConnectWithSocket which connects to a SocksAddress specifying a SocksHostAddress (SocksAddrIPV4, SocksAddrDomainName or SocksAddrIPV6). The name resolution is done on the client side.
  • socksConnect connects a new socket to a SOCKS server, with socksConnectWithSocket.
  • socksConnectName which connects to a fully qualified domain name (FQDN) (for example, www.example.com). The name resolution is done by the proxy server.

History

The socks package was originated and then maintained by Vincent Hanquez. For published reasons, he does not intend to develop the package further after version 0.6.1 but he also does not want to introduce other maintainers.