liat komunikasi header (request + response)
sudo socat -v TCP-LISTEN:8001,fork TCP:192.168.100.100:8069
lihat komunikasi data (request + response)
socat -u tcp4-listen:1934,fork SYSTEM:'tee in.txt |socat - "TCP:192.168.100.100:8069" |tee out.txt'
check header request
socat -u tcp4-listen:1934 -
forward to 2 destination, just first
socat -u tcp4-listen:1934 - | tee >(socat - tcp4:127.0.0.1:1935) >(socat - tcp4:127.0.0.1:1936) > /dev/null
sudo socat -v TCP-LISTEN:8001,fork TCP:192.168.100.100:8069
lihat komunikasi data (request + response)
socat -u tcp4-listen:1934,fork SYSTEM:'tee in.txt |socat - "TCP:192.168.100.100:8069" |tee out.txt'
check header request
socat -u tcp4-listen:1934 -
forward to 2 destination, just first
socat -u tcp4-listen:1934 - | tee >(socat - tcp4:127.0.0.1:1935) >(socat - tcp4:127.0.0.1:1936) > /dev/null
..show all:.
.
liat komunikasi header (request + response)
sudo socat -v TCP-LISTEN:8001,fork TCP:192.168.100.100:8069
lihat komunikasi data (request + response)
socat -u tcp4-listen:1934,fork SYSTEM:'tee in.txt |socat - "TCP:192.168.100.100:8069" |tee out.txt'
check header request
socat -u tcp4-listen:1934 -
forward to 2 destination, just first
socat -u tcp4-listen:1934 - | tee >(socat - tcp4:127.0.0.1:1935) >(socat - tcp4:127.0.0.1:1936) > /dev/null
sudo socat -v TCP-LISTEN:8001,fork TCP:192.168.100.100:8069
lihat komunikasi data (request + response)
socat -u tcp4-listen:1934,fork SYSTEM:'tee in.txt |socat - "TCP:192.168.100.100:8069" |tee out.txt'
check header request
socat -u tcp4-listen:1934 -
forward to 2 destination, just first
socat -u tcp4-listen:1934 - | tee >(socat - tcp4:127.0.0.1:1935) >(socat - tcp4:127.0.0.1:1936) > /dev/null
No comments:
Post a Comment