The socks package

[Tags:bsd3, library]

Socks proxy (version 5) implementation.


[Skip to Readme]

Properties

Versions 0.1.0, 0.2.0, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5
Dependencies base (>=3 && <5), bytestring (==0.10.*), cereal (>=0.3.1), network (>=2.3) [details]
License BSD3
Copyright Vincent Hanquez <vincent@snarc.org>
Author Vincent Hanquez <vincent@snarc.org>
Maintainer Vincent Hanquez <vincent@snarc.org>
Stability experimental
Category Network
Home page http://github.com/vincenthz/hs-socks
Source repository head: git clone git://github.com/vincenthz/hs-socks
Uploaded Thu May 5 05:30:43 UTC 2016 by VincentHanquez
Updated Fri Jul 1 13:53:31 UTC 2016 by phadej to revision 1
Distributions Arch:0.5.5, Debian:0.5.4, FreeBSD:0.5.4, LTSHaskell:0.5.5, NixOS:0.5.5, Stackage:0.5.5
Downloads 86316 total (38 in the last 30 days)
Votes
0 []
Status Docs pending
Build status unknown [no reports yet]

Modules

  • Network
    • Network.Socks5
      • Network.Socks5.Lowlevel
      • Network.Socks5.Types

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for socks

Readme for socks-0.5.5

Socks

Haskell library implementation of the SOCKS 5 protocol.

TODO

  • more socks authentification methods: only no authentification is supported for now.
  • support of socks' bind for server to client connection (like FTP).
  • add socks4a and socks4 support.

Usage

See Example.hs for really simple and straighforward example. The main api is only 2 calls:

  • socksConnectAddr which connect to a SockAddr (SockAddrInet or SockAddrInet6). The name resolution is left on client side.
  • socksConnectName which connect to a fully qualified domain name "www.example.com". The proxy server will do the name resolution.