html5-img
1 / 51

CSE 551: Lecture

CSE 551: Lecture. “ Secure Videoconferencing : Balancing Performance and Security Tradeoffs” Prasad Calyam , Ph.D. Senior Systems Developer/Engineer, Ohio Supercomputer Center 11 th February 2009. Topics of Discussion. Introduction to H.323 Issues with H.323 and Firewalls

Télécharger la présentation

CSE 551: Lecture

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSE 551: Lecture “Secure Videoconferencing: Balancing Performance and Security Tradeoffs” Prasad Calyam, Ph.D. Senior Systems Developer/Engineer, Ohio Supercomputer Center 11th February 2009

  2. Topics of Discussion • Introduction to H.323 • Issues with H.323 and Firewalls • Firewall Traversal Solutions • Signaling and Media Flow Architectures • Performance comparison of Traversal Solutions • Interoperability • Load Tolerance • Robustness against Vulnerabilities • Best Practices for Secure Videoconferencing • Conclusion 2

  3. Voice and Video over IP (VVoIP) • Large-scale deployments of VVoIP are on the rise • VoIP • Skype, Yahoo Messenger, Google Talk • Video streaming (one-way voice and video) • MySpace, Google Video, YouTube, IPTV, … • Video conferencing (two-way voice and video) • Polycom, WebEx, Acrobat Connect, … • VVoIP popularity reasons • Increased access to broadband • Advances in standardization of H.323 and SIP protocols • Today’s protocols allow a wide variety of communication devices to talk to each other 3

  4. VVoIP Deployment 4

  5. VVoIP Deployment (2) H.323 SIP Gatekeeper Corporate LAN Gateway Multipoint Control Unit Switched Circuit Network (POTS and ISDN) H.320 (over ISDN) Internet Router H.324 (over POTS) Speech-Only (telephones) 5

  6. Desktop and Room Videoconferencing Systems 6

  7. 3 Ways to Videoconference over the Internet 1. Point-to-Point 7

  8. 3 Ways to Videoconference over the Internet (Contd.) 2. Multi-Point Star Topology 8

  9. 3 Ways to Videoconference over the Internet (Contd.) 3. Multi-Point Multi-Star Topology 9

  10. Signaling Protocols Terminology • Call Establishment and Teardown • Call Control and Supplementary Services • Call waiting, Call hold, Call transfer • Capability Exchange • Admission Control • Protocol Encoding (ASN1, HTTP) 10

  11. H.323 – ITU Standard • H.323 is a popular standard for Internet Videoconferencing • Supports real-time voice and video communications • Uses some fixed (e.g. 1719, 1720) and some dynamic ports (port range: >210 & <216) during sessions • Devices: Terminals, Gatekeepers and MCUs • Codecs: • Video: H.261, H.263, H.264 • Audio: G.711, G.722, G.723.1 • Signaling: H.225, H.245 • Transport Mechanisms: TCP, UDP, RTP and RTCP • Data collaboration: T.120 • Many others… 11

  12. H.323 Protocol Stack 12

  13. H.323 Call setup and teardown 13

  14. H.323 Call setup and teardown (Contd.) 14

  15. H.323 Call Establishment via Gatekeeper [christian-sura06]

  16. H.323 and Firewalls • H.323 is a popular standard for Internet Videoconferencing • Firewalls protect networks against cyber-attack threats • Firewalls control incoming/outgoing traffic by blocking ports • Also provide NAT functionality • Allows multiple hosts in a private network to access the Internet using a single public IP address • But, H.323 + Firewalls = Poor performance! 16

  17. H.323 + Firewalls = Poor performance! • Unusable or unexpected behaviour for several reasons • Per-packet inspection by firewalls of address, port and message type slows down video and voice traffic • Other application packet-processing loads on firewalls aggravate slowness • Complex and ever-changing security policies at last-mile sites • Encrypted video (H.235) blocked by firewalls – blank screen at receiver • Hence, reproducing problems and finding a general solution is challenging 17

  18. H.323 and Firewalls – Problem Case Study • Example Problem report due to mis-configuration • Intermittent frame freezing • Lot of pixilation • No significant audio problems • Sudden disconnections • H.323 Beacon tool test report for troubleshooting • Sluggish call-setup • Delayed packet-events • Initial jitter variations in poor range (a) Effect of a mis-configured firewall (b) Jitter variations measured by H.323 Beacon Firewall re-configuration solved the problem!

  19. “Firewall Traversal” Solutions • Open – no intermediate firewalls between end-points • Security of data is compromised to support video requirements • Not practical given the security risks on the Internet • Could use separate video VLANs that bypass firewall blocking • Not scalable, limited mobility, not practical since there could be a firewall at a downstream router or remote end-point may be behind a firewall • End-point behind Firewall • Static (open ports in pre-configuration) • Pro:Can be implemented with any firewall • Con: Increased security risk, not scalable • Dynamic (open ports using stateful-packet-inspection) • Pro: Greatly reduced security risk • Con: Need specialized (expensive) firewalls - E.g., Cisco PIX H.323 fixup, need to keep up with software upgrades, and test extensively after upgrade Stateful-Packet-Inspection: - Firewall keeps track of out-bound packets, and associates in-bound packets with hosts of out-bound packets - Thus allows safe handling of traffic without complex configuration of firewall rules

  20. “Firewall Traversal” Solutions (2) • End-point in DMZ alongside Firewall • Gatekeeper-proxy in DMZ alongside Firewall • Polycom V2IU, GNU Gatekeeper • Standalone Gatekeeper-proxy with Integrated Firewall • Polycom V2IU End-points can be anywhere inside the firewall-protected network DMZ (De-Militarized Zone): - Military term – “Nations separate armies through the use of a DMZ” - Provides a buffer zone that separates an internal network from the often hostile territory of the Internet 20

  21. End-Point (EP) in DMZ alongside Firewall • Pro: • Security of data not compromised to support video requirements • No need to buy and maintain a gatekeeper-proxy device • Con: • Requires special room for videoconferencing connected to DMZ • Users cannot videoconference from their desktops • Need to register local EPs with an external gatekeeper 21

  22. Gatekeeper-Proxy (GP) in DMZ alongside Firewall • Pro: • Security of data not compromised to support video requirements • Users need not be in DMZ – can videoconference from their desktop • Con: • Need to buy a gatekeeper-proxy (GP) device and maintain it • If the GP is compromised, hacker has access to internal network! 22

  23. Standalone GP with Integrated Firewall • Pro: • Security of data not compromised to support video requirements • No need for DMZ – users can videoconference from their desktop • GP is less vulnerable to attacks due to integrated firewall • Vendor makes a focused effort to harden the Gatekeeper-proxy appliance • Gatekeeper-proxy/firewall (GP-FW) can be in parallel with any other existing firewall • Sites can continue to use an already configured and deployed firewall if so desired • Con: • Need to buy a GP-FW device and maintain it

  24. ITU-T H.460 Standard • H.460 allows firewall traversal for EPs behind firewalls (that block incoming ports) using a remote GP or GP-FW • H.460.18 (signal proxy for H.225/H.245), H.460.19 (media proxy for RTP) • Ratified by ITU-T in 2005 • EP must be capable of H.460 signaling • Private-side EP initiates session with remote EP behind a GP or GP-FW • Upon session initiation, the proxy knows if an EP is behind firewall and hence rewrites all the signaling addresses to the (detected) public IP on the firewall • Keep-alive messages are sent by EP to keep the firewall open (Default: 30s) • Outgoing ports shown below must be open

  25. Polycom V2IU Solution • Widely used and well-supported appliances built on a hardened Linux operating system • Gatekeeper-proxy (GP) • V2IU Traversal devices • Gatekeeper-proxy with Integrated Firewall (GP-FW) • V2IU Enterprise devices • H.460 compliant • Both provide: • Traffic shaping, router functionality, NAT server, DHCP server • Guaranteed QoE for Video traffic using prioritization and best effort QoS for data service • “Stateful-packet-inspection firewall” to dynamically open ports • Opens pinholes in firewall to allow voice and video traffic pass through

  26. GNU Gatekeeper (GNU GK) Solution • GNU Gatekeeper (GNU GK) - http://www.gnugk.org • Open-source Gatekeeper • Proxy feature in GNU GK provides firewall traversal solution • Software specs: Secured and hardened Linux OS • Supports ITU-T E.164/IETF ENUM standards; H.460 compliant • Success stories in Internet2 and ViDeNet H.323 communities [kewin-sura06] [christian-sura06] • Supporting > 500 calls per month in University of Washington, USA and Max-Planck, Germany

  27. Securing Linux OS • To avoid malicious compromise of system resources for DDoS attacks, following issues need to be addressed • Use strong passwords – lock account if multiple login failures • Install only the required software packages • Do you need Apache? • Regularly patch the OS • Check listening ports and verify if those are required • Use “netstat” • Run only required system services • Use “chkconfig” to list all services started at bootup • Avoid telnet, rlogin and rsh – use scp/sftp instead • Secure NFS if sharing files over network • Etc... • For more details -http://www.puschitz.com/SecuringLinux.shtml

  28. Signaling-and-Media Flow Patterns • Figure shows EP Registration and GP/GP-FW Neighboring in a distributed and heterogeneous proxy environment • GP-FW-1 knows GP-FW-2, GP-FW-1 knows GP-DMZ, hence EP-5 knows EP-3

  29. Signaling-and-Media Flow Patterns (2) • Worst case scenario can have media between EPs passing through 2 GPs • Actual large-scale deployment of GPs and GP-FWs at NOECA [polycom-twppt04

  30. Secure Videoconferencing Project at OSC • OSCnet supports H.323-based videoconferences for Ohio universities and Internet2 Commons • Need for deploying videoconferencing end-points in a secure manner at several OSCnet customer-campuses • Goals of the “Secure Videoconferencing” Project • Survey state-of-the-art: (i) Firewall Traversal Solutions (ii) Signaling-and-Media Flow Architectures • Evaluate different Firewall Traversal Solutions: (i) Interoperability Testing (ii) Load Testing (iii) Vulnerability Testing

  31. Goals for Experiments at OSC • Goal-1: Interoperability Testing - Verify interoperability of firewall traversal solutions • V2IU – Open • V2IU – V2IU • V2IU – PIX with H.323 fixup • V2IU – GNU GK • Goal-2: Load Testing - Compare performance of firewall traversal solutions with standard-definition and high-definition videoconferencing • Polycom V2IU 4350-T, Polycom V2IU 5300-S, GNU Gatekeeper Proxy (GNU GK), Cisco PIX with H.323 fixup • Experiments in controlled traffic load scenarios in a LAN • Traffic loads: Low, Medium, High • Goal-3: Vulnerability Testing - Assess V2IU and GNU GK for robustness against attacks • Nessus Port Scan to check severity of security loop holes

  32. Goals for Experiments at OSC • Goal-1: Interoperability Testing - Verify interoperability of firewall traversal solutions • V2IU – Open • V2IU – V2IU • V2IU – PIX with H.323 fixup • V2IU – GNU GK • Goal-2: Load Testing - Compare performance of firewall traversal solutions with standard-definition and high-definition videoconferencing • Polycom V2IU 4350-T, Polycom V2IU 5300-S, GNU Gatekeeper Proxy (GNU GK), Cisco PIX with H.323 fixup • Experiments in controlled traffic load scenarios in a LAN • Traffic loads: Low, Medium, High • Goal-3: Vulnerability Testing - Assess V2IU and GNU GK for robustness against attacks • Nessus Port Scan to check severity of security loop holes

  33. Testbed Setup for Interoperability Testing • Connections with all combinations successful! NOTE: For V2IU - PIX with H.323 fixup test case, V2IU only in GK mode

  34. Goals for Experiments at OSC • Goal-1: Interoperability Testing - Verify interoperability of firewall traversal solutions • V2IU – Open • V2IU – V2IU • V2IU – PIX with H.323 fixup • V2IU – GNU GK • Goal-2: Load Testing - Compare performance of firewall traversal solutions with standard-definition and high-definition videoconferencing • Polycom V2IU 4350-T, Polycom V2IU 5300-S, GNU Gatekeeper Proxy (GNU GK), Cisco PIX with H.323 fixup • Experiments in controlled traffic load scenarios in a LAN • Traffic loads: Low, Medium, High • Goal-3: Vulnerability Testing - Assess V2IU and GNU GK for robustness against attacks • Nessus Port Scan to check severity of security loop holes

  35. Testbed Setup for Load Testing (b) Setup for Polycom V2IU Testing (a) Setup for GNU GK Testing

  36. Performance Evaluation Metrics for Load Testing • To evaluate video or voice signal degradation of a video call through the V2IU and GNU GK solutions under different traffic loads • Subjective MOS (1 – 5) • Human subject testing • Objective MOS (1 – 5) • NTIA-VQM Tool – uses PSNR analysis • Mouth-to-Ear (M2E) Delay (ms) • Using Oscilloscope and Pulse generator

  37. QoE for V2IU-4350 under different loads Good Acceptable Poor • Network Load – Iperf cross-traffic • Low ~ 15Mbps; Medium ~ 40Mbps; High ~ 70Mbps • Results measured for a video call • Both subjective and objective QoE measurements show notable degradation in device performance for network loads > 30 Mbps due to processing power limitations • Switch is not a bottleneck even at high network loads

  38. M2E Delay for V2IU 4350 under different Loads Highly variable with peaks > 300ms – high jitter Noticeable fluctuations - low jitter No fluctuations - zero jitter Network Load (Mbps) • Network Load – Iperf cross-traffic from 0 – 70 Mbps • Results measured for a video call • Peak M2E delay measurements show notable degradation for network loads for network loads > 30 Mbps (consistent with QoE results) • Peak delay >300ms is considered to hamper interactive communications (ITU G.114) • Control M2E Delay due to (Encode + Switch Propagation + Decode) processing

  39. QoE for V2IU-5300 under different loads Good Acceptable Poor • Network Load – Iperf cross-traffic • Low ~ 15Mbps; Medium ~ 40Mbps; High ~ 70Mbps • Results measured for a video call • Both subjective and objective QoE measurements show negligible degradation in device performance even for network loads up to 70 Mbps – thus, shows high-end processing power of the unit • Switch is not a bottleneck even at high network loads

  40. M2E Delay for V2IU 5300 under different Loads Network Load (Mbps) • Network Load – Iperf cross-traffic from 0 – 90 Mbps • Results measured for a video call • Peak M2E delay measurements show no degradation even for network loads up to 70 Mbps (consistent with QoE results) • Control M2E Delay due to (Encode + Switch Propagation + Decode) processing

  41. QoE for GNU GK under different loads Good Acceptable Poor • Network Load – Videoconferencing cross-traffic • Testing was done up to 15 Mbps load of just videoconferencing cross-traffic (NOTE: GNU GK does not pass through Iperf traffic because it is only a video proxy device) • Results measured for a video call • Both subjective and objective QoE measurements show negligible degradation while using commodity hardware

  42. M2E Delay for GNU GK under different Loads Noticeable fluctuations - low jitter Network Load (Mbps) • Network Load – Videoconferencing cross-traffic from 0 – 15 Mbps • Results measured for a video call • Peak M2E delay measurements show negligible but increasing degradation (consistent with QoE results) in device performance • Control M2E Delay due to (Encode + Switch Propagation + Decode) processing

  43. Results Summary of Load Testing

  44. NOTES for Results Summary of Load Testing • Typical enterprise or small campus (e.g. K-12 school) will have video traffic loads that are less than 5 Mbps • One-to-three simultaneous high-quality SD or HD videoconferences may occur • Recommended Solutions: Polycom V2IU 4350, GNU GK • Typical ISP or large campus (e.g. OSU or UC) will have video traffic loads that are less than 25 Mbps • Ten or so simultaneous high-quality SD or HD videoconferences may occur • Recommended Solutions: Polycom V2IU 5300, GNU GK, Cisco PIX with H.323 fixup • Under special circumstances, an ISP’s peak video-only load if cascading multiple MCUs (e.g. Megaconferences, Key Stone Conferences) will be less than 40 Mbps • Ten or so MCUs may be cascaded to support 200+ participants simultaneously in a large-scale videoconference • Recommended Solutions: Polycom V2IU 6400* * NOTE: PolycomV2IU 6400 solution has not been evaluated by OSC; vendor specifications suggest it can handle 85 Mbps of video traffic

  45. Goals for Experiments at OSC • Goal-1: Interoperability Testing - Verify interoperability of firewall traversal solutions • V2IU – Open • V2IU – V2IU • V2IU – PIX with H.323 fixup • V2IU – GNU GK • Goal-2: Load Testing - Compare performance of firewall traversal solutions with standard-definition and high-definition videoconferencing • Polycom V2IU 4350-T, Polycom V2IU 5300-S, GNU Gatekeeper Proxy (GNU GK), Cisco PIX with H.323 fixup • Experiments in controlled traffic load scenarios in a LAN • Traffic loads: Low, Medium, High • Goal-3: Vulnerability Testing - Assess V2IU and GNU GK for robustness against attacks • Nessus Port Scan to check severity of security loop holes

  46. Nessus Scanner for Vulnerability Testing • A network security auditing tool • Allows testing of security modules to find vulnerabilities • Generates reports of vulnerability Define Custom Policy Checks Use Standard Policy Compliance Plugins

  47. Vulnerability Testing Results • V2IU devices show low severity problems upon Nessus scanning • 3 open ports with factory default settings; device could be further locked down to only 1 open port (1720 – h323hostcall) with Ping (i.e., ICMP) answer turned-off • GNU GK robustness depends on the Linux server hardening effort

  48. Best Practices for Secure Videoconferencing • Choose GP or GP-FW type (i.e., price-performance) based on expected peak loads of data and video traffic • If deploying MCU behind GP or GP-FW, account for: • Load due to conference size • Load due to possible cascading of multiple MCUs, GP or GP-FWs • EP assignment to MCU and cascading MCUs should consider both bandwidth as well as GP or GP-FW load handling limitations • Have an extra GP or GP-FW deployed for redundancy purposes • Avoid configuring V2IU and Cisco H.323 fixup simultaneously – competing solutions may cause unexpected problems • Cisco H.323 fixup may not work well if AES encryption is turned ON in EPs – remote EP sees black screen • If using GNU GK proxy, dedicate a machine for video; do not run other services (e.g. web server) • Remember to regularly update security patches • Have compatibility of EPs and GP or GP-FW with dialing schemes and H.460 protocols, and document them

  49. References • [christian-sura06] C. Schlatter, “The new ITU Standards for H.323 Firewall and NAT Traversal”, SURA/ViDeNet Spring Conference, 2006. • [kewin-sura06] K. Stoeckigt, “Proxy Systems for H.323”, SURA/ViDeNet Spring Conference, 2006. • [kewin-questnet05] K. Stoeckigt, “Secure Audio/Video Services – H.323, H.350, and Firewalls”, QUESTNet Conference, 2005. • [GNUGK-manual] GNU Gatekeeper - http://www.gnugk.org/gnugk-manual.html • [cisco-twpaper02] “Configuring Application Inspection (Fixup)”, Cisco Technical Whitepaper, 2002. • [roberts-twpaper01] J. Roberts, “Integrating Cisco Secure PIX Firewall and IP/VC Videoconferencing Networks”, Cisco Technical Whitepaper, 2001. • [wainhouse-twpaper02] “Traversing Firewalls and NATs with Voice and Video over IP”, Wainhouse Research Whitepaper, 2002. • [polycom-twppt04] “NOECA V2IU Deployment Core Design”, Polycom Technical Whitepaper, 2004. • [uwex-online07] “Firewalls and H.323”, University of Wisconsin-Extension’s WisLine Videoconferencing Service Recommendations– http://www.uwex.edu/ics/support/video/H323/firewalls 49

  50. Summary • Introduction to H.323 • Issues with H.323 and Firewalls • Firewall Traversal Solutions • Signaling and Media Flow Architectures • Performance comparison of Traversal Solutions • Interoperability • Load Tolerance • Robustness against Vulnerabilities • Best Practices for Secure Videoconferencing 50

More Related