andrew-d
Part of the reason that we don't (currently) let you do this is that a hostname is a user-reported field, and can change over time; it's not a durable form of identity that you can write ACLs on. One could imagine, for example:
1. Creating an ACL rule that allows hostname "webserver" to hostname "db".
2. (time passes)
3. Hostname "webserver" is deleted/changed to "web"/etc.
4. Someone can now register a user device with the system hostname set to "webserver"
Should they be allowed to inherit the pre-existing ACL rule?
However, you can accomplish something very close to what you're asking for, I think, by defining a "host" in the policy file (https://tailscale.com/docs/reference/syntax/policy-file#host...) that points to a single Tailscale IP. Since we don't allow non-admins to change their Tailscale IP, this uniquely identifies a single device even if the hostname changes, and thus you can write a policy similar to:
"hosts": {
"myhost": "100.64.1.2",
},
"grants": [
{
"src": ["myhost"],
"dst": ["tag:db"],
},
]1. We don't expect applicants to be amazing at this already. Having a background in security is good, of course, but not necessary. As a data point: in the office I work out of, we have someone who used to work in a bakery, someone who worked for an insurance company, and several people who had never done security before applying to Matasano. It's my opinion that you generally learn more "on the job", as it were, than you would preparing for an interview anyway. @tptacek's post at [0] is a good example of the type of people we have working for us.
2. We generally send candidates resources to help them prepare - I believe a couple recent applicants got free copies of "The Web Application Hacker's Handbook" [1].
[0]: https://news.ycombinator.com/item?id=8395627
[1]: http://www.amazon.com/The-Web-Application-Hackers-Handbook/d...
Feel free to drop me a line if you (or anyone else) has questions - I'm andrew AT matasano.com
[0]: http://luajit.org/ext_ffi.html [1]: http://andrew-d.github.com/lua-ext/
From School to Startup: Lessons Learned
Show HN: A simple, header-only, MIT-licensed, C++ logging library.
Hey all,Just opened a GitHub account and created this project. This is my first time open-sourcing anything, and also the first time I've used GitHub (and also one of the first times I've used any sort of revision-control system at all). I'm looking for any and all constructive criticism, and if you decide to use my lil' project, it'd be awesome if you dropped me a line and said...