Live data from Hacker News

iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

gitlab.com

81–90 of 114 posts

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#81

Earlier quoted context omitted.

Not necessarily slow, DNS Lookups are generally pretty fast: ~ dig somerandomurlimadeup.com | grep 'Query time: ' ;; Query time: 23 msec

Er, that's just saying "you got lucky and the root nameserver you hit was fast". Looking up any valid .com requires that plus a 2nd level lookup.

oh wow, what would that make it, 50ms? that's almost enough time to blink!

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#82

What's more interesting to me is that some people are okay with a lookup on click but not a lookup on hover. It seems a difference in affirmative intent exists between hover and click; and more generally perhaps categories of user actions should be formalized into degrees of affirmation that could mitigate errors like this.

Hovering can be a part of the everyday copy-n-paste action though, for selecting the text to copy.

If i use iTerm's autocopy feature (e.g. that the selected text automatically goes to the clipboard) and rarely press CMD+C then i'm safe? Or should i start changing my passwords? Since i usually generate passwords with `pwgen`, then copy with double click.

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#83

Given the level of concern, I will change the default and release a new version right away.

This is done. A summary of the issue and apology can be found here: https://gitlab.com/gnachman/iterm2/wikis/dnslookupissue

Why didn’t you do this two years ago, when the first bug report about this was made? (https://gitlab.com/gnachman/iterm2/issues/3688) Or a year ago, when a second report was made? (https://gitlab.com/gnachman/iterm2/issues/5303) Note that the first bug report explicitly mentions the leaking of passwords.

Was it really all about the “level of concern”, as you say, and you wouldn’t have changed this without the exposure?

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#85
post #83

Earlier quoted context omitted.

This is done. A summary of the issue and apology can be found here: https://gitlab.com/gnachman/iterm2/wikis/dnslookupissue

Why didn’t you do this two years ago, when the first bug report about this was made? ( https://gitlab.com/gnachman/iterm2/issues/3688 ) Or a year ago, when a second report was made? ( https://gitlab.com/gnachman/iterm2/issues/5303 ) Note that the first bug report explicitly mentions the leaking of passwords. Was it really all about the “ level of concern ”, as you say, and you wouldn’t have changed this without the e…

This is a deeply unkind thing to say to someone who donates their free time to provide a public good. George apologized for his oversight and fixed the problem. Take him at his word and thank him.

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#86

Given the level of concern, I will change the default and release a new version right away.

This is done. A summary of the issue and apology can be found here: https://gitlab.com/gnachman/iterm2/wikis/dnslookupissue

Thanks for doing this George! In addition to donating at https://iterm2.com/donate.html, what can HN users do to help you with iTerm2?

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#87
post #80

It never ceases to amaze me how otherwise intelligent people think it‘s a good idea to send unencrypted user data to random servers on the internet in the background.

Come on, it's doing domain lookups, it's not sending social security numbers to Russia. The amount of hyperbole regarding this misfeature is absurd. It was something that maybe should have been better expressed but this is not some kind of massive security failure.

It doesn’t matter what the code intends to do. Sure, looking up strings that look like domains seems harmless.

But it means that every string that looks like a domain is transmitted unencrypted over the internet.

If your software deals with private user data, you must consider the side effects of every API you are calling. You can’t just transmit data somewhere and hope that everyone will do the right thing. Network traffic is monitored on lots of networks. Unless the data is encrypted and you have reason to trust the receiver, don’t send it.

And whatever you do, don’t send private data without user action. Users expect web requests to be made when clicking a link. They do not expect data to be transmitted when hovering the mouse over URLs.

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#88

Given the level of concern, I will change the default and release a new version right away.

This is done. A summary of the issue and apology can be found here: https://gitlab.com/gnachman/iterm2/wikis/dnslookupissue

You're awesome, and so is iTerm2. Thanks for the great work!

Re: iTerm2: Please disable 'Perform DNS lookups to check if URLs are valid'

#90

Given the level of concern, I will change the default and release a new version right away.

This is done. A summary of the issue and apology can be found here: https://gitlab.com/gnachman/iterm2/wikis/dnslookupissue

Great reaction and thanks for producing such a great piece of software, it's making my life better everyday.
Post reply on HN