| 5 Jun 2021 |
hexa | Dual A53 (1,36 GHz) | 00:55:50 |
hexa | https://www.mediatek.com/products/homenetworking/mt7622 | 00:56:12 |
Zhaofeng Li | Well, it's an AP so it doesn't matter that much | 00:56:15 |
hexa | yup | 00:56:18 |
Church | Hmm what would be the easiest way for me to see how a packet flows? | 01:00:58 |
hexa | tcpdump to see the packet | 01:01:15 |
hexa | then use ip route get <dest> from <src> | 01:01:27 |
ElvishJerricco | So on a dual band router, does the OS on the router see two different wireless interfaces, one for each band? | 01:28:48 |
hexa | yes | 01:37:50 |
Church | Hmm, is there not a mangle table on nixOS? | 02:43:04 |
Church | Seems to not be there by default at least when I try to insert a rule | 02:43:18 |
hexa | Redacted or Malformed Event | 03:04:03 |
hexa |  Download image.png | 03:05:02 |
hexa | (https://en.wikipedia.org/wiki/Netfilter#/media/File:Netfilter-packet-flow.svg) | 03:05:20 |
hexa | it's not available in all chains | 03:06:00 |
Church | [root@teapot:~]# iptables -A prerouting -t mangle -i wg0 -p tcp --dport 25 --jump MARK --set-mark 2
iptables: No chain/target/match by that name.
| 03:34:17 |
Zhaofeng Li | Chains are case-sensitive. Use PREROUTING | 04:53:03 |
Church | Ah | 05:23:23 |
Zhaofeng Li | Upgrading my routers today and noticed that I'm building the kernels. Turns out I have a kernelPatch to enable CONFIG_INFINIBAND_IPOIB_CM back when I first switched to NixOS from Arch, and it's not enabled in the default kernel. | 06:37:45 |
Zhaofeng Li | So apparently no one except me is using IB with NixOS? 😅 Opening a PR in a bit | 06:38:36 |
Corbin | You might be the only one using the Connected Mode feature. A PR seems sensible, since it would only trigger the underlying module to be built. | 07:38:04 |
Zhaofeng Li | I was saying that because IPoIB isn't really "usable" without Connected Mode. The performance is just so much better. | 08:01:24 |
| nyanotech joined the room. | 14:24:01 |
Church | Hmm seems my policy based route for port 25 traffic still isn't working. Grumble, I think this is why I quit trying this last time to heh | 17:37:27 |
mutantmell | I have an old Unifi AC I'm currently not using, maybe I'll try putting NixOS or openwrt on it | 18:11:35 |
hexa | Church: might not need fwmark after all | 22:11:53 |
hexa | ip rule knows dport 25 and iif eth0 | 22:12:09 |
Church | Eyep. | 22:12:15 |
Church | If you saw a church in #networking on libera that was me. :P | 22:12:35 |
hexa | mutantmell: openwrt will be easy, nixwrt might be something you want to look into | 22:12:40 |