Telnet client IP determination


 
Thread Tools Search this Thread
Top Forums Programming Telnet client IP determination
# 1  
Old 08-08-2002
Telnet client IP determination

I have configured my firewall to allow only five remote IP's to connect to my server. Upon connection...i would like to automate the Xsession functions for authorized IP's.

Mainly, $DISPLAY of the environment to the client.

I understand that the "gethostbyaddr" function is capable of this. But this means i would have to make another connection(as in...a separate client-to-server) other than the original telnet to perform this. Correct?

How do i do this without burdening the client with starting two scripts?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Determination n points between two coordinates

Hi guys. Can anyone tell me how to determine points between two coardinates. For example: Which type of command line gives me 50 points between (8, -5, 7) and (2, 6, 9) points Thanks (5 Replies)
Discussion started by: rpf
5 Replies

2. Linux

telnet client and logs

Hello everyone. I have a script that telnets into a linux workstation and restarts a service, while logging the session to a file. I'm kind of new to linux so when I was using windows I would capture something like windows cli: telnet xxx.xxx.xxx.xxx -f c:/capture.log ... # /sbin/service... (3 Replies)
Discussion started by: Elyas_cr
3 Replies

3. Red Hat

Total space Determination

Hi experts, # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda9 3.8G 1.7G 2.0G 46% / none 369M 0 369M 0% /dev/shm /dev/hda10 2.0G 33M 1.8G 2% /tmp /dev/hda12 1.4G 1.2G 260M 82% /usr I used df -h... (3 Replies)
Discussion started by: William1482
3 Replies

4. UNIX for Advanced & Expert Users

difference between logging into unix through f-secure ssh client and telnet

hi, what is the difference between logging into unix through f-secure ssh client and telnet is there any more security check is involved can any one explain thanks in advance (1 Reply)
Discussion started by: trichyselva
1 Replies

5. UNIX for Dummies Questions & Answers

mth code determination

FILE_DATE=`date +%Y%m%d` current mth code is 200808 How can i find the 56 mths back mth code. (1 Reply)
Discussion started by: dr46014
1 Replies

6. Programming

How to program a telnet client?

Hi, Experts: I have programmed a simple telnet client in sco unix 5.0.5, the client has passed throught the initial option negotiation, but I can't receive login prompt from the server. please help me. (8 Replies)
Discussion started by: thinker130
8 Replies

7. UNIX for Dummies Questions & Answers

IP address of telnet client

Hi, I am using the telnet client on windowsNT to access the Unix system. I want to find out the IP address of the telnet client from the server side. The reason is I want to set the DISPLAY environment variable when the user is logged on. Is there anyway that the the Unix server can... (1 Reply)
Discussion started by: vtran4270
1 Replies

8. Programming

Does Telnet client library exist ?

Hello, I'm new user in this forum, and i'm french ... so excuse me for my english :) In fact, I've to manage several network equipments which can be only configured with the telnet protocol. But using the standalone telnet tool, it's too long and hard. So I'd like to known if a Telnet... (0 Replies)
Discussion started by: aho
0 Replies

9. UNIX for Dummies Questions & Answers

Using telnet client from MacOSX's command line terminal

I'm completely new to Unix, but familiar with Mac OSX. I've just discovered the command line terminal feature of this new OS and I'm trying to learn how to telnet into my host's server to change permissions to allow executable cgi scripts for my website. Is there anyone who might be able to... (2 Replies)
Discussion started by: tylerl
2 Replies

10. UNIX for Dummies Questions & Answers

Hardware Determination

Does anyone know an equiv of lscfg -vp for HP-UX? (2 Replies)
Discussion started by: sam_pointer
2 Replies
Login or Register to Ask a Question
Net::CLI::Interact::Transport::Telnet(3pm)		User Contributed Perl Documentation		Net::CLI::Interact::Transport::Telnet(3pm)

NAME
Net::CLI::Interact::Transport::Telnet - TELNET based CLI connection VERSION
version 1.121640 DECRIPTION
This module provides a wrapped instance of a TELNET client for use by Net::CLI::Interact. INTERFACE
app On Windows platforms you must download the "plink.exe" program, and pass its location to the library in this parameter. On other platforms, this defaults to "telnet". runtime_options Based on the "connect_options" hash provided to Net::CLI::Interact on construction, selects and formats parameters to provide to "app" on the command line. Supported attributes: host (required) Host name or IP address of the host to which the TELNET application is to connect. reap Only used on Unix platforms, this installs a signal handler which attempts to reap the "ssh" child process. Pass a true value to enable this feature only if you notice zombie processes are being left behind after use. COMPOSITION
See the following for further interface details: o Net::CLI::Interact::Transport AUTHOR
Oliver Gorwits <oliver@cpan.org> COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Oliver Gorwits. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-12 Net::CLI::Interact::Transport::Telnet(3pm)