Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
SSH security for ASSS

 
Post new topic   Reply to topic Printable version
 View previous topic  Does ASSS have the score reset bug? Post :: Post Reloading temp setts with python.  View next topic  
Author Message
Altec
Newbie


Joined: Jan 22 2006
Posts: 18
Offline

PostPosted: Thu Aug 24, 2006 1:02 pm    Post subject: SSH security for ASSS Reply to topic Reply with quote

Got a few Q's for you as3 guru’s 

I plan to start hosting as3 for certain zones. I got as3 to work, but need help in other areas.

1) Does a zone owner need SSH or will FTP sifice?
If SSH is needed, how to does one properly give said user proper SSH access. I understand how to give a user SSH, but don’t know if I am doing it right to make sure the system is secure.

2) Are there any scripts out there where said user can start/stop a zone with/without SSH?

Thanks guys.
_________________
Spyed>It wasn't me. Someone got my password and did it. OMGZ..
-------
SSB/SSCB Owner
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Aug 24, 2006 3:12 pm    Post subject: Reply to topic Reply with quote

0.) It's called asss.
1.) Yes, they need SSH. Take a look at grel's adminsh program.
2.) No.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Altec
Newbie


Joined: Jan 22 2006
Posts: 18
Offline

PostPosted: Thu Aug 24, 2006 4:07 pm    Post subject: Reply to topic Reply with quote

mmk...where can i find this grel's program?
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Thu Aug 24, 2006 4:30 pm    Post subject: Reply to topic Reply with quote

http://asss.yi.org/asss/home/source/ and use asss.adminsh instead of asss.asss.main
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Fri Aug 25, 2006 3:22 am    Post subject: Reply to topic Reply with quote

In theory, you can do anything you need to with ?putfile and ?recycle, assuming you have processes in place to monitor the asss process and restart it when required. But in practice zones crash or deadlock, and you need an out-of-band way to kill and restart the zone. And administration with ?putfile is really painful, and if you want to have happy owners, you should give them SFTP/SCP access.

adminsh is an alternate login shell, plus a set of scripts that make it easy to set up zones in chroot environments. Chrooting increases security by making it impossible for one zone to affect others (assuming you set it up right, which isn't easy). Being an alternate login shell means that it gives owners the ability to do only very specific commands (start/stop their zone, send messages, view log files, and a few more), but _not_ full shell access. This is weak security, though, since if they can ?putfile, they can run arbitrary code on your server (this is where the chroot helps). adminsh also provides automatic restarting after crashes and ?recycle.

I would recommend setting up adminsh for basic tasks, and if you trust your owners and they are knowledgeable in basic unix usage, you can also give them full shell access, which comes in handy sometimes.

Fully securing a machine against users with shell access (or ?putfile/?insmod access) to a machine is difficult (or maybe impossible, depending on your requirements). The chroot that adminsh helps you set up is just a starting point.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Fri Aug 25, 2006 10:40 am    Post subject: Reply to topic Reply with quote

I don't suppose someone would like to make a wiki detailing these things? I'm not officially hosting zones(yet), but since AS3 hosting at the moment is sparse and being very well, um... protected, I've offered to host a couple people's dev zones on my own Linux computer. And in the future, I may get space on a real server, so I'd REALLY have to worry about security then. Although, I'd be willing to bet this is more of a Unix thing than it is an AS3 thing, so I'm going to go see if I can find anything helpful, and if the rest of you have any good websites for this, just post them here.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Fri Aug 25, 2006 4:57 pm    Post subject: Reply to topic Reply with quote

There already is a wiki, go ahead and put the info there. (The link is near the top of this page.)
_________________
This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:37
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sat Aug 26, 2006 1:11 am    Post subject: Reply to topic Reply with quote

I meant a specific wiki page on asss security.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Altec
Newbie


Joined: Jan 22 2006
Posts: 18
Offline

PostPosted: Sat Aug 26, 2006 8:59 am    Post subject: Reply to topic Reply with quote

Ok, I found a way to give someone SSH access. However the problem I'm running into know is what that person has access to.

Is there a way to lock them into there folder so they can only view there content and not the whole system?

Thanks.
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sat Aug 26, 2006 9:12 am    Post subject: Reply to topic Reply with quote

Yes, it's called chroot and is part of what grel was talking about.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 43 page(s) served in previous 5 minutes.

phpBB Created this page in 0.521308 seconds : 34 queries executed (81.5%): GZIP compression disabled