Skip to content

Instantly share code, notes, and snippets.

View rskvazh's full-sized avatar
🎯
Focusing

Roman rskvazh

🎯
Focusing
View GitHub Profile
@rskvazh
rskvazh / debug-encrypted-sctp.txt
Created May 4, 2018 07:59
Debug encrypted WebRTC DataChannel (SCTP) with Firefox and Wireshark
# Debugging encrypted RTP is more fun than it used to be
# https://blog.mozilla.org/webrtc/debugging-encrypted-rtp-is-more-fun-than-it-used-to-be/
# Firefox 59
MOZ_LOG="timestamp,sctp:5,DataChannel:5,signaling:5,jsep:5,rtplogger:5,SCTP:5" \
MOZ_LOG_FILE=dclog.log \
/Applications/Firefox.app/Contents/MacOS/firefox-bin
grep 'SCTP_PACKET' dclog.log.child-1 | text2pcap -D -n -l 1 -i 17 -u 1234,1235 -t '%H:%M:%S.' - rtc.pcapng
@rskvazh
rskvazh / aerial1.5.1beta6.debug.log
Created February 4, 2020 11:01 — forked from ankushnarula/aerial1.5.1beta6.debug.log
Aerial 1.5.1beta6 Debug Log
03:34:58 : avInit1 (0.0, 0.0, 296.0, 184.0)
03:34:58 : <AerialView: 0x7ff19f5020e0> AerialView setup init (V1.4.6)
03:34:58 : Time Management initialized
03:34:58 : Display Detection initialized
03:34:58 : ***Display Detection***
03:34:58 : 1 display(s) detected
03:34:58 : 1cm = 58.66141820384076 points
03:34:58 : npass: dict [__C.NSDeviceDescriptionKey(_rawValue: NSScreenNumber): 69733632, __C.NSDeviceDescriptionKey(_rawValue: NSDeviceColorSpaceName): NSCalibratedRGBColorSpace, __C.NSDeviceDescriptionKey(_rawValue: NSDeviceResolution): NSSize: {144, 144}, __C.NSDeviceDescriptionKey(_rawValue: NSDeviceBitsPerSample): 8, __C.NSDeviceDescriptionKey(_rawValue: NSDeviceSize): NSSize: {1680, 1050}, __C.NSDeviceDescriptionKey(_rawValue: NSDeviceIsScreen): YES]
03:34:58 : bottomLeftFrame (0.0, 0.0, 1680.0, 1050.0)
03:34:58 : src orig : (0.0, 0.0)