21,186 karma · joined Oct 12, 2010 (16y ago) · 6,050 submissions
Personal site: http://www.adityamukerjee.net/
My email is pretty easy to guess from my username.
comment 12y ago · link · parent
I've heard captive portals on here eferred to as MITM attacks, and I think it's an accurate description of what's happening, regardless of the intent of the captor.
In this case, they were hijacking DNS requests that were explicitly being made to another provider (first OpenDNS, then Google), and returning their own results instead of OpenDNS's or Google's.
From a cryptographic perspective, I certainly would say that it fits the description of an MITM: https://en.wikipedia.org/wiki/Man-in-the-middle_attack
> He should be using OpenDNS which is the only major DNS provider of DNSCurve[2], instead of Google (8.8.8.8 and 8.8.8.4).
Actually, I was using OpenDNS initially - I switched to Google because I thought that might be the source of the OpenDNS error I was getting (the very first screenshot - admittedly a bit small to read in the picture).
But it doesn't matter which DNS provider you use if they're hijacking traffic on port 53, which is what was happening here.
> The author trusts Google with his data, which uses DNSSEC[1], but not DNSSEC because @tptacek said so
It's not just "because tptacek says so" - it's because tptacek wrote a detailed critique comparing both services which I found convincing. I updated the post to link to tptackek's post that explains the issue in more detail; that's what I was referring to, but I couldn't find it at first when I wrote the post.
comment 12y ago · link · parent
Completely agreed. Unfortunately, this requires preparation in advance.
Thankfully, this was just for a short bus ride - I actually changed it back immediately after loading the Drive homepage.
How much overhead does OpenVPN add? I've used it a bit on reasonably fast networks, but I'm curious if it would be too slow to use here.
comment 12y ago · link · parent
The way it seems to me, they are intercepting outgoing DNS requests that should be queried against Google's DNS servers, since I had "8.8.8.8" and "8.8.4.4" in my /etc/resolv.conf.
Is that not correct?
> Secondly, imagine sharing a bus with someone pulling down tens of gigs of files from Google Drive over a shared cellular or satellite connection.
The solution to that would be to throttle speeds or bandwidth for each connected device, rather than block all access to specific domains. In my case, I just needed to read a static text document (a "Google Doc").
4564.
Bypassing a DNS man-in-the-middle attack against Google Drive(varnull.adityamukerjee.net ↗)
56 points · by chimeracoder · 12y ago · 44 comments
comment 12y ago · link · parent
FYI, none of the things you mentioned is (in itself) something that a company can (legally) choose to factor into their hiring decision. Experienced recruiters and/or interviewers will avoid those topics entirely because, while they may be able to ask questions that happen to reveal that information indirectly, they're risk-averse, and they'd rather not open themselves up to a lawsuit.
That said, this is one of the reasons I get uncomfortable when people use the term "culture fit" - it's not a bad idea in general, but it can oftentimes be a euphemism (perhaps even unconsciously) for inadvertent discrimination. (Why is Joe not a good culture fit? Is it because his hobbies include taking care of his two kids, rather than rock climbing or bar hopping, or something else that the rest of the 20-something office enjoys doing?)
> In my last job, the fact that I don't drink came up in the interview....they wanted to ask me if I was comfortable with the somewhat alcohol focused culture of the company.
I can sympathize with this.
I once had an interview where I asked why my interviewer (an early employee) left his previous job to join this company. He said that he felt "a strong culture fit". When I asked why, he said, "Well, the founder was drinking a 40 while he interviewed me". I waited for him to finish his explanation, then realized that that was the extent of it. I asked him to tell me more about the culture, and he made more some general statements, but was unable to give any other concrete examples.
The only thing that an early employee at that company could say to sell me on the company was that the founder drinks during job interviews. I'm glad I dodged that bullet early.
comment 12y ago · link · parent
[0] Storeowners install the device, and customers have to opt-out: http://nomi.com/privacy/
comment 12y ago · link · parent
Over the last 6 months, I've seen a number of people make comments on relevant HN posts to the effect of "This sucks, but how do we actually change anything" This is what you've been waiting for - here's a chance to actually do something about it.
Don't be discouraged when things seem to be standing still. Because of the way our minds work, single-point events stand out more than continual progress, and we get discouraged when the former seem to have less effect that we'd like.
My work was related to drug policy specifically[0]. During the years that I was actively involved in this, there was very little visible progress on the issues I worked on. We managed to pass a Good Samaritan law[1] in New York state (which I was involved with), but that was the only major success that I can remember, amid a long stream of what seemed to be failures.
On the other hand, when it rains, it pours. We've see a number of major successes very recently on this front (not just with marijuana policy, thought that's what gets the most attention). Looking back, the state of drug policy in 2014 is in many areas much brighter than it was in 2006, even though it certainly didn't seem like we were making any progress at the time.
It's easy to get cynical about large-scale, long-term efforts. As an individual, you're right, it's tough to do much on your own, since no individual has the same stamina as the forces that we're fighting. But showing support for groups that are fighting these longer battles is the best way to see some real action, even if it takes a while to incubate.
[0] On HN, that's oftentimes synonymous with "marijuana policy" - while that was certainly a part of it, my work focused more on the effects of drug laws on students (such as the Higher Education Act) and the socioeconomic impact of an incarceration model.
comment 12y ago · link · parent
I was a Gmail user since it was released[0], and while it was certainly unique back then, I realized recently that almost none of the features I use nowadays are Google-specific[1].
In fact, the one major annoyance of Google's mail services for me is IMAP! Namely - Google provides an IMAP-like interface, but it isn't quite the same as IMAP, and it has a number of warts that make it not impossible to use, but certainly uncomfortable.
I have seen a number of mail/IMAP clients literally special-case Google's idiosyncrasies into their IMAP handling because of this.
[0] Now it's 2014, and it feels kind of weird to think that I've had my Gmail account for almost 10 years.
[1] Even in 2004, most of what Gmail provided was unique to web-based email, but had been around for a while on desktop mail clients. That, and the 1GB of storage, which felt excessive at the time (how things change!).
comment 12y ago · link · parent
EDIT Thanks to vezzy-fnord below: https://prism-break.org/en/
They seem to have updated their layout since then, but I'm fairly certain this is the same site that I was referring to.
comment 12y ago · link · parent
The main "problem" with the Snowden leaks so far is that we don't have have a highly public, tangible example of a relateable person (or group of similar people) who have lost their jobs, or been blackmailed, or in some other way have been direct victims of the NSA surveillance.
(This is not to say that any of the above hasn't happened - the whole problem is that we just don't have a clear narrative linking the story together).
comment 12y ago · link · parent
Unfortunately, that's not the way police encounters work in practice. Even if you've done nothing wrong, talking to the police can really only hurt you. For example, this re-enactment is based on a true story in which an old lady in Baltimore was convicted of drug possession because some neighborhood children had left a dime bag under her sofa (which she didn't even know about) https://www.youtube.com/watch?v=s7RYH8Py6lY[0]
Just because you think you've done nothing wrong doesn't mean others will agree, especially when it's their job to think you're guilty.
[0] This is part of an hour-long video which shows several more cases like this, but for some reason I can't find the full version anymore.
comment 12y ago · link · parent
The problem is that this is usually a terrible gamble to make. I'm glad it worked out for you, but my general advice for anybody else would be not to talk to the administrators, the same way you should never talk to the police.
You never know if they're going to involve the police anyway after you spill the beans, and if they do, you'd rather they do it without already having a confession from you.
comment 12y ago · link · parent
The posts took a lot of work to create. When I was there, there were two and a half people working full-time[0] just on OkTrends (two engineers full time, and one founder part-time).
I can't give an average time per post, but to give you an idea, "The Real Stuff White People Like"[1] was predominantly my work[2], and it took almost two months, from start to finish.
If you're wondering why it took so long to create that, remember that we started each blog post as a blank slate - at most, we had a vague question that we wanted to explore, and it took several iteration for us to hit upon anything closely resembling the analysis that you'd end up seeing in one of the OkTrends reports.
It might be easy to create something if you have a specific destination in mind at the start, but the key to making OkTrends posts work was not having a specific result in mind - instead, letting the journey guide the process.
Anyway, I left to go back to school, and around that time, the other engineer on the data team started having to do more internal data work on top of the OkTrends research (he stayed at OkCupid for over a year after I left, but he's since moved on as well). That's what caused the slowdown in the posts during late 2010 to early 2011, not the sale to Match.com. As noted below, Christian is working on other projects as well, which have unfortunately left little time for OkTrends.
It's very unfortunate that the timing makes it look like Match.com put the kibosh on OkTrends, because that's not at all what happened, though I definitely see why people would make that mistake.
[0] By "half", I mean that we two engineers spent close to all of our time working on the data/stats, and the founder spent about half his time working with us on the projects and writing the posts.
[1] http://blog.okcupid.com/index.php/the-real-stuff-white-peopl...
[2] I did the stats/munging/research - none of the writing. Christian is a much funnier writer than I am.
comment 12y ago · link · parent
> Beautiful wake-up experience.... Timely started with a desire to simplify the way people use their alarm clocks. Our team designed a novel way to set an alarm. Swiping from the edge of the screen allows you to instantly set the desired time by dragging a bar. This intuitive gesture makes the experience more enjoyable than ever before.
(emphasis not mine).
What's "intuitive" about swiping from the side of a rectangular object in order to set my alarm?
Furthermore, why does it have to be "enjoyable"? I don't really care about the pleasure I get from setting my alarm - I just want to be able to do it quickly and forget about it.
I appreciate the importance of good design, but overusing language like this causes it to lose its meaning.
This actually reminds me of the first chapter in Freakonomics, where they dissect the words that real estate agents use when listing their own homes for sale. There's more to it, but in short, subjective, meaningless words like "beautiful" are essentially filler - a good description contains a concise, concrete description of what someone can expect to find.[1]
[1] http://freakonomics.com/books/freakonomics/chapter-excerpts/...
comment 12y ago · link · parent
Namecheap actually accepts Bitcoin[0], but yes - the way they are currently implemented and used, TLD domain names are not at all anonymous.
[0] https://www.namecheap.com/support/payment-options/bitcoin.as...
comment 12y ago · link · parent
That sounds an awful lot like "If you've done nothing wrong, you have nothing to fear", a statement which I know is very much false.
What you think is disparaging may be very different from what your employer thinks is disparaging. By signing away your rights using ill-defined and imprecise language, you are only opening yourself up to potential legal troubles later.
I could flip your final statement on its head: assuming you don't desperately need the severance payment, agreeing is foolish.
comment 12y ago · link · parent
[0] Actually, where the company was based we don't know which employment laws applied to his contract without reading it. You can be a California resident employed by a Delaware corporation operating out of California and your contract can still be subject the the employment laws of a third state. I'm not entirely sure how this actually works in practice, but I know it is done.
EDIT Some quick Googling found this website, which has some interesting information (albeit a rather terrible layout): http://www.careerprotection.com/severancepay.html
comment 12y ago · link · parent
Actually, marijuana contains about 70 different cannabinoids. Different strains contain different ratios of these cannabinoids, and therefore different strains can be more (or less) effective for treating various ailments. Epileptics may require different strains from people suffering from chronic pain, for example.
For people who have very specific medical needs, it is very helpful to have access to specific strains so that they can consume less and still reap the benefits.
comment 12y ago · link · parent
Hard to believe that Twitter has only been around for ~6 years, given how much impact it's had.
https://web.archive.org/web/20070222055143/http://blog.obvio...
comment 12y ago · link · parent
In all seriousness, I don't think there's anything in particular they're looking for. They're just looking for anything that gives them suspicion, which gives them an excuse to question and investigate you further.
comment 12y ago · link · parent
First, the TSA itself has admitted that there is no evidence of terrorist plots against aviation in the US[0].
Second, the circumstances under which 9/11 happened would be impossible to repeat. Plane cockpits are all but impenetrable[1] - the only reason that some of the 9/11 hijackers were successful was that the standard protocol for dealing with hijackers assumed that hijackers wanted to take the plane hostage for ransom, not use the plane as a weapon. This protocol was fixed almost immediately. (Note that United Airlines Flight 93 did not face the same fate as the other three planes, because the passengers knew what the hijackers were planning.)
Since it's impossible to take control of the cockpit as a hijacker these days, even if someone managed to bring a gun on board a flight, the most damage they could do is kill all the passengers (leaving the pilots unharmed). That is truly a horrible scenario, but that makes flying no more risky than going to the movies or going to school (eg. Newtown, Arapahoe, Boulder).
Of course, one "logical" conclusion is therefore to establish TSA-style security at every school, cinema, mall, etc... in which case we have turned the country into a police state, and we should expect the same crime rates as within federal prisons: http://www.bjs.gov/index.cfm?ty=tp&tid=194
[0] http://tsaoutofourpants.wordpress.com/2013/10/17/tsa-admits-...
[1] I believe I read another comment on Hacker News a while back in which the pilot had a heart attack after the cockpit had been locked from the inside, but before leaving the gate, and it still took the fire department almost an hour to cut through the door.
comment 12y ago · link · parent
> Your browser fingerprint appears to be unique among the 3,726,837 tested so far.
I may be using an outdated version of Tor. Did they reset their data at some point? I can't believe I'm the first person to have tried the test using the Tor browser in my time zone.
comment 12y ago · link · parent
Cloudflare does not host the website itself. If Cloudflare were to stop providing their services, the website might be inundated with traffic, or more susceptible to DDoS attacks, etc., but even if they terminated their relationship, this would not prevent rescator.la from doing their damage. The Pirate Bay is an excellent example of how little power one actually wields simply by controlling the DNS level.
Second, I'm a little concerned by the idea of a third party independently deciding that their client is guilty of a crime and unilaterally terminating that relationship. What if Krebs's analysis happened to be incorrect? What if someone had compromised rescator.la's servers and happened to be carrying out a false flag operation[0]?
I use Cloudflare for a site I operate, and I would feel more than a bit uneasy if they terminated their relationship with a client in this manner. Maybe OP and Krebs are correct and rescator.la are completely guilty. But what's to stop them from making that decision (incorrectly) in the future?
It's one thing to cooperate with law enforcement in an investigation[1], but it's quite another to appoint yourself the judge and make that ruling yourself.
[0] Unlikely, but the point is that it's hard to be certain of what you think you know.
[1] Which, as evidenced by the NSA debate, is not always so cut-and-dry either.
comment 12y ago · link · parent
Puerto Rico already voted in favor of becoming a state in 2012. The only thing stopping it from happening now is a simple majority vote of Congress[0].
Personally, I think giving Puerto Rico, a territory that already must obey federal laws, the ability to vote on said federal laws is a much higher priority than splitting up the states that we already have.
...which is to say, of course, that I imagine that none of these will happen anytime soon.
[0] As best as I could tell, the threshold for statehood really is this low.
comment 12y ago · link · parent