-
jmnbtsls1E
is it possible to manually decrypt a geli partition from the loader prompt, after calling geli_load to load the key? it has a password
-
AmyMalik
gah
-
debdrup
It's been a while since I rebooted my system, but doesn't the prompt come after the GELI passphrase+decryption stage?
-
jmnbtsls1E
i made a mistake in my loader.conf (specified the wrong device) and don't have an image available at the moment to boot from to fix it
-
jmnbtsls1E
so it doesn't attempt to automatically decrypt during boot and i reach the mountroot prompt, with the partition still encrypoted
-
jmnbtsls1E
i've also tried : load_geli $PARTITION_TO_ENCRYPT $KEYFILE_LOCATION_IN_LOADER_PARTITION , same result
-
jmnbtsls1E
i meant decrypt not encrypt
-
jmnbtsls1E
loads the key but no decryption once i attempt boot
-
jmnbtsls1E
it might be that the geli module is configured specifically in the loader.conf by the _type variable that specifies the parititon to encrypt
-
jmnbtsls1E
that's where i made my mistake in the conf
-
tuaris
Does ser2net only work with USB devices that are for low speed serial (RS-232)? For example, can I use it to for USB soundcard?
-
tuaris
Soundcard is just an example, I know there are better ways for that specific function
-
cpet
serial 2 net ?
-
tuaris
yeah
-
cpet
yeah I wouldnt do that for a soundcard
-
cpet
RS232 maxes out as 115200kbits so slow as hell in our std but fast back in the early 90 80's
-
cpet
some industrial devices still use it though but not for playing sound
-
AmyMalik
-.-
-
nacelle
some things claim ~230kbps for rs232
-
AmyMalik
not enough for hq PCM audio
-
tuaris
Is there an alternative to ser2net that isn't speed limited like that?
-
tuaris
again... audio was only an example. looking for something in general
-
AmyMalik
_what are you doing_
-
tuaris
Example Usecase: I want to plug a USB device in a Raspberry Pi and access that device from a virtualized FreeBSD instance on a diffrent machine
-
AmyMalik
/ 134
-
cpet
RS232 is one of thing we invented but we dont want to use any more
-
AmyMalik
... ha
-
debdrup
the GEOM gate devices can be be used to share any device across the network, see: apropos ggate
-
AmyMalik
owo
-
jmnbtsls1E
i'm out of ideas..ifound a CD and corrected my loader.conf, but geli is not trying to decrypt the device at boot. i have this working on several systems, same exact kernel, loader, geom_eli.ko, same exact loader.conf except the partition number etc, everything but the key and the contents of the partition are the same. not sure if there's a good way to proceed
-
jmnbtsls1E
might ask the forum or mailing list
-
jmnbtsls1E
it does load the key, but no output in the console regarding decrypting
-
RhodiumToad
hm, is something horked with geo.freebsd.org dns?
-
tuaris
I can't acces and freebsd.org site, so something must be going on
-
tuaris
Also haven't recived anything in the mailing lists
-
RhodiumToad
I smell a bad load balancer at HE
-
RhodiumToad
hm, maybe not
-
RhodiumToad
ah.
-
RhodiumToad
it's related to having the DO (dnssec OK) flag set in the query
-
RhodiumToad
querying ns[12345].he.net for _.geo.freebsd.org with dnssec enabled returns a truncated response regardless of how big an EDNS size was specified
-
RhodiumToad
and they don't answer to TCP fallback
-
Erhard
Freebsd.org has been having dns issues since at least late last night. Seems worse today than last night, though (maybe some things were just cached last night, and have since expired).
-
RhodiumToad
are you having issues with freebsd.org itself, or just stuff under .geo.freebsd.org ?
-
Erhard
Mainly the latter
-
RhodiumToad
hm, I'm also seeing quite slow responses and/or timeouts from ns*.he.net even without dnssec on
-
Erhard
But git. fails too
-
RhodiumToad
git.freebsd.org -> gitmir.geo.freebsd.org
-
Erhard
There you go
-
Erhard
;-)
-
RhodiumToad
what I'm seeing is this: queries for freebsd.org zone are sometimes getting timeouts or slow responses, but otherwise get correct answers whether dnssec is on or not
-
RhodiumToad
but queries for geo.freebsd.org are getting proper referrals from he.net only when dnssec is off, and if it's on they get only truncated responses
-
Erhard
I am getting a lot of timeouts. no matter what I use to resolve it (local DNS in a handfull of data centers across the world, or google, cloudflare, etc.)
-
Erhard
Hopefully resolved soon... afk
-
parv
File a PR?
-
rtprio
Erhard: you can use github as a mirror if you need to
-
Erhard
COol idea. KNow how to do that offhand before I search for it?
-
Erhard
Like how would I get a git pull to work in /usr/src ?
-
parv
Erhard, Are you thinking of fetching changes on top of existing clone|checkout?
-
Erhard
Yes, would that be possible?
-
Erhard
I could just make my own hosts entry or other dns entry of course.
-
tuaris
that's actually a good idea seeing that I'm stuck on not being able to install packages (and my local poudriere build hasn't been updated since September)
-
RhodiumToad
if the github mirror is properly in sync, then just some stuff with git remote should work, no?
-
Erhard
If I knew git that well...
-
Erhard
That last RCS I actually knew was cvs
-
parv
You could try changing "remote.freebsd.url" attribute
-
tuaris
I do host my own DNS resolvers.... I wonder if I could get a copy of the zone records from somewhere and use that temporaroly
-
RhodiumToad
if you run a local resolver, you might be able to convince it not to use dnssec, temporarily
-
Erhard
Not sure that helps here.
-
Erhard
As djbdns didn't resolve it either. and it does not support dnssec
-
tuaris
I have "dnssec-validation no;" in my resolver, it doesn't help
-
RhodiumToad
it's not validation that's the problem, just asking for dnssec breaks it
-
parv
Current git configuration for "remote" in /usr/src for "stable/13":
termbin.com/cffnr
-
RhodiumToad
Erhard: I guess your problem might differ from mine. what does drill -4 -b 8192 @ns3.he.net gitmir.geo.freebsd.org cname return for you?
-
RhodiumToad
er, s/cname/a
-
tuaris
hmm, this seems to be returnign responses " drill @ns0.freebsd.org gitmir.geo.freebsd.org"
-
Erhard
Hangs
-
RhodiumToad
and what about drill -4 -b 8192 @ns3.he.net git.freebsd.org cname
-
Erhard
Oh, wait
-
Erhard
Finally came back with results
-
tuaris
"drill -4 -b 8192 @ns3.he.net git.freebsd.org cname" resturns a response
-
RhodiumToad
tuaris: so what? ns0.freebsd.org isn't a nameserver for freebsd.org
-
tuaris
hmm? that's what it returns when I do "drill SOA freebsd.org"
-
RhodiumToad
tuaris: what's in the SOA means almost nothing. what matters are what the .org zone thinks the freebsd.org nameservers are
-
Erhard
Though I think they are supposed to match by RFC, no?
-
RhodiumToad
tuaris: (which are ns[2345].he.net )
-
RhodiumToad
no, the "primary" name in the SOA is basically documentary
-
Erhard
The guys over at #dns can tell you all the SHOULD vs. MUST stuff ;-)
-
RhodiumToad
<--- ran DNS servers for years for a commercial service
-
tuaris
interesting... when I do a lookup directly at each of ns[1-5].he.net all return a response.
-
RhodiumToad
tuaris: add the -D option to drill
-
RhodiumToad
tuaris: (which sets the "dnssec OK" flag)
-
RhodiumToad
when I do that, the result is always an empty truncated one.
-
tuaris
" drill -D @ns5.he.net pkg.freebsd.org" ... -> "Error: could not find any address for the name: `ns5.he.net'"
-
RhodiumToad
I get ns5.he.net. 55617 IN A 216.66.80.18 for ns5.he.net
-
Erhard
Drill doesn't return anything here. Though host pkg.freebsd.org ns5.he.net works fine
-
RhodiumToad
what drill command exactly?
-
Erhard
Drill without the -D returns that pkg is a CNAME for PKGMIR
-
Erhard
drill -D @ns5.he.net pkg.freebsd.org
-
Erhard
Returns ansers 0
-
Erhard
answers
-
Erhard
Without the -D returns the CNAME record
-
RhodiumToad
with -D you should see it warns about a truncated response
-
Erhard
It does do that
-
RhodiumToad
that's the problem
-
RhodiumToad
what's more, specifying a larger response size with EDNS doesn't help
-
RhodiumToad
(truncation is supposed to trigger the resolver doing the query to try a larger buffer size or use TCP instead, and neither of those work in this case)
-
tuaris
Created a forward zone for freebsd.org on my DNS resolver, that seems to be allowing stuff to resolve for now.
-
Erhard
That was my result as well
-
RhodiumToad
forwarding to where?
-
tuaris
to ns[1-5].he.net
-
tuaris
-
tuaris
looks like I got to setup a similiar forward for geo.freebsd.org
-
RhodiumToad
yeah. it's a hack but it seems to work well enough
-
RhodiumToad
ahhhhh
-
RhodiumToad
interesting
-
RhodiumToad
you actually should only need the geo.freebsd.org one
-
tuaris
geo.freebsd.org is forwarding to 213.138.116.75 and 96.47.72.24 and at least I can install/updates pacakges now.
-
tuaris
oh
-
antranigv
cpet daemon agreed. I think I'll just give root access. it's not a cloud hosted thing anyway.
-
_xor
Yes.
-
_xor
DNS blackout in 2/3rd of the zone (or what I was told anyway).
-
_xor
I thought it was an issue on my side so I was trying to figure out with the pdns guys.
-
_xor
They looked at the zone and said 2/3rd of it is "blacked out", so 2/3 requests are likely to not resolve.
-
_xor
er, my bad...1/3, not 2/3.
-
_xor
I was originally seeing the issue with freshports.org, but I guess freebsd.org also has a similar issue?
-
_xor
-
VimDiesel
Title: freshports.org | DNSViz
-
_xor
-
VimDiesel
Title: freebsd.org | DNSViz
-
adilix
hi all
-
debdrup
_xor: I have my doubts that it's the same issue, but both may be experiencing issues at the same time.
-
debdrup
antranigv: it's kind of interesting, to me anyway, that Unix-like literature often treats uid 0 as being the highest privilege, as there's at least one higher.
-
debdrup
And it's not a coincidence that it crops up a lot in infosec circles, because whoever has physical access is, by its very nature, at a higher privilege than someone logged in as root.
-
debdrup
Forcing a console to drop to single-user mode with no networking pretty succinctly deals even with attackers who've gained root access.
-
debdrup
That's also why it's almost impossible to overstate how important it is to keep physical access, OOB BMCs, and the like absolutely locked down as tight as possible.
-
debdrup
I'm tempted to say that OOB BMCs should only be accessible through 802.1x accessible VLAN.
-
puretone
g'morning all
-
puretone
quick question, are git.freebsd & pkg.freebsd down?
-
puretone
*carefully backs away from keyboard & reaches for tea*
-
satanist
puretone: no, but there was (or still is) a issue with the dns
-
puretone
I can't get any response from pkg.freebsd git.freebsd & download.freebsd
-
satanist
can you resolve git.freebsd.org (host git.freebsd.org)?
-
puretone
negative
-
puretone
haven't beem able to since yesterday at some point
-
puretone
I've switched to pull from github.com for now... I can get to cgit.freebsd.org fine, but git.freebsd.org is totally unreachable. Ditto for pkg.freebsd.org & dowload.freebsd.org
-
puretone
More servers down/missing - from nslookup - ** server can't find distcache.FreeBSD.org: SERVFAIL
-
puretone
-
ek
puretone: Both distcache.freebsd.org and pkg.freebsd.org resolve fine for me.
-
puretone
I can't for the life of me get to them
-
ek
puretone: Maybe try switching to a different DNS server in /etc/resolv.conf?
-
puretone
tried from 7 different mahcines on different links
-
ek
puretone: What does "drill @1.1.1.1 pkg.freebsd.org" say?
-
puretone
opcode: QUERY, rcode: SERVFAIL, id: 57057
-
moviuro
I'm trying to enable IPv6 rtsol on bge0. bge0 is connected to a switch that has an OpenBSD router that delivers IPv6 addresses to Linux, Windows and Android clients. FreeBSD doesn't get its IPv6 address. `ifconfig bge0 inet6 accept_rtadv`; `service rtsold onestart` ; `rtsol bge0` ; *crickets*
-
moviuro
(OpenBSD runs a rad(8) daemon, no fancy/weird DHCPv6)
-
CrtxReavr
moviuro, ping6 ff02::2%bge0
-
moviuro
CrtxReavr: crickets, 100% packet loss
-
CrtxReavr
So it can't reach anything on your network listening on the all-routers multicast address.
-
CrtxReavr
L1 problem? Right VLAN?
-
moviuro
right, but that doesn't sound like a requirement because every other machine on the network did get an address
-
moviuro
yes, same VLAN/network as my own machine
-
CrtxReavr
So an L1 problem?
-
CrtxReavr
What does work?
-
CrtxReavr
Also. . .I'm not sure why you would run rtsol manually.
-
CrtxReavr
ifconfig_bg0_ipv6="inet6 accept_rtadv"
-
CrtxReavr
I'd add that to your rc.conf, then: sudo service netif restart && sudo service routing && restart
-
puretone
ek: interresting bit - drill @1.1.1.1 fails but @8.8.8.8 works
-
CrtxReavr
I wouldn't use either, but you do you.
-
moviuro
CrtxReavr: hmmm the machine is now gone?.. no ping, no ssh :/
-
CrtxReavr
YOu didn't useThat second && shouldn't have been in what I typed.
-
CrtxReavr
'course. . .if you ran ``sudo service netif restart`` without `` && sudo service routing restart`` then that's on you.
-
moviuro
I'll need to get the full explanation as to why there are so many footguns one day
-
CrtxReavr
"With great power, comes great responsibility."
-
moviuro
yeah, well restarting the network daemon without also routing sounds really stupid :(
-
CrtxReavr
Don't blindly type shit that people supply on IRC. . . ask questions. . . read manpages.
-
CrtxReavr
I'm trying to help. . . but there are people that will try to sabotage you.
-
CrtxReavr
Do you understand what && does?
-
moviuro
yes, that's not the issue
-
moviuro
the issue is the netif && routing. That's a footgun
-
CrtxReavr
I do it all the time.
-
CrtxReavr
Are you *SURE* you undestand what && does?
-
CrtxReavr
'Course. . . I'm also assuming you have a valid network config in your /etc/rc.conf
-
rtprio
🎶 when the route does not work cause an irc jerk, that's a footgun. 🎵
-
» CrtxReavr puts two rounds in each of rtprio's feet.
-
puretone
lol
-
rtprio
well, hopefully you've got a way to reboot into the console on this host
-
CrtxReavr
Or have competant onsite hands.
-
CrtxReavr
Or can take a walk into the datacenter.
-
CrtxReavr
I have booked out my office, down a hall, around a corner, down another hall, up a flight of stairs, down another hallway, accross a lab to a table, with a KVM setup, all while saying "shit shit shit shit," plenty of times.
-
CrtxReavr
Sketchy PS/2 KVMs with questionable switching ability. . .
-
CrtxReavr
Don't miss those days.
-
rtprio
although after having all my freetime in a weekened used to drive 6 hours one way to get a host to boot; i tend to do riskier things locally first, or autorevertable
-
CrtxReavr
Yeah - always careful, depending on the situation.
-
skered
pkg.freebsd.org not resolving for anyone else?
-
mvanbaak
pkg.freebsd.org. 300 IN CNAME pkgmir.geo.freebsd.org.
-
mvanbaak
pkgmir.geo.freebsd.org. 300 IN A 147.28.184.43
-
rtprio
pkgmir.geo.freebsd.org has address 204.15.11.66
-
Erhard
Freebsd has been having dns issues for about 36 hours or so
-
Kalten
pkgmir.geo.freebsd.org has address 147.28.184.43
-
Kalten
pkgmir.geo.freebsd.org has address 213.138.116.73
-
Kalten
pkgmir.geo.freebsd.org has IPv6 address 2604:1380:4091:a001::50:2
-
Kalten
pkgmir.geo.freebsd.org mail is handled by 0 .
-
rtprio
haven't seen any signs of that, Erhard
-
Erhard
Scroll back here... Big discussion yesterday
-
Erhard
I still can'
-
Erhard
t resolve a lot
-
Erhard
host pkg.freebsd.org 1.1.1.1
-
Erhard
Host pkg.freebsd.org not found: 3(NXDOMAIN)
-
Erhard
Even cloudflare still can't
-
rtprio
is only freebsd domain the problem?
-
Erhard
I think it was anything under geo.freebsd.org
-
Erhard
Which pkg cnames to
-
rtprio
Erhard: using 1.1.1.1 for that resolves to my own ip
-
rtprio
does it for you? `host pkg.freebsd.org. 1.1.1.1`
-
rtprio
let's see your resolv.conf
-
Erhard
No. I get nxdomain from cloudflare's server
-
rtprio
with the trailing period?
-
Erhard
if you specify the server it doen't use resolv.conf
-
rtprio
right. i know; but since cloudflare has multiple dns servers in different zones, it's probably not helping to figure out where the problem lies
-
Erhard
I see. Well, no clue. It says using 1.1.1.1. So wherever that routes to for me I suppose
-
Erhard
But I see it on Oracle cloud too
-
Erhard
And Kamatera in Texas.
-
Erhard
Could still be caching issues. Or somehow related to dnssec, was what somebody (I think RhodiumToad ) thought
-
skered
So what was the exact issue from yesterday?
-
skered
Some TTL?
-
Erhard
Never got a straight answer
-
Erhard
Most people could not resolve anything under geo.freebsd.org
-
Kalten
Would TTL not only be a problem for servers with changing IP adresses?
-
Erhard
I could not from 7 different physcial locations using as many unique nameservers.
-
Erhard
TTL is ignored by some nameservers.
-
Erhard
LIterally the he servers weren't responding correctly.
-
Erhard
Lasting problems could certaily by caching. (ttl)
-
Erhard
Not sure if it has been resolved. Mine still don't resolve, but I haven't cleared the cache.
-
Erhard
Cloudflare is still not resolving, but I have heard they cache everything for 24 hours regardless (no clue if that is true)
-
rtprio
have you queried agianst gns[1-2].freebsd.org ?
-
skered
-
VimDiesel
Title: Brian Kidney (@bkidney⊙bn) on Twitter: "@ed_maste is there an issue with the FreeBSD DNS? I cannot resolve
t.co/IJor4TRH4a, even if I use the Google server 8.8.8.8." / Twitter
-
Erhard
Host pkg.freebsd.org not found: 5(REFUSED)
-
Erhard
for gns
-
Erhard
It's on their end. I will wait
-
rtprio
put some hostfile lines in and call it a day
-
Erhard
Yes, one option.
-
Erhard
I'm in no hurry and don't want to do that on 11 servers.
-
Erhard
And then have to remove it, etc.
-
rtprio
no centeral management on those 11 servers?
-
Erhard
Nope. too spread out and unique in other ways
-
Erhard
Just not worth the fuss. Other things to do today
-
CrtxReavr
The trailing dot on NS queries is just a little added namespace syntax - should be quite moot for IPs.
-
RhodiumToad
pkg.freebsd.org is out-of-zone for the gns* servers, hence the REFUSED
-
_xor
So what's the status of the DNS issue(s) now?
-
RhodiumToad
those serve only .geo.freebsd.org queries, and pkg.freebsd.org is a cname to pkgmir.geo.freebsd.org
-
RhodiumToad
still broken by my tests, same way as last night
-
RhodiumToad
ns*.he.net are returning truncated results any time they are queried _with dnssec enabled_ for names that should result in a referral to gns*.freebsd.org
-
_xor
Hmm, I'd been having issues with freshports.org (yes, unrelated) for a while. Now I'm seeing the same with various subs on freebsd.org.
-
RhodiumToad
oh, and also ns*.he.net have been variably slow and/or timing out, which may be a separate problem
-
RhodiumToad
right now they're responding ok tho
-
_xor
Is there a discussion thread for this issue somewhere or is it mostly ad-hoc?
-
RhodiumToad
to see the problem, compare drill @ns2.he.net git.freebsd.org a with drill -D @ns2.he.net git.freebsd.org a
-
RhodiumToad
(the -D option sets the "dnssec OK" flag in the query)
-
_xor
ah
-
_xor
So is turning off dnssec on my side a stop-gap fix for this for the time being?
-
_xor
Well, dnssec for that domain I mean.
-
RhodiumToad
if it stops your resolver from setting the DO bit in the relevant queries, then it will help
-
RhodiumToad
(otherwise, not)
-
RhodiumToad
ahhhh
-
RhodiumToad
ok, so here's another wrinkle: the correct answer can be obtained when querying by TCP
-
RhodiumToad
but last night, that wasn't working (none of ns*.he.net would answer to TCP queries)
-
RhodiumToad
the ns*.he.net answer is 2071 bytes, so one might speculate that their nameserver is refusing to send responses of that size even when EDNS allows it
-
RhodiumToad
(add -t to those drill commands to see it)
-
RhodiumToad
so to correct my previous statement, the problem does seem to be fixed now
-
Erhard
Yes, where not cached it seems to be working. Cool
-
RhodiumToad
the fact that it fails to resolve at all when tcp fallback isn't working is pretty sub-optimal, though
-
Erhard
Sounds like the he servers are misconfigured. Or the firewall or some agressive anti-spoof or something
-
RhodiumToad
or they were under attack and were not mitigating it properly
-
Erhard
YEah, amplification attack mitigation that blocked large replies, which was having side effects.
-
RhodiumToad
checking around, the reply size limit may be a normal setting; the failure is due to failing to allow TCP fallback
-
Erhard
Better to structure things so the reply is smaller ;-)
-
Erhard
I'm not a huge fan of the dnssec implementation. While signing is good for validation something still needs to be done about privacy
-
RhodiumToad
most of the reply is of course dnssec signatures
-
Erhard
I figured, hence my statement there.
-
RhodiumToad
afk.
-
» Erhard waves
-
ceno0_
kk
-
ceno0_
hi nay