Skip to content
Back to skills

Smoltcp Knowledge Patch

ASecurity

smoltcp

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
developmentrustgoapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill smoltcp-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Smoltcp Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Smoltcp Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-smoltcp-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-smoltcp-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: smoltcp-knowledge-patch
description: smoltcp
version: "0.14.0"
license: MIT
metadata:
  author: Nevaberry
---


# smoltcp compatibility guidance

Load this skill when updating smoltcp build configuration, interface behavior,
socket handling, tracing, or wire representations.

Use the quick reference below for changed requirements and behavior, then
consult the topic references for the relevant guidance and version attribution.

## Reference index

| Reference | Topics |
| --- | --- |
| [Build configuration](references/build-configuration.md) | Rust requirements, `heapless`, Ethernet features, DNS without UDP sockets |
| [Interface and IP behavior](references/interface-and-ip.md) | SLAAC, routing table configuration, polling, AnyIP, IPv6 fragmentation |
| [Sockets](references/sockets.md) | TCP behavior, SYN-ACK control, raw sockets, ICMP, `AnySocket` |
| [Wire APIs and tracing](references/wire-and-tracing.md) | `Tracer`, `IpRepr`, const CIDR initialization, endpoint conversion |

## Changed requirements and APIs

### Rust toolchain

smoltcp requires Rust 1.91 or later
and uses Rust Edition 2024.

### Dependency version

smoltcp uses `heapless` v0.9.

### Ethernet with TunTapInterface

`TunTapInterface` no longer enables `medium-ethernet` automatically.
Enable `medium-ethernet` explicitly if using the interface with Ethernet.

See [Build configuration](references/build-configuration.md).

### Custom packet tracing

The public `Tracer` API changed to support
custom packet inspection and printing.

See [Wire APIs and tracing](references/wire-and-tracing.md).

## Connection and packet behavior changes

### TCP sockets and removed local addresses

A TCP socket now closes when its local IP address
is no longer assigned to the interface.
Removing an interface address can therefore close existing connections.

See [Sockets](references/sockets.md).

### IPv6 packets requiring fragmentation

smoltcp now logs and drops IPv6 packets
that require fragmentation.

See [Interface and IP behavior](references/interface-and-ip.md).

## Feature controls

### IPv6 SLAAC

Enable the `slaac` Cargo feature to use
IPv6 Stateless Address Autoconfiguration.
Use `slaac_updated_at` to check when the SLAAC addresses were last updated.

### Disable the routing table

Enable `iface_max_route_count-0`
to disable the routing table entirely.

See [Interface and IP behavior](references/interface-and-ip.md).

### Application-controlled TCP SYN-ACK

Enable `pause_synack` to let application code
withhold TCP SYN-ACK responses.

### Disable automatic ICMP echo replies

Enable `no-auto-icmp-echo-reply`
to disable automatic ICMP echo replies.

See [Sockets](references/sockets.md).

### IPv6 multicast without Ethernet

IPv6 and multicast support can now be built
with Ethernet disabled.

### DNS without UDP sockets

`socket-dns` can now be enabled
with `socket-udp` disabled.

See [Build configuration](references/build-configuration.md).

## Interface and socket operation

### Queued socket output during polling

A single `Interface::poll` can drain queued socket output
that previously had to wait for another poll.

### Local-address checks with AnyIP

Local-address checks now honor the interface's `any_ip` setting.

See [Interface and IP behavior](references/interface-and-ip.md).

### TCP zero-window probes

TCP now probes peers that advertise a zero receive window
to detect when transmission can resume.

### TCP resets and raw socket handling

smoltcp suppresses its TCP reset response
when a raw socket handles the incoming TCP packet.

### Unfiltered raw sockets

Raw sockets can now receive packets across all IP protocols
and versions in unfiltered mode.

### ICMP binding to TCP ports

An ICMP socket can now bind to a TCP port.

### Socket enum in generic APIs

The `Socket` enum now implements `AnySocket`,
so it can be used where a generic API requires that trait.

See [Sockets](references/sockets.md).

## Wire representations and conversions

### Generic IP packet parsing

`IpRepr` now supports parsing both IPv4 and IPv6 packets
through the same representation.

### Const CIDR initialization

`Cidr` values can now be initialized in const contexts.

### Wire endpoint conversion

A wire `Endpoint` can now be converted into a `core::net::SocketAddr`.

```rust
let addr: core::net::SocketAddr = endpoint.into();
```

See [Wire APIs and tracing](references/wire-and-tracing.md).

Files in this skill

  • SKILL.md4.3 KB
  • coverage.json319 B
  • references/build-configuration.md593 B
  • references/interface-and-ip.md707 B
  • references/sockets.md1.1 KB
  • references/wire-and-tracing.md550 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.