def unpackOpen_direct_tcpip(data):
    connHost, rest = common.getNS(data)
    connPort = int(struct.unpack('>L', rest[:4])[0])
    origHost, rest = common.getNS(rest[4:])
    origPort = int(struct.unpack('>L', rest[:4])[0])
    return (connHost, connPort), (origHost, origPort)
Unpack the data to a usable format.
dataset/ETHPy150Open twisted/twisted/twisted/conch/ssh/forwarding.py/unpackOpen_direct_tcpip