1
0
Fork 0
mirror of https://github.com/simplex-chat/hs-socks.git synced 2025-11-08 04:30:01 +00:00
Socks proxy library for haskell
Find a file
2019-09-30 11:44:37 +01:00
Network Support GHC-7.8 up to and including 8.8 2019-09-29 23:29:14 +02:00
.appveyor.yml release v0.6.1 2019-09-30 11:44:37 +01:00
.gitignore add gitignore 2019-01-27 11:38:47 +00:00
.haskell-ci release v0.6.1 2019-09-30 11:44:37 +01:00
.travis.yml release v0.6.1 2019-09-30 11:44:37 +01:00
Example.hs update network removing BSD stuff 2019-04-22 10:38:12 +01:00
LICENSE update LICENSE 2019-01-27 12:00:02 +00:00
README.md initial commit 2012-01-17 06:12:22 +00:00
Setup.hs add Setup.hs 2012-01-25 10:12:57 +00:00
socks.cabal release v0.6.1 2019-09-30 11:44:37 +01:00

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.