News for hackers. Stuff that matters.
Re:Tent v0.1 by tptacek on Friday September 21, 2012 @03:38PM (#4555356)
Very few people will be able to use non-HTTP protocols from their company networks. A significant number of home users behind NAT won't be able to use them without configuration steps that normal users simply won't make.

To that add the fact that there's actually minimal benefit for most protocols to using something other than HTTP. Obviously there are protocols that are much better run over something other than HTTP, but most protocols, probably including Tent, aren't like that.

http://cr.yp.to/sarcasm/modest-proposal.txt

Re:Tent v0.1 by guelo on Friday September 21, 2012 @06:52PM (#4556320)
Corporate networks are followers when it comes to social software. If a protocol becomes very popular among users eventually corporations will give in and make it available. Companies used to block HTTP also.
Re:Tent v0.1 by tptacek on Friday September 21, 2012 @06:54PM (#4556325)
That has absolutely not been my experience in the last 8-9 years of doing onsite engagements for corporations. You can usually count on HTTPS getting through unmolested. Usually.
Re:Tent v0.1 by guelo on Friday September 21, 2012 @07:03PM (#4556371)
I meant back in the 90s. I worked at a couple of companies that saw no reason to give their users access to the internet which was seen as a time waster. I haven't come across that attitude in a very long time, even though there's probably more time wasted now than ever.
Re:Tent v0.1 by tptacek on Friday September 21, 2012 @08:17PM (#4556594)
Sorry, message board fail. I was saying that you're lucky if you can get web traffic through corporate firewalls unmolested. You can only rarely get anything else out, and virtually never get anything in.
Re:Tent v0.1 by cyarvin on Friday September 21, 2012 @04:08PM (#4555494)
Normal users (ie, users behind NAT) shouldn't be running their own Tent servers, period. People who run their own servers are geeks by definition and can/should host in the cloud. Where "cloud" means "that part of the Internets that actually works."

But your second point is unanswerable. I'd go a little farther and say HTTP is actually a pretty good fit for Tent.

Re:Tent v0.1 by josho on Friday September 21, 2012 @05:31PM (#4555936)
> Normal users shouldn't be running their own Tent servers

I used to agree with you that the general public shouldn't run their own server, but that argument may no longer apply.

For example, my home PC (a mac) wakes up from sleep whenever I remotely need something off of it (took no setup on my part). The machine is always backed up, and already has all of my photos and address book. It's been just as reliable as my paid shared web host. So, why not start deploying services from our home PCs.

Think of the obvious benefit—I no longer have to upload photos. Given some additional thought I bet we could come up with other benefits to hosting from home.

I'm not quite ready to advocate for this, but maybe it's time to reconsider this assumption.

Re:Tent v0.1 by cyarvin on Friday September 21, 2012 @06:01PM (#4556106)
Your home PC isn't really on the Internet. It's on a crappy pseudo-network that happens to be connected to the Internet.

This doesn't mean you shouldn't be able to use it as a server - you should. However, to use it as a server, you'll need a proxy/gateway server on the real Internet (ie, in the cloud) and a pseudo-protocol by which the gateway talks to your home PC. The pseudo-protocol could even look a lot like the protocol that real servers speak to each other on the real Internet - but there's no requirement that they be the same. (I'm not sure how well inbound port 80 works if you're on Comcast, anyway.) So, when designing the real-server protocol, it's a layering violation to also be thinking about this pseudopod.

Re:Tent v0.1 by tptacek on Friday September 21, 2012 @06:04PM (#4556125)
There is no such thing as a layering violation. You should be immediately suspicious of anyone who claims that there are such things.
Re:Tent v0.1 by cyarvin on Friday September 21, 2012 @09:59PM (#4556839)
I've got it - we'll encode Ethernet frames in JSON and tunnel them over HTTPS to an IP stack in Javascript. With a JS DHCP client, your browser will grab an IP address on the same subnet as the cloud server. And it's business up front, party in the back...

"Layering violation" is not the best term for what I meant, which is just "design mistake." Also the OSI model doesn't have much to do with reality. But if you want layering violations...

Re:Tent v0.1 by tptacek on Saturday September 22, 2012 @11:13AM (#4557991)
Let me see if I understand the argument you've made: the idea that there are no layering violations is silly because people can make bad designs? Should we blame poor layering discipline for all the C code out there that calls gets(3)?

Modularity is a good thing. Composability often is too. For systems deployed in the large, the end-to-end argument also guides designs to simple cores and complex clients.

But none of that means that any given layer "owns" any piece of functionality. It would indeed make a whole lot of sense to start thinking of IP as the new Ethernet, for instance. But we can't really do that, because the greybeard priesthood uses concepts like "layering violation" to shut down discussion and maintain intellectual turf.

Re:Tent v0.1 by cyarvin on Saturday September 22, 2012 @02:24PM (#4558565)
I don't think we're arguing about anything substantive. For the record, I shave my neck every day. I also have no problem with thinking of IP as the new Ethernet.

By "layering violation" I really meant "layering" in a systems rather than a protocol sense. For example, it'd be a "layering violation" in this sense if your OS had a system call print_powerpoint_document(2).

Re:Tent v0.1 by tptacek on Saturday September 22, 2012 @02:49PM (#4558638)
Modularity, compositions, and reusable/flexible kernels are strong design components. "Layers" are a straitjacket. I'm automatically suspicious of designers who invoke them, because they tend to have more to do with shutting down discussions than they do with designing. That's all.
Re:Tent v0.1 by njharman on Saturday September 22, 2012 @10:35AM (#4557927)
Please read definition of "inter". The Internet is a collection of crappy networks.
Re:Tent v0.1 by cyarvin on Saturday September 22, 2012 @02:29PM (#4558579)
The gateway between your crappy network and the Internet is on the Internet. A node on your crappy network, however, is on your crappy network.

(What's unfortunate is that IPv6 seems destined to become no more than one of these "crappy networks.")

Re:Tent v0.1 by lhnn on Saturday September 22, 2012 @04:29AM (#4557433)
Your home PC isn't really on the Internet. It's on a crappy pseudo-network that happens to be connected to the Internet.

The hell are you talking about? I know I have a public IP address and am running several wikis, a Minecraft server and a Mumble server from my home, accesible via Internet (behind a firewall).

Next up is a SIP/XMPP server. Or maybe tent?

Re:Tent v0.1 by cyarvin on Saturday September 22, 2012 @02:27PM (#4558571)
s/Your home/Your average home/
Re:Tent v0.1 by lhnn on Saturday September 22, 2012 @06:29PM (#4559204)
Including my dorm room (it was port restricted), my college apartment, my father's house, and my current home, I've always had a publicly accessible IP address.