Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Tue Mar 06, 2012 7:27 pm 
Offline
Senior Member
User avatar

Joined: Sat Mar 24, 2007 6:09 pm
Posts: 59
Location: South Africa
Hi,

Couldn't you just block LISH from accessing you box? As I understand it, it uses /dev/hvc0 to map the connection to console. So, simply remove the getty/agetty line from your /etc/inittab and force a re-read.

You'd still be seeing the boot process, but you won't get a login prompt.

--deckert


Top
   
 Post subject:
PostPosted: Tue Mar 06, 2012 8:13 pm 
Offline
Senior Newbie

Joined: Mon Mar 05, 2012 12:18 pm
Posts: 14
Deckert wrote:
Hi,

Couldn't you just block LISH from accessing you box? As I understand it, it uses /dev/hvc0 to map the connection to console. So, simply remove the getty/agetty line from your /etc/inittab and force a re-read.

You'd still be seeing the boot process, but you won't get a login prompt.

--deckert


I can secure SSH by shutting down the service too. This also has the side effect of making the service useless.

Although I do appreciate this information for people who choose to lock the service out completely, I hope you understand that it isn't a legitimately comparable solution to SSH keys and IP restrictions.


Top
   
 Post subject:
PostPosted: Wed Mar 07, 2012 3:37 pm 
Offline
Senior Member
User avatar

Joined: Sat Mar 24, 2007 6:09 pm
Posts: 59
Location: South Africa
jasonritzke wrote:
I can secure SSH by shutting down the service too. This also has the side effect of making the service useless.


Er .. not SSH to the box. That you keep fully under your control. I'm talking about just blocking LISH access.

--deckert


Top
   
 Post subject:
PostPosted: Wed Mar 07, 2012 3:48 pm 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
Deckert wrote:
Couldn't you just block LISH from accessing you box? As I understand it, it uses /dev/hvc0 to map the connection to console. So, simply remove the getty/agetty line from your /etc/inittab and force a re-read.

You'd still be seeing the boot process, but you won't get a login prompt.


In addition to viewing the console log you can also reboot, shut down, boot any config profile (if you have a profile for Finnix that's lots of fun), etc.


Also, I'm pretty sure most of us want to keep the actual Lish console working, just lock access down a bit more.


Top
   
 Post subject:
PostPosted: Wed Mar 07, 2012 4:38 pm 
Offline
Senior Newbie

Joined: Mon Mar 05, 2012 12:18 pm
Posts: 14
Deckert wrote:

Er .. not SSH to the box. That you keep fully under your control. I'm talking about just blocking LISH access.

--deckert


That was for the purpose of comparison. lish is one of the reasons I chose linode. I like to be able to get access to servers FAST when things go wrong. Having to open a support ticket and wait is not on the agenda when you've got uptime agreements to keep.

Also, not be contrary, but when I ask for security and somebody responds "turn it off", I almost immediately stop listening. Securing a service by deactivating the useful parts of the service isn't resolving the problem, it's removing a problem.


Top
   
 Post subject:
PostPosted: Tue Mar 20, 2012 4:20 am 
Offline
Senior Member

Joined: Tue Feb 19, 2008 10:55 am
Posts: 164
lish access control is only as secure as the web manager, because from the web manager you can upload new lish keys. and presumable in the hypothetical situation that lish does have access controls, it would be managed through the web manager.

The web manager is a big proprietary black box, we have no idea how secure it is. You could restrict your web account login to certain IPs but it is apparent now your web account isn't the only web account with access to your linodes.

but I'm guessing from a security point of view you're no better off some place else. maybe a provider who uses openstack might remove one of the unknowns.


Top
   
 Post subject:
PostPosted: Tue Mar 20, 2012 8:27 am 
Offline
Senior Newbie

Joined: Mon Mar 05, 2012 12:18 pm
Posts: 14
chesty wrote:
...but it is apparent now your web account isn't the only web account with access to your linodes...


It isn't apparent to me. AFAIK he recent hack required the users to use the CS portal to get the account name, whereupon they had to do work to compromise the manager in order to get naughty with the nodes.

If there's some new information on exactly how the hack was perpetrated then I'd like to hear it, but last time I checked there was no indication that the CS portal allowed for direct node access.


Top
   
 Post subject:
PostPosted: Thu Mar 22, 2012 6:06 am 
Offline
Senior Member

Joined: Tue Feb 19, 2008 10:55 am
Posts: 164
jasonritzke wrote:
chesty wrote:
...but it is apparent now your web account isn't the only web account with access to your linodes...


It isn't apparent to me. AFAIK he recent hack required the users to use the CS portal to get the account name, whereupon they had to do work to compromise the manager in order to get naughty with the nodes.

If there's some new information on exactly how the hack was perpetrated then I'd like to hear it, but last time I checked there was no indication that the CS portal allowed for direct node access.


1. linode hasn't public said what you just said.
2. I never said the cs portal allowed direct node access. The cs portal has a list of your "linodes" that you can manage, your cs account isn't the only account that can manage your "linodes" on the cs portal.


Top
   
 Post subject:
PostPosted: Thu Mar 22, 2012 10:10 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
chesty wrote:
1. linode hasn't public said what you just said.
2. I never said the cs portal allowed direct node access. The cs portal has a list of your "linodes" that you can manage, your cs account isn't the only account that can manage your "linodes" on the cs portal.


Linode said exactly what he said in public:

http://status.linode.com/2012/03/manage ... ident.html


Top
   
 Post subject:
PostPosted: Fri Mar 23, 2012 11:13 pm 
Offline
Senior Member

Joined: Tue Feb 19, 2008 10:55 am
Posts: 164
Guspaz wrote:
chesty wrote:
1. linode hasn't public said what you just said.
2. I never said the cs portal allowed direct node access. The cs portal has a list of your "linodes" that you can manage, your cs account isn't the only account that can manage your "linodes" on the cs portal.


Linode said exactly what he said in public:

http://status.linode.com/2012/03/manage ... ident.html


that doesn't anything of the sort. you have a very vivid imagination.


Top
   
 Post subject:
PostPosted: Mon Mar 26, 2012 10:10 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
chesty wrote:
that doesn't anything of the sort. you have a very vivid imagination.


jasonritzke wrote:
AFAIK he recent hack required the users to use the CS portal to get the account name, whereupon they had to do work to compromise the manager in order to get naughty with the nodes.


linode wrote:
This morning, an intruder accessed a web-based Linode customer service portal. [...] The intruder proceeded to compromise those Linode Manager accounts [...] The portal does not have access to credit card information or Linode Manager user passwords.


My imagination isn't required here.


Top
   
PostPosted: Sat Sep 01, 2012 2:21 am 
Offline
Senior Member
User avatar

Joined: Tue Aug 17, 2004 11:37 pm
Posts: 262
Website: http://www.our-lan.com
WLM: nf@our-lan.com
Location: Brisbane, Australia
Good work for bumping a 6 month old post..

_________________
ServerAdmin - www.our-lan.com
"Diplomacy is the art of saying nice doggy whilst looking for a really big stick"
"In my experiece, any attempt to make any system idiot proof will only challenge God to make a better idiot"


Top
   
PostPosted: Thu Sep 06, 2012 8:14 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Are... Are you chastising yourself? I'm confused.


Top
   
PostPosted: Thu Sep 06, 2012 10:29 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
Guspaz wrote:
Are... Are you chastising yourself? I'm confused.


Another post is now gone.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group