-
rtprio
dnsmasq is a bit more than unbound
-
AllanJude
dnsmasq does a whole suite of things, including a dhcp server etc, where unbound is just a caching resolver
-
AllanJude
both will work fine
-
AllanJude
kind of depends if you want only dns, or more of an all-in-one solution
-
voy4g3r2
looks like unbound it is.. i am NOT happy witt this TP-LINK er605.. it does not have DNS capabilities built in
-
voy4g3r2
quite surpirsed.. i have to use ip addresses for whole network
-
yuripv
voy4g3r2: run openwrt on that tp-link? :)
-
voy4g3r2
yuripv: haha, it would make my life easier.. maybe but losing internet is not an option.. this is "safer"
-
voy4g3r2
i work from home and if the internet is not available, then no bueno
-
AumShivaya
does anyone have enlightenment window manager working on FreeBSD? it starts when I startx, but there is no backlight or the thing goes black after I finish the config wizard
-
rwp
voy4g3r2, unbound is a good choice for a caching nameserver for Internet names. If you have a small number of systems on the land LAN then using /etc/hosts for those is probably simplest.
-
meena
if you have a sensible mechanism of putting files on a machine / its jail
-
debdrup
if it's between local unbound or unbound on the gateway, i pick the latter
-
debdrup
assuming a residential setup with NAT, of course - if you've got a publicly routed IP, you'll need either local unbound, your service providers DNS, or a third-party DNS
-
rwp
I always put a "house router" that I build behind the ISP modem-router and my LAN. Then I don't need to trust my ISP modem-router.
-
moviuro
Hi all, I just did a routine upgrade of my tiny nextcloud instance. After pkg upgrade, I run the `php occ upgrade` that takes care of changes to the DB, etc. but this time it failed with: `ld-elf.so.1: /usr/local/lib/php/20220829/apcu.so: Undefined symbol "php_pcre2_match_data_create_from_pattern"`
-
» Remilia runs powerdns for LAN
-
moviuro
hmmmm `pkg -j nextcloud install -f php82-pecl-APCu-5.1.23` as suggested here
bugs.freebsd.org/bugzilla/show_bug.cgi?id=275361 did the trick
-
VimDiesel
Title: 275361 – devel/pecl-APCu: Undefined symbol "php_pcre2_match_data_create_from_pattern"
-
debdrup
rwp: double-NATing is terrible, though.
-
AumShivaya
Anyone successfully got enlightenment to run as desktop on FreeBSD?
-
rwp
debdrup, How will anyone ever know?
-
Remilia
just set the ISP modem to bridge mode
-
rwp
Yes bridge mode works. But I prefer routed modes. They are easier to debug.
-
Remilia
what
-
Remilia
I am pretty sure double NAT with ISP routers is one of the worst scenarios to debug
-
Remilia
due to how bad the firmware is for most of those
-
rwp
What? Surely you are joking.
-
Remilia
how the heck can bridge mode be an issue
-
debdrup
rwp: If you're only doing HTTP(S) traffic it isn't much of a problem, I guess - but there's quite a few protocols that historically struggle.
-
debdrup
moviuro: pkg-upgrade has an -f flag.
-
rwp
I am not doing IPSEC with a shared UDP port 500. I am not insane.
-
debdrup
Oh, welp, didn't see the follow-up line somehow.
-
debdrup
rwp: bridge mode is always preferable if you're using your own gear and can't terminate things yourself for whatever reason.
-
debdrup
Getting a GPON SFP+ module was the best decision I ever made.
-
rwp
Let's say someone else forces me to debug their crazy laptop running some program problem. Right now I can plug their laptop directly into the ISP modem and go, Not My Problem, the happiest words in the world. But if it is in bridge mode then that does not work. I have to put them on my NAT, and then listen to them tell me how I am doing it wrong. No thank you.
-
Remilia
kernel CPU load 105%, vnlru 60%, nice
-
debdrup
rwp: is that something that's likely to occur on a residential setup?
-
Remilia
time to reboot with -p1 and wait for this to happen again
-
debdrup
Not sure I understand the issue.
-
crest
rwp: what is insane about using the specified default port?
-
rwp
debdrup, It's something that infrequently occurs here. Yes.
-
debdrup
rwp: welp.
-
rwp
crest, I see you have never worked with the insanity that is IPSEC. It's problematic by design. They use a shared UDP port 500 that causes several different insurmountable problems. Don't just run from IPSEC. Run away as as you can.
-
Remilia
I use IPsec
-
Remilia
running a tunnel for a decade now
-
crest
rwp: bold of you to assume that. I use IPsec ond FreeBSD and OpenBSD in production and know the pain and suffering it can cause well
-
Remilia
have not had any issues
-
crest
but i wondered how having a well known port became the issue
-
rwp
Remilia, You must have exactly one then. That's the only case without a conflict.
-
crest
it's not like 4500 for IKE with NAT-T is a magical number that solves the port conflict
-
rwp
At one time I totaled up the number of RFCs that define IPSEC and some ten years ago there were at least 55 RFCs that were needed in the definition of what is IPSEC. Gack!
-
eoli3n
Hi
-
eoli3n
how to downgrade a package, if i can't find it in /var/cache/pkg ?
-
crest
yes it's the curse design by committee
-
crest
eoli3n: find it somewhere else. which package are you looking to downgrade?
-
eoli3n
bastille
-
crest
are you on the latest or the quarterly branch?
-
crest
maybe the mirrors just happen to have a version that works for you in the quarterly branch?
-
eoli3n
-
VimDiesel
Title: [BUG] bastille_network_pf_ext_if (ext_if) not defined in pf.conf · Issue #645 · BastilleBSD/bastille · GitHub
-
VimDiesel
645 – "install -c -s" can't install shell scripts
bugs.freebsd.org/bugzilla/show_bug.cgi?id=645
-
eoli3n
crest i'm in latest, so yes
-
eoli3n
where could i find it ? which url ?
-
rwp
crest, There are (or at least were) two of us that need to use VPNs from the house. Both with the same company. It created a conflict because both IPSEC VPNs needed to use the same UDP port and the simplest way to explain it is that it would get confused. Only one of the VPNs could operate at a time.
-
Remilia
first time I hear of a company using non-encapsulated IPsec where the other side is not an office
-
Remilia
but I guess the world is vast
-
Remilia
normally you'd encapsulate it in L2TP
-
crest
the problem is that as a UDP protocol normal IKE without the NAT-T extension requires unique endpoint IP addresses for the (initiator addr, responder addr) pair
-
eoli3n
-
VimDiesel
Title: Index of /FreeBSD:13:amd64/quarterly/
-
crest
Remilia: it's the other way around
-
eoli3n
-
crest
L2TP+IPsec uses IPsec (in transport mode) on the outside encrypt an L2TP tunnel
-
crest
-> the L2TP tunnel doesn't help you around the port conflict
-
eoli3n
can I install a specific package from quarterly from commandline ?
-
rwp
crest, Fortunately neither of us work for that company anymore. So don't need to worry about that problem at all anymore
-
rwp
And for me it has been since 2007 making the details of the problem somewhat vague in my memory. Sorry if I just don't remember the exact details now.
-
crest
i know the problem you're describing. it happens when two IKEv1 initiators are behind the same NAT gateway
-
Remilia
2007 means before widespread NAT-T adoption
-
crest
the other problem is that without aggressive dead peer detection timeouts the UDP firewall state will be dropped between rekeyings
-
rwp
crest, Your description mentioning that it requires different IP addresses sounds familiar. I think you have it understood.
-
Remilia
and before IKEv2 really
-
crest
which means that both devices get to use the same source port a few minutes apart
-
crest
the IPsec responder sees a new session from the same source address and port as it's established session
-
crest
since the NAT router found in every home will now send the packet to the new state it causes a perfect storm because the old one doesn't even get the error message
-
crest
if your DPD (dead peer detection) timers are short enough to the UDP flow alive in its NAT state table both can be connected with NAT-T because the second one will be remapped which is allowed at least for NAT-T
-
crest
the first one gets to use the default source port any additional sessions have their source port remapped, the state is kept alive on all the damn middle boxes and things work
-
crest
but to get there you'll have to read half the RFCs and spend more time staring at packet traces than is healthy
-
crest
unless you suffered from low blood pressure before that is
-
rwp
I am very happy I don't need to worry about it! As I said, Not My Problem, are the happiest words! :-)
-
rwp
eoli3n, Your client seems to be hopping around. Were you able to get an answer to your package archive question? Since you had a real problem to solve, and I don't.
-
eoli3n
rwp, i edited Freebsd.conf to set quarterly, then pkg update, then pkg install -f bastille, then revert to latest :)
-
crest
eoli3n: i see you already filed a bug report with the bastillebsd repo
-
eoli3n
i did
-
eoli3n
-
VimDiesel
Title: [BUG] bastille_network_pf_ext_if (ext_if) not defined in pf.conf · Issue #645 · BastilleBSD/bastille · GitHub
-
VimDiesel
645 – "install -c -s" can't install shell scripts
bugs.freebsd.org/bugzilla/show_bug.cgi?id=645
-
crest
if you still have the problematic version installed somewhere try the following
-
crest
pkg query %Fp bastillebsd | xargs grep bastille_network_pf_ext_if
-
eoli3n
i downgraded to 0.9
-
eoli3n
bastille host my bouncer, and many other services
-
eoli3n
can't test right now
-
eoli3n
i will in a jail
-
tercaL
-
crest
eoli3n: it looks like you're missing a macro in your pf.conf
-
crest
-
VimDiesel
Title: bastille/usr/local/bin/bastille at 3a4ebc63bb84b66d456713e608be86e4cba3b637 · BastilleBSD/bastille · GitHub
-
crest
is the name of the *shell* variable referencing the name of the the pf.conf macro for your external interface
-
crest
and ext_if is the default value which matches your pf.conf from the github issue
-
crest
do you know if the pf.conf has been loaded into the kernel by pfctl?
-
crest
can you run pfctl -n -v -f /etc/pf.conf to parse the pf.conf without changing the running configuration to rule out syntax errors in your pf.conf?
-
crest
-n = don't really load, -v = verbose, -f <path> = where to find the pf.conf
-
mtu
my `git pull` is hanging when trying to fetch the current source and ports tree. anyone know what that's about?
-
mtu
nvm, that just resolved itself
-
crest
mtu: at which stage of the pull? at the very beginning after a connection has been established?
-
crest
if at the beginning check if both ipv6 and ipv4 work for you. well implemented happy eyeballs logic isn't common outside of webbrowsers and if the preferred first address doesn't work it manifests as a noticeable delay
-
crest
especially if you don't get a quick TCP reset for your broken path
-
crest
if it hangs afterward the most common case is just a slow git mirror in my experience and you can't do much about. if it's too bad you can attempt to override dns or route along a different path
-
mtu
crest: it was at the very beginning. it's likely that ipv6 connectivity is the problem. could you suggest a few commands to allow me to see whether my freebsd box even has ipv6 connectivity?
-
crest
host git.freebsd.org
-
crest
ping git.freebsd.org
-
crest
ping -6 git.freebsd.org
-
crest
ping -4 git.freebsd.org
-
crest
git.freebsd.org is a cname pointing to gitmir.geo.freebsd.org.
-
Remilia
the actual answer would be to try traceroute6
-
crest
Remilia: that is the next step, but the mirros should respond to ping
-
Remilia
to see if it *attempts*
-
Remilia
if you have resolution and route but not connectivity, traceroute will show you
-
crest
imo ping gives less, but easier to interpret information to debug this
-
Remilia
traceroute gives you 'no route to host' and the like if you have a spurious default gateway for v6
-
Remilia
ping would just 'request timed out' at first
-
crest
if you have no route to the mirror tcp connection attempts won't "hang"
-
Remilia
if you have a default gateway but it does not route farther, they will timeout
-
crest
but the getaddrinfo() result set will be tried
-
crest
exactly
-
Remilia
and traceroute helps find that out
-
crest
i prefer mtr for that but that's not part of the base system
-
mtu
`ping -6 git.freebsd.org` and `traceroute6 git.freebsd.org` both give "No route to host", though `host git.freebsd.org` yields "gitmir.geo.freebsd.org has IPv6 address 2604:1380:4091:a001::24ca:1"
-
mtu
so something's mucked up on my side for sure
-
crest
iirc git doesn't have any special handling to quickly find a working connection, but does the normal thing: call getaddrinfo() and try all answers one after the other until one works or none are left
-
crest
is simple and works, but can be annoying for frequent interactive use if you can't fix your network
-
mtu
i had noticed before that i couldn't get connections to that server over ipv6 from the outside, even though the router should manage forwarding. i'll have to dig into that when i find the time.
-
crest
as ugly workaround you shouldn't forget you can put a working address into /etc/hosts to bypass dns
-
mtu
crest: good idea
-
crest
but that will break if the address stops working and disables any logic the CDN may perform to find you a good mirror
-
crest
e.g. if you travel between different regions of the (networking) world
-
mtu
another (Linux) machine on the same network can ping6 gitmir.geo.freebsd.org no problem. so i must have mis-configured FreeBSD
-
crest
how did you configure the freebsd host?
-
mtu
just said "use DHCP" at install, for all i know. never did anything to specifically get ipv6 working.
-
crest
if you suspect an unreliable network link try to add the -m flag to rtsold, enable it and (re)start it
-
crest
do you even have ipv6 addresses on the freebsd system?
-
mtu
could be that i don't. how to check?
-
crest
unless it's a very old installation bsdinstall should've asked you if you want to autoconfigure ipv6 as well
-
crest
run netstat -rnfinet6 to check
-
mtu
13.0-RELEASE iirc, then progressively updated to 13.2-RELEASE
-
crest
i don't remember which version added ipv6 to bsdinstall's setup screens, but it should've been before 13.0
-
mtu
`netstat -rnfinet6` just lists a bunch of "lo0" loopback-looking addresses. probably means the machine has received no ipv6 address on the network, eh?
-
crest
in that case your freebsd system isn't configured to take advantage of ipv6
-
mtu
well that explains it x)
-
mtu
i know that my router handles ipv6 well for all the other machines on the network, so ... i guess i just need to enable DHCP6(?) on that server, is that about it?
-
blabber
Does anyone have any idea what I need to do to make Wayland recognise when I connect a monitor to my running laptop? With X.org this has worked reliably and it is the last building block for my switch from X to Wayland...
-
Remilia
mtu: not really
-
Remilia
it depends on what your router does
-
Remilia
check your ifconfig output for non-LL v6 prefixes
-
Remilia
you do not need DHCP6 for v6 to work, but depending on your set-up you might want it
-
Remilia
err
-
Remilia
wrong formatting
-
Remilia
mtu: if your RAs do not include managed config flag, your system should have routing as long as you have enabled SLAAC
-
mtu
Remilia: on the machine in question, i see no non-LL v6 prefixes. i can check in the router's config interface to see what it does for ipv6, and i can check the linux machines which have it working. i just am not familiar with the terminology
-
crest
mtu: freebsd doesn't include a DHCPv6 client, but if you need DHCPv6 you can install dhcpcd from ports/packages and get a good DHCP v4 and v6 client in a single piece of software
-
Remilia
mtu: check if you have SLAAC enabled
-
crest
but the most common way to get IPv6 isn't DHCPv6
-
crest
it's SLAAC and FreeBSD has rtsol/rtsold to request IPv6 routers to announce their prefixes and additional configuration e.g. DNS servers
-
debdrup
dhcpcd is hopefully going to be in base at some point
-
Remilia
mtu: you can explicitly enable SLAAC by using "inet6 autoconf accept_rtadv" for your ifconfig_XXX_ipv6 line
-
crest
debdrup: that would be a welcome improvement. i would like to see it become the default dhcp client for new installs
-
debdrup
DHCPv6 does have its uses, but it's nice not to have to use it when SLAAC is available.
-
Remilia
and you probably want to use rtsold
-
debdrup
crest: it'll likely replace dhclient
-
mtu
my router's ipv6 config page doesn't mention "SLAAC", but it says: "provide a DHCPv6 server for the local net: YES, but only for DNS"
-
Remilia
that's SLAAC
-
crest
debdrup: the removing dhclient part is the one that will start the worst bikeshedding
-
debdrup
crest: *shrug*
-
Remilia
mtu: ipv6 lets you have several possible combinations of things: stateless, stateful, both, or none
-
Remilia
what to use depends on the router advertisements
-
Remilia
stateless is SLAAC, stateful is DHCP6
-
Remilia
your current settings indicate SLAAC
-
mtu
man, i should have familiarized myself with all this years ago. is there a configuration that is likely to get my server connected to ipv6 as things stand?
-
crest
i would just leave the old patched up isc dhclient in for at one additional major release with deprecation warnings etc. and if someone care enough about it they can preserve it as a port for decades to come
-
Remilia
mtu: does your interface have accept_rtadv set?
-
debdrup
Calling DHCPv6 stateful only makes sense if you know that SLAAC is short for "stateless address autoconfiguration"
-
Remilia
because no matter if you use DHCP6 or SLAAC, you get gateway from RAs
-
mtu
Remilia: "re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500"; "options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>" -- i guess not?
-
crest
section 7.3.5. Configuring Dynamic IPv6 Address of the freebsd handbook
-
Remilia
mtu: [11:10:58] <Remilia> mtu: you can explicitly enable SLAAC by using "inet6 autoconf accept_rtadv" for your ifconfig_XXX_ipv6 line
-
Remilia
you probably do not need autoconf if you already are getting addresses in non-LL (non-fe80) prefixes
-
crest
sysrc ifconfig_<NIC>_ipv6="inet6 accept_rtadv" rtsold_enable="YES"
-
mtu
okay, i'll try: sysrc ifconfig_em0_ipv6="inet6 accept_rtadv" as per the handbook
-
Remilia
`ifconfig re0 accept_rtadv` && service rtsold start
-
mtu
what does rtsold_enable="yes" do again?
-
Remilia
that ` is in the wrong spot
-
Remilia
mtu: enables router solicitation daemon?
-
crest
enable the rc.d script that start rtsold
-
Remilia
ipv6 routers send RAs periodically, but you can solicit them
-
Remilia
rtsol and rtsold are for that
-
mtu
ah :) sort of like a "DHCP request", but for ipv6
-
crest
rtsold is a daemon that asks routers to send router advertisements contains the IPv6 prefix and optional but useful extras like DNS resolvers
-
Remilia
sort of like ARP who-has
-
mtu
i see :)
-
crest
it extracts those extras and feeds them to resolvconf to generate a merged resolv.conf
-
debdrup
IPv6 NDP and SLAAC make IPv6-only networks like mine very nice.
-
Remilia
most routers will send RAs every X seconds
-
Remilia
(where X can easily be 300 in some cases)
-
crest
with $X in the range of 5 to 600 seconds
-
crest
and you don't want to wait (up to) 10 minutes for your ipv6 configuration
-
crest
what is fundamentally different about SLAAC and DHCP is that there is nothing specific about the host in the announcements
-
crest
the router just tells you the prefixes it wants you to know about and the IPv6 host is expected to do the rest in a stateless manner
-
debdrup
Well, SLAAC also don't have DHCP options, so it isn't suitable for a lot of campus-like networks where you have VoIP phones and all sorts of fun stuff.
-
mtu
# ifconfig re0 accept_rtadv --> "ifconfig: ioctl(SIOCGIFINFO_IN6): Invalid argument"
-
Remilia
basically with SLAAC you cannot have the router populate your DNS zone
-
Remilia
mtu: inet6
-
crest
you're missing the inet6 from your ifconfig invocation
-
debdrup
SLAAC _does_ have an advantage of Privacy Extensions, which gives you a whole /64 so that each single program can get its own set of addresses to send and receive data on.
-
crest
if you need additional DHCP options you can use SLAAC for the address and DHCP for additional information
-
mtu
ah yes, `ifconfig re0 inet6 accept_rtadv` did work#
-
crest
remember that if you use ifconfig like that it's a onetime thing and won't be reapplied after a reboot
-
Remilia
if you want to run a server on your LAN you have to either use static assignment or DHCP6, as even without Privacy Extensions SLAAC will differ with a different hardware address
-
mtu
so, now i can either wait for an announcement to cross the network, or use rtsol(d), right?
-
crest
which is a good thing for testing stuff out
-
Remilia
mtu: yes
-
mtu
crest: yeah, that's why i also did `sysrc ifconfig_em0_ipv6="inet6 accept_rtadv"`
-
Remilia
`service rtsold onestart` will help you
-
crest
Remilia: it won't reconfigure your interfaces to enabled IPv6 but it will start rtsold
-
crest
with ipv6 disabled on the interfaces rtsold will just quietly log its inablity to do anything useful to syslog
-
Remilia
crest: I do not understand what the first part relates to
-
crest
the first part of what?
-
Remilia
of your line that highlit me
-
Remilia
what I said applies to a v6 enabled system where you just enabled accept_rtadv on an interface
-
crest
rtsold requires the interfaces to have ipv6 enabled (both the protocol and the kernel processing of router advertisements)
-
Remilia
I know
-
Remilia
thank you for informing me, thoghu
-
Remilia
though*
-
crest
and to do that it's not enough to start rtsold
-
Remilia
sorry, I assumed that since the interface already has IPv6 prefixes
-
mtu
hmm². `ifconfig re0` now shows "nd6 options=2b<PERFORMNUD,ACCEPT_RTADV,IFDISABLED,AUTO_LINKLOCAL>" and i've onestarted rtsold, but no ipv6 config shows up in ifconfig re0 (and ping6 doesn't work)
-
Remilia
ipv6 is already enabled
-
crest
you have to enable it either through the rc.d scripts or a manual invocation of ifconfig
-
crest
i just wanted to point this out because the warnings can easily be missed unless you already know to look for them
-
Remilia
crest: [11:08:51] <mtu> Remilia: on the machine in question, i see no non-LL v6 prefixes
-
Remilia
this implies link-local fe80:: are present
-
Remilia
and if they are, ipv6 is enabled, am I wrong?
-
crest
which means that ipv6 isn't completely disabled and auto_linklocal is probably set
-
crest
but it doesn't mean that the accept_rtadv flag is configured
-
Remilia
and that is why I said to configure it
-
Remilia
and run rtsold afterwards
-
Remilia
was I wrong?
-
crest
because if it was the periodic ipv6 rtadv messages should've already configured ipv6 unless he just rebootet
-
crest
without that flag rtsold can't do it's job
-
crest
only running rtsold isn't enough to get you a working ipv6 configuration
-
Remilia
I am sorry, my instructions were 'assuming fe80 are present, ifconfig ..... accept_rtadv then start rtsold'
-
Remilia
as you can see above
-
Remilia
where in these was I wrong?
-
Remilia
because I am sort of lost
-
crest
i didn't say you're wrong. i wanted document all the steps
-
crest
because it's easy to miss or skip a step in an irc channel
-
mtu
i must have missed something, because ACCEPT_RTADV is now active, and rtsold is running, but no ipv6 config shows up and ping6 still doesn't work ...
-
crest
only to loose a lot of time
-
Remilia
mtu: route -6rn still shows no default?
-
Remilia
er
-
Remilia
netstat
-
mtu
nope, only lo0-stuff
-
Remilia
the entry is "default fe80::........%re0 UG re0" like this
-
Remilia
hmm
-
mtu
anything i can check on my Linux machines to clear this up?
-
Remilia
you can just check if you have proper RA traffic for now
-
Remilia
`tcpdump -ni re0 'ip6 and ((udp and (port 546 or port 547)) or (icmp6 and ((ip6[40] == 133) or (ip6[40] == 134))))'`
-
Remilia
run this in a separate terminal, maybe with -vni
-
Remilia
this filters DHCP6 + rsol + radv
-
Remilia
once running, try `service rtsold restart`
-
Remilia
or onerestart
-
Remilia
what you should see is router solicitations from your fe80:: address and router advertisements from the router
-
mtu
the router's config says that Advertisements are active. your tcpdump command on a linux box doesn't pick up anything, though.
-
mtu
(interface is set correctly)
-
Remilia
I am not talking about linux
-
Remilia
run it on the FreeBSD system in a separate terminal and restart rtsold
-
Remilia
though I guess it should see stuff on Linux too if your FreeBSD host sends a solicitation
-
mtu
i see. still nothing, not even the outgoing solicitation. you know what, imma reboot the machine because why not.
-
Remilia
haha
-
Remilia
do you have ipv6_enable="YES" btw
-
Remilia
oh wait
-
Remilia
that was old
-
Remilia
or I am misremembering the syntax, it was something else, just the ifconfig_ipv6 is enough now
-
Remilia
yeah just having ifconfig_re0_ipv6="accept_rtadv" should be enough
-
mtu
wait, does ifconfig_em0_ipv6="inet6 accept_rtadv" go in /etc/rc.conf or /etc/sysctl.conf ?
-
Remilia
mtu: rc.conf of course
-
Remilia
but I thought your interface was re0
-
Remilia
from [11:15:01] <mtu> Remilia: "re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500";
-
mtu
yeah, i had that mixed up. imma correct the line in rc.conf and reboot again
-
mtu
well, well, well :) having ifconfig_re0_ipv6="inet6 accept_rtadv" in rc.conf and rebooting did the trick!
-
mtu
the box is all ipv6'ed up now, with routes and an inet6 address and working ping6 and all :)
-
Remilia
I guess ipv6 was not properly enabled
-
mtu
probably
-
mtu
Remilia: crest: thanks for your patience, this was very helpful and i've learned a bunch
-
Remilia
if you had no ifconfig_xxx_ipv6 lines it might not have been
-
mtu
this will make many things easier now, especially with ipv6 connectivity from the outside to that box
-
Remilia
mtu: note that SLAAC without privacy extensions uses addresses based on hardware address
-
mtu
Remilia: yeah, the previous time the box booted, it hadn't had a prober such line in rc.conf
-
mtu
ah ... that's the whole "you MAC shows up on the internet" deal, right?
-
Remilia
not like it matters?
-
Remilia
if it is not a laptop
-
mtu
at some emotional Edward-Snowden level, it feels bad, but you're probably right
-
Remilia
also some systems might use something other than the MAC or scramble it
-
Remilia
just compare what you have in ifconfig inet6 prefix vs the hardware address
-
Remilia
I do not have v6 from my ISP here but where I did I typically ran privacy extensions + DHCP6
-
Remilia
where the latter assigned easily remembered IPs of the prefix::X variety
-
Macer
hm. powerdxx didn't start on boot even though it's enable in rc.conf
-
Remilia
Macer: maybe it wants a kernel module to be loaded?
-
Remilia
and quit with an error on startup
-
Macer
well to start it i didn't have to do much other than service powerdxx start
-
Macer
which i figured was handled by rc.conf
-
Remilia
yeah it should be
-
Macer
i just upgraded for the zfs patch
-
Remilia
if you could use 'start' to start it it is enabled
-
Macer
and when it reboot my cores were running at 3GHz instead of 1.6GHz and powerdxx wasn't started
-
Macer
yah that's what i did
-
Remilia
maybe it has some kind of dependency on something else which started later? you'd need to monitor your boot process to see if it threw an error, or maybe it logged something in syslog?
-
Macer
it sucks because i was working on so many other things i never noticed for years that the xeons were running maxed out lol
-
Macer
yeah i'll take a look at that and see what happened
-
Macer
i just happened to check htop to take a look at something and noticed the cores were maxed again
-
Macer
i'll definitely have to take a harder look at that
-
Macer
does bzip3 work with bz2?
-
Macer
the 'spiritual successor' heh
-
mtu
thanks again, Remilia and crest :) bye!
-
crest
there is nothing wrong with using (onetime) randomized MAC address with SLAAC to get a stable hostid for a server
-
crest
this way your address isn't tied to the NIC e.g. if the hardware dies and you restore from backups to new hardware
-
mtu
crest: that would be a matter of setting a custom MAC to the device on boot, right?
-
crest
yes
-
Remilia
the Windows IPv6 stack uses DUIDs to build SLAAC addresses
-
crest
of course this doesn't prevent someone from tracking the lower 64 bit of the EUI-64 derived IPv6 address across networks e.g. online add companies tracking a laptop
-
crest
but for a servers that's not a problem
-
Remilia
(and also insists on using privacy extensions)
-
crest
for systems that shouldn't expose a stable host id in outgoing connections set the net.inet6.ip6.use_tempaddr and net.inet6.ip6.prefer_tempaddr sysctls from 0 to 1
-
mtu
cool, i'll read up on what that does
-
Remilia
-
VimDiesel
Title: Matthew Garrett: "the cpu is very tired. it is eepy. the cpu has ha…" - Nondeterministic Computer
-
Macer
LOL
-
Macer
in my case it isn't 'racing' to an idle state. haha
-
Remilia
which is why I said tangentially
-
arkanoid
hello! Newbie here. I have freebsd running on cpu with 4 cores (4 threads). When I run "top" what does the "system %" means? Is it capped at 100%, or at 400% ?
-
Remilia
the CPU line is 100% for all CPUs together
-
Remilia
the CPU column in the process list is for separate CPUs
-
Remilia
you can see it in the line for idle if you run top -S
-
arkanoid
thanks! then I've found that my benchmark is CPU capped somewher inside the System % count. Is it possible to get more info about system processes to find out which system part is the bottleneck in my benchmark?
-
Remilia
CPU: 3.0% user, 0.0% nice, 2.0% system, 0.2% interrupt, 94.8% idle
-
Remilia
11 root 10 187 ki31 0B 160K CPU0 0 23.1H 950.52% idle
-
Remilia
'system' is kernel
-
Remilia
use top -S to see kernel threads
-
Remilia
use dtrace-tools' hotkernel to trace it
-
Remilia
er, dtrace-toolkit
-
Remilia
you can install it with pkg or through ports, it includes the hotkernel script that will show you what the kernel is spending CPU time on
-
voy4g3r2
anyone here unbound "experts" i have this configuration:
bsd.to/H9B5 and for the live of me it will NOT let me do harley.home for ssh no matter what i do.. i have a feeling tehre is "something" wrong but can nto "see it"
-
VimDiesel
Title: dpaste/H9B5 (Plain Text)
-
Remilia
voy4g3r2: why do you need a record for the loopback address?
-
Remilia
this does not seem to make much sense to me, just use localhost
-
Remilia
and you do not need that PTR too
-
Remilia
you have /etc/hosts
-
Demosthenex
... stupid redhat network manager overwrote it's root given /etc/resolv.conf yesterday.
-
Demosthenex
how dare it second guess root
-
Remilia
voy4g3r2: can you elaborate on what you are trying to do? there is no reason to use unbound's local-data for loopback, /etc/hosts is a better option
-
voy4g3r2
i want to be able to have each of the host names in the small network can be referenced by hostname so like ssh johngalt.home
-
voy4g3r2
i want to add other ip address / hostnames and was just testing out the localhost.. to see if it works
-
Remilia
voy4g3r2: is this unbound running on your router?
-
Remilia
and are you editing /usr/local/etc/unbound/unbound.conf?
-
voy4g3r2
this is on a machine, yes i am
-
voy4g3r2
it was suggested to openwrt my router but i can noit right now as i work from home
-
voy4g3r2
so i figure i try this out first then see other options.. after i get it working here
-
scoobybejesus
eoli3n: what crest said is right, except it's the other way around. you need to add additional lines to bastille.conf (look at the sample/default file they provide) and use the interface macro you defined in pf.conf on the appropriate line in bastille.conf
-
Remilia
voy4g3r2: there are several things to consider
-
Remilia
you need to be sure you have unbound installed from ports/packages and you should disable local_unbound
-
Remilia
unless you are experimenting with local_unbound
-
Remilia
FreeBSD base system comes with unbound set up in a certain way to be your local resolver, and I do not recommend changing that configuration
-
Remilia
(in /etc/unbound)
-
Remilia
you can add stuff like local-data in there in the dedicated files
-
Remilia
but anything related to interfaces etc. is best left untouched
-
Remilia
if you need customisation, use the package/port
-
dch
pf.conf gurus, is there such a thing as `rdr pass quick ...` or do I need 2 separate rules
-
Remilia
dch: what are you trying to do?
-
Remilia
there is no 'rdr pass'
-
Remilia
if you want to limit redirect to certain hosts you can use the usual syntax
-
dch
Remilia: `rdr pass` is a thing, its in man page, and grammar
-
dch
rdr pass on $ext_if proto tcp from any to any port 80 -> 127.0.0.1 port 8080
-
dch
is legit
-
dch
but I would prefer pass quick
-
dch
atm I can only do this with 2 rules, in different places
-
Remilia
I never used pass in my configuration
-
Remilia
hmm
-
dch
the pf.conf is long, and the gap makes this very confusing and easy to forget that these 2 rules are related
-
dch
hence `rdr pass quick ...` would be better
-
Remilia
what is the other rule?
-
Remilia
oh, found it, rdr pass skips firewall, guess that is why I never used it
-
voy4g3r2
Remilia: okay, i will start over.. i just used tutorials which may have burned me.. but thanks
-
Remilia
voy4g3r2: your syntax seems correct but you need to consider your local configuration
-
Remilia
I feel like you may be configuring the package/port but your requests are hitting the local_unbound that listens on localhost only
-
voy4g3r2
yeah, i had a toss up.. use unbound or dnsmasq.. i picked unbound as "looked" easier
-
Remilia
it is easy
-
Remilia
check `sockstat -4l` for port 53
-
Remilia
do you see unbound there? if yes, which address is it bound to? are there two?
-
Remilia
the package will default to all interfaces iirc, so *:53
-
Remilia
unbound local-unbo 578 5 udp4 127.0.0.1:53 *:*
-
Remilia
^ this one is /etc/unbound
-
Remilia
and check /etc/resolv.conf nameserver lines
-
Remilia
voy4g3r2: btw you do not need local-zone
-
Remilia
for example, I do not have any local-zone lines, just local-data: "_vlmcs._tcp.lan. IN SRV 0 0 1688 kms.hinamizawa.loc." and it works just fine
-
Remilia
only reason you might want local-zone is for SOA requests I guess?..
-
Remilia
# If you configure local-data without specifying local-zone, by # default a transparent local-zone is created for the data.
-
n30
anyone here that have been upgrading to 14.0 ?
-
otis
many of us
-
cybercrypto
n30: I did.
-
dch
all done, just a few stray jails remain
-
Remilia
I hope you do not hit the issue I got with it
-
Remilia
and if you do, I hope you have more than 3 cores/CPUs
-
n30
did it work fine ?
-
n30
i have 2 x 6core
-
mns
Remilia: what was the issue you ran into ? with jails or with zfs ?
-
Remilia
with vnlru
-
mns
vnlru ?
-
Remilia
vnlru.
-
mns
what's vnlru ?
-
Remilia
mns: I think you can find the explanation via a google search because I am not confident I can describe it well
-
markmcb
is it expected that "freebsd-version -kru" not all match after some patches? e.g., 14.0 p1?
-
mns
markmcb: yes that is expected
-
V_PauAmma_V
Specifically, there can be a kernel-userland mismatch if only one was affected by the patch.
-
yuripv
Remilia: you didn't figure it out?
-
markmcb
thanks for the clarification
-
Remilia
yuripv: nope
-
Remilia
I updated to 14.0p1 today just in case, to avoid suggestions to update should I report this somewhere
-
Remilia
yuripv: I feel like vfs.vnode.stats.count: 372745 is a lot
-
Remilia
and it just keeps growing
-
yuripv
probably best reported on stable@?
-
Remilia
still trying to convince myself it is not a user error haha
-
Remilia
also this is -RELEASE, not -STABLE, I am using freebsd-update
-
yuripv
well, there's no shame in asking something that will turn out to be a user error, at least answers could provide some hints allowing you to understand that :D (or find out real issue)
-
yuripv
Remilia: stable@ is for releases too
-
Remilia
I guess I will try that, much better than posting to bugzilla
-
Remilia
for stable@ there is a bigger chance it will get ignored which would take the weight off my shoulders too
-
OstCollector
Hi, I am trying to install freebsd 13.2 with some space left for other use. How can I create a default ZFS hierarchy, is there a script for this? or is
forums.freebsd.org/threads/boot-env…system-hierarchy.83364/#post-547012 correct? I noted that zfsboot seems contains some code, but I failed to make it skipping earlier steps.
-
VimDiesel
Title: ZFS - Boot environment and filesystem hierarchy | The FreeBSD Forums
-
parv
OstCollector, That looks ok from here.
-
OstCollector
parv, thank you!
-
unixwitch
i wonder what PR#275447 is... listed as a dependency of the 14.0 EN tracking bug
bugs.freebsd.org/bugzilla/show_bug.cgi?id=275215 but presumably a security issue wouldn't be an EN
-
VimDiesel
-
VimDiesel
Title: 275215 – (14.0-erratas) tracking bug for 14.0 errata
-
debdrup
I would assume anything assigned to secteam@ in bugzilla would start out hidden, for rather obvious reasons.
-
» _xor needs to hurry up and setup his Matrix server so he can use irc from there instead
-
_xor
kevans: Link to that issue regarding pkg signing?
-
_xor
er, pkg-repo signing.
-
_xor
kevans: Let me know if there's a new link for that or any other updates. I'm currently running pkg-repo over NFS to get around the 13.x/14.x issue. Can look into it further, but wouldn't mind getting an update on current status before I do.
-
kevans
_xor: not sure there is one
-
_xor
All righty. Where did we leave off again? You said something about a file descriptor being rewound as being the "fix" for incompatible signature?
-
_xor
I'd check my chat history, but not sure how best to do that with this client and I'll be moving to a new one anyway.
-
kevans
_xor: yeah, but the version you have should already do that
-
_xor
Right, that's what I thought. I remember seeing the link you sent. I figured I'd look into it on my side and see what's going on.
-
_xor
Cool, will dig into it later today. Gotta run some errands right now. Will let you know if I find anything useful.
-
unixwitch
this might be off topic (is there a better place to ask?) but has anyone had success using 4x unbuffered ECC DIMMs in an AM4 motherboard? i'd like to add some more memory to our ZFS fileserver, but i've heard AM4 has some issues using 4 DIMMs in general... not sure if that's specific to memory overclocking though
-
CrtxReavr
So there's the OpenBSD dhclient in base, plus I have the isc-dhclient installed from ports. . .
-
CrtxReavr
How do I specify which manpage I'm looking at?
-
CrtxReavr
unixwitch, #hardware likely has people who've argued every point of that.
-
unixwitch
CrtxReavr: thanks
-
rwp
CrtxReavr, As a first guess, specify "man -a dhclient" and it will walk through all of the available man pages of that name.
-
rwp
CrtxReavr, For more control you can force one or the other using manpath. "man -M /usr/share/man dhclient" would force the one in base instead of the one earlier in manpath from ports.
-
CrtxReavr
rwp, thanks.
-
CrtxReavr
I was looking at 'man man' but it was like drinking from the firehose.
-
rwp
I was looking for an example of something that I would have installed that appears both places. I found only pkg so far.
-
rwp
For the example of pkg the one in base is "man 7 pkg" and the one in ports is "man 8 pkg" which I am sure was carefully crafted to make it possible to differentiate.
-
rwp
Another way is that if you know the full file path then man can read that file path directly. So for example if I know the full path because I used "find" to find it then I can do this example "man /usr/obj/usr/src/amd64.amd64/usr.sbin/pkg/pkg.7.gz" and look at the man page from that location, which is a locally compiled one.
-
rwp
And that works for "man /usr/share/man/man7/pkg.7.gz" too.
-
phryk
whoever made the fix for 3d rendering that got into the official pkg repos today: THANK YOU – this fixed an issue which made blender entirely unusable on my machine for months. <3
-
phryk
might've been the last update to mesa-libs, not entirely sure. i'm just super grateful it works now.
-
Remilia
CrtxReavr: apropos dhclient, then choose the section
-
Remilia
though I guess if they are in the same section, you have to -a
-
CrtxReavr
``man -M /usr/local/man dhclient`` seems to get me there.
-
Remilia
I forget where I encountered it but there was something that had diffrent man sections for installed over base software
-
rwp
CrtxReavr, Check "manpath", run that, it should report to you your current man search path. Isn't /usr/local/share/man first?
-
rwp
Oh! You said /usr/local/man not /usr/local/share/man my bad. I misread it.
-
_xor
There's a TUI app that helps browse man pages. Need to find that and make a port for it.