Re: [prosody-dev] Re: Running Prosody on Android via Lua wrapper

2015-09-09 Thread Chris Ballinger
Federation would be disabled by default to prevent metadata leaks. The
server would be globally addressable via a Tor .onion service (provided by
Orbot on Android), regardless of your network configuration.

To me the most exciting part of .onion services isn't the "anonymity"
aspect, which is looking very weak at the moment btw, but the ability to
punch holes through almost any firewall or NAT. To run a globally
addressable .onion service you don't need to forward ports on a router, or
hope you aren't behind carrier grade NAT. It "just works" in almost any
network configuration, as long as the Tor network isn't blocked.

On Mon, Aug 31, 2015 at 12:38 PM, jungle Boogie 
wrote:

> On 26 August 2015 at 18:42, Chris Ballinger 
> wrote:
> > The idea is that this would be for smallish groups of non-technical
> > journalists / activists etc. Even though spinning up a tiny RPi server
> image
> > that accomplishes this would be easy for me, installing it and setting
> it up
> > would be close to impossible for most people. I want to make something
> dead
> > simple that requires zero configuration, and is "good enough" for this
> use
> > case. Of course it's not ideal, but I think bringing the ability to host
> > your own server to regular people is important.
>
> So this wouldn't be federated and would only be ad-hoc for those
> connecting to your android phone over wifi?
>
>
> --
> ---
> inum: 883510009027723
> sip: jungleboo...@sip2sip.info
> xmpp: jungle-boo...@jit.si
>
> --
> You received this message because you are subscribed to the Google Groups
> "prosody-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prosody-dev+unsubscr...@googlegroups.com.
> To post to this group, send email to prosody-dev@googlegroups.com.
> Visit this group at http://groups.google.com/group/prosody-dev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.


Re: [prosody-dev] Re: Running Prosody on Android via Lua wrapper

2015-08-31 Thread jungle Boogie
On 26 August 2015 at 18:42, Chris Ballinger  wrote:
> The idea is that this would be for smallish groups of non-technical
> journalists / activists etc. Even though spinning up a tiny RPi server image
> that accomplishes this would be easy for me, installing it and setting it up
> would be close to impossible for most people. I want to make something dead
> simple that requires zero configuration, and is "good enough" for this use
> case. Of course it's not ideal, but I think bringing the ability to host
> your own server to regular people is important.

So this wouldn't be federated and would only be ad-hoc for those
connecting to your android phone over wifi?


-- 
---
inum: 883510009027723
sip: jungleboo...@sip2sip.info
xmpp: jungle-boo...@jit.si

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.


Re: [prosody-dev] Re: Running Prosody on Android via Lua wrapper

2015-08-26 Thread Chris Ballinger
The idea is that this would be for smallish groups of non-technical
journalists / activists etc. Even though spinning up a tiny RPi server
image that accomplishes this would be easy for me, installing it and
setting it up would be close to impossible for most people. I want to make
something dead simple that requires zero configuration, and is "good
enough" for this use case. Of course it's not ideal, but I think bringing
the ability to host your own server to regular people is important.



On Tue, Aug 25, 2015 at 8:59 AM, Sam Whited  wrote:

> On Mon, Aug 24, 2015 at 3:31 PM, Chris Ballinger
>  wrote:
> > The idea would be to use Tor's onion services (via Orbot) to provide
> > universal addressability, even when behind carrier grade NAT. Although it
> > might drop out occasionally if moved around, we'd recommend users get a
> > dedicated cheap device (Moto E?) and run it plugged in on-premesis with
> full
> > disk encryption (4th amendment >>> cloud provider ToS).
>
> As opposed to just spinning up , installing
> Tor, and just running it on that? It seems like you're just creating
> problems for yourself. A phone or tablet, even if plugged in, does not
> a server make.
>
> —Sam
>
>
> --
> Sam Whited
> pub 4096R/54083AE104EA7AD3
> https://blog.samwhited.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "prosody-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prosody-dev+unsubscr...@googlegroups.com.
> To post to this group, send email to prosody-dev@googlegroups.com.
> Visit this group at http://groups.google.com/group/prosody-dev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.


Re: [prosody-dev] Re: Running Prosody on Android via Lua wrapper

2015-08-26 Thread Sam Whited
On Mon, Aug 24, 2015 at 3:31 PM, Chris Ballinger
 wrote:
> The idea would be to use Tor's onion services (via Orbot) to provide
> universal addressability, even when behind carrier grade NAT. Although it
> might drop out occasionally if moved around, we'd recommend users get a
> dedicated cheap device (Moto E?) and run it plugged in on-premesis with full
> disk encryption (4th amendment >>> cloud provider ToS).

As opposed to just spinning up , installing
Tor, and just running it on that? It seems like you're just creating
problems for yourself. A phone or tablet, even if plugged in, does not
a server make.

—Sam


-- 
Sam Whited
pub 4096R/54083AE104EA7AD3
https://blog.samwhited.com

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.


Re: [prosody-dev] Re: Running Prosody on Android via Lua wrapper

2015-08-24 Thread Chris Ballinger
The idea would be to use Tor's onion services (via Orbot) to provide
universal addressability, even when behind carrier grade NAT. Although it
might drop out occasionally if moved around, we'd recommend users get a
dedicated cheap device (Moto E?) and run it plugged in on-premesis with
full disk encryption (4th amendment >>> cloud provider ToS).

The main thing I don't know how to do myself is getting LuaSec to find/link
against the ARM dependencies cross-compiled with the NDK. Any pointers
there?

Although I realize you all are busy, I'm willing to pay someone experienced
with Lua/NDK for a brief amount of their time to help get over some of
these hurdles.

Thank you!

On Fri, Aug 21, 2015 at 4:18 AM, Matthew Wild  wrote:

> Hi Chris,
>
> On 21 August 2015 at 00:18, Chris Ballinger 
> wrote:
> > This is an open source project I am really looking to make happen in
> order
> > to democratize the ability to run your own server. If you are familiar
> > enough with Prosody, Android, and the NDK, to make this a reality please
> get
> > in touch! If it helps, I may be able to find you some funding to get this
> > off the ground.
>
> Running Prosody on Android is certainly possible, though I don't know
> of it being done in any open-source projects so far.
>
> I don't think any of the core developers currently have the time to
> dedicate to such a project (getting 0.10 finished and released is our
> priority), but we'd certainly be happy to help with advice wherever we
> can.
>
> > On Tue, Jul 14, 2015 at 4:00 PM, Chris Ballinger <
> chrisballin...@gmail.com>
> > wrote:
> >>
> >> All of the Java Lua wrappers aren't maintained but it seems that you can
> >> cross compile LuaJIT for the Android NDK which may be sufficient. Some
> of
> >> Prosody's Lua dependencies require C libraries as well, which may
> complicate
> >> the NDK build process.
>
> LuaJIT isn't necessary, building plain Lua for Android would be much
> easier and more portable.
>
> Our own C libraries are very simple, but your main problem will be
> dependencies. For example LuaSec needs OpenSSL, and our util.encodings
> needs libidn or libicu.
>
> >> Beyond that initial hurdle, it looks like overall the structure of
> Prosody
> >> would be compatible with running in the Android app sandbox given the
> proper
> >> configuration.
> >>
> >> Anything I'm missing here?
>
> No, it would work fine technically. I'm not completely sure I
> understand the greater purpose of such a project though. For example,
> I wouldn't generally recommend running a server on something with an
> intermittent internet connection, which is true of 99% of the devices
> that Android is installed on.
>
> Regards,
> Matthew
>
> --
> You received this message because you are subscribed to the Google Groups
> "prosody-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to prosody-dev+unsubscr...@googlegroups.com.
> To post to this group, send email to prosody-dev@googlegroups.com.
> Visit this group at http://groups.google.com/group/prosody-dev.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.


Re: [prosody-dev] Re: Running Prosody on Android via Lua wrapper

2015-08-21 Thread Matthew Wild
Hi Chris,

On 21 August 2015 at 00:18, Chris Ballinger  wrote:
> This is an open source project I am really looking to make happen in order
> to democratize the ability to run your own server. If you are familiar
> enough with Prosody, Android, and the NDK, to make this a reality please get
> in touch! If it helps, I may be able to find you some funding to get this
> off the ground.

Running Prosody on Android is certainly possible, though I don't know
of it being done in any open-source projects so far.

I don't think any of the core developers currently have the time to
dedicate to such a project (getting 0.10 finished and released is our
priority), but we'd certainly be happy to help with advice wherever we
can.

> On Tue, Jul 14, 2015 at 4:00 PM, Chris Ballinger 
> wrote:
>>
>> All of the Java Lua wrappers aren't maintained but it seems that you can
>> cross compile LuaJIT for the Android NDK which may be sufficient. Some of
>> Prosody's Lua dependencies require C libraries as well, which may complicate
>> the NDK build process.

LuaJIT isn't necessary, building plain Lua for Android would be much
easier and more portable.

Our own C libraries are very simple, but your main problem will be
dependencies. For example LuaSec needs OpenSSL, and our util.encodings
needs libidn or libicu.

>> Beyond that initial hurdle, it looks like overall the structure of Prosody
>> would be compatible with running in the Android app sandbox given the proper
>> configuration.
>>
>> Anything I'm missing here?

No, it would work fine technically. I'm not completely sure I
understand the greater purpose of such a project though. For example,
I wouldn't generally recommend running a server on something with an
intermittent internet connection, which is true of 99% of the devices
that Android is installed on.

Regards,
Matthew

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.