socks: Socks proxy (version 5) implementation.

[ bsd3, library, network ] [ Propose Tags ] [ Report a vulnerability ]

Socks proxy (version 5) implementation.


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 0.5.6, 0.6.0, 0.6.1
Dependencies base (>=3 && <4.13), bytestring (>=0.10 && <0.11), cereal (>=0.3.1), network (>=2.3 && <2.9) [details]
License BSD-3-Clause
Copyright Vincent Hanquez <vincent@snarc.org>
Author Vincent Hanquez <vincent@snarc.org>
Maintainer Vincent Hanquez <vincent@snarc.org>
Revised Revision 3 made by HerbertValerioRiedel at 2019-09-01T22:17:23Z
Category Network
Home page http://github.com/vincenthz/hs-socks
Source repo head: git clone git://github.com/vincenthz/hs-socks
Uploaded by VincentHanquez at 2016-05-05T05:30:43Z
Distributions Arch:0.6.1, Debian:0.6.1, Fedora:0.6.1, FreeBSD:0.5.4, LTSHaskell:0.6.1, NixOS:0.6.1, Stackage:0.6.1, openSUSE:0.6.1
Reverse Dependencies 12 direct, 1828 indirect [details]
Downloads 176818 total (308 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for socks-0.5.5

[back to package description]

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.