MadaMada

@madamada@snac.void.my

SysAdmin with a simple life..interested in FOSS, FreeBSD, Linux, IPv6, cloud stuff and whatever things that come along the way I find interesting..
JabberIDmadamada@xpath.my
Matrix@madamada:matrix.org
Emailmada@void.my
Webhttps://buster.xpath.my
Geminigemini://warlock.xpath.my
TheFediPeoplehttps://fediverse.info/explore/people
Yggdrasilhttps://yggdrasil-network.github.io/
0 ★ 0 ↺
in reply to ยป

[?]MadaMada ยป
@madamada@snac.void.my

City: Kuala Lumpur (KL)
Country: Malaysia (MY)

Thanks 🙂

...

[?]matuzalem ยป
@matuzalem@mastodon.bsd.cafe

Now has multi dynamic interfaces.

    ...
    2 ★ 0 ↺

    [?]MadaMada ยป
    @madamada@snac.void.my

    hm imagine login into a server over ssh and the terminal layout looks like that..pretty cool :>

      0 ★ 0 ↺
      in reply to ยป

      [?]MadaMada ยป
      @madamada@snac.void.my

      My City/Country isn't listed :(

      ...
      0 ★ 0 ↺

      [?]MadaMada ยป
      @madamada@snac.void.my

      Okay so anyone know the owner(s) of https://www.bsdstats.org/ ? Their page is currently throwing fatal errors..


        [?]Miyuru Sankalpa ยป
        @miyuru@ipv6.social

        Why is the IPv4 addresses used in IPv6 address?

        WHY??

        ๐Ÿคฆโ€โ™‚๏ธ

        ...
        Older...
        0 ★ 0 ↺

        [?]MadaMada ยป
        @madamada@snac.void.my

        @miyuru@ipv6.social to have the best of both protocols ? 🙂

          [?]goetz ยป
          @goetz@ipv6.social

          @miyuru did you try to click the DNS4EU logo on the website? Results in a error as it links to 142290803.hs-sites-eu1.com/?hs

            ...

            [?]goetz ยป
            @goetz@ipv6.social

            @miyuru all endpoints miss an AAAA RR anyway.

              ...

              [?]Miyuru Sankalpa ยป
              @miyuru@ipv6.social

              @goetz I did not even check that far, that IPv6 address told me enough about the project.

              Hopefully it will get better.

                #ipv6 boosted

                [?]Loafer ยป
                @leean00@discuss.systems

                So, *@discuss.systems ; still trying to wrap me head around this IPv6 thing, couldn't sleep last night thinking about it; even though in the past I have successfully setup an IPv6 network via Hurricane Electric Tunnel and receiving a badge at the time for having set it up to the point I could have my router pinged on the other end of the tunnel.

                Had no actual connection at that point, but now I believe I do.

                Now I have muddled through a few tutorials on the subject and I am confused as ever.

                I have at my disposal, the tools subnetcalc and the ipaddr library of python which is capable of calculating address ranges based on CIDR notation and for telling you if an address is a network address ranges, from what part of the world, or if an unicast single host address.

                Half way through watching a video that recommends first watching another video with a painfully German guy who seems to really know his stuff and looks like my old coworker Brewbaker were he a bit taller, they must be relatives.

                Allowing the Delegation of Global Address prefix seems to allow for sub-sub netting amongst the original address space, and if you want to prevent this it you disallow it like a land lord disallowing subletting in the lease agreement.

                Also, my Xfinity connection seems to indicate that this prefix will change weekly. And if I want any of my servers to keep their static address they seem as though they will need to be readdressed manually every week, with a Global static address since the downstream prefix of their subnet would change with the weekly prefix change. And then I would have to change the firewall rules too!!!

                Also it seems that somehow has been replaced by and some totally confusing process called Neighbor Detection in which routers and hosts advertise and solicitate.

                Also, Site-Local addressing with a FEC0 range appears to have replaced the 172.0.0.0, 10.0.0.0 and 192.168.0.0 ranges but these have also been deprecated so they shouldn't be used.

                And the I didn't-get-an-address, address, 169.0.0.0 has been replaced by FE80 addresses but they can oddly still be communicated with.

                Seems like a mess to me, but learning something new tends to be like that.

                Any tips for the blind group of men trying to describe the elephant to each other you can provide me would be appreciated.

                  ...
                  3 ★ 0 ↺

                  [?]MadaMada ยป
                  @madamada@snac.void.my

                  @leean00@discuss.systems In IPv6, the main 3 types of addresses are:

                  - 2001:: = Global Unique Address
                  - fd00:: = Unique Local Address
                  - fe80:: = Link Local Address

                  Knowing those 3 is enough to get you going in most cases..

                  ARP is for IPv4 what NDP is for IPv6..

                  There is no broadcast address in IPv6..

                  IPv6 is a completely different protocol and addressing..looking at it from an IPv4 mindset just complicates things..

                    ...

                    [?]goetz ยป
                    @goetz@ipv6.social

                    @madamada @leean00
                    Changing prefix and FW rules is easy to handle with as FW4 allows for negative subnet masks. e.g. ::a1/-64

                    If you run services on a dynamic prefix delegation, you need to update your DNS records in a dynamic way, Depending what is at your disposal.
                    If you have a dyndns provider which allows only for a prefix update and updates all RRs is the easiest.

                    As @madamada said, forget you legacy protocol mind set. And start with a clean sheet.

                      ...

                      [?]Loafer ยป
                      @leean00@discuss.systems

                      @goetz @madamada Wow! What does that mean!?!! Negative masks?!?!

                        [?]Loafer ยป
                        @leean00@discuss.systems

                        @goetz @madamada Yeah but what about the servers? Don't they need their IPs updated, or is to totally dependent on the DNS name being resolved and you have to use something like a DDNS and the PowerDNS API internally?

                          ...
                          1 ★ 0 ↺

                          [?]MadaMada ยป
                          @madamada@snac.void.my

                          @leean00@discuss.systems @goetz@ipv6.social Ideally you'd want a static IPv6 prefix for your network..makes things alot easier,

                          However most of us live with dynamic prefixes, and this becomes a problem..luckily one way around this is to use ULA addressing internally, and map those addresses in DNS.

                          Then combine that with DynDNS or nsupdate if you are using your own domain name for the WAN side and configure port forwarding or a reverse proxy. You could also probably use NPTv6 to deal with dynamic prefix mapping but that's another beast all together..

                            [?]Loafer ยป
                            @leean00@discuss.systems

                            @goetz @madamada Oh yeah, and what happens to the concepts of actual DNS Server and DNS Forwarder under IPv6?

                              ...
                              1 ★ 0 ↺

                              [?]MadaMada ยป
                              @madamada@snac.void.my

                              @leean00@discuss.systems @goetz@ipv6.social It works similarly to IPv4 just with IPv6 addresses..

                                ...

                                [?]Loafer ยป
                                @leean00@discuss.systems

                                @madamada @goetz I will try it and eventually, hopefully report back to you.

                                  ...

                                  [?]goetz ยป
                                  @goetz@ipv6.social

                                  @leean00
                                  Negative network masks with the FW4 in works the way that you allow whatever network prefix you have this rule will allow access to the host with the ::a1 host address.

                                  DynDNS or nsupdate depending on your setup works. There are a few DynDNS providers that allow to update only the prefix and all AAAA RRs are updated automatically. Meaning that the router could run a script or ddnsclient and no need on the hosts.

                                  My take on ULAs: use only where necessary.

                                  @madamada

                                    [?]Loafer ยป
                                    @leean00@discuss.systems

                                    @madamada Are adhock network connection possible?

                                      ...
                                      0 ★ 0 ↺

                                      [?]MadaMada ยป
                                      @madamada@snac.void.my

                                      ...

                                      [?]Loafer ยป
                                      @leean00@discuss.systems

                                      @madamada When I was younger, I used to take my wiki on the train with me and I'd create a direct IPv4 connection between the laptop and the Raspberry Pi.

                                      It required that you set the gateway and the netmask the same as to that of the other machine. No router involved, but a cross over cable.

                                      Then I'd use the routing percentage thing to make sure I was equally connected between the ethernet to the pi and the wifi of the train (MTU, I think).

                                      And I could access both the raspberry pi and the wifi internet.

                                        ...
                                        1 ★ 0 ↺

                                        [?]MadaMada ยป
                                        @madamada@snac.void.my

                                        @leean00@discuss.systems Then it's the same with IPv6, both Pi and Laptop will have a preset ULA address on them..

                                          ...

                                          [?]Loafer ยป
                                          @leean00@discuss.systems

                                          @madamada okay thanks again, I'll have to try that out too

                                            ...
                                            1 ★ 0 ↺

                                            [?]MadaMada ยป
                                            @madamada@snac.void.my

                                            In the original post, you mentioned laptop -> pi using IPv4 where pi acts as a gateway.

                                            In IPv6, it's the same, for example:
                                            pi
                                            - fdaa::1/64

                                            Laptop
                                            - fdaa::2/64

                                            On Laptop, after connecting cable, ping fdaa::1, if you get reply, then proceed to route -6n add default fdaa::1 and update /etc/resolv.conf to use fdaa::1 as default nameserver

                                              [?]Loafer ยป
                                              @leean00@discuss.systems

                                              @madamada One more ... sorry, if I want to redo the HE.net Cert, any idea what domains it will accept?

                                              Already tried Gmail and protonmail

                                                ...
                                                0 ★ 0 ↺

                                                [?]MadaMada ยป
                                                @madamada@snac.void.my

                                                You'd have to engage HE.NET for that..

                                                  🗳

                                                  [?]Miyuru Sankalpa ยป
                                                  @miyuru@ipv6.social

                                                  If you can load the following domain, you have working IPv6 and a DNS resolver that has IPv6 support.

                                                  ipv6-only.tlund.se/

                                                  Worked ๐Ÿš€:68
                                                  Did not work but have IPv6:7

                                                  Closed

                                                    ...
                                                    Older...
                                                    2 ★ 0 ↺

                                                    [?]MadaMada ยป
                                                    @madamada@snac.void.my

                                                    Works..

                                                      1 ★ 0 ↺
                                                      in reply to ยป

                                                      [?]MadaMada ยป
                                                      @madamada@snac.void.my

                                                      @stefano@bsd.cafe Could you possibly do a video using BSSG ?

                                                        ...
                                                        AodeRelay boosted

                                                        [?]vermaden ยป
                                                        @vermaden@mastodon.bsd.cafe

                                                        Added ๐—จ๐—ฃ๐——๐—”๐—ง๐—˜ ๐Ÿฏ - ๐— ๐—ผ๐—ฟ๐—ฒ ๐—ง๐—ฟ๐˜‚๐—ฒ๐—ก๐—”๐—ฆ ๐—ฆ๐—–๐—”๐—Ÿ๐—˜ ๐—Ÿ๐—ถ๐—ป๐˜‚๐˜… ๐——๐—ฟ๐—ฎ๐—บ๐—ฎ to the ๐—ง๐—ฟ๐˜‚๐—ฒ๐—ก๐—”๐—ฆ ๐—–๐—ข๐—ฅ๐—˜ ๐˜ƒ๐—ฒ๐—ฟ๐˜€๐˜‚๐˜€ ๐—ง๐—ฟ๐˜‚๐—ฒ๐—ก๐—”๐—ฆ ๐—ฆ๐—–๐—”๐—Ÿ๐—˜ article.

                                                        vermaden.wordpress.com/2024/04

                                                          ...
                                                          1 ★ 0 ↺

                                                          [?]MadaMada ยป
                                                          @madamada@snac.void.my

                                                          @vermaden@bsd.cafe Hi Vermaden, are there any updates to jmore on displaying IPv6 addresses ?

                                                            ...

                                                            [?]vermaden ยป
                                                            @vermaden@mastodon.bsd.cafe

                                                            @madamada

                                                            I did not had time to review the proposed changes - so I just added jmore.6 to the repo for now - its available here:

                                                            github.com/vermaden/jmore/blob

                                                              ...
                                                              1 ★ 0 ↺

                                                              [?]MadaMada ยป
                                                              @madamada@snac.void.my

                                                              Awesome thanks.

                                                                #freebsd boosted

                                                                [?]rvstaveren ยป
                                                                @rvstaveren@mastodon.online

                                                                TIL: eza

                                                                Did the following on
                                                                pkg install eza

                                                                alias ls='eza --color=auto --icons'

                                                                eza.rocks/

                                                                  ...
                                                                  0 ★ 0 ↺

                                                                  [?]MadaMada ยป
                                                                  @madamada@snac.void.my

                                                                  eza(1) hides the group name by default, this enables it:

                                                                  - alias ls='eza -g'

                                                                  While your at it grep one of it's cool themes, place them in ~/.config/eza/theme.yml

                                                                    0 ★ 0 ↺

                                                                    [?]MadaMada ยป
                                                                    @madamada@snac.void.my

                                                                    02:54:42 up 256 days, 18:40, 10 users, load average: 0.03, 0.06, 0.08

                                                                    AodeRelay boosted

                                                                    [?]matuzalem ยป
                                                                    @matuzalem@mastodon.bsd.cafe

                                                                    I wanted a GUI client for and there wasn't none so I put this QT6 thing together last night.

                                                                      ...
                                                                      Older...
                                                                      0 ★ 0 ↺

                                                                      [?]MadaMada ยป
                                                                      @madamada@snac.void.my

                                                                      Great work, btw, is the background route monitor still an issue where it doesn't exit when the tunnel is turned off ?

                                                                        ...

                                                                        [?]matuzalem ยป
                                                                        @matuzalem@mastodon.bsd.cafe

                                                                        @madamada Isn't this more of a Linux issue? I' haven't seen /bin/bash /usr/bin/wg-quick up wg0 lingering after destroying the connection, but I haven't been looking. I'm using 14.3-BETA4 and my stability issues with WiFi are more prescient in my mind ;0

                                                                          ...
                                                                          1 ★ 0 ↺

                                                                          [?]MadaMada ยป
                                                                          @madamada@snac.void.my

                                                                          @matuzalem@mastodon.bsd.cafe It's also an issue on FreeBSD..I have a PostDown setting that kills the route command when bringing the tunnel down..

                                                                            ...

                                                                            [?]matuzalem ยป
                                                                            @matuzalem@mastodon.bsd.cafe

                                                                            @madamada Do you have is posted somewhere, your postDown, I will implement it.

                                                                              ...
                                                                              0 ★ 0 ↺

                                                                              [?]MadaMada ยป
                                                                              @madamada@snac.void.my

                                                                              @matuzalem@bsd.cafe

                                                                              PostDown = killall -9 route

                                                                                ...
                                                                                0 ★ 0 ↺

                                                                                [?]MadaMada ยป
                                                                                @madamada@snac.void.my

                                                                                @matuzalem@mastodon.bsd.cafe @matuzalem@bsd.cafe You can read about the bug here..

                                                                                https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275026

                                                                                  [?]matuzalem ยป
                                                                                  @matuzalem@mastodon.bsd.cafe

                                                                                  @madamada Added:

                                                                                  flush_wg_routes.sh
                                                                                  This script runs automatically on disconnect and:

                                                                                  Identifies and removes any active routes associated with wg0
                                                                                  Ensures the system routing table is clean after tunnel teardown
                                                                                  If no tunnel-specific routes are present, it exits safely:

                                                                                  [flush_wg_routes] No routes found for interface wg0

                                                                                  github.com/krolingo/wg-gui

                                                                                    ...
                                                                                    1 ★ 0 ↺
                                                                                    in reply to ยป

                                                                                    [?]MadaMada ยป
                                                                                    @madamada@snac.void.my

                                                                                    @stefano@bsd.cafe Great talk by all participants and yourself :>

                                                                                      ...
                                                                                      0 ★ 0 ↺

                                                                                      [?]MadaMada ยป
                                                                                      @madamada@snac.void.my

                                                                                      Contabo IPv6 madness

                                                                                      Okay, so I have a little gripe with Contabo, I have a VPS with their EU HUB and for some reason, IPv6 there seems flawed.

                                                                                      I added prefix::1/64 to vtnet0 and this address is pingable. However when I add an IP alias prefix::2/128 and use this source address in ping, I get no replies.

                                                                                      Contabo says they assign a /64 per-VPS..

                                                                                      PF is disabled during the test. ndp -na shows their gateway address in the table with an Expire of a few seconds..

                                                                                      netstat -rn6 | grep default shows the default gateway pointing to them, all seems good yet somehow a mystery..

                                                                                      Anyone face similar issues like this with them ?

                                                                                      ...

                                                                                      [?]goetz ยป
                                                                                      @goetz@ipv6.social

                                                                                      @madamada maybe @namedbird can contribute?

                                                                                        ...
                                                                                        1 ★ 0 ↺

                                                                                        [?]MadaMada ยป
                                                                                        @madamada@snac.void.my

                                                                                        @goetz@ipv6.social he did thanks, it's in some ways similar to a Netcup issue I had, They use a switched network, and the same issue had pop up on FreeBSD and OpenBSD.

                                                                                          [?]Named Bird ยป
                                                                                          @namedbird@noc.social

                                                                                          @madamada I have toyed around with multiple IPv6 addresses in the past and am pretty sure it worked that time. ๐Ÿ˜… (but i ain't exactly an expert)
                                                                                          Try checking your firewall and routing config one last time and if you don't spot anything amiss there, then you could try asking their support.

                                                                                            ...
                                                                                            0 ★ 0 ↺

                                                                                            [?]MadaMada ยป
                                                                                            @madamada@snac.void.my

                                                                                            @namedbird@noc.social Thanks, I've done those checks multiple times just to be sure, PF was disabled the entire time to rule out it's not a firewall issue..netstat -rn6 doesn't indicate anything off..and ping/curl using the main IP on the Interface works ..

                                                                                            I'll be escalating this to their support for sure..

                                                                                              3 ★ 3 ↺
                                                                                              goetz boosted

                                                                                              [?]MadaMada ยป
                                                                                              @madamada@snac.void.my

                                                                                              Apalrd has started the task of maintaining Tayga NAT64

                                                                                              -- https://youtu.be/WlQH8KubgiA?si=0Axb9tvYh2_hONsP
                                                                                              -- https://github.com/apalrd/tayga/

                                                                                              I just tested this on FreeBSD 14.2 and it works on the main Host and usable in a vnet jail.


                                                                                                ...
                                                                                                1 ★ 0 ↺
                                                                                                in reply to ยป

                                                                                                [?]MadaMada ยป
                                                                                                @madamada@snac.void.my

                                                                                                1 ★ 0 ↺
                                                                                                in reply to ยป

                                                                                                [?]MadaMada ยป
                                                                                                @madamada@snac.void.my

                                                                                                @stefano@bsd.cafe Hey, what are you presenting and can it be live streamed ?

                                                                                                  ...
                                                                                                  2 ★ 0 ↺

                                                                                                  [?]MadaMada ยป
                                                                                                  @madamada@snac.void.my

                                                                                                  Since I'm mostly on Matrix, I didn't realize and had a Discord server.

                                                                                                  Here are the links to join:

                                                                                                  -- FreeBSD
                                                                                                  -- OpenBSD

                                                                                                    2 ★ 0 ↺

                                                                                                    [?]MadaMada ยป
                                                                                                    @madamada@snac.void.my

                                                                                                    Messenger-like app for E-mail ?

                                                                                                    Then check out DeltaChat

                                                                                                    History

                                                                                                    Back to top - More...