Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Socks proxy library for haskell
branch: master

Merge pull request #12 from mietek/data-files

Avoid declaring doc files as runtime data files
latest commit c7f41d7706
Vincent Hanquez authored
Failed to load latest commit information.
Network Fix de-serialization of IPv4 and IPv6 address.
.gitignore initial commit
Example.hs
LICENSE initial commit
README.md initial commit
Setup.hs
socks.cabal Avoid declaring doc files as runtime data files

README.md

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.
Something went wrong with that request. Please try again.