@hackage socks0.5.2
Socks proxy (version 5) implementation.
Categories
License
BSD-3-Clause
Maintainer
Vincent Hanquez <vincent@snarc.org>
Links
Versions
Installation
Dependencies (4)
- base >=3 && <5
- bytestring
- cereal >=0.3.1 && <0.4
- network >=2.3 && <2.4 Show all…
Dependents (15)
@hackage/hstorchat, @hackage/git-annex, @hackage/glirc, @hackage/hookup, @hackage/acme-everything, @hackage/http-conduit-browser, Show all…
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.