TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Is there a hackable Network Switch?

9 pointsby bootcatover 7 years ago
What is the closest hardware and software to realize this and generally play/hack the switch using custom software ?

3 comments

jzochover 7 years ago
Barefoot networks(<a href="https:&#x2F;&#x2F;barefootnetworks.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;barefootnetworks.com&#x2F;</a>) has programmable switches using their custom designed chips and run using their programming language p4 (<a href="http:&#x2F;&#x2F;onrc.stanford.edu&#x2F;p4.html" rel="nofollow">http:&#x2F;&#x2F;onrc.stanford.edu&#x2F;p4.html</a>). Its pretty powerful stuff and the chips are about $2000 a pop last I checked
ktpsnsover 7 years ago
An easy way to hack an ethernet switch (or router) is a computer with a number of network cards. A cheap one is for instance the Banana Pi R1 (<a href="http:&#x2F;&#x2F;www.banana-pi.org&#x2F;r1.html" rel="nofollow">http:&#x2F;&#x2F;www.banana-pi.org&#x2F;r1.html</a>) which exposes five ethernet cards to the operating system.
评论 #15853392 未加载
评论 #15848731 未加载
wmfover 7 years ago
There&#x27;s a lot of different stuff out there depending on what you want to hack. Mellanox Spectrum with switchdev or Facebook Wedge with FBOSS will let you hack the control plane. Barefoot Tofino with P4 or NetFPGA will let you hack the data plane.
评论 #15848730 未加载