[c-lightning] rpc command whitelist

ZmnSCPxj ZmnSCPxj at protonmail.com
Thu Jan 3 00:11:22 AEDT 2019

Good morning jb55,

It seems to me that a proxy would do much better here.

In theory, a good part of our plugin work could be done via such a proxy instead.
It may be useful to isolate the command bus as a separate component or process, that we could spawn multiple of, with various policies.


Sent with ProtonMail Secure Email.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, December 29, 2018 11:06 PM, William Casarin <jb55 at jb55.com> wrote:

> William Casarin jb55 at jb55.com writes:
> > Does it make sense to implement something like this directly in
> > lightningd?
> Now that I think about it I'm not sure how that would even work. I'm
> basically looking to restrict commands based on the IP. I'm guessing
> this would only make sense if we had a way to connect to the rpc over
> TCP.
> I'm going to look into the proxy idea for now unless there's a nicer
> way to do it that I'm not thinking of.
> Cheers,
> Will
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> https://jb55.com
> -----------------
> c-lightning mailing list
> c-lightning at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/c-lightning

More information about the c-lightning mailing list