Skip to content
Wireshark Wiki 中文翻译整理专题首页原始页面

DVB 通用接口(DVB-CI)

DVB-CI 定义了 DVB 接收器(电视机、Set-Top-Box、Bluray 录像机等)与 PC-Card 模块(Conditional Access Module,CAM)之间的接口。它由传输流接口和命令接口组成。

在传输流接口上,DVB Transport Stream 可以通过该模块路由,并可选择进行解扰。命令接口传输诸如开始解扰之类的命令。DVB-CI dissector 处理命令接口流量以及一些硬件事件,例如模块插入/拔出

历史

DVB-CI 由 DVB 于 1997 年定义。随后在 1999 年发布了一份扩展文档,但其中定义的扩展在实践中从未实现。

CI+ 在 DVB-CI 之上增加了内容安全和其他特性。CI+ version 1.2 于 2009 年 5 月发布,version 1.3 于 2011 年 1 月发布,version 1.3.1 于 2011 年 10 月发布。

标准文档

  • DVB-CI standard EN50221
  • DVB-CI extensions TS 101 699
  • CI+ version 1.2
  • CI+ version 1.3
  • CI+ version 1.3.1

示例流量

截图展示了 application_info() APDU 的解析。该捕获不包含时间戳。如果时间戳可用,dissector 可以处理它们。**

Wireshark

DVB-CI dissector 由 Martin Kaiser ( wireshark@kaiser.cx ) 编写。它功能完整,并已使用许多捕获文件进行测试。

支持 DVB-CI standard EN50221 的以下特性

  • 硬件事件(模块插入/移除、电源开启/关闭,...)
  • Card Information Structure (CIS)
  • link, transport, session layer
  • 分片 TPDU 和 SPDU 的重组 ** 下表总结了 application layer 上支持的资源

| | DVB-CI | CI+ 1.2 | CI+ 1.3.1 | Resource Manager | ok | ok | ok | Application Info | ok | ok | ok | Conditional Access | ok | ok | ok | Date-Time | ok | ok | ok | MMI (high level) | ok | ok | ok | Host Control | ok | ok | ok | Low-Speed Communication | partly | ok | ok | Host Language and Country | not defined | ok | ok | CAM upgrade | not defined | ok | ok | Content Control | not defined | ok | ok | Application MMI | not defined | ok | ok | Specific Application Support | not defined | ok | ok | Operator Profile | not defined | not defined | ok

目前没有计划支持 DVB-CI extensions (TS 101 699) 或 low-level MMI。对于 low-speed communication,仅支持 IP 连接。

该 dissector 使用 datalink type 235 的 pcap 文件。相应格式记录在 http://www.kaiser.cx/pcap-dvbci.html

首选项设置

SAC encryption key, SAC init vector

如果你为捕获文件提供这两个值,wireshark 就能够解密 CC resource 上发送的 SAC 消息。这需要 libgrypt。两个值均由 32 个十六进制数字(16 个十六进制字节)组成。输入时不得带前导 0x。

Dissect LSC messages

启用此设置后,wireshark 会尝试解析 LSC APDU 的负载。它会调用为 connect_on_channel 命令中给定的协议和端口号注册的 dissector。

DVB-CI 在许多消息中使用 ASN.1 BER 格式的长度字段。为了解析这些长度字段,DVB-CI dissector 使用现有的 BER 代码。要显示每个长度字段的详细信息,请从 Edit / Preferences / Protocols / BER preferences 菜单中选择 Show internal BER encapsulation tokens。

示例捕获文件

SampleCaptures/dvb-ci_1.pcap 启动、解扰请求、移除 ** SampleCaptures/dvb-ci_2.pcap link layer 上的分片和重组

显示过滤器

捕获过滤器

外部链接

讨论

导入自 https://wiki.wireshark.org/DVB-CI,时间为 2020-08-11 23:13:40 UTC

原始页面图片

wiresharkDvbciPcap.png
wiresharkDvbciPcap.png

相关 Wireshark Wiki 页面

网络分析技术档案