• 1 Post
  • 7 Comments
Joined 1 year ago
cake
Cake day: June 9th, 2023

help-circle




  • I really enjoyed reading this, thank you.

    I’d be interested in reading more about the benefits of using an atomic distro, if you were looking for ideas on things to write about. I imagine it must make system upgrades easier but what about replicating your setup elsewhere? Like if I was doing some development and now I need to throw some serious hardware at the problem, could I just backup all my Flatpaks some configs, and spin up my desktop on a cloud VM?

    I’m pretty sure that’s what Nix is all about, but the learning curve seems steep.


  • I really appreciate this, thank you. I think I had confused myself by playing with ‘u16’ and ‘u8’ and somehow coming to the conclusion that they were matching the right side of a 32-bit string. (Which may still be true, but, I’m just masking u32s now).

    This is what I ended up with, which is working the way I’d expect:

    tc filter add dev wlan0 protocol ip parent 1: prio 1 u32 \
    	match u32 0x30d6 0x0000ffff at -16 \
    	match u32 0xc92d1905 0xffffffff at -12 flowid 1:20
    

    This sends Ethernet frames destined for 30:d6:c9:2d:19:05 to flow 1:20, and it doesn’t seem to match a second device I tested. So, all good! Thank you again.