Skip to main content

Get the Reddit app

Scan this QR code to download the app now
Or check it out in the app stores

Diy Electronics







This case
r/meshtastic

Welcome to Meshtastic's Official Subreddit! You may also find us on [Discord](https://discord.com/invite/ktMAKGBnBs) and [Discourse](https://meshtastic.discourse.group).


Members Online
This case
  • r/meshtastic - This case
  • r/meshtastic - This case

Is Meshtastic vulnerable to replay attacks? And what would that mean?
r/meshtastic

Welcome to Meshtastic's Official Subreddit! You may also find us on [Discord](https://discord.com/invite/ktMAKGBnBs) and [Discourse](https://meshtastic.discourse.group).


Members Online
Is Meshtastic vulnerable to replay attacks? And what would that mean?

As a supporter of this project I have a concern about packet replay attacks in the current Meshtastic protocol.  I would like to be set straight by someone with better knowledge, but I am concerned that I have found a vulnerability in the protocol which has an unfortunate security impact on many use cases involving machine control.

Here is the problem: A diligent search of the code finds nothing in the protocol which prevents saved encrypted packets from being replayed at a later time, any time after the FloodingPacketRouter has forgotten it at its default 10 minute interval.  In fact, this ability to store and replay encrypted packets is how basic mesh routing works and is also intrinsic to how the StoreAndForward thing works

But I can find no defense in receiving nodes to a replay from messages that came from before 10 minutes ago.

I have confirmed that this “stored packet replay” attack is possible ex tempore via trivial modifications to the firmware which, of course, I shall not release.  So don’t ask.  You can replay a message to a node 10 minutes after it has received it and it will accept it as new and act on it again.

Here is why I believe this is a concern, especially for tele-command, IOT, and other machine applications of Meshtastic

Suppose NodeA uses the sensor module to send a sensor change message on an encrypted private channel, perhaps tell another node to open a gate when a car is detected.  NodeB receives the message and opens the gate.  Many Meshtastic use cases fall into this M2M/IOT category.

Suppose a malicious node NodeMal nearby captures that encrypted message.  Even without being able to decrypt the message, its capture is enough to support a no-brainer replay attack.  After the Flooding Packet Router timeout of 10 minutes, that message could be re-emitted by NodeMal.  NodeB would have no way to know that it was a replay.  In other words, NodeB would perform whatever procedure it uses to open the gate every time NodeMal sends the malicious replay.

If this line of analysis is correct, and while I have experimentally verified it I stand to be corrected by more knowledgable people, there is nothing in the current Meshtastic protocol that would prevent undetected packet replay manipulation of any tele-commanded node using previous packets replayed.  Including ones captured internationally via MQTT at an indefinite time before.

And this is the core of the concern.  It’s a pretty precarious state of affairs for anything electronically connected to a Meshtastic node.  Any message ever sent to control your device could be intercepted, anywhere in the mesh, anywhere on MQTT, and replayed into your device at a time not of your choosing, by anyone anywhere in the world.

I am a big fan of this project.  I have direct, personal experience that packets can be replayed with trivial modifications to the firmware.  If this line of analysis is true,  there are significant caveats on using Meshtastic in real-world applications.  it would be good to hear more from the developers on their thoughts about this, especially their views on this potential issue, and how the project roadmap will address it

I would welcome further information, and discussion, and I am prepared to be refuted, but mostly I would like to hear from the Meshtastic team on their thoughts.






Simple Meshtastic Discord Bridge Bot
r/meshtastic

Welcome to Meshtastic's Official Subreddit! You may also find us on [Discord](https://discord.com/invite/ktMAKGBnBs) and [Discourse](https://meshtastic.discourse.group).


Members Online
Simple Meshtastic Discord Bridge Bot

Something to share with the group - I built a simple Meshtastic Discord Bridge bot:
https://github.com/raudette/meshtastic_discord_bridge

I keep my Meshtastic node on at home - this allows me to read and send messages to the mesh through Discord where ever I am. It's in a "just got it working" state - pretty primitive, missing message delivery confirmation, but I've been using it for a few days - seem to work, may be a useful.


FTC Robotics Training Platform
r/FTC

We are currently private in protest of Reddit's poor management and decisions related to third party platforms and content management.


Members Online
FTC Robotics Training Platform
https://preview.redd.it/ftc-robotics-training-platform-v0-52ui9kn8nn1d1.png

Hey Everyone!

I am releasing the files on Printables.com for our FIRST Tech Challenge Robotics Training Platform! This platform uses the REV control system used in the FTC competition. These files will come with 3d printable clips to attach REV sensors. The profile for the clips is on Printables.com as well so we want to see attachments the FTC community will make to turn our little bot into whatever you need! If you have any questions let me know! If you make some attachments or want to show of your cool print feel free to message me a picture and I can add it to the FTC RTP Instagram, and link to the model page for others to download!

Here is the model page: https://www.printables.com/model/880492

P.S. Not sure if this is considered solicitation, this is a free file for 3D printing, if you would like there is a link to "buy me coffee" but that is it. Tried to contact the mod team to approve my post, but received no answer, so if this is not allowed I apologize.











Tariff applied on any panel even if imported before June 4, 2024 if not used in 180 days.
r/SolarDIY

Are you building a solar system for your house? Shed? RV? This subreddit is for you! Discuss your projects, show us pictures, ask for help. Anything DIY Solar!


Members Online
Tariff applied on any panel even if imported before June 4, 2024 if not used in 180 days.

Based on this https://www.commerce.gov/news/press-releases/2024/05/us-secretary-commerce-gina-raimondo-statement-president-bidens-action there is the requirement that any panels imported by June 6,2024 will need to be used by the person importing within 180 days or they will have to retroactively pay the tariff. Does it mean these panels sold to DIY would not qualify?



  • members
  • A subreddit for practical questions about component-level electronic circuits: design, repair, component buying, test gear and tools. members
  • /r/RetroArch is a subreddit dedicated to RetroArch and the libretro API framework. Post setup guides, questions and news here! members
  • An unofficial place for all things Arduino! We all learned this stuff from some kind stranger on the internet. Bring us your Arduino questions or help answer something you might know! 😉 members
  • members
  • ESP32 is a series of low cost, low power system on a chip microcontrollers with integrated Wi-Fi and dual-mode Bluetooth. The ESP32 series employs either a Tensilica Xtensa LX6, Xtensa LX7 or a RiscV processor, and both dual-core and single-core variations are available. It includes in-built antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules as well. members
  • For questions, news, and discussion about batteries, cells, chargers, charger/inverters, power banks and UPSs. members
  • Instances of crazy fixes that actually ended up working. Or not working, I'm a description, not the cops. members
  • MBL.REPAIR | Mobile Device Repair Whether you are a hobbyist or a tech sitting in the shop. This sub encompasses everything from basic computer, phone & tablet repair, to also those delving into the board level repair and data recovery aspects as well. We also provide basic getting started guides as well as links to vetted parts suppliers in our sidebar. Where we believe that as long as the device turns on, the screen is repairable! Welcome to Mobile Device Repair! members
  • For anything CNC related: CAD, CAM, automation, and more! members
  • This subreddit is dedicated to both amateur and professional engineers that want to build cool stuff at home, challenge themselves to learn new technologies, learn from each others' designs, and showcase their side projects. members
  • Information sub on all types of generators: home standby, Commercial, portable, RV, marine, etc. Repair tips, ratings and maintenance information available as well as recommendations on how to repair and safely operate a generator in an emergency. members
  • Are you building a solar system for your house? Shed? RV? This subreddit is for you! Discuss your projects, show us pictures, ask for help. Anything DIY Solar! members
  • A place for solderers from around the world, to gather, help one another, and hang out. members
  • reddit's community for DIY Pedal Builders! members
  • Discussion and news about component-level electronic circuits. members
  • Welcome to /WLED! This is a community mainly for WLED users to ask questions, show off their work, or help new users out! members
  • Have a rotorcraft that has two or more horizontal rotors? Then you're in the right place! Bicopters, Tricopters, Quadcopters, Pentacopters, Hexacopters, Octocopters, indeed any non-fixed-wing aircraft is very welcome here. members
  • **Official Printed Circuit Board (PCB) Subreddit** - schematic capture / PCB layout / PCB assembly / gerber reviews / Altium / DipTrace / KiCad / LibrePCB / OrCAD / LTspice / QSPICE / Arduino / ARM / FPGA. Please read review instructions at https://old.reddit.com/r/PrintedCircuitBoard/wiki/index#wiki_instructions_for_reviews members
  • Reddit's original DIY Audio subreddit to discuss speaker and amplifier projects of all types, share plans and schematics, and link to interesting projects. members
  • Reddit's home for the FIRST Robotics Competition! members
  • Reddit’s home for all things lighting. Commercial, Industrial, Architectural, or Residential- you name it. Ask questions, recommend products, and post cool lighting! members
  • Welcome to Meshtastic's Official Subreddit! You may also find us on [Discord](https://discord.com/invite/ktMAKGBnBs) and [Discourse](https://meshtastic.discourse.group). members
  • Hi members
  • Repair of Televisions. For non-repair issues please use /r/4kTV members
  • members
  • Modding Power Wheels members
  • If you want to show off your new DIY drone, or if you have questions on how to build one, this reddit is for you! Unmanned Aerial Vehicles (UAV), Unmanned Ground Vehicles (UGV) and just about any other unmanned vehicle you can think of are welcome here. members
  • A subreddit about the OrangePi series of SBC's members
  • This subreddit has been taken private from June12 in support of the strike on reddit to protest the upcoming changes to the pricing structure for the reddit API and related rule changes. ------- You probably want all your electronics to run on the 18650 lithium-ion cell. You just don't know it yet. members