Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Hands-on of Perl by Web

by BUU (Prior)
on May 03, 2006 at 23:22 UTC ( #547306=note: print w/replies, xml ) Need Help??


in reply to Hands-on of Perl by Web

Doing it via ajax isn't terribly complicated, neither is executing perl in a safe way. I've been running a bot that does much the same thing for a while now and a combination of chroot and a bunch of restrictive ulimits have made it extremely safe.

Replies are listed 'Best First'.
Re^2: Hands-on of Perl by Web
by shonorio (Hermit) on May 04, 2006 at 11:34 UTC
    May you could share your solution ?

    Solli Moreira Honorio
    Sao Paulo - Brazil
      Chroots and ulimits were my solution. Fork a process, chroot it to someplace useless, add a series of extremely restrictive ulimits for memory, open files, cpu and so forth, then have it drop to a nobody user so it can't change them.

      If you're interested in working further on this, send me a private message and we can talk specifics.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://547306]
help
Chatterbox?
[marto]: so I have to work Saturday, which is good and bad. Bad in the sense that I have to be hear early :( Good in that I am here only as support for another client project, so I get to spend the day working on my personal 'ToDo' list, without the kids :P
[Corion]: marto: Ooof - but yes, being there as only second level support or third level support is good and if you have enough things that you can work on, it won't be a wasted (if paid) day

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-02-28 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (399 votes). Check out past polls.