10 More Discussions You Might Find Interesting
1. SCO
Out of the blue for some odd reason I am no longer able to telnet to one of my SCO Unix servers. I can ping, ftp and do a traceroute to it, just cant telnet. When I attempt to telnet to it, I just get this
Trying ##.##.##.##....
telnet: Unable to connect to remote host: Connection timed out
... (0 Replies)
Discussion started by: macastor
0 Replies
2. UNIX for Dummies Questions & Answers
I need a list of servers, that, I can try out my test program with, such as a timeserver.
For example, I would need to connect to telnet server|port. (1 Reply)
Discussion started by: jon80
1 Replies
3. Homework & Coursework Questions
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
1. The problem statement, all variables... (8 Replies)
Discussion started by: atul9806
8 Replies
4. Homework & Coursework Questions
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
1. The problem statement, all variables... (0 Replies)
Discussion started by: atul9806
0 Replies
5. Shell Programming and Scripting
Hi All,
I have a problem with auto telnet script, but I want to tell u something
a) I am only a member access on the server, so not able to access 'root' account
b) not able to install any software on server
3) On server, there is not install 'except'
I have to write a script, which is ran... (0 Replies)
Discussion started by: atul9806
0 Replies
6. Shell Programming and Scripting
hi all,
i wanted to write a ksh script to telnet to another server on a particular port every 5 mins in order to send out an alert if that server went down.
how do i read the response that comes back when the server is down i.e "telnet: Unable to connect to remote host: Connection refused" ... (5 Replies)
Discussion started by: cesarNZ
5 Replies
7. AIX
Hi,
I encountered error when I telnet to my server.
Error is as follows:
telnetd: /bin/login: The file access permissions do not allow the specified action
I am able to ssh into my server and I have checked/verified /etc/security and /etc/inetd.conf. I restarted the inetd subsystem via... (1 Reply)
Discussion started by: chongkls77
1 Replies
8. UNIX for Advanced & Expert Users
I use server Unix with AIX 5.2.
I can't telnet to server about 5 mn, then i can access to server via telnet.
This problem have again and again. Sometime can, sometime can't.
I dont know why?
Do you have any idea? (4 Replies)
Discussion started by: SENG
4 Replies
9. UNIX for Dummies Questions & Answers
i need to automate a process in which i telnet to a server, execute some PGP commands and return. i need to do this from a script on our Unix server. All attempts have failed. i get the expected message defining the escape character, but no attempt to login is made. (4 Replies)
Discussion started by: rgard
4 Replies
10. UNIX for Dummies Questions & Answers
Good day,
We have recently purchased an HP Compaq t5000 thin client and installed this as a management console. It runs Windows CE 5.0 as we required Internet Explorer for the managemenet of the one server (Web based management only working in Internet Explorer).
We have now also installed... (4 Replies)
Discussion started by: avd
4 Replies
Net(3) User Contributed Perl Documentation Net(3)
NAME
Gimp::Net - Communication module for the gimp-perl server.
SYNOPSIS
use Gimp;
DESCRIPTION
For Gimp::Net (and thus commandline and remote scripts) to work, you first have to install the "Perl-Server" extension somewhere where Gimp
can find it (e.g in your .gimp/plug-ins/ directory). Usually this is done automatically while installing the Gimp extension. If you have a
menu entry "<Xtns"/Perl-Server> then it is probably installed.
The Perl-Server can either be started from the "<Xtns"> menu in Gimp, or automatically when a perl script can't find a running Perl-Server.
When started from within The Gimp, the Perl-Server will create a unix domain socket to which local clients can connect. If an authorization
password is given to the Perl-Server (by defining the environment variable "GIMP_HOST" before starting The Gimp), it will also listen on a
tcp port (default 10009). Since the password is transmitted in cleartext, using the Perl-Server over tcp effectively lowers the security of
your network to the level of telnet. Even worse: the current Gimp::Net-protocol can be used for denial of service attacks, i.e. crashing
the Perl-Server. There also *might* be buffer-overflows (although I do care a lot for these).
ENVIRONMENT
The environment variable "GIMP_HOST" specifies the default server to contact and/or the password to use. The syntax is [auth@][tcp/]host-
name[:port] for tcp, [auth@]unix/local/socket/path for unix and spawn/ for a private gimp instance. Examples are:
www.yahoo.com # just kidding ;)
yahoo.com:11100 # non-standard port
tcp/yahoo.com # make sure it uses tcp
authorize@tcp/yahoo.com:123 # full-fledged specification
unix/tmp/unx # use unix domain socket
password@unix/tmp/test # additionally use a password
authorize@ # specify authorization only
spawn/ # use a private gimp instance
spawn/nodata # pass --no-data switch
spawn/gui # don't pass -n switch
CALLBACKS
net()
is called after we have succesfully connected to the server. Do your dirty work in this function, or see Gimp::Fu for a better solu-
tion.
FUNCTIONS
server_quit()
sends the perl server a quit command.
get_connection()
return a connection id which uniquely identifies the current connection.
set_connection(conn_id)
set the connection to use on subsequent commands. "conn_id" is the connection id as returned by get_connection().
BUGS
(Ver 0.04) This module is much faster than it ought to be... Silly that I wondered wether I should implement it in perl or C, since perl is
soo fast.
AUTHOR
Marc Lehmann <pcg@goof.com>
SEE ALSO
perl(1), Gimp.
perl v5.8.0 2001-12-06 Net(3)