!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

388 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.121 Servers

Load older messages


SenderMessageTime
4 Aug 2025
@hexa:lossy.networkhexaalso boo, we're still using iptables18:57:17
5 Aug 2025
@emma:rory.gay@emma:rory.gayor youre using the nftables wrapper lol02:59:30
@hexa:lossy.networkhexathe nixos default 🤷03:00:29
@hexa:lossy.networkhexaquite a bit of technical debt in there03:00:51
@emma:rory.gay@emma:rory.gayyeah, thats the nftables wraper03:02:10
@emma:rory.gay@emma:rory.gay iptables v1.8.11 (nf_tables) 03:02:18
@emma:rory.gay@emma:rory.gayglad that still exists because i have no clue how to manage nftables03:02:46
@hexa:lossy.networkhexa
  systemd.services.nft-update-tor-exits = {
    wantedBy = [ "nftables.service" ];
    after = [ "nftables.service" ];
    startAt = "hourly";
    script = ''
      curl -sSL "https://check.torproject.org/cgi-bin/TorBulkExitList.py?exit" | sed '/^#/d' | while read IP; do
        nft add element inet filter torexits { $IP } 
      done
    '';
    path = with pkgs; [
      curl
      nftables
    ];
  };
03:10:29
@hexa:lossy.networkhexa
        set torexits {
          type ipv4_addr;
          flags dynamic, timeout;
          timeout 6h;
        }
03:11:00
@hexa:lossy.networkhexabasically you can create a datatype, e.g. a set03:11:06
@hexa:lossy.networkhexaand add to it, and have entries timeout automatically03:11:14
@hexa:lossy.networkhexaand then match on that set03:11:31
@hexa:lossy.networkhexa
            ip saddr @torexits counter drop
03:11:38
@sinan:sinanmohd.comsinan changed their profile picture.03:58:54
@sinan:sinanmohd.comsinan 03:58:56
@arianvp:matrix.orgArianI love nftables so much07:00:42
@arianvp:matrix.orgArianSystemd also creates a set for each cgroup automatically which is nice07:01:01
@janne:hess.oooJanne
In reply to @arianvp:matrix.org
Systemd also creates a set for each cgroup automatically which is nice
With what in it? 😳
07:54:47
@isabel:isabelroses.comisabel changed their profile picture.09:49:48
@arianvp:matrix.orgArianThe cgroup id19:38:42
@arianvp:matrix.orgArianBut means you can refer to cgroups by name in nft rules19:39:16
@arianvp:matrix.orgArian(as opposed to having to use the unstable cgroup id)19:39:27
6 Aug 2025
@janne:hess.oooJanne
In reply to @arianvp:matrix.org
The cgroup id
Do I need to enable something for this to work? Or do I have to use the latest version? Because I don't see anything like this in my ruleset
09:05:56
@arianvp:matrix.orgArianhttps://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#NFTSet=family:table:set18:19:19
@j-k:matrix.orgj-k Is discourse.nixos.org down? I'm getting 502 errors from nginx and isitdownrightnow.com seems to get the same result 19:21:03
@sersorrel:matrix.orgsorrelmhm, also seems very slow to me when it responds at all19:24:20
@0x4a6f:matrix.org[0x4A6F]Still up here.19:27:49
@0x4a6f:matrix.org[0x4A6F]* Still up here. With banner: Due to extreme load, this is temporarily being shown to everyone as a logged out user would see it.19:28:29
@ctheune:matrix.flyingcircus.ioChristian Theuneyeah, we got hit by the same ceph bug as yesterday. i've found a trigger that we can stop from triggering for now so this shouldn't become a regular thing ... -_-19:36:50
@ctheune:matrix.flyingcircus.ioChristian Theunethings should be back to normal19:37:07

Show newer messages


Back to Room ListRoom Version: 6