I am trying to use telnet from linux to connect to the port specified by me and trying to handle control C. But once Ctrl C is pressed the output on the client side stops showing. The server sends data but client doesnt print the same.
I am trying to find the difference between the above two services. Both are under xinetd and can someone please explain the difference between them (is one more secure than the other one?)
I have some APC UPS devices that I'm trying to log in to. They are currently configured to use telnet -- as a safety precaution, they can only be accessed from our 'bounce' machine. So because I want to do this from a script, I'm doing it like this ssh decoherence@bouncemachine telnet stupidAPCdevice
This works fine on all the other devices I'm trying this on (Cisco gear, mostly) but the APC won't take any input. I get the login prompt but when I type in my username, ssh echoes it but the APC doesn't appear to ever receive it. It just hangs there at the username prompt. I'm guessing that its telnet implementation is a bit weird (seriously, all the management stuff on APC gear really sucks but anyway
Anyway, I'm just wondering if there are any simple flags I can pass to telnet to make it cooperate. The man page talks about a 'mode' command that lets you fiddle with LINEMODE which sounds like it might be promising but I don't know how to set that in the command line as opposed to interactively.
I have seen there are some tricks to handle transparents switches using Nagios. Does anybody know if it is possible to handle unmanaged switches connected in daisy chain?In my network I have some devices connected in this way [switch]--[dev_1]--[dev_2]--[dev_3]
where "switch" is a managed switch" and dev_i is a device with an unmanaged switch inside (no snmp available). All the devices have an IP address. Is it possible to get the network topology with Nagios?
I have Ubuntu 9.10 hooked up to my router through a wired NIC, and a couple of windows machines that are connected to the router through wireless cards.I want to telnet or ssh into the ubuntu box using putty on one of the windows machines. I have attempted to do this using the ubuntu ip address and the name of the box, and neither approaches have worked.
I would like to write a small configuration utility that will act as a daemon on the telnet port and SSH port that will only allow access to, and modification of, specific information in a structure imposed by the utility. How do I set this utility up so that when a user opens a telnet connection (or ssh) to the device, they are actually connected to the utility?
I have a doubt. If i write for instance the command "telnet myserver.mysite" and I manage to connect to the server, how many TCP connections are established?
my company there is 1 RHEL5 server and around 50 systems connected to it( running windows ). I want to know who is pinging or telneting to the server how can I find this information on the server OR where should I look for this information in the linux.
if I want to explore on this topic (i.e. who is trying to connect to server, from where user accessing server, whats his/her ip, whats his/her os etc. ) where should I look for it on the net ??
i want to open specific port using iptables i.e 3159 Whenever i tried to telnet it generates the following error
Code:
# telnet 172.16.4.100 3195 Trying 172.16.4.100... telnet: connect to address 172.16.4.100: No route to host telnet: Unable to connect to remote host: No route to host
but when I stopped iptables
Code:
# service iptables stop
Its working fine
i added the ports in iptables i.e.
Code:
#iptables -A INPUT -p tcp --dport 3195 -j ACCEPT
for safe side I also added telnet port
Code:
# iptables -A INPUT -p tcp --dport 23 -j ACCEPT
but result was same.... In short telnet works without iptables but with iptables it generates the error mentioned above
I'm configuring Nagios at the moment, but I'm doubting my approach to transparent switches a bit. It seems from reading the documentation that Nagios wants me to ignore transparent switches, although I also doubt this interpretation of mine.
A little example, a VPN: Code: demarcation point | [router] / [switch][switch] | / | [7 clients] [switch] [switch] / | [6 clients] [4 clients] [5 clients]
As you can see, there are 22 clients connected to the router. Since switches don't have an address, they cannot be measured. But if I ignore the switches, the schema is an oversimplified picture of reality. So what I'm looking for is a way to display the switches, even though they don't have an address. What I did was, I created the switches as where they proper fully featured ones, and listening to 127.0.0.1 as address. Luckily, this tricked Nagios. And it works, but it's not very elegant. Is there a better way to approach this pseudo-problem? Perhaps a build-in I overlooked?
what kind of dist/software would you recomend to use for a a vpn server that can handle 10 diffrent nets each seperated from the other if i connect with user1 i get on net1 and user2 gets on net2 the vpn server is always connected to the other location at all time i just want to be able to conenct in to my the net i want to the reason i dont want to go Destination is that the vpn server is gonna handle otherstuff that the nets will be conencted to input
fc14 do not handle nis info correctly when showing my network homedir. It is shown as "nobody nobody". Local files are shown with correct UID:GID
When I log in on an RedHat el5 machine (on the same network), every thing is ok, but when I log in on a fc14 machine my network homedir files are shown as "nobody nobody"
My homedir is placed on a REDHat el6 and using nfsv4
Does anyone have a clue as to where configuartion can be changed?
I have a registered domain (let say domain.com ) with a web server (www.domain.com) hosted somewhere online.
I handle the mail part in my private network, by giving the MX my WAN IP (111.222.333.444 )and NAT routing mail stuff to the mail server (10.7.167.3) It works fine.
I will have to handle sub-domains (foo.domain.com & bar.domain.com) and also another domain (anotherdomain.com) in my network. In that case NAT routing isn't going to work ...
What do I need to set this up ? I guess I need a DNS server in my network but I'm not sure if there won't be a conflict somewhere with the Registrar's DNS and mine. Or do I have to take the whole DNS of my domain on this new server and make it half public/half private in some way ?
I have a machine with 3 internet facing nics, all of which have static IP's. The IP's are all in the same subnet, and use the same default gateway.Using ip tables and rules, will I be able to make all three of these able to handle traffic?I have the following configured, but it doesn't appear to work:
# ip rule 0:from all lookup local 500:from 72.43.220.146/29 lookup 1
I'm running Telnet Server, VFTP, and VNC on a Fedora 14 box. The box's internal IP is 192.168.1.222 This machine is configured to live in the DMZ, The firewall is up on both the router and this box. I can remote in from home using our external IP. I can FTP. I can Telnet. All using our external IP. When i'm in the office, i can remote in using our external IP. I can FTP. I can Telnet. Again, all with the external IP. If i attempt to telnet 192.168.1.222 i get a connection refused. i can ping the 192.168 address
nmap tells me that all 1000 ports on 192.168.1.222 are closed nmap tells me that my expected ports are open on the external IP.
.... This is a relatively new conundrum as it "used to work", and only appears not to since our last reboot (power outage). I know i have to be missing something simple here, but i differ to the experts.
I have a sendmail daemon running on Linux, I can telnet @ port 25 from local shell, however if I telnet from a remote system @ port 25, it doesn't work. There is no firewall in between.
Wrong prefix, its Ubuntu not Lubuntu. Three devices:
Laptop 1: ---Can ssh to any device. ---Accepts any internal ssh.
Desktop 1: ---Can ssh to any device. ---Accepts any internal ssh.
Desktop 2: ---Can ssh to any device. ---Can ssh to itself through localhost or 192.168.1.130. ---Any ssh(and telnet) aimed at this device times out.
All three devices recently had openssh-server installed yet only one seems deviant. I've been trying to ssh into desktop 2 to no avail, yes the machine is reachable, yes sshd is running, yes ufw is disabled, and no there is no external firewall that I know of. Anything else I can try? The router for the LAN being dd-wrt.
I have a customer who is complaining that they can connect to prt y on IP x with telnet. They are seeing the following:
telnet x.x.x.x y Trying x.x.x.x... Connected to x.x.x.x. Escape character is '^]'.
after some time the connection of course times out. Connection closed by foreign host. There is no telnet service running on this port so they cannot do anything, but they are complaining tht the fact that telnet "connects" is a security risk. I am having difficulty explaining why they are able to connect with telnet. I know it has to do with the socket layer API in Linux but I am having difficulty explaining this sufficiently. I also can't just say "this is the way linux works" to them. I am looking through "UNIX Network Programming" by W.
I have a question about telnet.Is there any way to configure a telnet server without disable firewall.I am using redhat 5.2 and fedora 12.I have lack of knowledge about firewall.
i have a ubuntu server and no of nodes.give me any suggesions for how to handle the node users login with my permission?.i mean than they can switching on and boot the system but the system want to stay in unusable stage.After getting my permission they can operate the system.
I can telnet mx1.hotmail.com 25 from all other machines, apart from my newly installed ubuntu 9.10 laptop. I just installed exim4 and mailx and set in /etc/exim4/update-exim4.conf.conf: dc_eximconfig_configtype='internet' But I can't send mail cause telnet mx1.hotmail.com 25 doesn't work. I can ping mx1.hotmail.com just fine.
I have recently upgraded to a VPS for the purpose of web hosting a group of sites related to my business.The reason for the upgrade was because we wish to run a shopping cart software which required greater memory for PHP and the VPS was the most economic solution. So, I have very basic linux knowledge but I am the definition of a newbie when it comes to going further than just scratching the surface of server configuration! I have successfully hosted our main site for a number of weeks but recently the postfix service stopped sending mail. I have Plesk Control Panel installed and postfix continually shows as not started even though in SSH the service status is definitely running - I have gone through the troubleshooting checklist here (http://www.postfix-book.com/debugging.html#d0e6) but can't get any further than section 2.1 as when running the host command (#host relay-test.mail-abuse.org), I get # -bash: host:command not found. I've gone further in the document but not found any issues...
When postfix was working properly (i.e. sending emails!), the plesk CP showed the service as started and all emails from the website were sending as normal. The mailq command is showing the messages stuck in the mailq and the maillog shows the following:- http://pastebin.centos.org/36446 - these are the latest few pages.To check the configuration and basic elements I have flushed the mailq (which shows a stack of messages waiting) and I have also spent a long time (2 weeks) reading up on the parameters that should be in main.cf and master.cf.I have found that when I 'telnet localhost 25' I get the following response...[root@s15397216]# telnet localhost 25Trying 127.0.0.1...Connected to localhost.Escape character is '^]'.
I'm working on setting up access for our developer via Telnet, we are on a local network behind a physical firewall. I set up the standard Telnet service for Fedora15 and from localhost I can login via any user and root.... However I cannot login from another terminal on the LAN, even though I can ping and FTP to the fedora15 box. I added the firewall rules for telnet, that did not work, so I disabled the firewall, still cannot get a connection via port 25. I feel either port 25 is closed in another manor or the telnet is restricted to the localhost.
Also I cannot login to root to configure the Firewall Desktop GUI, only standard users, is this an issue? I also cannot login to the console as root even though I use the correct password.I can only su to root and sometimes it is a PITA. There must be some settings to clear these issues up...