News for hackers. Stuff that matters.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by NotSammyHagar on Wednesday July 01, 2020 @10:26PM (#23709315)
I appreciate you answering, probably knowing you'd face some negative feedback. Saying "we should trust you, it's for a good reason" is what google and everyone else says. You'll be better off if you just end this. The loss of the fav icon is less important than keeping your credibility.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by abnercoimbre on Wednesday July 01, 2020 @10:31PM (#23709347)
Seconded. Day in and day out we're given empty promises we can never audit -- now it's being done DuckDuckGo staff too?
Re:DuckDuckGo browser seemingly sends domains a user visits ... by asdfk-12 on Thursday July 02, 2020 @12:42AM (#23710081)
thirded. an inconsequential token is not a suitable reason to engage in this kind of data collection, especially for a search tool that prides itself on 'not tracking' users..
Re:DuckDuckGo browser seemingly sends domains a user visits ... by ehsankia on Thursday July 02, 2020 @01:08AM (#23710194)
Fourthed, and honestly it's strange that they are willing their promise to privacy on saving 2-3 queries on something as trivial as favicons? Why does no other browser need to do this?
Re:DuckDuckGo browser seemingly sends domains a user visits ... by xchaotic on Thursday July 02, 2020 @03:11AM (#23710737)
Favicon what a hill to die on
Re:DuckDuckGo browser seemingly sends domains a user visits ... by rawoke083600 on Thursday July 02, 2020 @04:56AM (#23711293)
For the want of an icon, the kingdom was lost !
Re:DuckDuckGo browser seemingly sends domains a user visits ... by abrookewood on Thursday July 02, 2020 @02:10AM (#23710486)
This is the correct answer. We all remember "Do No Evil" and have been around long enough to see that sentiment die. Don't go down this path.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by a3n on Thursday July 02, 2020 @04:01AM (#23710981)
They've already started down that path, judging by all the DDG billboards I see driving my 18 wheeler around the country, and all the DDG ads I hear on NPR-related podcasts.

Not that I'm against making money. But there's a tipping point associated with some height value in a pile of cash, and once you cross that point then the pile controls you. DDG probably hasn't crossed that point yet, but self-justification is one of the steps on that path.

Re:DuckDuckGo browser seemingly sends domains a user visits ... by sillysaurusx on Thursday July 02, 2020 @04:23AM (#23711100)
Are there really DDG ads on billboards and NPR? That’s cool.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by jeltz on Thursday July 02, 2020 @04:46AM (#23711237)
There are ads on billboards here in Sweden.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by Scottn1 on Thursday July 02, 2020 @05:00AM (#23711314)
I amazingly saw one in Las Vegas recently
Re:DuckDuckGo browser seemingly sends domains a user visits ... by mcdevilkiller on Thursday July 02, 2020 @06:02AM (#23711640)
In Spain too
Re:DuckDuckGo browser seemingly sends domains a user visits ... by Thorrez on Wednesday July 01, 2020 @10:58PM (#23709476)
> is what google and everyone else says.

Do Chrome, Firefox, or Safari do this? I would assume they do it on-device.

Re:DuckDuckGo browser seemingly sends domains a user visits ... by oefrha on Thursday July 02, 2020 @02:02AM (#23710457)
Chrome, according to my understanding, hardcodes a few favicon URLs for builtin search engines, and caches everything else on site visit. There's SQLite3 database named Favicons in your profile directory (e.g. on macOS it's ~/Library/Application Support/Google/Chrome/<Profile>/Favicons). Here's the schema:

  CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR);
  CREATE TABLE icon_mapping(id INTEGER PRIMARY KEY,page_url LONGVARCHAR NOT NULL,icon_id INTEGER);
  CREATE TABLE favicons(id INTEGER PRIMARY KEY,url LONGVARCHAR NOT NULL,icon_type INTEGER DEFAULT 1);
  CREATE TABLE favicon_bitmaps(id INTEGER PRIMARY KEY,icon_id INTEGER NOT NULL,last_updated INTEGER DEFAULT 0,image_data BLOB,width INTEGER DEFAULT 0,height INTEGER DEFAULT 0,last_requested INTEGER DEFAULT 0);
  CREATE INDEX icon_mapping_page_url_idx ON icon_mapping(page_url);
  CREATE INDEX icon_mapping_icon_id_idx ON icon_mapping(icon_id);
  CREATE INDEX favicons_url ON favicons(url);
  CREATE INDEX favicon_bitmaps_icon_id ON favicon_bitmaps(icon_id);
Related source code: https://github.com/chromium/chromium/blob/master/components/...

I haven't looked at Firefox and Safari but I assume they do something similar.

Re:DuckDuckGo browser seemingly sends domains a user visits ... by zzo38computer on Thursday July 02, 2020 @04:51AM (#23711266)
I would hope that it can also be made to cache 404 and 410 responses to favicon requests too (or at least 410 even if not 404), so that it won't keep trying to access it.

Also, in SQLite, note that LONGVARCHAR is the same as TEXT, and that you don't need to specify both UNIQUE and PRIMARY KEY (it is redundant), and that if it is not a INTEGER PRIMARY KEY and not WITHOUT ROWID, then it isn't the real primary key but just an index (same as UNIQUE); add WITHOUT ROWID if you want to make it a real primary key, but note that the way the data is stored differs then, and WITHOUT ROWID is inefficient with tables storing large blobs.