3 Jan 2025 |
smoltcp-bot | PR merged: Fix DHCPv4 panic when T1 < T2 < lease duration is not respected | 15:03:53 |
5 Jan 2025 |
| davoclavo joined the room. | 22:47:10 |
12 Jan 2025 |
| Dominic Fischer joined the room. | 16:07:51 |
14 Jan 2025 |
smoltcp-bot | New PR: Remove some redundant code | 20:08:22 |
smoltcp-bot | PR closed without merging: Remove some redundant code | 21:50:01 |
15 Jan 2025 |
smoltcp-bot | New PR: Remove ieee802154 from IphcRepr | 00:29:48 |
Robert Jördens | Awesome. Thanks! | 10:48:08 |
datdenkikniet | Redacted or Malformed Event | 17:09:47 |
17 Jan 2025 |
| Frédéric Christ changed their display name from Frédéric Christ (DECT 5915) to Frédéric Christ. | 08:11:29 |
23 Jan 2025 |
| Bunbury set a profile picture. | 06:59:47 |
| Bunbury changed their profile picture. | 07:14:34 |
24 Jan 2025 |
smoltcp-bot | New PR: Hrushikesh/deleting clippy workflow | 16:15:20 |
smoltcp-bot | PR closed without merging: Hrushikesh/deleting clippy workflow | 16:15:36 |
25 Jan 2025 |
| lulf changed their profile picture. | 10:50:28 |
smoltcp-bot | New PR: ip: Make Cidr initialization const. | 18:21:28 |
26 Jan 2025 |
smoltcp-bot | PR merged: ip: Make Cidr initialization const. | 20:34:36 |
smoltcp-bot | PR merged: fix(tcpdump): partial checksum | 21:57:17 |
smoltcp-bot | PR closed without merging: use core::net types for IpAddress | 22:04:03 |
28 Jan 2025 |
smoltcp-bot | New PR: log and drop ipv6 packets requiring fragmentation | 03:05:33 |
29 Jan 2025 |
smoltcp-bot | PR merged: log and drop ipv6 packets requiring fragmentation | 04:22:15 |
1 Feb 2025 |
| leighleighleigh joined the room. | 02:19:01 |
4 Feb 2025 |
| Ali Shirvani joined the room. | 04:55:43 |
Ali Shirvani | Hi everyone,
I've implemented a simple raw socket server using smoltcp. The scenario is very simple: reading TCP packets from tun0 and resending them on tun0. I tried to provide internet access for tun0. According to the smoltcp README, I ran the following commands. However, when I inspected tun0 and eth0, I didn't see any packets going through eth0. Would you please guide me on how I can provide internet access to tun0?
```
sudo iptables -t nat -A POSTROUTING -s 192.168.69.0/24 -j MASQUERADE
sudo sysctl net.ipv4.ip_forward=1
sudo iptables -A FORWARD -i tap0 -s 192.168.69.0/24 -j ACCEPT
sudo iptables -A FORWARD -o tap0 -d 192.168.69.0/24 -j ACCEPT
``` | 05:02:18 |
Ali Shirvani | * Hi everyone,
I've implemented a simple raw socket server using smoltcp. The scenario is very simple: reading TCP packets from tun0 and resending them on tun0. I tried to provide internet access for tun0. According to the smoltcp README, I ran the following commands. However, when I inspected tun0 and eth0, I didn't see any packets going through eth0. Would you please guide me on how I can provide internet access to tun0?
```
sudo iptables -t nat -A POSTROUTING -s 192.168.69.0/24 -j MASQUERADE
sudo sysctl net.ipv4.ip_forward=1
sudo iptables -A FORWARD -i tun0 -s 192.168.69.0/24 -j ACCEPT
sudo iptables -A FORWARD -o tun0 -d 192.168.69.0/24 -j ACCEPT
``` | 05:06:17 |
dirbaio | these commands should work yep, as detailed in the readme. | 12:05:44 |
dirbaio | keep in mind the linux kernel does routing, so the packets you send must have the right src/dst addresses to make the kernel want to send them to eth0. | 12:06:57 |
5 Feb 2025 |
smoltcp-bot | New PR: slaac: add initial stateless address autoconfiguration (SLAAC) implementation | 17:10:26 |
7 Feb 2025 |
smoltcp-bot | PR closed without merging: Remove ieee802154 from IphcRepr | 11:36:24 |
8 Feb 2025 |
smoltcp-bot | New PR: Fix compilation errors when socket-dns is enabled but socket-udp isn't | 23:58:04 |
9 Feb 2025 |
smoltcp-bot | PR merged: Fix compilation errors when socket-dns is enabled but socket-udp isn't | 00:49:38 |