01-11-2010
You'll have to be more specific on what you want to know. Basically, the telnet command will try to establish a TCP connection to the gives address (IP+Port) using the underlying network stack. What happens afterward depends on the hardware in between, any firewalls and ACLs in effect, and the service listening on the other side (if any).
10 More Discussions You Might Find Interesting
1. IP Networking
Hello All
I am running redhat linux 7.2 and would like to know how i can block telnetting to a specified port .
say for example i would like to block telnet acesses to port 80.
regards
Xiamin (5 Replies)
Discussion started by: xiamin
5 Replies
2. Solaris
we disabled telnet on solaris 9 via previous a thread. We use CMS (call management system) supervisor which used port 23 (telnet). We cannot use telnet via local directive and it was shut down as stated when we shut down telnet in the inetd file. I cannot now log into the CMS box since port 23 is... (3 Replies)
Discussion started by: panzerkw
3 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I have a problem. I have machine names and their IP addresses in /etc/hosts file. My application does telnet on that machine host name. The application does not uses IP address for tenet. It will fetch the host name from /etc/hosts file.
Now the telnet server runs on customized port.... (6 Replies)
Discussion started by: zing_foru
6 Replies
4. Shell Programming and Scripting
Hi,
I would like to create a simple script that will telnet a number of IP and Ports one after the other to confirm connectivity to those addresses.
I don't need to log on, just output to a file what the response is, i.e Escape Character, connectivity refused etc.
Complete newbie to... (6 Replies)
Discussion started by: asou
6 Replies
5. Windows & DOS: Issues & Discussions
Hello all.
I have an old computer with M$-DOS 7. I want to use it like a dumb terminal, with telnet. I need to connect it to my desktop These are my questions:
How can i configure the serial port on dos?
How can i telnet form dos to the serial port?
How can i set up a telnet server on the... (12 Replies)
Discussion started by: mghis
12 Replies
6. Cybersecurity
Hi, we have recently setup a new UNIX server with solaris 10 and I am having issue with with SMTP/sendmail.
telnet localhost 25 --- works
telnet hostname.domain.com 25 -- does not work.
# telnet hostname.domain.com 25
Trying 10.122.1.111...
telnet: Unable to connect to remote host:... (1 Reply)
Discussion started by: esmgr
1 Replies
7. Red Hat
My linux version is 2.6.18-194.e14 (Oracle enterprise linux).
Could you please tell me how to enable telnet on the server.
When I try to connect the server through another pc using telnet it is throwing error.
Connecting To <ip address>...Could not open connection to the host, on port 23.... (3 Replies)
Discussion started by: oradba_arun
3 Replies
8. IP Networking
Hi,
I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Well this is probably a silly one that I should know...but I don't !
I'm telnetting to various ports from a shell script and the telnet is echoing back that it's 'trying xxx.xx.xx.xx...' but not the port number it's trying!
Any help much appreciated
Thanks (1 Reply)
Discussion started by: Grueben
1 Replies
10. Shell Programming and Scripting
Hi,
my query is:
I am Login on server with IP xxx.xxx.xxx.xxx.. and i want a script where
i want to telnet to server with IP yyy.yyy.yyy.yyy using specific port and then execute a cmd there on server Y
please suggest (1 Reply)
Discussion started by: dodasajan
1 Replies
LEARN ABOUT DEBIAN
rdma_getaddrinfo
RDMA_GETADDRINFO(3) Librdmacm Programmer's Manual RDMA_GETADDRINFO(3)
NAME
rdma_getaddrinfo - Provides transport independent address translation.
SYNOPSIS
#include <rdma/rdma_cma.h>
int rdma_getaddrinfo (char *node, char *service, struct rdma_addrinfo *hints, struct rdma_addrinfo **res);
ARGUMENTS
node Optional, name, dotted-decimal IPv4, or IPv6 hex address to resolve.
service Service name or port number of address.
hints Reference to an rdma_addrinfo structure containing hints about the type of service the caller supports.
res A pointer to a linked list of rdma_addrinfo structures containing response information.
DESCRIPTION
Resolves the destination node and service address and returns information needed to establish communication. Provides the RDMA functional
equivalent to getaddrinfo.
RETURN VALUE
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
NOTES
Either node or service must be provided. If hints are provided, the operation will be controlled by hints.ai_flags. If RAI_PASSIVE is
specified, the call will resolve address information for use on the passive side of a connection.
rdma_addrinfo
ai_flags Hint flags that control the operation. Supported flags are:
RAI_PASSIVE Indicates that the results will be used on the passive/listening side of a connection.
RAI_NUMERICHOST
If specified, then the node parameter, if provided, must be a numerical network address. This flag suppresses any lengthy
address resolution.
RAI_NOROUTE If set, this flag suppresses any lengthy route resolution.
ai_family Address family for the source and destination address. Supported families are: AF_INET, AF_INET6, and AF_IB.
ai_qp_type Indicates the type of RDMA QP used for communication. Supported types are: IBV_UD (unreliable datagram) and IBV_RC (reliable
connected).
ai_port_space
RDMA port space in use. Supported values are: RDMA_PS_UDP and RDMA_PS_TCP.
ai_src_len The length of the source address referenced by ai_src_addr. This will be 0 if an appropriate source address could not be dis-
covered for a given destination.
ai_dst_len The length of the destination address referenced by ai_dst_addr. This will be 0 if the RAI_PASSIVE flag was specified as part
of the hints.
ai_src_addr If provided, the address for the local RDMA device.
ai_dst_addr If provided, the address for the destination RDMA device.
ai_src_canonname
The canonical for the source.
ai_dst_canonname
The canonical for the destination.
ai_route_len
Size of the routing information buffer referenced by ai_route. This will be 0 if the underlying transport does not require
routing data, or none could be resolved.
ai_route Routing information for RDMA transports that require routing data as part of connection establishment. The format of the rout-
ing data depends on the underlying transport. If Infiniband transports are used, ai_route will reference an array of struct
ibv_path_data.
ai_connect_len
Size of connection information referenced by ai_connect. This will be 0 if the underlying transport does not require addi-
tional connection information.
ai_connect Data exchanged as part of the connection establishment process. If provided, ai_connect data must be transferred as private
data, with any user supplied private data following it.
ai_next Pointer to the next rdma_addrinfo structure in the list. Will be NULL if no more structures exist.
SEE ALSO
rdma_create_id(3), rdma_resolve_route(3), rdma_connect(3), rdma_create_qp(3), rdma_bind_addr(3), rdma_create_ep(3)
librdmacm 2010-07-19 RDMA_GETADDRINFO(3)