Sponsor Advertisements help keep UGN Security Online.
Sponsor Advertisements help keep UGN Security Online.
Want to earn prizes for clicking online advertisements? Join Rewards1.com.
|
|
|
#15976 - 10/21/02 06:20 PM
Telnet Server
|
UGN Elder
Registered: 03/01/83
Posts: 55
Loc: Iowa
|
Since i've installed telnet on my linux mandrake machine its worked perfectly. But when i went to try to log in today i found that it was refusing connections. So i did the normal, checked the firewall, made sure it was still installed as a server and everything, but to no luck. When i went to my deamons/services menu to make sure it was running, it wasn't there. Everything else that should be just not my telnet server. So i figured mabye the install was currupt or something so i went and uninstalled it, and reinstalled it. Install went well, no problems occured, go back to services menu, and still no telnet. Has anybody ever expirenced this type of problem before and if so how was it fixed.
Regards,
Skull
_________________________
Trust me, if i started killing people, there'd None of you left
|
|
Top
|
|
|
|
Sponsor Advertisements help keep UGN Security Online.
Sponsor Advertisements help keep UGN Security Online.
|
|
#15978 - 10/21/02 07:17 PM
Re: Telnet Server
|
Junior Member
Registered: 10/03/02
Posts: 37
|
Oh. I suppose I should go into why you shouldn't use telnet. Also, listing an alternative. Ok. The reason you don't want to use telnet is because it sends data over the network completely unencrypted. All you would need is someone sitting around sniffing your network and blammo. One lost password. What you want to run, which is probably already running, is ssh. If you need a program to connect to your SSH Server from Windows. Go to http://www.ssh.com and then go to downloads and download their Win SSH Program. Very nice. SSH though, encrypts the data that is transmitted through it so that you don't have to worry about people sniffing your connection. Also, you can transfer files through SSH and many other fun things.
|
|
Top
|
|
|
|
#15979 - 10/21/02 09:09 PM
Re: Telnet Server
|
Member
Registered: 03/12/02
Posts: 626
Loc: LAN
|
It is true for the most part about telnet. You should not be having this problem. Never know, you could have forgetten where you put it. Or even if it seemed to install correctly, it didn't didn't. There are several made telnets out there, java, perl, c++... Go search em out and d/l a new one. I got a Java telenet, which worked fine, for my uh uses.
_________________________
-hKzKnight "The ghost... Was never there and you'll never see me"
|
|
Top
|
|
|
|
#15980 - 10/22/02 12:07 AM
Re: Telnet Server
|
UGN Elder
Registered: 03/01/83
Posts: 55
Loc: Iowa
|
I use telnet because it is convient and comes default with windows, I would use ssh but i am unable to install it on my school computers with out going through the effort of disabling their security, and i just don't have time to do that to each one of their computers. I realize that it is a big security hole, and don't care all that much... If ssh came standard on windows i'd use it instead. Also it is a telnet server, not a client. And it has worked for about a year till i tryed to log in via that today, which it didn't work.
Skull,
_________________________
Trust me, if i started killing people, there'd None of you left
|
|
Top
|
|
|
|
#15981 - 10/22/02 12:52 AM
Re: Telnet Server
|
nobody
Registered: 03/02/02
Posts: 815
Loc: Ann Arbor
|
I carry putty with me on a floppy at school. It doesent matter what kind of security they have unless they dont allow you to run programs and use the floppy drives. No need to install anything just run the .exe. If i forget my floppy ill just download it to the computer im on and run it.
Hkz those are clients your refering to. Im certain skull is refering to the telnet deamon or server or telnetd what ever you wanna call it.
|
|
Top
|
|
|
|
#15982 - 10/22/02 01:42 AM
Re: Telnet Server
|
Member
Registered: 03/12/02
Posts: 626
Loc: LAN
|
Ahh yes you are right, sorry didn't read that detail. Was working late. Well wait it out skull, it might actully just be the server is down. If not check that the port and term type are correct, maybe you did something. Never know. Nice idea sin, I carry all sorts of disks on me, got a floppy Unix (like a hundred) on disk, put that in the school pcs. Anway... Let us know skull.
_________________________
-hKzKnight "The ghost... Was never there and you'll never see me"
|
|
Top
|
|
|
|
#15983 - 10/22/02 05:17 PM
Re: Telnet Server
|
Junior Member
Registered: 10/03/02
Posts: 37
|
I'd imagine he'd have known if the server was "down" considering, well, that it was HIS server in the first place. Lets see. Skull, since you have decided to go ahead and stick to unsecure connections, which is Ok so long as you don't care about your boxes security, then if you are using RedHat 7.1 or later. Type /sbin/service xinetd start. Then try connecting. If that doesn't work. Do an ls /etc/xinetd.d/. If there is a file in there called telnet. Open it up. vi /etc/xinetd.d/telnet. Look at the file. Does it by chance say "disable = yes"? If so. Change that to "disable = no". Then try telneting. Guaranteed success. This will probably work for Mandrake and SuSE as well. The default location of the in.telnetd executable by the way is /usr/sbin/in.telnetd. Here is what my /etc/xinetd.d/telnet file looks like. Feel free to create the file if it doesn't already exist. (So long as you have an /etc/xinetd.d directory.) service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = yes
}Just put that in the directory and everything will work. Considering you change disable on over to no. Oh. Also. Do a /sbin/chkconfig --list. Make sure xinetd is listed as on in run levels 3, 4, and 5. If they aren't. Do a /sbin/chkconfig --level 345 xinetd on. If that doesn't work. Do --levels. Can't remember off the top of my head which one it is. Well. That should explain a lot maybe. Let me know. Oh yes. Another thing. To check to see whether you have the telnet server even installed. If you are using a rpm based distribution, do this rpm -qa | grep telnet-server. This should pop up a response. If you don't get anything from that. Install the damned thing. This should be it. If you need any more info, feel free to let me know.
|
|
Top
|
|
|
|
#15984 - 10/24/02 07:27 PM
Re: Telnet Server
|
UGN Elder
Registered: 03/01/83
Posts: 55
Loc: Iowa
|
Finally an intellegent responce from someone who actually read the post, i'll give those things a try, and get back to ya. And yes, i do realize that telnet is like going outside and yelling my passworld to the world, and at the moment convience is more important then security, eventually i'm sure i'll make the switch but am well, to lazy at the current time.
Regards,
Skull
_________________________
Trust me, if i started killing people, there'd None of you left
|
|
Top
|
|
|
|
#15986 - 10/25/02 01:59 AM
Re: Telnet Server
|
Member
Registered: 03/12/02
Posts: 626
Loc: LAN
|
Some lil info (future refrence etc, tcp wrappers) Probably TCP Wrappers and the old "double reverse lookup problem." Try adding an entry in /etc/hosts to refer back to your client(s) and make sure that your /etc/nsswitch.conf and /etc/hosts.conf are configured to honor "files" over DNS and NIS. On Linux systems the /etc/inetd.conf is usually configured to run most programs under an access control and logging utility called "TCP Wrappers" (/usr/sbin/tcpd). That utility refers to a couple of configuration files (/etc/hosts.allow, and /etc/hosts.deny) and it does some "paranoid" consistency checking to try and ensure that the client "is who he claims to be." The specifics of this paranoid checking are referred to as a "double reverse DNS lookup." Linux uses a modular name services resolution system. Newer versions of Linux use the /etc/nsswitch.conf files to control the list of name services that are used for each name space (users/accounts, groups, hosts and networks, services, mail aliases, file server maps, etc). In most cases you wouldn't have to modify the nsswitch.conf to make it look at the /etc/hosts file. In other cases you might other sites of refrence Perl's NET::Telnet and NET::Telnet::CISCO modules may have what you're looking for. Check http://www.cpan.org. (please watch what neg shit you say)
_________________________
-hKzKnight "The ghost... Was never there and you'll never see me"
|
|
Top
|
|
|
|
#15987 - 10/25/02 05:08 AM
Re: Telnet Server
|
UGN Elder
Registered: 03/01/83
Posts: 55
Loc: Iowa
|
Cheers good fellows, I got it up and running again. Thank you for the info specially on the TCP Wrappers, i'll have to go do some research to further the extent of my knowlege on em, but i got a few tests done using the hosts.deny and my windows machine, and everything seems to be working
Regards,
Skull
_________________________
Trust me, if i started killing people, there'd None of you left
|
|
Top
|
|
|
|
|
Registered: 03/02/02
Posts: 134
|
|
2198 Members
46 Forums
24891 Topics
60061 Posts
Max Online: 1567 @ 04/25/10 10:20 AM
|
|
|
0 registered (),
316
Guests and
245
Spiders online. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|