Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ClientAuthMethods_Packet = ClientAuthMethods_Packet {}
- data ServerSelectsMethod_Packet = ServerSelectsMethod_Packet {}
- data ClientRequest_Packet = ClientRequest_Packet {}
- cmd_SP3 :: Lens' ClientRequest_Packet ProtocolCommand
- address_SP3 :: Lens' ClientRequest_Packet IndicatedAddress
- port_SP3 :: Lens' ClientRequest_Packet Word16
- data ServerReply_Packet = ServerReply_Packet {}
- replyField_SP4 :: Lens' ServerReply_Packet ReplyField
- address_SP4 :: Lens' ServerReply_Packet IndicatedAddress
- port_SP4 :: Lens' ServerReply_Packet Word16
- data AddressType
- data ProtocolCommand
- data ProtocolVersion = ProtocolVersion
- data IndicatedAddress
- data ReplyField
- iaToAddressType :: IndicatedAddress -> AddressType
- newtype S5ConnectionId = S5ConnectionId Int64
- data Socks5ConnectEvent
- type Socks5LogCallback = Socks5ConnectEvent -> IO ()
- data Socks5ConnectionCallbacks = Socks5ConnectionCallbacks {}
- logEvents_S5CC :: Iso' Socks5ConnectionCallbacks (Maybe Socks5LogCallback)
Types to be serialized and de-serialized
data AddressType
data ProtocolCommand
The command sent by the client
data ProtocolVersion
A nonce which is always equal to five... or we are in troubles
data IndicatedAddress
Helpers for serialization, de-serialization
Logging types
newtype S5ConnectionId
Connection ID for SOCKS5 Connections
data Socks5ConnectEvent
SOCKS5 Connections, and where are they handled
type Socks5LogCallback = Socks5ConnectEvent -> IO ()
data Socks5ConnectionCallbacks
Callbacks used by client applications to get notified about interesting events happening at a connection level, or to get asked about things (e.g, about if it is proper to accept a connection). These are used from CoreServer
Socks5ConnectionCallbacks | |
|