telnet issues


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers telnet issues
# 1  
Old 09-29-2002
telnet issues

hi, say we have servers whose ip is 100.100.100.1 to 100.100.100.10. now we have another server which is 200.200.200.2. is it possible to restrict servers from the range of (100.100.100.1 and etc.. ) to telnet to 200.200.200.2

thanks
yls177
# 2  
Old 09-29-2002
Set up a packet-filtering firewall on 200.200.200.2 then.
# 3  
Old 09-30-2002
packet filtering firewall?

what do u mean by a packet-filtering firewall?


thanks
yls177
# 4  
Old 09-30-2002
A packet filtering firewall filters packets passing through by examining the fields of the packet, and you set up rules to decide how to deal with packets satisfying certain rules you defined.

You can set up a firewall with a rule stating something like "packets destined to port 23 whose IP is not in 100.100.100.1-10 range should be dropped.". Packets matching this rule will be dropped at the firewall before having the chance of reaching the telnet daemon.

On Linux, ipchains or iptables does exactly that. There are similar tools in other Unix variants.
# 5  
Old 09-30-2002
software, hardware firewall

so in this case the packet filter firewall is a software version.
how does a software firewall differs from a hardware one.
yls177
# 6  
Old 09-30-2002
If you do care about critical performance, you'd better go the hardware way. Otherwise, a software firewall should suffice in my opinion.

At least it doesn't cost anything to set one up, and it's sufficiently flexible.
# 7  
Old 09-30-2002
While cbkihong suggestion relating to firewalls is definately a component in a long-term solution to secure your servers - in this instance it may be easier to setup the inetd.sec file to specifically limit access to the telnet daemon.

The syntax is:

<service name> <allow|deny> <host/net addresses, host/net names>

The man page will help further.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Difference Between Krb5-telnet And Ekrb5-telnet

Hi, I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ? Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies

2. UNIX for Dummies Questions & Answers

Automatically login in the telnet from present telnet

Hi, I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password. But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies

3. Emergency UNIX and Linux Support

rm -rf issues

We are using the solaris server and if i am using rm -rf to delete the directories its asking the confirmation for each and every file inside the directory.Is there any way to disable ( should not ask the confirmation) only for a particular session? (12 Replies)
Discussion started by: sureshbabuc
12 Replies

4. OS X (Apple)

Telnet help.

I wanted to learn Telnet protocol so I read an RFC-854 on telnet but now i'm kinda stuck ...where to go now???? Need guidance from you guys...about some website or any resources that could help to learn more about it. (1 Reply)
Discussion started by: jFreak619
1 Replies

5. Shell Programming and Scripting

Telnet Script Issues

HI All Some body wrote to me this Telnet Script : #!/opt/perl/bin/perl $ip = $ARGV; die ("IP must be passed as an argument. $!\n") unless defined($ip); use Net::Telnet (); $handle = new Net::Telnet (Timeout => 10, Prompt => '/.*(#|>|\))\s*$/'); $handle->open("$ip");... (10 Replies)
Discussion started by: Darknight
10 Replies

6. Shell Programming and Scripting

Webpage to Telnet via Perl and Expect: Telnet problem?

Somewhat long story: I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage. This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies

7. Shell Programming and Scripting

SU issues

Hi, I have automated a build process that does the following activities. 1. check out code from cvs to a specific directory 2. build the revision checked out with 'ANT' 3. integrate the compiled code with the QA/UAT or new environment (/apps/QA or /apps/UAT or /apps/new directory) I... (1 Reply)
Discussion started by: yoi2hot4ya
1 Replies

8. UNIX for Advanced & Expert Users

Telnet

Hi, When we use telnet (from unix workstation or windows) to remotely access the Unix server, the environment variables such as: DISPLAY, TERM, LOGNAME are communicate to the telnet server during the telnet session negotiation. By default these variables are passed to the server. We can... (1 Reply)
Discussion started by: vtran4270
1 Replies

9. UNIX for Dummies Questions & Answers

getting on to telnet

how can I get on to telnet keep getting the page cant be found:confused: (1 Reply)
Discussion started by: tamworther
1 Replies

10. UNIX for Dummies Questions & Answers

telnet

hello there! :) i'm a newbie here...and i have a question, how can you logout while you're chatting in commode? thanx! :) (2 Replies)
Discussion started by: hapiworm
2 Replies
Login or Register to Ask a Question