Better HN
topnewbestaskshowjobs
Log inSign up

shincert

36 karma · joined Aug 26, 2016 (10y ago) · 36 submissions

Submissions

comment 8y ago · link · parent

I've done the same recently. Haven't seen colors on my phone for a few weeks now.

comment 8y ago · link · parent

Only one meal a day? What do you mean?

comment 8y ago · link · parent

> Basically, unless everything is 100% DNSSEC, there's an opportunity for tampering. Fortunately, though, OCSP responses are signed, as we mentioned earlier. If the OCSP response comes with a valid signature, it can be trusted -- whether DNSSEC is in use or not. A response with an invalid signature (for whatever reason) obviously cannot be trusted. Let me ask you that first question again with this in mind: will running your own DNS server increase the security any? Will it increase the amount of trust you have in the validity of the certificates presented to you by clients?

That was very enlightening, thank you for your help.

I can see it won't improve my trust on the OCSP responses or CRLs, but would it not be desirable to encrypt as much traffic (i.e. DNS queries) as I can in an effort to prohibit a potential attacker from employing traffic analysis techniques with the goal to learn something? This hypothetical scenario doesn't seem so farfetched to me.

Eventually, my encrypted DNS query will be forwarded to a DNS resolver that doesn't employ encryption and it will be in the clear, but how would the attacker know where to look next? If the original DNS query is encrypted, an attacker sniffing the network will not be able to know which DNS resolver the query was forwarded to, right? If so then he can't follow up on that and I've successfully disabled it from learning what the DNS query was about.

In short, I am not trying to increase my trust in the exchanges, but rather hide them as much as possible for the sake of obscurity. Is this reasonable?

comment 8y ago · link · parent

> Assuming the RRs for the domains you are querying are signed, that's (IMO) probably all you need to do. While OCSP happens over plain-text HTTP, the responses are also signed so that you can verify them.

I will make sure that's the case. What I didn't explain yet is that I am doing this for a university project and I am fishing for extra points. So I was trying to justify running my own DNS server. Is it reasonable?

> I don't think there's much more you can really do (as the DNS queries/responses will travel over the Internet "in the clear" -- and, thus, subject to tampering/modification).

I really should have done more research on this, but I imagined I could encrypt the DNS queries themselves and forward them to a public recursive DNS server. Could I not use DNSCRYPT or DNS-over-TLS for this purpose?

> Also, an attacker could block your HTTP requests (for CRL downloads/OCSP queries). How does your application react when it doesn't get a response? "Fail open" or "fail closed"?

Assuming the server has at least downloaded an initial CRL, I could always fallback to that. I haven't played much with this yet, but I think that's the big advantage of a CRL versus an OCSP query, no?

I guess I should "fail closed" to cover all holes but then I'm basically letting the attacker DoS the server. What is best?

5.

Ask HN: Secure DNS resolution in a system

1 points · by shincert · 8y ago · 4 comments

6.

Ask HN: How to assess a software's popularity and good quality?

2 points · by shincert · 9y ago · discuss

comment 9y ago · link · parent

Why? Is it really that bad of an analogy for an absolute beginner?

comment 9y ago · link · parent

How is it much easier to maintain?

comment 9y ago · link · parent

Irrelevant for a framework that wants to be future-proof and bleeding edge.

comment 9y ago · link · parent

Why is not using flexbox a bad thing? It recommends the new CSS Grid instead.

comment 9y ago · link · parent

https://github.com/claviska/shoelace-css/pull/10

This PR will reduce the size down to 18KB.

12.

Ask HN: Train neural network for cheap

5 points · by shincert · 9y ago · 1 comment

13.

Ask HN: Best one liner to install bash script

3 points · by shincert · 9y ago · 3 comments

comment 9y ago · link · parent

You've just told the whole world. Not so hard anymore.

15.

Ask HN: Why doesn't Slack have single sign in?

3 points · by shincert · 9y ago · 1 comment

comment 9y ago · link · parent

Nice! Subscribed

comment 9y ago · link · parent

How does it work?

comment 9y ago · link · parent

I've installed it recently but some sites are hard. For example, I'd block YouTube in the blink of an eye, but what if I really need to look up a video tutorial or something in the middle of a work session?

comment 9y ago · link · parent

I'm interested. Care to share?

comment 9y ago · link · parent

Yeah the malware incident made it a no-go for me

comment 9y ago · link · parent

uBlock Origin

Privacy Badger

The Great Suspender

No History

HTTPS Everywhere

Refined Wikipedia

comment 9y ago · link · parent

That was great!

comment 9y ago · link · parent

That's cool. But if that's all this project is, couldn't they have just talked to the one maintainer and offer to help him and be on the team?

comment 9y ago · link · parent

That's interesting. Are there any actual stack-based CPUs out there today?

25.

Ask HN: Snake AI

2 points · by shincert · 9y ago · discuss

26.

Ask HN: HTML5 semantics reference

2 points · by shincert · 10y ago · discuss

27.

Ask HN: How to improve vim productivity and workflow?

8 points · by shincert · 10y ago · 6 comments

comment 10y ago · link · parent

Out of curiosity, what is this "babby's first web server" you speak of?

comment 10y ago · link · parent

I'm curious. Why is it meaningless? What would you measure?
12