Safe Haskell | None |
---|---|
Language | Haskell2010 |
- maxPacketSize :: Int
- quakePacketHeader :: ByteString
- challangePacket :: ByteString
- hmacMD4 :: ByteString -> ByteString -> ByteString
- parseChallenge :: ByteString -> Maybe ByteString
- parseRcon :: ByteString -> Maybe ByteString
- rconNonSecurePacket :: ByteString -> ByteString -> ByteString
- rconSecureTimePacket :: Real a => a -> ByteString -> ByteString -> ByteString
- rconSecureChallangePacket :: ByteString -> ByteString -> ByteString -> ByteString
Documentation
max Darkplaces packet size
hmacMD4 :: ByteString -> ByteString -> ByteString Source
parseRcon :: ByteString -> Maybe ByteString Source
Try to parse packet as dp rcon packet. if parsing fails returns Nothing
:: ByteString | password |
-> ByteString | command |
-> ByteString |
generates simple quake rcon packet
:: Real a | |
=> a | Current unix timestamp |
-> ByteString | password |
-> ByteString | comand |
-> ByteString |
generates time based secure packet
rconSecureChallangePacket Source
:: ByteString | connection's challange |
-> ByteString | password |
-> ByteString | command |
-> ByteString |
generates chalange based secure packet