Better HN
topnewbestaskshowjobs
Log inSign up

mattbostock

65 karma · joined Aug 26, 2015 (11y ago) · 10 submissions

Submissions

1.

Show HN: Browser Navigation Timings Exporter for Prometheus(github.com ↗)

1 points · by mattbostock · 10y ago · discuss

2.

Lwan, a high-performance web server with Lua support(lwan.ws ↗)

99 points · by mattbostock · 10y ago · 55 comments

3.

18F’s best practices for distributed teams(18f.gsa.gov ↗)

4 points · by mattbostock · 11y ago · discuss

comment 11y ago · link · parent

Thanks for the tips, I'll give these a try. Much appreciated.

5.

Show HN: A small command-line utility to rotate a file or directory(github.com ↗)

4 points · by mattbostock · 11y ago · 1 comment

6.

Show HN: SSH server in Go that checks for weak SSH keys(github.com ↗)

4 points · by mattbostock · 11y ago · discuss

comment 11y ago · link · parent

I've documented this limitation in the README: https://github.com/mattbostock/go-ldpreload-backdoor#limitat...

comment 11y ago · link · parent

That's right; the ones I tested were 'ps' and 'top'.

I did try hooking __libc_start_main, but had difficulty using dl.Sym() with it. I wasn't sure if I converted the function signature to Go incorrectly or if it's a limitation of dl.Sym().

This was the error I was hitting: https://github.com/rainycape/dl/blob/484344929c1867aec9517b5...

So I chose a method with a simpler function signature I found using ltrace, just to get it working as an experiment.

comment 11y ago · link · parent

The 'backdoor' just refers to the fact that it starts a TCP server that will execute commands sent to it. That's not really the point; the novelty aspect is that it uses the new 'c-shared' buildmode supported by Go version 1.5.

I think it also demonstrates how easy it is to write something similar to Telnet in Go.

10.

Go LD_PRELOAD backdoor experiment(github.com ↗)

31 points · by mattbostock · 11y ago · 11 comments