News for hackers. Stuff that matters.
Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by adlwalrus on Monday October 01, 2012 @08:47PM (#4600144)
Seems like this could be done with more respect for user/data sovereignty if done with Node.js. Essentially, you'd cat the file into the script, it would spin up an HTTP server, do some port knocking or whatever NAT-traversal-fu is necessary, then spit out a link with either your raw IP, or a preconfigured dynDNS domain name.

This way we aren't carelessly littering our data all over the "cloud".

Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by HerraBRE on Monday October 01, 2012 @11:20PM (#4600494)
Tooting my own horn again, but you just asked for https://pagekite.net/:

$ pagekite.py /path/to/file.blah yourname.pagekite.me

... send people a link to https://yourname.pagekite.me/file.blah and it streams from your disk. CTRL+C and it's offline with no copies stored anywhere in the cloud. Works with entire folders too (append +indexes to generate indexes), which is good for static HTML demos. If you want a harder-to-guess URL, append the +hide flag to the command above.

And yes, it's open source and you can run your own relay/reverse-proxy if you don't want to rely on me. Give it a try! :-)

Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by voltagex_ on Tuesday October 02, 2012 @01:31AM (#4600712)
Be proud, your domain has made BlueCoat's list of "proxy avoidance" sites and is blocked at my workplace.
Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by HerraBRE on Tuesday October 02, 2012 @06:20AM (#4601323)
Woah, I'm in the big leagues now! Blocking us actually makes perfect sense, PageKite can be used to avoid a lot of quite reasonable corp security policies.

Can you access sites on other domains which are connected via. PageKite? For example my personal site, http://bre.klaki.net/ or my kite http://bre.pagekite.me/ ?

Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by voltagex_ on Tuesday October 02, 2012 @09:00AM (#4601679)
Nothing on pagekite.me, will check the other tomorrow.
Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by HerraBRE on Tuesday October 02, 2012 @10:14AM (#4602050)
This probably doesn't belong on this thread, but I would really appreciate e-mail: bre at pagekite dot net.
Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by lukeholder on Tuesday October 02, 2012 @01:29AM (#4600709)
awesome. thanks for sharing!
Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by wizard_2 on Monday October 01, 2012 @11:16PM (#4600486)
Know any port knocking as a service companies? If there was a reliable way to get a udp connection between hosts that I didn't have to write myself, I'd be tempted to take this on.
Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by tcas on Tuesday October 02, 2012 @01:29AM (#4600708)
I think the term you're looking for is UDP hole punching, port knocking is performing a special sequence of connections (i.e. try TCP on 8100 then UDP on 4000 then TCP on 2000) to open up an additional port (like SSH) to a certain IP.

I'd be curious if there exists such a company or even any good open source libraries that can tie into other servers.

Re:ShowHN: GetURL - A CLI tool to get a public link for any ... by charliesome on Tuesday October 02, 2012 @01:40AM (#4600727)
> Know any port knocking as a service companies?

Are you serious?