Sponsored Content
Full Discussion: telnet on specific port??
Top Forums UNIX for Advanced & Expert Users telnet on specific port?? Post 302199515 by johnf on Tuesday 27th of May 2008 05:11:07 AM
Old 05-27-2008
First I must ask why you would want to telnet to another port number as this will only give you access to the functions associated with the application which has that port assigned to it! Using telnet to access any port other than the TCP / UDP port assigned to telnet is a method of checking whether the port is open through a firewall. What are you trying to achieve?
 

10 More Discussions You Might Find Interesting

1. IP Networking

block telnet to specific port

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

disabled telnet now need port 23 or port 22

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. Shell Programming and Scripting

Telnet IP and Port Script

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

4. AIX

Telnet to port

can some one help me ? what happens when we telnet to a port ? example telnet 192.168.0.xx 1234 where 1234 is a port number Thank you (5 Replies)
Discussion started by: anwesh
5 Replies

5. Windows & DOS: Issues & Discussions

Telnet to a serial port

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

Can't telnet to port 25 on the host.

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

telnet port 23

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

telnet for port 5433 is not working while it works for port 22

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

telnet echoing 'trying ip' but no port number

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

Telnet using port and execute cmd

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
stone(1)						      General Commands Manual							  stone(1)

NAME
stone - a simple TCP/IP packet repeater SYNOPSYS
stone [-d] [-n] [-u max] [-f n] [-l] [-z SSL] st [-- st] ... OPTIONS
-d Increase the debug level. -z SSL encryption. -n IP addresses and service port numbers are shown instead of host names and service names. -u max max is integer. The program will memorize max sources simultaneously where UDP packets are sent. -f n n is integer. The program will spawn n child processes. -l Sends error messages to the syslog instead of stderr. st is one of the followings; Multiple st can be designated, separated by --. (1) host:port sport [xhost ...] (2) host:port shost:sport [xhost ...] (3) display [xhost ...] (4) proxy sport [xhost ...] (5) host:port/http request [hosts ...] (6) host:port/proxy header [hosts...] The program repeats the connection on port sport to the other machine host port port. If the machine, on which the program runs, has two or more interfaces, type (2) can be used to repeat the connection on the specified interface shost. display [xhost ...] Abbreviating notation. The program repeats the connection on display number display to the X server designated by the environment variable DISPLAY. proxy sport [xhost ...] Http Proxy. Specify the machine, on which the program runs, and port sport in the http proxy settings of your WWW browser. host:port/http request [hosts ...] Repeats packets over http request. request is the request specified in HTTP 1.0. host:port/proxy header [hosts...] host:port/proxy header [hosts...] Type (6) repeats http request with header in the top of request headers. xhost Only machines xhost can connect to the program. xhost/mask Only machines on specified networks are permitted to connect to the program. In the case of class C network 192.168.1.0, for exam- ple, use 192.168.1.0/255.255.255.0. sport/udp Repeats UDP packets instead of TCP packets. port/ssl Repeats packets with encryption. sport/ssl Repeats packets with decryption. sport/http Repeats packets over http. DESCRIPTION
Stone is a TCP/IP packet repeater in the application layer. It repeats TCP and UDP packets from inside to outside of a firewall, or from outside to inside. Stone has following features: 1. Stone supports Win32. Formerly, UNIX machines are used as firewalls, but recently WindowsNT machines are used, too. You can easily run Stone on WindowsNT and Windows95. Of course, available on Linux, FreeBSD, BSD/OS, SunOS, Solaris, HP-UX and so on. 2. Simple. Stone's source code is only 2000 lines long (written in C language), so you can minimize the risk of security holes. 3. Stone supports SSLeay. Using SSLeay developed by Eric Young, Stone can encrypt/decrypt packets. 4. Stone is a http proxy. Stone can also be a tiny http proxy. EXAMPLES
outer: a machine in the outside of the firewall inner: a machine in the inside of the firewall fwall: the firewall on which the stone is executed stone 7 outer Repeats the X protocol to the machine designated by the environmental variable DISPLAY. Run X clients under DISPLAY=inner:7 on outer. stone outer:telnet 10023 Repeats the telnet protocol to outer. Run telnet fwall 10023 on inner. stone outer:domain/udp domain/udp Repeats the DNS query to outer. Run nslookup - fwall on inner. stone outer:ntp/udp ntp/udp Repeats the NTP to outer. Run ntpdate fwall on inner. stone localhost:http 443/ssl Make WWW server that supports https. Access https://fwall/ using a WWW browser. stone localhost:telnet 10023/ssl Make telnet server that supports SSL. Run SSLtelnet -z ssl fwall 10023 on inner. stone proxy 8080 http proxy. Where fwall is a http proxy (port 8080): stone fwall:8080/http 10023 'POST http://outer:8023 HTTP/1.0' stone localhost:telnet 8023/http Run stones on inner and outer respectively. Repeats packets over http. stone fwall:8080/proxy 9080 'Proxy-Authorization: Basic c2VuZ29rdTpoaXJvYWtp' for browser that does not support proxy authorization. COPYRIGHT
All rights about this program stone are reserved by the original author, Hiroaki Sengoku. The program is free software; you can redis- tribute it and/or modify it under the terms of the GNU General Public License (GPL). NO WARRANTY
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. AUTHOR
Hiroaki Sengoku sengoku@gcd.org http://www.gcd.org/sengoku/ Version 2.0 stone(1)
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy