Skip to content

Instantly share code, notes, and snippets.

View josephfrazier's full-sized avatar
💭
nothing to commit, working tree clean

Joseph Frazier josephfrazier

💭
nothing to commit, working tree clean
View GitHub Profile
@josephfrazier
josephfrazier / vnc-over-ssh.sh
Created August 6, 2018 21:15 — forked from chriszarate/vnc-over-ssh.sh
VNC over SSH via bastion
# You want to VNC to Box A but you don't have access to it
# over public Internet. You do have SSH access to Box B in
# the same private network.
# firewall
# ┌─────┐ ╏╏ ┌─────┐
# │ You │──SSH──╏╏────│ B │ bastion
# └─────┘ ╏╏ └──┬──┘
# ╏╏ SSH
# ╏╏ ┌──┴──┐
Testing dtmf
Processing pcap: /home/joseph/amqp-consumer-postprocessor/test/fixtures/dtmf.pcap
'pcapfix' '/home/joseph/amqp-consumer-postprocessor/test/fixtures/dtmf.pcap' '--outfile' './working_folder/tmp/fixed_dtmf.pcap'
'editcap' './working_folder/tmp/fixed_dtmf.pcap' './working_folder/tmp/sdp-segment0/pcap_segment0.pcap' '-r' '1-2147483646'
Processing pcap segment: ./working_folder/tmp/sdp-segment0/pcap_segment0.pcap
'reordercap' './working_folder/tmp/sdp-segment0/pcap_segment0.pcap' '/tmp/tmpCBqbZp'
5842 frames, 0 out of order
'rtp-fixer' '-i' '/tmp/tmpCBqbZp' '-o' '/tmp/tmpcckUWC' '-p' '9:160' '-p' '0:160' '-p' '18:160' '-p' '101:160' '-p' '0:160' '-p' '18:160' '-p' '101:160'
/home/joseph/amqp-consumer-postprocessor/test/fixtures/dtmf.pcap - RTP Timestamp Error: Our calculated max gap is less than the RTP timestamp indicated at source packet 59982.