News for hackers. Stuff that matters.

lkarsten

Re:Home is a small, engineless sailboat (2018) on Saturday July 06, 2019 @04:10PM (#20371628)
4ksb
Re:TCP is an underspecified two-node consensus algorithm on Monday March 19, 2018 @03:42AM (#16616695)
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.

Re:Varnish Cache 5.0 on Thursday September 15, 2016 @06:41PM (#12510462)
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.

Re:How to Use Varnish Cache as Secured AWS S3 Gateway on Friday February 19, 2016 @01:41PM (#11135515)
HTTP/2 is on the way.
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. :-)

Re:Hitch – A Scalable TLS Proxy by Varnish on Wednesday June 10, 2015 @07:03AM (#9691158)
Thanks for the data point.
Re:Hitch – A Scalable TLS Proxy by Varnish on Wednesday June 10, 2015 @07:01AM (#9691148)
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.

Re:Hitch – A Scalable TLS Proxy by Varnish on Tuesday June 09, 2015 @08:21PM (#9689377)
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.

Re:Hitch – A Scalable TLS Proxy by Varnish on Tuesday June 09, 2015 @05:13PM (#9688580)
Yes, doing hard crypto for all users has costs. Welcome to the real world. :-)
Re:Hitch – A Scalable TLS Proxy by Varnish on Tuesday June 09, 2015 @02:12PM (#9687568)
Advantages are that it is faster, and that it is a small and simple program that does a single thing well.
Congratulations, you have rediscovered a problem described in a 14 year old RFC: http://tools.ietf.org/html/rfc3135
Re:Varnish 4.0.2 released on Thursday October 09, 2014 @07:53AM (#8431813)
Good news, I'm told they are planning an east coast event in the spring.
Re:Varnish 4.0.2 released on Thursday October 09, 2014 @07:36AM (#8431746)
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.

Re:Varnish 4.0.2 released on Thursday October 09, 2014 @07:30AM (#8431722)
I'll let the right people know. Thanks for the feedback.
Re:Varnish 4.0 Released on Thursday April 10, 2014 @10:26AM (#7566326)
For most users it is a 5-10 minute job, no sweat.
Re:Netflix ISP Speed Index on Tuesday March 12, 2013 @07:44AM (#5361232)
You are not.