[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 110: Undefined array key "cached"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 111: Undefined array key "normal"
[phpBB Debug] PHP Notice: in file /includes/db/dbal.php on line 112: Undefined array key "total"
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 885: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3391: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3393: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2922)
Cabrillo College Linux Classes • View topic - lab 4 part VI step 6

lab 4 part VI step 6

UNIX/Linux Network Administration

lab 4 part VI step 6

Postby marcromansky on Tue Mar 10, 2009 1:33 am

the command to setup a tunnel from frodo to arwen is given as;
ssh -L 8000:192.168.2.9:23 cis192@107.30.4.107

on my home lab I don't have a 107 to tunnel to, so I used the static IP address that I had set up for Elrond.
marcromansky
 
Posts: 94
Joined: Tue Nov 04, 2008 7:55 pm

Re: lab 4 part VI step 6

Postby marcromansky on Tue Mar 10, 2009 10:59 am

I am not sure that I understand what is supposed to happen here:

ssh -L
[bind_address:]port:host:hostport
Specifies that the given port on the local (client) host is to be
forwarded to the given host and port on the remote side.

ssh -L 8000:192.168.2.9:23 cis192@172.30.4.107

is this: bind local port 8000 to host 192.168.2.9 port 23 as user cis192 tunnelling through host 172.30.4.107 ?
marcromansky
 
Posts: 94
Joined: Tue Nov 04, 2008 7:55 pm

Re: lab 4 part VI step 6

Postby marcromansky on Tue Mar 10, 2009 12:00 pm

based on the config, shouldn't I be able to telnet from elrond to arwen without a tunnel? I am getting connection refused. I set the SELinux settings to permissive on arwen, legolas and elrond.
marcromansky
 
Posts: 94
Joined: Tue Nov 04, 2008 7:55 pm

Re: lab 4 part VI step 6

Postby Rich Simms on Sat Mar 14, 2009 12:24 pm

Yes, you should be able to telnet from Elrond to Arwen after the only_from = option is set.

I finally found out yesterday why I could telnet regardless of the user = option setting. Turns out when you yum install telnet-server, xinetd gets set up. This is the superdaemon umbrella for a number of TCP services.

What I discovered on the CentOS VM's is that there is already a dormant kerberos telnetd server installed. I was configuring the telnet-server but the krb5-telnet server was running (with its own separate configuration file). The krb5-telnet server was merrily accepting telnet connections regardless of the restrictions I configured for telnet-server.

You can see both servers with
type telnetd
type in.telnetd

and the config files with:
ls /etc/xinetd.d/*tel*

- Rich
User avatar
Rich Simms
Site Admin
 
Posts: 640
Joined: Thu May 15, 2008 2:44 pm


Return to CIS 192 - Spring 2009

Who is online

Users browsing this forum: No registered users and 0 guests

cron