|
Packit |
fc2124 |
Socks
|
|
Packit |
fc2124 |
=====
|
|
Packit |
fc2124 |
|
|
Packit |
fc2124 |
Haskell library implementation of the SOCKS 5 protocol.
|
|
Packit |
fc2124 |
|
|
Packit |
fc2124 |
TODO
|
|
Packit |
fc2124 |
----
|
|
Packit |
fc2124 |
|
|
Packit |
fc2124 |
* more socks authentification methods: only no authentification is supported for now.
|
|
Packit |
fc2124 |
* support of socks' bind for server to client connection (like FTP).
|
|
Packit |
fc2124 |
* add socks4a and socks4 support.
|
|
Packit |
fc2124 |
|
|
Packit |
fc2124 |
Usage
|
|
Packit |
fc2124 |
-----
|
|
Packit |
fc2124 |
|
|
Packit |
fc2124 |
See Example.hs for really simple and straighforward example. The main api is only 2 calls:
|
|
Packit |
fc2124 |
|
|
Packit |
fc2124 |
* socksConnectAddr which connect to a SockAddr (SockAddrInet or SockAddrInet6).
|
|
Packit |
fc2124 |
The name resolution is left on client side.
|
|
Packit |
fc2124 |
* socksConnectName which connect to a fully qualified domain name "www.example.com".
|
|
Packit |
fc2124 |
The proxy server will do the name resolution.
|