-
ivy
macpapo: missing kcmp is not a fatal error, it's fixed in current versions of freebsd (at least 15.0) but maybe wasn't backported yet, it shouldn't cause any issues though
-
mischief
hi. i was testing pf/altq, and noticed something strange. i have a very reduced pf.conf that defines different queues for different interfaces, and rules that i think should put traffic for each interface in their own queue. but all traffic seems to end up in the priq for the first interface. any idea whats wrong? here's my pf.conf.
0x0.st/XgTn.txt
-
» ober kicks iwlwifi into associating unsuccessfully
-
jb1277976
ober: your iwlwifi isn't working ?
-
ober
nope
-
ober
-
ober
reinstalling it, I see it adds fcc rules to iwlwifi in rc.conf which make it work
-
uskerine
-
ivy
does anyone use these 15.0 stab week builds? how are they?
-
ivy
jls
-
ivy
whoops
-
» kfv laughs
-
LXGHTNXNG
don't ever understand, it's bad for your health
-
jb1277976
ober: so its working ?
-
tmp_
Where /etc/ttys defines vtys with getty and a display manager, is there a way to get one of the getty vtys (preferably ttyv0) to the foreground on boot?
-
mewt
/25
-
mewt
sorry
-
» debdrup wonders what's in window 25.
-
debdrup
ober: I've heard that completely disabling powersaving is apparently one of the trick to make it work, so you could try that.
-
debdrup
ivy: last week of the month
-
debdrup
-
kona
debdrup: the first rule of window 25 club is don't talk about window 25 club
-
debdrup
kona: ha!
-
debdrup
ivy: Gleb thankfully took my advice and included instructions on how to grab the tags he creates on his own branch, which makes it a lot easier to track and grab without paying attention to a busy mailing list.
-
» debdrup watches stabweek compile.
-
cybercrypto
Hey
-
cybercrypto
about 10 days ago, I asked for help - how to trace and find what application was "triggering" a binary (executing it).
-
cybercrypto
Got good replies and tips on how to 'investigate' it.
-
kona
ktrace and kdump?
-
cybercrypto
Want to tell I manage to identify it, using ktrace/fake facade script point to real binary, etc...
-
cybercrypto
the application generating the unwanted command was a network discovery tool, which was executing every 60 seconds. I disable it and now is working accordingly.
-
cybercrypto
many thanks.
-
nimaje
I would try dtrace and listen to exec probes
-
dansa
Where in FreeBSD can I find the DNS root servers IP addresses?
-
dansa
It must have them, right?
-
rwp
Very good cybercrypto! Always good to hear success stories. :-)
-
duncan
The way it works is you query some DNS server, say your ISP or Google's famous 8.8.8.8. What they query is anyone's [informed] guess. There's a lot going on.
-
nimaje
why would they be needed? the common setup is recursive dns, not iterative dns starting at rootservers, is there even a iterative dns resolver in base?
-
tmp_
The root servers list is typically "built" into a DNS server, as in the DNS server package such as bind918 or nsd.
-
tmp_
s/nsd/unbound/
-
dansa
I think any resolver must have a list of root servers. So I'd believe I'd find them somewere in a FreeBSD.
-
tmp_
Although unbound usually just works from whatever upstream resolvers provide.
-
rwp
dansa, The root server file is /usr/local/etc/namedb/named.root
-
dansa
To find the IP address of ``hello.to.'', my resolver must get to the name servers of the /to/ TLD. The resolver won't know that until it asks the root servers who is responsible for the /to/ TLD.
-
dansa
rwp: I don't have that file. Must I install some package?
-
tmp_
If you've installed bind918 or some other bind package, that one comes with root servers listed in /usr/local/etc/namedb/named.root
-
rwp
pkg install bind918
-
nimaje
wouldn't a iterative resolver just ship a first cache of *.root-servers.net ?
-
rwp
If you don't have the file then you don't have BIND installed.
-
dansa
Yes, I don't have it then.
-
dansa
But shouldn't my resolver have such a list?
-
dansa
Maybe it's like embedded in the source code directly or something like that?
-
nimaje
dansa: do you have a iterative resolver configured?
-
rwp
I presume that unbound has the similar file located elsewhere. It's usually called db.root elsewhere and it took me a moment to deduce it for use on BIND named.
-
dansa
nimaje: I don't know. Here's my resolv.conf: %cat /etc/resolv.conf
-
dansa
# Generated by resolvconf
-
dansa
search ec2.internal
-
dansa
nameserver 172.26.0.2
-
dansa
-
rwp
That will point to the nameserver running on 172.26.0.2. But on THAT nameserver it must either forward again or it will have a root nameserver file accessible on it.
-
tmp_
The DNS names of the root servers are pretty static AIUI, though it has been a long time since I dug into that aspect of DNS. Anyway, if that's the case, then you can get (and presumably cache) the root servers by looking up (if you have a recursive resolver you can reach) a.root-servers.net through m.root-servers.net
-
dansa
Oh, so I don't really have a resolver, right? I'm only forwarding my requests to someone else?
-
rwp
It's basically a bootstrapping problem. When a nameserver powers up from a cold boot it has no idea where to start looking for data to convert from a name to a number. It consults the db.root file, ahem the named.root file here, and then finds the IP addresses of the 13 top level nameservers that can provide this data. Then it starts querying them for the next bit of information in the chain.
-
dansa
tmp_: IANA tells us who they are at
iana.org/domains/root/servers
-
tmp_
dansa: Ah, thanks. Like it wrote, it has been a while.
-
rwp
dansa, Your nameserver 172.26.0.2 directive is forwarding your query to that system and your system is not running a nameserver but the other system is.
-
dansa
rwp: that's what I think too, but my system seems unable to do that because it doesn't have the addresses of the root servers, so I guess it simply sends it all requests to an AWS server hoping to get the answers it needs?
-
dansa
rwp: got ya! that makes sense to me now.
-
rwp
tmp_, The list of top level nameservers are fairly stable but they do change at times. And when it changes things still work because 12 is doing the work of the 13 okay. But that allows a slow progression of upgrade of the file.
-
dansa
how can I run my own true resolver in FreeBSD? (I don't want a DNS server; just a resolver). Is there a nice little package? I guess DJBDNS, right?
-
tmp_
FreeBSD comes with a basic unbound resolver built in.
-
rwp
Install either unbound or bind. Is unbound in base? /me goes to look...
-
tmp_
Which just needs at least one forwarder to get started.
-
dansa
What's the /unbound/ word? The name of the package?
-
rwp
unbound looks like a port/pkg to me on 14.1R
-
rwp
BIND is the Berkeley Internet Name Daemon. BIND. So "unbound" is a joke. It's the opposite of bind. Joke.
-
tmp_
unbound is the name of the software. There's a built-in version, and one in packages. If you have both, the built-in gets called local_unbound, often enough.
-
rwp
Similarly there is a tool called "dig" which can be used to dig into the DNS data. Though as a backronym it is called the domain internet groper. Whatever. We dig for data from dns.
-
dansa
rwp: nice! :)
-
tmp_
The configuration for the built in is in /var/unbound/
-
dansa
I kinda dislike dig because I never understand that output.
-
rwp
So an newer alternative of dig that a lot of people will be using now is "drill". Get it? dig. drill. Jokes abound!
-
dansa
I like /host/, though.
-
dansa
rwp: lol---I love the UNIX world.
-
» tmp_ uses `getent hosts ...`
-
dansa
tmp_: :)
-
rwp
The host command comes with the set of BIND utilities. Though there is also another host command that comes from a different set of dns utils which has slightly different output. I prefer host from the bind set of utils and use it most often too.
-
dvl
I’m tempted to try selfhosted Bitwarden. My ancient but wonderful auth app (for TOTP - time based one time password - ie 2FA codes) no longer works on my watch. The app hasn’t been available for years, but I’ve always liked the UI. Might as well get started right now.
-
dansa
I believe I'm using the one from BIND. I'm not sure.
-
rwp
getent is a good source of truth. Unfortunately on other systems it's not a great tool. So we end up needing to know how to run all of them at different times.
-
dansa
No, no. It looks like I'm using the alternative one.
-
dansa
COMPATIBILITY
-
dansa
host aims to be reasonably compatible with ‘host’ utility from BIND9
-
dansa
SEE ALSO
-
dansa
drill(1), resolv.conf(5)
-
dansa
-
dansa
Looks like I'm using drill.
-
tmp_
drill on FreeBSD comes with the built-in unbound.
-
rwp
If your drill's host command outputs something like "www.example.com has address 93.184.215.14" then I am okay with it.
-
dansa
It does. I never noticed any difference in fact.
-
dansa
%host www.example.com
-
dansa
www.example.com has address 93.184.215.14
-
dansa
www.example.com has IPv6 address 2606:2800:21f:cb07:6820:80da:af6b:8b2c
-
dansa
-
rwp
For me on 14.1R /usr/bin/drill exists in base but I do not have an unbound daemon unless I install it from ports/pkgs.
-
dansa
I don't have an unbound daemon either---and don't want it either.
-
rwp
dansa, That host command seems fully compatible to me and I would use it no problem.
-
dansa
Cool.
-
rwp
So... On a server I always install a local BIND9 named in a caching configuration. But on a mobile laptop I almost never do because I must connect to random WiFi networks that force me through captured portals.
-
tmp_
rwp: You don't have /usr/sbin/local-unbound ?
-
duncan
if you want a local resolver which isn't a DNS server, I'm afraid you have to use unbound
-
duncan
and yes, there is some kind of unbound variant in base. the installer offers it.
-
rwp
If you run an SMTP mail server then you will pretty much be required to run your own nameserver. And it is trivial so not a problem. Because DNSBLs will rate limit and if you aggregate up to an AWS server for example then it will be too many queries and you will be blocked. You must do your own DNSBL queries at your own rate. And by the time you get past the free level you will know what you are doing already.
-
dansa
duncan: I guess djbdns would do it too
-
tmp_
I mean, /usr/sbin/local-unbound has been part of the system for quite a while now.
-
duncan
I do not know what distinguishes in from the port
-
dansa
here's something I'm puzzled about: if i tell my shell ``drill xyz. @198.41.0.4'' I get the addresses of the authorities for xyz; but if I say ``host -t ns xyz. 198.41.0.4'', I get nothing.
-
rwp
On a mobile laptop tryign to connect to a captured portal system a local caching nameserver will block the action of the captured portal as a security issue. Which it is correct in doing! But we must allow it. So to get through a captured portal one needs to forward through the DNS nameserver given by the DHCP exchange.
-
tmp_
Difference between the built-in and the port is essentially version. Built-in on 14.1 is 1.15 while the port has 1.21.
-
rwp
tmp_, Oh /usr/sbin/local-unbound! That must be the local unbound that is offered to be configured for me automatically at installation time? I have tried that several times and it NEVER WORKS for me. NEVER! I have stopped trying.
-
rwp
dansa, What is "xyz." which cannot be a valid FQDN. I would not expect anything from it. Try "example.com." there instead.
-
dansa
well, xyz. is the address of the top-level domain xyz
-
dansa
no?
-
rwp
Perhaps one can query on a TLD name directly but it's not something I would have ever thought of doing.
-
tmp_
Also the setup on the built-in is focused on having a cacheing resolver. With what would have been nameserver entries in /etc/resolv.conf going into unbound's forward-addr list, while /etc/resolv.conf switches nameserver to localhost.
-
rwp
You can't query "dig com." either.
-
rwp
And com is a TLD as well.
-
dansa
I can get the addresses of ``.''
-
dansa
-
tmp_
rwp: I set up a local-unbound ages ago, so I don't remember how that works during the install. I've extended the config to have stub-zone entries for the local full DNS servers, so I pretty much just import that rather than set it up from scratch anymore.
-
rwp
I like using unbound on my laptop. I enable and disable it as I need for the captured portable problem. I simply install unbound on it. I can see that unbound is easier and simpler and more trouble free for resolving DNSSEC than BIND's named. But both do work.
-
rwp
For serving my DNS zones I have been using BIND's named forever so continue to do so.
-
dansa
Oh, I believe 198.41.0.4 doesn't know the XYZ top-level domain.
-
dansa
because if you just say ``host -t ns xyz.'', we get the authorities for it correctly.
-
tmp_
They do different jobs, or rather, unbound does the caching recursive resolver, while nsd does the non-recursive server part. BIND does everything.
-
rwp
The trouble with BIND's named for DNSSEC is that when forwarding then DNSSEC validation must trust the server being forwarded the query. The unbound handles that part perfectly. But bind named needs to be instructed to do it that way needing one more line of config, which is one line that maybe isn't known to be needed. And then it doesn't work right.
-
rwp
The dig equiv to that host command is "dig com. ns"
-
rwp
And pretty much everything I say about dig is the same syntax for drill which is written to be dig compatible.
-
rwp
I am not saying not to use host -t ns as I use the host command for casual use all of the time too. Just also giving the dig syntax for it.
-
rwp
Which I should have added +short to in order to be the same as host: dig com. ns +short
-
rwp
And as long as I am passing by, to direct to a specific nameserver: dig @8.8.8.8 com. ns +short
-
dansa
yeah, with drill I get the expected answer (with ``%drill xyz. ns @198.41.0.4'').
-
dansa
But not with host.
-
dansa
Using host, I asked all root servers for xyz. and none of them knew what to say.
-
dansa
I asked one by one by hand.
-
dansa
I'm puzzled with that.
-
tmp_
rwp: IIRC, local-unbound needs three things to work: A forward-zone: with forward-addr: entries in /var/unbound/unbound.conf , /etc/resolv.conf including a nameserver localhost line, and a local_unbound_enable="YES" in /etc/rc.conf
-
rwp
One at a time like this? for ns in $(dig @8.8.8.8 xyz. ns +short); do dig @$ns xyz. ns +short; done
-
dansa
I did manually. :)
-
dansa
I did [it]
-
rwp
tmp_, I will try local-unbound again at some point and figure out why it doesn't work for me. The /etc/resolv.conf always has "nameserver 127.0.0.1" when using a local caching nameserver. Since that's the point. The rc.conf is perfectly normal too. So it must be the /var/unbound/unbound.conf file which is mangled up for some reason.
-
rwp
As I said I just install unbound and configure it normally for using unbound when I want it to work. That always works as normal as things work and so I do it that way.
-
rwp
getting called away irl here bbiab
-
tmp_
rwp: I can send you a copy of mine with the stub-zone:s stripped.
-
ScrewDriver1337
hiii!
-
ScrewDriver1337
I need help with NFSv4 ACL and ZFS
-
rtprio
it's best to just ask your question
-
mikewilzn
ScrewDriver1337: dontasktoask.com/
-
ober
create_args_wlan0="country US regdomain FCC"
-
ober
seems to fix it jb1277976 debdrup
-
ScrewDriver1337
I have this NFS ACL on my share everyone@:--------------:-------:deny, owner@:rwxp--aARWcCos:fd-----:allow, group@:rwxp--aARWcCos:fd-----:allow
-
ScrewDriver1337
and I can't mount it with NFSv4
-
ScrewDriver1337
but I can mount another zfs dataset which has posixacl
-
ScrewDriver1337
so I enabled NFS_DEBUG in kernel
-
ScrewDriver1337
where I can see debug logs? how can I debug NFS?
-
uskerine
hi, I have the following partition in the host that contains several jails: /dev/mfid2p1 on /data what can be done to share that partition with one jail?
-
rtprio
uskerine: what do you mean? you want 2 jails to have a common disk area?
-
uskerine
I have this partition mounted in the host: /dev/mfid2p1 on /data
-
uskerine
and I would like /data be available for one jail
-
rtprio
i think you would need to mount it in /jails/myjail/blah for the jail to have access to it
-
uskerine
what about sharing it with the host or other jail?
-
rtprio
the host can always access it
-
rtprio
with another jail i suspect you would need something else,perhaps nfs ?
-
uskerine
but this is an educated guess from what I am reading, right? like you have not had such setup before
-
rtprio
i haven't had the need
-
the_oz_
what virtualization are you using and can it even access partitions directly?
-
the_oz_
zfs might be able to mount something and then use directories like normal if doing zfs, but I'm a bit fuzzy on that
-
the_oz_
but that's below partitions
-
ober
networkmgr known to work? it seems to hang forever. despite being in the wheel group
-
ober
cccccchchlkgjcdhultifbcgthjengefnvnlhjhuvggb
-
Tingo
Hi Ober.. i cam now online.. which kind of issue are you facing ?
-
Tingo
i am new to Freebsd but will try to help you :)..
-
ober
irc is hard
-
Tingo
ober IRC is atleast easy way to chat with other people regarding issues.. :)
-
nimaje
uskerine: how about nullfs?
-
rtprio
the_oz_: jails