Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 493 Bytes

File metadata and controls

12 lines (12 loc) · 493 Bytes

Overview

This is a simple library, implementing a SOCKS5 proxy. There is haddock documentation available, which describes the API. For a real quick-start, open Network/Socks/Server.hs in ghci and type:

forkingSocksServer "127.0.0.1" 1080 [SocksNoAuth] alwaysSucceedAuthenticator simpleRequestHandler

You should then be able to use localhost:1080 as a socks proxy. To try it, you can use your web browser or simply netcat:

nc -v -X 5 -x 127.0.0.1:1080 google.com 80