Skip to main content
_devalias u/_devalias avatar

_devalias

u/_devalias

Feed options
Hot
New
Top
View
Card
Compact

r/MacOS icon
A banner for the subreddit

A community to talk about macOS, the operating system powering Apple's Macintosh computers.


Members Online
r/MacOS
A banner for the subreddit

A community to talk about macOS, the operating system powering Apple's Macintosh computers.


Members Online

iTerm2 high power usage - 12 Hour Power over 120 while idle

_devalias
replied to imtourist

From this same thread, I found the Prefs > Advanced > GPU renderer redraws at least this often setting, which defaulted to 0.5sec; and changing it to 5sec (and then 3600sec to effectively disable it) seemed to drop my CPU usage from ~8-9% down to 1-2%; and I think also caused WindowServer to have way less CPU usage as well.

https://gitlab.com/gnachman/iterm2/-/issues/8640#note_3015813030



r/CloudFlare icon
A banner for the subreddit

Get help at community.cloudflare.com and support.cloudflare.com


Members Online
r/CloudFlare
A banner for the subreddit

Get help at community.cloudflare.com and support.cloudflare.com


Members Online

Cloudflare's DoH failing every few hours

_devalias
commented

Curious, are you pinning the SPKI fingerprint at all? I just ran into a similar sounding issue (though potentially different software setup, through ASUS router with DNS-over-TLS Profile set to Strict)

In my case, I had this old hash pinned:

SPfg6FluPIlUc6a5h313BDCxQYNGX+THTy7ig5X3+VA=

Which after a little digging / learning, I found out that that certificate seems to expire in ~8 days:

And so it is probably in the process of being switched out; and may even be in a 'brown out' phase (which might explain why every now and then you're getting failures from it)

Using kdig I checked what the current certificate I was receiving was:

⇒ kdig -d .0.0.1 +tls-ca +tls-host=cloudflare-dns.com example.com
;; DEBUG: Querying for owner(example.com.), class(1), type(1), server(1.0.0.1), port(853), protocol(TCP)
;; DEBUG: TLS, imported 148 system certificates
;; DEBUG: TLS, received certificate hierarchy:
;; DEBUG:  #1, CN=cloudflare-dns.com,O=Cloudflare\, Inc.,L=San Francisco,ST=California,C=US
;; DEBUG:      SHA-256 PIN: ltQ6aXy3tqpNZKJdnevMD7oR+IsI5rNWbOssFDrl+Ew=
;; DEBUG:  #2, CN=SSL.com SSL Intermediate CA ECC R2,O=SSL Corp,L=Houston,ST=Texas,C=US
;; DEBUG:      SHA-256 PIN: zGgA4OU4DjJdvpRYUqbi5Vh2g9W5Oc/PgKihy9mkLsE=
;; DEBUG:  #3, CN=SSL.com Root Certification Authority ECC,O=SSL Corporation,L=Houston,ST=Texas,C=US
;; DEBUG:      SHA-256 PIN: oyD01TTXvpfBro3QSZc1vIlcMjrdLTiL/M9mLCPX+Zo=
..snip..  

Which had the following SPKI hash:

ltQ6aXy3tqpNZKJdnevMD7oR+IsI5rNWbOssFDrl+Ew=

Checking the certificate transparency logs for one.one.one.one, I saw there were a few newer certificates:

And after downloading them and calculating the SPKI hash, I found that this one seemed to match what I was receiving:

I calculated the hash like so:

⇒ openssl x509 -in 23481945460.crt -pubkey -noout \
  | openssl pkey -pubin -outform DER \
  | openssl dgst -sha256 -binary \
  | openssl base64

ltQ6aXy3tqpNZKJdnevMD7oR+IsI5rNWbOssFDrl+Ew=

After updating my router settings to include that new SPKI fingerprint, everything seemed to work properly again, and DNS started resolving consistently as expected.

Edit: I wrote up the full debugging process I followed in a gist here, in case that's of use to anyone: https://gist.github.com/0xdevalias/e5430349a3e6e5feb347f8a373877f4e#dns-over-tls-dot-spki-fingerprint-pinning-issue-debugging


r/todayilearned icon

You learn something new every day; what did you learn today? Submit interesting and specific facts about something that you just found out here.


Members Online
r/todayilearned

You learn something new every day; what did you learn today? Submit interesting and specific facts about something that you just found out here.


Members Online

TIL Google chrome has it's very own task manager. Shift+Esc.

_devalias
replied to sinembarg0

If you use BetterTouchTool, you can directly set a keyboard shortcut for Shift+Esc, and have that trigger a 'Trigger Menu Bar Menu-Item' with the command path set to: Window;Task Manager.


r/beeper icon

We're building the best chat app on earth. Join to get the most out of being a Beepster + discuss Beeper-related news, technologies, and ideas.


Members Online
r/beeper

We're building the best chat app on earth. Join to get the most out of being a Beepster + discuss Beeper-related news, technologies, and ideas.


Members Online

URL Scheme?

_devalias
replied to TheoL92

For anyone stumbling upon this into the future; I believe riot:// was for Beeper v3; and while I haven't tested to confirm, I assume it may no longer work in Beeper v4.

In Beeper v4+, the URL prefix is beeper:// , and then I detailed the extra paths and specifics in my comments on this other post where I deep dove into discovering them all the other day:

https://www.reddit.com/r/beeper/comments/1hnjphq/comment/nfwke8h/


r/beeper icon

We're building the best chat app on earth. Join to get the most out of being a Beepster + discuss Beeper-related news, technologies, and ideas.


Members Online
r/beeper

We're building the best chat app on earth. Join to get the most out of being a Beepster + discuss Beeper-related news, technologies, and ideas.


Members Online

URL Scheme?

_devalias
replied to TheoL92

For anyone stumbling upon this into the future; I believe riot:// was for Beeper v3; and while I haven't tested to confirm, I assume it may no longer work in Beeper v4.

In Beeper v4+, the URL prefix is beeper:// , and then I detailed the extra paths and specifics in my comments on this other post where I deep dove into discovering them all the other day:

https://www.reddit.com/r/beeper/comments/1hnjphq/comment/nfwke8h/


r/beeper icon

We're building the best chat app on earth. Join to get the most out of being a Beepster + discuss Beeper-related news, technologies, and ideas.


Members Online
r/beeper

We're building the best chat app on earth. Join to get the most out of being a Beepster + discuss Beeper-related news, technologies, and ideas.


Members Online

URL Scheme?

_devalias
replied to CoffiPants

Presumably you meant the Beeper v4 beta, which is now the main app; if so, see my comment from the other day where I deep dived into discovering these. The basic URL prefix is just beeper://, but I detailed the extra paths and specifics in my comments:

https://www.reddit.com/r/beeper/comments/1hnjphq/comment/nfwke8h/


r/beeper icon

We're building the best chat app on earth. Join to get the most out of being a Beepster + discuss Beeper-related news, technologies, and ideas.


Members Online
r/beeper

We're building the best chat app on earth. Join to get the most out of being a Beepster + discuss Beeper-related news, technologies, and ideas.


Members Online

Deep-linking Into Beeper

_devalias
replied to TFSakon

I just submitted this as feedback; so at the very least, there is a possibility of it!