-
fonks
It was already strange on m68k, but manageable (A-traps come to mind); powerpc was a little weird (MCEs on address misalignment, anyone?); I've not read the m88k docs enough to know how bad it was for that one though
-
fonks
seems to be Motorola's signature to have strange, unconventional exception mechanisms
-
RhodiumToad
dammit, I hate when the documentation lies
-
timothias
Careful reading medical journals, you may die of a misprint. (I think that's Mark Twain)
-
RhodiumToad
and now I need to write a test program to see whether I'm right or whether the documentation is
-
timothias
What is the test?
-
timothias
and how do you think they are wrong?
-
RhodiumToad
the docs for the login class functions, login_get* etc., say that returned pointers are not to be freed, that memory will be reused or freed by login_close
-
RhodiumToad
but the code doesn't look like it does that
-
timothias
credentials?
-
timothias
cause thatd be kind of bad
-
RhodiumToad
actually memory leaks from the login class stuff would almost never matter. the code that uses them is almost always about to do an exec()
-
RhodiumToad
and there's nothing sensitive in the data, it's just from /etc/login.conf which is publicly readable
-
timothias
what if their avatar is questionable?
-
timothias
:D
-
RhodiumToad
looks like I'm right.
-
timothias
get a bug bounty
-
timothias
buy a steamdeck
-
timothias
terraria for the win!
-
RhodiumToad
oh look, it's an already-reported bug
-
RhodiumToad
nearly 10 years old
-
xtile
RhodiumToad: link it
-
mason
RhodiumToad: That bug can't even drink or vote yet. Hardly counts.
-
RhodiumToad
I think it should probably not be fixed. I think the right thing would be to fix the manpage, and possibly the callers.
-
ek
Just out of curiosity, is anyone else having issues doing DNS lookups/digs/drills for freebsd.org or forums.freebsd.org? I keep getting SERVFAIL's and BAD REFERRAL errors.
-
ek
Doesn't seem like it's directly related to only *.freebsd.org, rhough.
-
mason
Not seeing anything here from a quick check.
-
RhodiumToad
looks ok to me too.
-
ek
Hrm. Something is definitely screwy over here. Thanks!
-
ek
Of course, it's only screwy if I do caching-only and don't use any forwarders.
-
ek
I thought it was a DNSSEC issue but I disabled that, too.
-
ek
Failing somewhere on ROOT server lookup.
-
RhodiumToad
make sure that either you have working ipv6 or that your nameserver knows not to use ipv6
-
» RhodiumToad files bug
-
ek
I do have working IPv6 but I also set it to IPv4 only to test that as well.
-
RhodiumToad
what kind of output are you getting from drill?
-
ek
It depends on what I try, I suppose.
-
RhodiumToad
that's an invitation for you to show an error
-
ek
Okay.
-
ek
I get this when I just try a simple "drill forums.freebsd.org":
paste.purplehat.org/view/765e80be
-
VimDiesel
Title: DNS derps - PHO Paste
-
RhodiumToad
2603:300b:3ba5:6101::108 is your local resolver?
-
ek
Yeah. It's a local v6 IP on the server. Just connecting to itself.
-
ek
Slightly tweaked to mask the real IP. Not sure why. It's easily looked up. *shrugs*
-
RhodiumToad
can you tcpdump the actual queries being sent by your nameserver and the responses?
-
ek
RhodiumToad: I believe so.
-
ek
-
VimDiesel
Title: DNS derps two - PHO Paste
-
ek
I'd imagine that's not a deep enough dive into the packets to get much info. I'd likely need to grab a pcap or something.
-
ek
-
VimDiesel
Title: DNS derps 3 - PHO Paste
-
ek
That's more verbose. I do see some bad UDP checksums in there.
-
ek
I should actually be asking/sharing this in #dns or #bind or something. I appreciate the help, though!
-
RhodiumToad
oh, I bet I know what this is
-
ek
RhodiumToad: Do tell!
-
RhodiumToad
hm, no, I can't replicate it
-
ek
It's super strange. Especially since I've touched nothing. It was working this morning and this afternoon, everything went kaput.
-
ek
On not one, but three BIND9 non-forwarding servers.
-
ek
Maybe it's an ISP issue?
-
RhodiumToad
could be.
-
RhodiumToad
here's something to test: drill whoami.ultradns.net
-
RhodiumToad
if the result you get isn't the address of your nameserver, then someone (e.g. your ISP) is intercepting queries
-
ek
Returns nothing.
-
ek
No A record.
-
RhodiumToad
try for an aaaa record
-
ek
Okie dokie.
-
ek
Same result. And here's what I see in the log:
paste.purplehat.org/view/1811d13e
-
VimDiesel
Title: whoami aaaa log - PHO Paste
-
ek
So, it's trying to do the lookup but just gets bad results.
-
RhodiumToad
can you resolve anything at all?
-
RhodiumToad
what if you do drill @156.154.69.196 whoami.ultradns.net ?
-
ek
RhodiumToad: Looks like it resolves?
paste.purplehat.org/view/d6720d2b
-
VimDiesel
Title: whoami rDNS - PHO Paste
-
ek
NOERROR
-
RhodiumToad
shouldn't give 255.255.255.255 tho
-
ek
Interesting.
-
RhodiumToad
try drill @2001:502:f3ff::e8 whoami.ultradns.net aaaa
-
ek
RhodiumToad: Ah, "drill a @156.154.69.196 whoami.ultradns.net" returns "104.225.12.106".
-
RhodiumToad
is that your IP?
-
ek
RhodiumToad: The AAAA record attempt returns nothing.
-
ek
And, no, that is not my IP.
-
RhodiumToad
is it an IP belonging to your ISP?
-
ek
Not that I can see trying a rDNS lookup.
-
RhodiumToad
whois says NetActuate, Inc
-
ek
dns05-ndfw2-c2szps.001.prd.c2szps.spscld.net is what it resolves to.
-
ek
Never heard of NetActuate, Inc. *shrugs*
-
RhodiumToad
are you using any kind of vpn or tunnel service?
-
ek
Nope. Directly routing through ISP.
-
ek
Haha. I'm so insanely stumped.
-
ek
It is actually starting to cause issues with one of my mail servers, though. So, I'm getting a bit peeved.
-
ek
And, to reiterate, this is only happening when I'm not using forwarders (which also breaks RBL's so it's not an option).
-
ek
Why would it only fail for lookups from DNS root servers?
-
ek
I'll be missing some hair before this is resolved.
-
RhodiumToad
what ISP are you using?
-
ek
Crappy-ass Comcast Business.
-
RhodiumToad
bingo.
-
ek
Thing is, they did a "service upgrade" today (which was only a router battery backup) but I noticed the issues pretty quickly afterwards.
-
RhodiumToad
those spscld.net addresses are Comcase Edge Security
-
RhodiumToad
*Comcast
-
ek
Oh, FFS.
-
RhodiumToad
they are definitely intercepting your DNS
-
ek
Alright. I'll give them a call then. Morons.
-
ek
Thanks!
-
RhodiumToad
google turned up various past reports of people having weird DNS issues caused by exactly this
-
ek
What was the resolution?
-
RhodiumToad
turning it off, apparently.
-
ek
Nice. At least there's an option.
-
ek
Calling them now.
-
RhodiumToad
possibly you had it turned off before and the "upgrade" turned it on?
-
ek
That's very possible. I'm not sure what they did. I'll make sure they just disable everything. I don't need any of their security warez anyway.
-
RhodiumToad
and possibly there's a way to do it via the website?
-
ek
Perhaps. I'll check that out, too. Thanks again!
-
RhodiumToad
-
VimDiesel
Title: falling_away_again comments on Barracuda SafeLinks Certificate Error
-
RhodiumToad
anyway, it's clear that this is the problem, rather than anything on your end or on freebsd's end
-
RhodiumToad
(that ultradns tool can be _really_ useful sometimes)
-
ek
Well, I figured it wasn't an issue with my stuff since it was working flawlessly and stopped without changes. I just wanted to make sure it was only me before I started contacting any kind of support.
-
ek
Wouldn't taken even longer. Figured someone might be able to point me in the right direction. I really appreciate it!
-
RhodiumToad
yw
-
ek
I'll keep that ultradns tool under the belt for future testing, for sure.
-
ek
DNS is so bad, I can barely use their website. That's a nice touch.
-
ek
Yep. Disabled that stupid "Security Edge" and everything appears to be working now. Thanks again, RhodiumToad!
-
stipa
is
forums.freebsd.org down for you too?
-
VimDiesel
Title: The FreeBSD Forums
-
vkarlsen
stipa: Seems to work for me
-
ek
Same.
-
ngortheone
works for me too
-
stipa
dead for me
-
stipa
everything else works
-
stipa
-
VimDiesel
Title: The FreeBSD Project
-
ek
stipa: DNS resolution issue, maybe?
-
pstef
is anyone here running a prosody server on FreeBSD?
-
stipa
ek: yeah, something on that note
-
stipa
i'm not sure why some sites work and some don't
-
stipa
could be on the ISP side
-
stipa
now i get the response with 'nslookup' but still no forum
-
stipa
i changed nothing, must be ISP or something else
-
stipa
i accessed the forum for a moment and lost it again after a page refresh
-
ek
stipa: What ISP? I just dealt with something very similar with Comcast intercepting/blocking a ton of DNS requests with their "Security Edge" proxy/sniffer/filter/whatever... It's awful.
-
gustik
any idea why AT refuses to work for a user? atq: you do not have permission to use this program
-
gustik
ppl should run their own dns resolver
-
gustik
and dont forget about DNSSEC some ppl do not know how to implement it properly and that causes DNS to sometimes resolve and sometimes not
-
CmdLnKid
have you read the man page ... /var/at/at.allow
-
ek
gustik: I do run my own resolvers. Doesn't stop the ISP from sniffing/filtering plaintext record lookups from root servers, though. It's a bummer DoT/DoH isn't supported by root servers (yet).
-
gustik
you do not need that
-
gustik
DNSSEC should check for it
-
gustik
there are checksums for DNS replies so that when some ISP changes the answer it gets thrown out
-
ek
DNSSEC won't help with ISP DNS query interception.
-
ek
Exactly. And you get no or bad results which breaks DNS.
-
ek
Encrypted queries to root DNS servers would prevent interception and MITM replies.
-
ek
Well, one would hope.
-
gustik
so they are censoring the internet or what
-
gustik
because why otherwise would someone filter the root dns replies
-
gustik
if it is only affecting root dns stuff
-
CmdLnKid
they arent sensoring it, they are collecting and selling your queries
-
gustik
one would need a dns resolver that's resolving properly and then connect to it using VPN or DoH
-
gustik
so they try to inhibit you from running your own resolver in order to sell your data?
-
ek
gustik: That seems to be the case. They claim it's for "safety" but the replies they were returning were WILD.
-
ek
-
VimDiesel
Title: PSA: Comcast is breaking/hijacking DNS with their "Security Edge" product : sysadmin
-
gustik
everything is on reddit now
-
CmdLnKid
moot
-
stipa
ek: A1, mobile 4G internet
-
stipa
austrian owned
-
stipa
ek: could be something similar, i mean, everything i usually do works
-
stipa
in meantime i've sent some email, watching YT.., still can't access forum.freebsd.org
-
stipa
forums*
-
stipa
i think, hmmm, that my local dns server works with 1.1.1.1
-
stipa
could be the cloudflare that is an issue
-
stipa
i'll try to change it to google server
-
RhodiumToad
stipa: try the same test I suggested to ek: drill whoami.ultradns.net and see what the IP is (make sure your local resolver isn't forwarding to 1.1.1.1 or other public service first)
-
RhodiumToad
what error do you get with forum.freebsd.org?
-
stipa
-
VimDiesel
Title: freebsd-forum-error hosted at ImgBB — ImgBB
-
stipa
RhodiumToad: (make sure your local resolver isn't forwarding to 1.1.1.1 or other public service first), what does that mean? i have to have a DNS server, which one if not google or cluflare one?
-
ek
stipa: I think we were assuming you were running your own caching or forwarding DNS server locally.
-
stipa
i do run a server locally
-
ek
If you're just using any random public DNS server, it could be a problem on their end. You could try 1.1.1.1, 8.8.8.8, or 9.9.9.9 to see if the results change. If they don't, the problem is likely not a DNS issue.
-
ek
stipa: Ah. If that's the case, just remove the forwarders. This will query root DNS servers only and not use things like Cloudflare or Google.
-
ek
Then run the ultradns test that RhodiumToad suggested.
-
stipa
wait, i'll check what ISP router has set
-
stipa
i turned its DNS server off the moment i got it
-
RhodiumToad
you can also do e.g. drill @156.154.66.196 whoami.ultradns.net
-
RhodiumToad
the result should have whoami.ultradns.net. 0 IN A your.ip.here
-
RhodiumToad
if it has an IP that's not yours, that's when you know that someone is intercepting your DNS queries
-
stipa
hmm, yea there's an ip
-
RhodiumToad
is it your public IP, or something else?
-
stipa
it's the same as at
myip.com
-
VimDiesel
Title: Check your IP address | MyIP.com
-
RhodiumToad
ok
-
stipa
wait
-
stipa
it's not
-
stipa
there's a difference in third column of the ip adress
-
stipa
three other columns are the same as my iš
-
stipa
ip
-
stipa
so, what? that's the DNS server on the ISP side?
-
RhodiumToad
it might be. try a reverse lookup on the IP
-
RhodiumToad
if this is a mobile provider it's quite possible that you're behind multiple layers of NAT
-
stipa
what should i type for reverse lookup?
-
stipa
dig -x [address]
-
stipa
which adress?
-
RhodiumToad
drill -x IP using the address you got back from whoami.ultradns.net
-
stipa
ok
-
stipa
i've got something,
-
stipa
what am i looking at?
-
stipa
i guess the idea is to map all the DNS servers that intercept my queries to a main one?
-
RhodiumToad
no
-
RhodiumToad
what did you get?
-
stipa
-
VimDiesel
Title: asus@asus:~$ drill -x 95.168.121.39;; ->>HEADER<<- opcode: QUERY, rcode: NOERR - Pastebin.com
-
RhodiumToad
ok, those dns names aren't informative, all we can tell is that they're from your ISP
-
stipa
yes
-
stipa
why would they intercept queries?
-
stipa
subnetting?
-
RhodiumToad
security, censorship, cacheing for efficiency, monitoring user behavior, gathering marketing data, who knows
-
stipa
i would guess DNS repeaters that send queries through subnets
-
stipa
but, hmm
-
stipa
why would the forums.freebsd.org be blocked in such things?
-
stipa
no matter which global DNS server i use it'll my queries will always be filtered
-
RhodiumToad
what does drill @163.237.210.11 forums.freebsd.org return?
-
stipa
nothing
-
stipa
empty
-
stipa
-
VimDiesel
Title: asus@asus:~$ drill @163.237.210.11;; ->>HEADER<<- opcode: QUERY, rcode: REFUSE - Pastebin.com
-
RhodiumToad
you didn't type the command correctly
-
RhodiumToad
drill @163.237.210.11 forums.freebsd.org
-
stipa
right
-
stipa
-
VimDiesel
Title: sus@asus:~$ drill @163.237.210.11 forums.freebsd.org;; ->>HEADER<<- opcode: QU - Pastebin.com
-
RhodiumToad
that looks correct. so DNS probably isn't the issue here
-
RhodiumToad
does drill -T forums.freebsd.org work?
-
stipa
-
VimDiesel
Title: asus@asus:~$ drill -T forums.freebsd.org. 518400 IN NS m.root - Pastebin.com
-
RhodiumToad
ok. so your DNS is fine.
-
stipa
it's 8.8.4.4. now but still no forum
-
stipa
same as with the 1.1.1.1
-
RhodiumToad
you may have been blocked from the forum because of misbehavior from other users of your ISP, or there may be some unrelated problem somewhere
-
stipa
who knows
-
stipa
yeah, works with opera and it's VPN feature
-
stipa
proxy is 77.111.247.69
-
ek
stipa: Reach out the forum admins and ask about it. They'll probably be able to help you out.
-
stipa
ek i'm not a member of the community really, and i guess the conclusion would be the same as you suggested
-
stipa
thanks for the proposal
-
stipa
actually, what RhodiumToad suggested
-
stipa
i've got freebsd in a VM and that's about it
-
stipa
if i want to set something or change i sometimes end up on the forum
-
meena0
is there a way to output a horizontal line in the terminal, without putting echo "=============================================================" in your script?
-
meena0
printf %"$COLUMNS"s | tr " " "-" # apparently, this works in bash
-
meena0
wonder if it works in ((t)c)sh
-
meena0
works in fish, but not in tcsh
-
meena0
doesn't work in sh, either
-
gustik
I have been using fish recently but I uninstalled it, it is too heavyweight
-
gustik
I like lightweight shells like ksh, but even there I noticed that new ksh is consuming more RAM than old bash, even though bash can do more...
-
gustik
I would do printf with - and skip that tr pipe, also ${COLUMNS}
-
meena0
gustik: bash has probably seen a lot more work, because it's a default she'll in many environments, and as such used for scripting, so it's important to be very performant
-
meena0
I could set a default, if COLUMNS isn't set
-
otis
hi gustik
-
meena0
I'm rebuilding alpha.pkgbase.live! cast your wishes for which architectures you want to see (and use)
-
rtprio
meena0: does it have to be full width? printf "%80s" | tr " " "-"
-
meena0
rtprio: having a sensible default, would be good in case COLUMN isn't set
-
rtprio
or `tput cols`
-
rtprio
which should work regardless of shells
-
meena0
rtprio: thank you, that's exactly what I've been looking for
-
tsoome
-
VimDiesel
Title: 0bin - encrypted pastebin
-
meena0
tsoome: did you change anything to get that?
-
tsoome
I did allow BLT only pixel mode. ofc the kernel console is not shown because fb address is 0.
-
meena0
what's BLT? and why is the fb address at 0?
-
tsoome
fb address is 0 because there is only virtual framebuffer
-
tsoome
BLT "block transfer" primitive to draw the screen
-
tsoome
that is, function from GOP protocol of UEFI.
-
meena0
and can a virtual framebuffer be used?
-
tsoome
the text is on screen, therefore yes. but I do not have that kernel driver code integrated, so I have no idea how good it is:)
-
meena0
So you mean, once past loader, there won't be any displaying until virtio_gpu is loaded?
-
meena0
or do i misunderstood?
-
tsoome
yes
-
tsoome
thats because efifb is built assuming we have framebuffer where we can write pixels (store 32-bit data)
-
meena0
tsoome: and why can't we write to a virtual fb? because it needs more bootstrapping? something a driver would do?
-
tsoome
virtual fb does not provide video memory to write to
-
tsoome
hm, the vm actually does also provide serial console (port).
-
meena0
So if virtual fb can't be written to, what is it good for? and if virtual fb can't be used, but serial console exists, why aren't we using that?
-
tsoome
-
VimDiesel
Title: 0bin - encrypted pastebin
-
tsoome
virtual console does provide functions to write to console, just as does virtual block device and virtual network device. So you would need driver for it.
-
tsoome
hetzner actually has serial port feature, but it seems they do not provide interface to access it. or at least it is not easy to find.
-
meena0
tsoome: try a support ticket. tho i wouldn't expect any answers any more
-
hyvoid
if I'm setting up alpine linux in a freebsd jail do I need to exec alpine's rc
-
mason
hyvoid: Only if you want it. That's the difference between a system container and an application container.
-
manu2
hi
-
hyvoid
thanks mason