Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sandboxing/resource limits #1

Open
8573 opened this issue Jun 4, 2017 · 4 comments
Open

Sandboxing/resource limits #1

8573 opened this issue Jun 4, 2017 · 4 comments
Labels
C-enhancement Category: Tickets requesting changes other than bug-fixes E-hard Difficulty: High P-high Importance: High
Milestone

Comments

@8573
Copy link
Owner

8573 commented Jun 4, 2017

Look into what rink has.

@8573
Copy link
Owner Author

8573 commented Jan 15, 2018

My latest work on this, using Servo's gaol library, is in the wip/sandbox/gaol/1 branch.

Patrick Walton says that I will need to use both of gaol's Sandbox and ChildSandbox mechanisms for this to work. I'm not sure that's feasible with my current architecture; specifically, gaol seems to be intended for programs and to need an executable program to sandbox, whereas irc-bot is intended as merely a library.

@8573 8573 added P-high Importance: High C-enhancement Category: Tickets requesting changes other than bug-fixes labels Aug 30, 2018
@8573 8573 added this to the v1.0.0 milestone Aug 30, 2018
@8573 8573 added the E-hard Difficulty: High label Sep 8, 2018
@8573
Copy link
Owner Author

8573 commented Jun 16, 2019

I guess I think of irc-bot no longer as a library to be used in arbitrary other crates but now rather as a framework specifically for writing IRC bots that would have a suitable executable, and indeed I for some time have assumed that I eventually will want to have the network-facing and command-handling parts of bots in one (restricted) process and other functions, such as writing to a database, in another process.

@8573
Copy link
Owner Author

8573 commented Jun 16, 2019

If I do use gaol, gating it behind a check for the availability of user namespaces might be prudent: servo/gaol#41.

@8573
Copy link
Owner Author

8573 commented Jun 16, 2019

Note to self: See also my conversation with eternaleye, FrozenFox, and danopia in #robigalia starting at 2019-06-16 02:49:12Z.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Tickets requesting changes other than bug-fixes E-hard Difficulty: High P-high Importance: High
Projects
None yet
Development

No branches or pull requests

1 participant