Better HN
topnewbestaskshowjobs
Log inSign up

lkarsten

89 karma · joined Jan 19, 2013 (13y ago) · 29 submissions

Submissions

1.

Varnish 6.0 denial of service(varnish-cache.org ↗)

2 points · by lkarsten · 7y ago · 1 comment

comment 7y ago · link · parent

4ksb

3.

Python pip information leak(github.com ↗)

4 points · by lkarsten · 8y ago · discuss

comment 8y ago · link · parent

I applaud the effort to hate on "smart" middleware proxies!

That being said, author gets no points for namedropping random distributed systems algorithms and using tcp keepalives (2 hours minimum!) as an argument against TLS terminating proxies.

Is there a reason to (as he says) "fully implement the protocol" in the proxy? I battled with websockets through Pound last week, and it simply doesn't work because the author took a non-postel stand on protocol specifics.

Having a protocol agnostic proxy like hitch (previously stud) fixed that without losing functionality, and I expect it to age better as well.

5.

Scaleway Centos7.2 image is vulnerable(lassekarstensen.wordpress.com ↗)

1 points · by lkarsten · 9y ago · discuss

comment 10y ago · link · parent

Hi jamwt. We haven't forgotten your(?) excellent work on stud!

Both changes.rst and the man page explain where Hitch came from.

Hitch has seen significant changes since we forked stud 0.3.2, for example proper reload/sighup support, an improved configuration format, and OCSP stapling. Running it on a large scale (cert/ip -wise) also works better now.

If you're ever in our parts of the world, let us know and we'll buy you some beers/coffee/$beverage and tell you all about how your old project is doing.

comment 10y ago · link · parent

HTTP/2 is on the way.

8.

Varnish Cache 4.1.0-beta1 released(varnish-cache.org ↗)

5 points · by lkarsten · 11y ago · discuss

comment 11y ago · link · parent

On linux netem can help you do something similar. It is also faster, better tested, has more features and so on.

I guess an argument can be made about the user interface, as tc is a nightmare. :-)

comment 11y ago · link · parent

Thanks for the data point.

comment 11y ago · link · parent

The reason is pretty simple: LibreSSL isn't available/packaged on the distributions we care about, and we don't have the will, money or knowledge to do it ourselves. (with my VS hat on)

We are positive to merging any code changes necessary to get it running with libressl though.

comment 11y ago · link · parent

How do you think the CPU usage would be with 10kB buffer sizes? And since we're throwing numbers out in the air, why stop at 10kB? If we reduce to 1k, that should give us MUCH MOR connections!!11.

Let me ask a leading question: how much of this do you think is openssl overhead?

Please consider optimising for a real usage scenario, not some fantasy benchmarking setup.

comment 11y ago · link · parent

Yes, doing hard crypto for all users has costs. Welcome to the real world. :-)

comment 11y ago · link · parent

Advantages are that it is faster, and that it is a small and simple program that does a single thing well.

15.

Introducing hitch – a scalable TLS proxy(lassekarstensen.wordpress.com ↗)

13 points · by lkarsten · 11y ago · discuss

16.

SSL in Varnish(varnish-software.com ↗)

4 points · by lkarsten · 11y ago · discuss

17.

Varnish Cache 3.0.7(varnish-cache.org ↗)

2 points · by lkarsten · 11y ago · discuss

comment 11y ago · link · parent

Congratulations, you have rediscovered a problem described in a 14 year old RFC: http://tools.ietf.org/html/rfc3135

19.

Varnish Cache 4.0.3 released(varnish-cache.org ↗)

1 points · by lkarsten · 11y ago · discuss

comment 12y ago · link · parent

Good news, I'm told they are planning an east coast event in the spring.

comment 12y ago · link · parent

Every site has something that can be cached. Images, js, headers, popular product lists, etc.

If a specific page item can be cached is really up to if the backend application takes cookie state into account when the page item is made.

The Varnish default of not caching anything when cookies are present is because we have no idea if the backend writes "Welcome back, krat0sprakhar!" when it sees the username in an incoming cookie. Sending that item to every user would be unfortunate.

Other than that, I'd recommend you evaluate your needs and not just pick a technology. If your page response times are low enough already, and your backends/appservers scale to as many concurrent buyers you think you need, you're good without Varnish/caching.

comment 12y ago · link · parent

I'll let the right people know. Thanks for the feedback.

23.

Varnish 4.0.2 released(varnish-cache.org ↗)

74 points · by lkarsten · 12y ago · 55 comments

24.

Varnish 4.0.1 released(varnish-cache.org ↗)

4 points · by lkarsten · 12y ago · 2 comments

comment 12y ago · link · parent

For most users it is a 5-10 minute job, no sweat.

26.

Varnish 4.0 tech preview released(varnish-cache.org ↗)

3 points · by lkarsten · 12y ago · discuss

27.

Bitmessage broadcast index(bitmessage.hyse.org ↗)

3 points · by lkarsten · 13y ago · discuss

comment 13y ago · link · parent

You are not.

29.

Anonymous contributions with git(lassekarstensen.wordpress.com ↗)

1 points · by lkarsten · 13y ago · discuss