smoltcp
dns-weekend
smoltcp | dns-weekend | |
---|---|---|
9 | 3 | |
3,566 | 183 | |
1.5% | - | |
8.8 | 5.6 | |
3 days ago | 9 months ago | |
Rust | Jupyter Notebook | |
BSD Zero Clause License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
smoltcp
-
Implementing TCP in Rust
There is also the Rust TCP/IP stack https://github.com/smoltcp-rs/smoltcp which is not mentioned as reference (and it's probably more useful to have a look there than querying ChatGPT).
- RFC2217 implementation written in Rust
-
Create TCP connection with Pnet
Trying to dig out a link for you, will edit when I find it; TCP and Layer 4 raw sockets do not play nicely together on many platforms. You’ll probably have to send at the datalink layer and/or use something like https://github.com/smoltcp-rs/smoltcp
-
Introduction to TCP and Sockets
This seems close to what you're asking for: https://github.com/smoltcp-rs/smoltcp
A small-ish tcp/ip stack, in rust.
- smoltcp is a standalone, event-driven TCP/IP stack that is designed for bare-metal, real-time systems. Its design goals are simplicity and robustness.
-
Rust embedded and networking
You can look into smoltcp
-
What are some low level networking libraries that y'all recommend?
smoltcp
-
Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility
This here is a kernel including a memory-safe TCP/IP stack (https://github.com/smoltcp-rs/smoltcp/), and not having it crash or be full of security vulnerabilities due to preventable memory corruption is a quality beyond personal language preferences.
-
Let's suppose for a minute that I've COMPLETELY lost my mind
Oh, and you also probably want to check out smoltcp, a userspace/"no operating system required" networking stack that we often use in embedded rust.
dns-weekend
-
Implementing TCP in Rust
This is something similar: https://implement-dns.wizardzines.com/
-
Why is DNS still hard to learn?
I don't usually reply to HN comments, but I want to take a minute to address this one. It took me many years to feel totally comfortable debugging DNS problems, and I wrote this post to explain why I think it was hard for me.
I also used to think that "no, actually, it's easy!" was an encouraging response to "this is hard to learn". And I kind of get it! I love DNS! I think it is surprisingly simple in many ways, and I've written about that a lot, for example in https://implement-dns.wizardzines.com which shows you how to implement a DNS resolver from scratch in some pretty simple Python code.
But over the years I've learned that "no, it's easy to learn!", instead of coming off as an encouraging comment ("you can do it!"), often gets received as "no, it's not hard, actually the problem is that you're dumb". Like, I've been confused about this for years, and you're telling me that, no, actually it's easy? Not that helpful!
So I've stopped telling people that, and instead I put a huge amount of work into trying to understand _why_ people find certain things hard and work to help remove some of those barriers.
- DNS-Weekend
What are some alternatives?
embassy - Modern embedded framework, using Rust and async.
Pi-hole - A black hole for Internet advertisements
rust-raspberrypi-OS-tutorials - :books: Learn to write an embedded OS in Rust :crab:
awesome-selfhosted - A list of Free Software network services and web applications which can be hosted on your own servers
tock - A secure embedded operating system for microcontrollers
Nacos - an easy-to-use dynamic service discovery, configuration and service management platform for building cloud native applications.
mosys
tldr - 📚 Collaborative cheatsheets for console commands
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
dog - A command-line DNS client.
OpenSK - OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.
dns-weekend - Implement a DNS client resolver in a weekend (mirror)