crypton-socks: Socks proxy (ver 5)

[ 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.6.1, 0.6.2
Change log CHANGELOG.md
Dependencies base (>=3 && <5), basement, bytestring, cereal (>=0.3.1), network (>=2.6) [details]
License BSD-3-Clause
Copyright Vincent Hanquez <vincent@snarc.org>
Author Vincent Hanquez <vincent@snarc.org>
Maintainer Mike Pilgrem <public@pilgrem.com>, Kazu Yamamoto <kazu@iij.ad.jp>
Revised Revision 1 made by mpilgrem at 2025-07-11T22:33:05Z
Category Network
Home page http://github.com/mpilgrem/crypton-socks
Bug tracker https://github.com/mpilgrem/crypton-socks/issues
Source repo head: git clone https://github.com/mpilgrem/crypton-socks
Uploaded by mpilgrem at 2025-07-11T18:31:27Z
Distributions LTSHaskell:0.6.2, Stackage:0.6.2
Downloads 5 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2025-07-11 [all 1 reports]

Readme for crypton-socks-0.6.1

[back to package description]

crypton-socks

Originally forked from socks-0.6.1.

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.

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.