!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

898 Members
Declaratively manage your switching, routing, wireless, tunneling and more.263 Servers

Load older messages


SenderMessageTime
18 Aug 2021
@janne.hess:helsinki-systems.dedas_jIts not the only bug ;)15:07:04
@andi:kack.itandi- das_j: do you have the code somewhere public? I'd love to host a proper search for options and packages on search.nixos.dev ;-) 15:11:21
@eyjhb:eyjhb.dkeyJhb
In reply to @janne.hess:helsinki-systems.de
Our interface is 0% compatible because we… I honestly don't remember anymore. It's a lot more complex, the code is a lot less readable but it's more powerful. So it's not really a drop-in replacement
I didn't even see you replied. Weird... But I think it is very much Ok that it is not a drop in replacement. I think we have discussed this before, and one of the reasons is the bug for bug comparability etc... I will look at the options once I am at my PC again :)
15:23:49
@janne.hess:helsinki-systems.dedas_j
In reply to @andi:kack.it
das_j: do you have the code somewhere public? I'd love to host a proper search for options and packages on search.nixos.dev ;-)
I‘m currently OOO in the Datacenter, you can check github.com/dasJ - something like helsinki-index or options or something like this? Should contain „helsinki“
16:17:53
@eyjhb:eyjhb.dkeyJhb das_j: You need to sign in or sign up before continuing. aww :( https://git.helsinki.tools/helsinki-systems/helsinki/-/blob/master/3modules/firewall.nix 16:35:12
@janne.hess:helsinki-systems.dedas_j
In reply to @eyjhb:eyjhb.dk
das_j: You need to sign in or sign up before continuing. aww :( https://git.helsinki.tools/helsinki-systems/helsinki/-/blob/master/3modules/firewall.nix
Strange, my regular login works just fine
19:39:52
@janne.hess:helsinki-systems.dedas_j I'm just kidding, I created a gist with the entire module 19:41:10
@janne.hess:helsinki-systems.dedas_j Note that this is one of my earliest modules and it would probably not even remotely pass reviews with the current standards but due to the awfulness of the implementation (especially doComplexPorts) nobody was brave enough to refactor it 19:41:59
@janne.hess:helsinki-systems.dedas_j
In reply to @eyjhb:eyjhb.dk
  verifiedNetfilter = { text, modules ? [ ] }:
    let
      file = pkgs.writeText "netfilter" text;
      vmTools = pkgs.vmTools.override {
        rootModules =
          [
            "virtio_pci"
            "virtio_mmio"
            "virtio_blk"
            "virtio_balloon"
            "virtio_rng"
            "ext4"
            "unix"
            "9p"
            "9pnet_virtio"
            "crc32c_generic"
          ] ++ modules;
      };

      check = vmTools.runInLinuxVM (
        pkgs.runCommand "nft-check"
          {
            buildInputs = [ pkgs.nftables ];
            inherit file;
          } ''
          set -ex
          # make sure protocols & services are known
          ln -s ${pkgs.iana-etc}/etc/protocol /etc/protocol
          ln -s ${pkgs.iana-etc}/etc/services /etc/services
          # test the configuration
          nft --file $file
          set +x
        ''
      );
    in
    "#checked with ${check}\n" + text;

this beauty

Found a bug here. It's acutally /etc/protocols and not /etc/protocol
20:06:23
19 Aug 2021
@6aa4fd:tchncs.de6aa4fd joined the room.05:55:00
@anubhavkini:matrix.organubhavkini left the room.06:49:11
@eyjhb:eyjhb.dkeyJhb Thanks das_j ! Will change mine :) 11:42:57
@iammrinal0:nixos.deviammrinal0 joined the room.22:00:17
20 Aug 2021
@6aa4fd:tchncs.de6aa4fd set a profile picture.01:13:04
@andi:kack.itandi-https://marc.info/?l=netfilter&m=162939459210790&w=208:54:01
@eyjhb:eyjhb.dkeyJhbIt's lovely that they link to https://www.netfilter.org/projects/nftables/downloads.html#nftables-0.9.908:58:17
@andreas.schraegle:helsinki-systems.deAndreas Schräglehttps://github.com/NixOS/nixpkgs/pull/13495914:42:01
@zhaofeng:zhaofeng.liZhaofeng LiWell, here's yet another project that has abandoned the 0ver.org versioning scheme 😄17:36:24
@6aa4fd:tchncs.de6aa4fd
In reply to @zhaofeng:zhaofeng.li
Well, here's yet another project that has abandoned the 0ver.org versioning scheme 😄
I thought that website was serious for a minute and it made me quite mad
18:57:46
@piper:lutris.engineeringPiper McCorkle (she/her or they/them)
In reply to @zhaofeng:zhaofeng.li
Well, here's yet another project that has abandoned the 0ver.org versioning scheme 😄
Wow, half the Rust ecosystem belongs on that list :P
20:21:45
@piper:lutris.engineeringPiper McCorkle (she/her or they/them)(including my packages, that isn't meant as a negative)20:22:19
21 Aug 2021
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI just set up a 6in4 tunnel on my router at home which is running openwrt. Is there perhaps a daemon I can run on NixOS on my laptop that will give me an ipv6 address anywhere? Would be cool if so.01:17:56
@6aa4fd:tchncs.de6aa4fd
In reply to @matthewcroughan:defenestrate.it
I just set up a 6in4 tunnel on my router at home which is running openwrt. Is there perhaps a daemon I can run on NixOS on my laptop that will give me an ipv6 address anywhere? Would be cool if so.
it depends on how it is routed on your openwrt box
02:27:49
@6aa4fd:tchncs.de6aa4fdif all your LAN traffic already goes through it, then you don't need to do anything except setting up dhcp02:28:34
@6aa4fd:tchncs.de6aa4fdif not, you can change the routing rules on the router02:29:45
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone 6aa4fd: I meant to say that I want an ipv6 address on my laptop, even when I'm at a coffee shop, via 6in4. 02:32:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneso I'm happy with the setup I have at home where the router does it, but I was wondering whether I could have it all happen on my laptop and screw the network I'm on.02:32:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAnd what a dream it would be to have Nix configure my home router.02:33:08
@6aa4fd:tchncs.de6aa4fd
In reply to @matthewcroughan:defenestrate.it
so I'm happy with the setup I have at home where the router does it, but I was wondering whether I could have it all happen on my laptop and screw the network I'm on.
oh, you want a 6in4 or other type of VPN then
02:33:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneHmm.. Maybe tailscale should provide this.02:33:42

There are no newer messages yet.


Back to Room ListRoom Version: 6