Mercurial > prosody-modules
diff mod_tcpproxy/README.markdown @ 4853:3804332c204e
mod_tcpproxy: Reject missing or non-number block-size, as per XEP-0047
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 07 Jan 2022 19:55:03 +0100 |
parents | 8de50be756e5 |
children |
line wrap: on
line diff
--- a/mod_tcpproxy/README.markdown Thu Jan 06 17:45:15 2022 +0100 +++ b/mod_tcpproxy/README.markdown Fri Jan 07 19:55:03 2022 +0100 @@ -39,16 +39,17 @@ ``` {.xml} <iq type="set" id="newconn1" to="tcp.example.com"> <open xmlns='http://jabber.org/protocol/ibb' - sid='connection1' - stanza='message' + sid='connection1' + block-size='4096' + stanza='message' xmlns:tcp='http://prosody.im/protocol/tcpproxy' tcp:host='example.com' tcp:port='80' /> </iq> ``` -The stanza attribute (currently) MUST be 'message', and a block-size, if -given, is (currently) ignored. +The stanza attribute (currently) MUST be 'message', and block-size is +(currently) ignored. In response to this stanza you will receive a result upon connection success, or an error if the connection failed. You can then send to the @@ -67,6 +68,6 @@ ==== - ACLs (restrict to certain JIDs, and/or certain target hosts/ports) -- Honour block-size (undecided) +- Honour block-size - Support iq stanzas for data transmission - Signal to start SSL/TLS on a connection