dsd是什么意思| 雯五行属什么| 炸鸡用什么油| 季夏是什么意思| espresso什么意思| 什么人靠别人的脑袋生活| 医学检验技术是什么| 脾虚挂什么科| hm是什么牌子的衣服| 吃什么补叶酸最快| 老年人出现幻觉是什么原因| 揩油是什么意思| 红烧肉配什么菜好吃| 特殊情况是什么意思| 野兔子吃什么| 芙蕖是什么花| 双鱼座的幸运色是什么| 技压群雄的意思是什么| 去海边穿什么衣服拍照好看| 下巴下面长痘痘是什么原因| 稷字五行属什么| 修心是什么意思| 体内湿气重吃什么药效果好| 鼻头长痘痘什么原因| 横空出世什么意思| 味粉是什么调料| 萎缩性胃炎用什么药最好| 什么叫| 蚊香灰有什么作用| 胎心是什么| 尿酸高适合吃什么菜| 男士检查精子挂什么科| 一九八八年属什么生肖| 全身皮肤痒是什么原因| 一个齿一个禹念什么| 钾高是什么原因造成的| 大学毕业送什么花| 什么是垃圾食品| 苏州为什么不建机场| 引火下行是什么意思| 闰六月有什么讲究| hia是什么意思| 福禄寿的禄是什么意思| 火象是什么星座| 野生葛根粉有什么功效| 拌黄瓜需要什么调料| 人活着意义是什么| 65年属什么生肖| HPV高危亚型52阳性什么意思| 骶管小囊肿是什么意思| 反式脂肪酸是什么| zara是什么意思| 在减肥期间吃什么最好| 砂仁后下是什么意思| 女性得疱疹是什么症状| 梦到孩子死了是什么征兆| 2月18号什么星座| 吃什么让月经量增多| 老虎头衣服是什么牌子| 心电轴重度左偏是什么意思| 血压低是什么原因引起的| 2157是什么意思| 怕痒的男人意味着什么| 检查免疫力都需要化验什么项目| 疱疹用什么药最好| 兰姓是什么民族| 无舌苔是什么原因| 缺钾吃什么好| 建兰什么时候开花| 脖子粗大是什么原因| 无穷是什么意思| 挂彩是什么意思| 依赖一个人是什么意思| 沉不住气什么意思| 兔死狗烹什么意思| 随喜功德是什么意思| 孩子不说话挂什么科| jio什么意思| 子宫内膜单纯性增生是什么意思| 貂蝉是什么意思| 赢字五行属什么| 子宫脱垂有什么症状| 什么的鸭子| 田此读什么| 吃什么会变胖| 什么食物维生素A含量高| mmi是什么药| 脾胃虚寒是什么症状| 老年人吃什么奶粉好| 梦见大蒜是什么意思| 山水不相逢什么意思| 什么对雨| 海盐是什么盐| 跳蚤咬了擦什么药| 水瓶座有什么特点| bun是什么意思| 羊膜束带是什么意思| 尿糖阴性什么意思| 为什么健身后体重反而重了| 念字五行属什么| 二月八号是什么星座| 2003年什么年| 长沙有什么好玩的| 清对什么| 水解是什么意思| 被臭虫咬了擦什么药| 乳腺增生不能吃什么| 管状腺瘤是什么意思| 喝金银花有什么好处| 经期肚子疼是什么原因| 胆固醇低是什么原因| 眼睛痛是什么原因| 什么是寒性食物| 2025年什么年| 冰瓷棉是什么面料| 玉米吃了有什么好处| 同归于尽是什么意思| 阴虱用什么药可以根除| 庆大霉素治疗鱼什么病| 什么叫职业年金| 吃什么会影响验孕棒检验结果| 欣欣向荣是什么意思| 核糖体是什么| 什么是修行人| 保家卫国是什么生肖| 看胆囊挂什么科| 小虾米吃什么| 6.16什么星座| 膀胱癌有什么症状| gi是什么| 喝什么茶清肺效果最好| 金项链断了有什么预兆| 什么人容易得帕金森| 湿疹什么原因引起的| 教育基金是什么意思| 心理卫生科看什么病的| 泡沫尿是什么病| 什么是有意义的东西| 孩子老打嗝是什么原因| honey什么意思| zeiss是什么意思| 什么是百慕大三角| 狗狗什么时候打疫苗| 大料是什么| 血管明显是什么原因| 脑梗吃什么水果好| 雌激素低有什么症状| 依达拉奉注射功效与作用是什么| 牛的本命佛是什么佛| 亲密是什么意思| 南京为什么那么多梧桐树| 血脂是指什么| 什么树枝| 打豆浆用什么豆子| 预防脑梗用什么药效果好| 芥末是什么植物做的| 爱迪生发明什么| 日本什么值得买| 海参不适合什么人吃| 得了幽门螺旋杆菌有什么症状| 三月份生日是什么星座| 不议价什么意思| 典韦字什么| 许褚字什么| 唐氏宝宝是什么意思| 白斑不能吃什么| 黑眼圈严重是什么原因| 花园里有什么花| 头孢不能和什么食物一起吃| 送什么生日礼物给妈妈| 腊肉炒什么菜最好吃| 为什么不能空腹喝牛奶| 精神分裂症吃什么药| 国家的实质是什么| 挑拨离间是什么意思| 居士什么意思| 册封是什么意思| 肺动脉流什么血| 尿素偏低是什么原因| 大姨妈是什么| 居居是什么意思| 降7是什么调| 左眼跳是什么预兆| asks是什么意思| 腊月初八是什么星座| 封神榜是什么意思| 空调不制冷是什么原因| 拿什么爱你| 什么酷暑| 睾丸长什么样子| 74是什么意思| 暑假什么时候结束| 混血是什么意思| 尿里有泡沫是什么病| 伯恩光学是做什么的| dsa检查是什么| 耳朵长痣代表什么| 教诲的意思是什么| 身体虚弱打什么营养针| 什么情况下要打破伤风针| 食用植物油是什么油| 罢黜百家独尊儒术是什么意思| 呋喃硫胺片治什么病| 四库全书是什么| 慢保申请有什么条件| 什么叫增强ct| 乐加是什么药| usd什么意思| 7月15是什么星座的| 大云是什么中药| 喝酒伤什么| 被口什么感觉| 师傅和师父有什么区别| 免疫力低吃什么药| 硫酸对人体有什么危害| 汗液里面有什么成分| 活化部分凝血活酶时间偏高是什么意思| 不良资产是什么| 什么是承兑| 吃甘草片有什么副作用| 11月5号什么星座| 日和立念什么| 24k是什么意思| 荨麻疹是什么原因引起| 减肥吃什么瘦得快| 输卵管堵塞什么症状| 吃什么拉肚子| 秦皇岛有什么特色美食| 什么的讲| 术后吃什么刀口恢复得快| 兰蔻是什么品牌| 蛇盘疮吃什么药好得快| 5年存活率是什么意思| 嘴唇发干是什么原因| 女人喝什么调节内分泌| 桂圆有什么功效| 高筋面粉可以做什么| 上海有什么好玩的地方| 市长什么级别| 血糖高什么水果不能吃| 身体有异味是什么原因| hpvhr阳性什么意思| 梦见打麻将是什么意思| 鱼腥草有什么功效| 朝鲜的货币叫什么| 睡觉尿多是什么原因| 心什么神往| 轻描淡写是什么意思| 化痰祛痰吃什么药| 胆固醇高不可以吃什么| 射精快是什么原因| 公务员是做什么工作的| 眼干眼涩眼疲劳用什么眼药水| 异位胰腺是什么意思| 为什么晚上不能扫地| 牙龈经常出血是什么原因| 挑灯夜战是什么意思| 什么名字| 大惊小怪是什么生肖| 女性尿道口有小疙瘩是什么原因| 孕妇感冒可以吃什么感冒药| 自在是什么意思| 什么是周围神经病| 786是什么意思| 百度
BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News New Open Source Tool Subtrace Brings Network Analysis to Container Environments

蓝色光标陷劳资纠纷 6年人员成本增逾10倍

Listen to this article -  0:00

Y Combinator startup Subtrace has released an open-source tool to help analyse network traffic from containerised applications. The creators have positioned it as "Wireshark for Containers" and aim to simplify network debugging in Docker and Kubernetes environments.

Subtrace combines system call tracing with network packet analysis in a single interface so that developers can see what applications are doing at the system level and how data flows across container networks. The tool uses eBPF to capture this information, theoretically with minimal performance impact on running containers.

Image courtesy of Subtrace

The development team behind Subtrace says traditional network analysis tools struggle with containerised environments. Standard tools like Wireshark require manual configuration to access container network namespaces. This can be complex and time-consuming for developers working with multiple containers or Kubernetes clusters.

Subtrace addresses these challenges by providing native container integration. It understands container concepts and can automatically correlate network traffic with container identity, reducing the manual work required to analyse container network behaviour. Subtrace automatically discovers running containers and can attach to their network interfaces without manual namespace configuration. It also correlates network traffic with container metadata such as pod names and service labels in Kubernetes environments. The tool offers both command-line and web interfaces. The web interface provides visual network flow analysis similar to Wireshark but designed specifically for container workloads. Users can filter traffic by container, service, or protocol and examine packet contents in detail.

Image courtesy of Pixie

Other open-source tools have similar functionality for analysing container network traffic. Pixie offers comprehensive observability for Kubernetes clusters, including network tracing capabilities. Pixie captures a broader range of telemetry data beyond just network traffic, including application metrics and distributed traces. However, Pixie needs more system resources and can be complex to deploy in some environments. Pixie also focuses primarily on Kubernetes, supporting 11 application protocols, while Subtrace supports both Docker and Kubernetes deployments.

Hubble provides network observability as part of the Cilium networking stack. Thanks to its close integration with Cilium's network policies, it can provide detailed flow analysis between services. Hubble includes both command-line tools and a graphical interface for visualising network traffic. However, it does depend on Cilium being used as the container network interface, whereas Subtrace works with any container networking setup.

Microsoft's Retina focuses specifically on network observability for Kubernetes clusters. It can capture packets and analyse network flows, and integrates well with Azure monitoring services. On the flip side, Retina is open-source but works best with Azure. It needs more configuration to run on other cloud providers and appears to have a steeper learning curve than Subtrace.

Subtrace uses eBPF programs to capture network data directly from the kernel. This method has lower overheads than traditional packet capture methods which run in user-space, so it can process high volumes of network traffic without significantly impacting application performance. Using eBPF does mean the tool needs to run on a recent Linux kernel version, and it requires appropriate permissions to load eBPF programs, which might be restricted in some environments.

The tool's announcement on Hacker News has generated some discussion about its technical approach and positioning. Several users questioned the "Wireshark for Containers" comparison, with user jolmg commenting: "My first impression with 'Wireshark for Docker containers' is '... Well, Wireshark already works with Docker containers, so if your goal is to be Wireshark for Docker containers, you'll just fail by definition. Can't beat Wireshark at being Wireshark.'"

User sophacles provided detailed feedback about what they would expect from a true "Wireshark for containers," noting: "It's not wireshark, it's not close to wireshark just because it can capture some tcp pcaps." They highlighted the need for features like DNS traffic inspection, packet tracing through container network stacks, and NAT tracking capabilities.

However, other community members pointed out the niche into which Subtrace can fit. User chatmasta observed: "IMO the real UX problem is that there's nothing in between 'Wireshark' and 'DevTools.' What would be cool is a program that renders the real DevTools UI from a .pcap file."

One aspect that particularly impressed community members was Subtrace's approach to TLS decryption. The tool generates ephemeral TLS root certificates and injects them into the system certificate store without requiring root privileges. User adtac, the project creator, explained: "We intercept the open(2) syscall to see if it's /etc/ssl/certs/ca-certificates.crt (or equivalent). If so, we append the ephemeral root CA to the list of actual CA certificates."

Reaction to this explanation was somewhat mixed. User cyberax commented: "I can't decide if I'm horrified or amazed by this," while user chatmasta praised it as "a great hack" that provides "clean" proxy functionality. User 1oooqooq offered a cautionary note, warning that "as with anything too clever and undocumented, you will be amazed until you waste a few weeks debugging an issue caused by it."

The community discussion also raised data privacy concerns, with user gerwim pointing out that "it seems the subtrace process sends all data to your server. I'm reluctant to do that on a production environment, where API keys and personal data are being handled." The developers addressed these concerns by explaining the tool's local operation mode, which lets users run Subtrace entirely locally without sending data to external servers.

Subtrace is now available as an open source project on GitHub and as a commercial offering at Subtrace.dev.

About the Author

Rate this Article

Adoption
Style

BT
尿常规白细胞高是什么原因 眼睛红红的是什么生肖 老是想吐是什么原因 撸是什么意思 腰部酸胀是什么原因
什么是什么的摇篮 衡于虑的衡什么意思 嗜睡是什么病的前兆 伤风胶囊又叫什么 晚饭吃什么最健康
为什么插不进去 白露是什么季节的节气 隐翅虫咬了用什么药 什么是五常大米 抹茶是什么做的
老公生日送什么礼物好最合适 总是抽筋是什么原因 扁的桃子叫什么名字 五灵脂是什么 小腿浮肿什么原因
得糖尿病的原因是什么hcv8jop6ns6r.cn 关节疼挂什么科hcv9jop4ns2r.cn 氯化镁是什么hcv9jop3ns0r.cn 肺炎支原体抗体阴性是什么意思hcv8jop0ns0r.cn 什么情况下做肾穿刺jasonfriends.com
7月17号什么星座hcv8jop2ns8r.cn 42天产后检查都检查什么项目520myf.com 容易被吓到是什么原因hcv9jop0ns8r.cn 长智齿牙龈肿痛吃什么药hcv9jop0ns6r.cn 家宴是什么意思hcv9jop0ns4r.cn
什么是违反禁令标志指示hcv8jop0ns0r.cn 蛇鼠一窝什么意思hcv9jop0ns3r.cn 来苏水又叫什么名字hcv8jop7ns3r.cn 氨水是什么hcv9jop5ns3r.cn 茹毛饮血什么意思hcv9jop4ns4r.cn
酒后打嗝是什么原因hcv9jop5ns4r.cn 口腔疱疹用什么药hcv7jop7ns2r.cn 家里起火代表什么预兆hcv8jop8ns1r.cn 补钙吃什么食物最好最快中老年hcv7jop6ns6r.cn 胎儿肾积水是什么原因引起的hcv8jop5ns3r.cn
百度