LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-26-2008, 07:43 PM   #1
Bendude
LQ Newbie
 
Registered: Jan 2008
Location: Australia, Mandurah
Distribution: Fedora Core 13
Posts: 27

Rep: Reputation: 15
Security risks using talk


could someone please tell me what security risks there are involved in using the talk protocol
 
Old 07-26-2008, 08:01 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
I don't think that are any outstanding security issues with talk; it hasn't changed in ages.

Are you going to use it on a local LAN or localhost only?
 
Old 07-26-2008, 08:32 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
In terms of origin, vulnerabilities and security fixes I think the old maintainers page sums it up pretty well, else you can check the CVE, the NVD or any changelog for any recent release of the package. For instance the latest CentOS-5 release is 0.17-29.2.2 which is based on netkit-0.17 which was released in 2001. And indeed there have not been any security fixes in recent years. In terms of use talkd doesn't have any authentication or authorisation features (I know of) other than its invitation tables and such and in general it is suggested it shouldn't be run at all or only when confined to a LAN (implying "trusted" users). Since it runs out of Xinetd you can use all of its tcpwrapper-like and other filters to mitigate risk by regulating access in addition to firewalling.
 
Old 07-26-2008, 11:14 PM   #4
Bendude
LQ Newbie
 
Registered: Jan 2008
Location: Australia, Mandurah
Distribution: Fedora Core 13
Posts: 27

Original Poster
Rep: Reputation: 15
cool thanks for the replys

i will check them links out.

We are only using it to communicate over the local lan.

Just figured it would be faster than msn.

At the moment it just keeps freezing and the checking for invitation so i thought we might have to try something else. I thought it would work easy as we both have the exact same distro

Thanks again

Ben
 
Old 07-26-2008, 11:17 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are you running the server on both machines?
 
Old 07-26-2008, 11:19 PM   #6
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
That's funny. You considered MSN over a public internet, through servers managed by others, with all the exploits that hit online chat programs and ask about talk security! :-0

What do you mean "freezing".
 
Old 07-26-2008, 11:56 PM   #7
Bendude
LQ Newbie
 
Registered: Jan 2008
Location: Australia, Mandurah
Distribution: Fedora Core 13
Posts: 27

Original Poster
Rep: Reputation: 15
very good point guess i dint think when i typed that lol.

When i does this

talk john@ipaddress

it says Error on read from talk daemon: Connection refused. Press any key...

then it goes past the message and just says

[Checking for invitation on caller's machine]

It just hangs here no connection or anything.

thanks for the help
 
Old 07-27-2008, 12:19 AM   #8
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Connection refused means the talk daemon is not listening; could be it is not running, or that it is not listening on interfaces other than the loopback interface. The remote server needs to be listening on the appropriate interfaces.

There is an older protocol of talk (long ago); I doubt anyone is using it today, but both ends must be running the newer version.
 
Old 07-27-2008, 12:28 AM   #9
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
That would have been the point of my post.

I don't know about Ubuntu, but the RH package is talk-server
 
Old 07-27-2008, 11:46 PM   #10
Bendude
LQ Newbie
 
Registered: Jan 2008
Location: Australia, Mandurah
Distribution: Fedora Core 13
Posts: 27

Original Poster
Rep: Reputation: 15
i have installed talk on both laptops using apt-get

Quote:
Connection refused means the talk daemon is not listening; could be it is not running, or that it is not listening on interfaces other than the loopback interface. The remote server needs to be listening on the appropriate interfaces.
How to i check this to listen on the appropriate interface i thought this would be set up correctly by default?

Thanks
 
Old 07-28-2008, 12:27 AM   #11
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Client => talk
Server => talkd, in.talkd or ntalkd

Do you also have the server installed?

ntalk listens on port 518, old talk on port 517.

netstat -a | grep talk
netstat -an | grep '\.51[78] '

What are the results?
 
Old 07-28-2008, 01:21 AM   #12
Bendude
LQ Newbie
 
Registered: Jan 2008
Location: Australia, Mandurah
Distribution: Fedora Core 13
Posts: 27

Original Poster
Rep: Reputation: 15
ok thanks for that reply.

I did not have talkd installed which i have now done.

i ran both of them commands in the terminal but neither gave a result?

I will try it when my friend comes home i think installing the server could fix the problems we were having though..

Will post back later to let you know how i go

Thanks for the help
 
Old 07-28-2008, 01:38 AM   #13
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 63
Talk with yourself to test. It will work just fine. Just be sure to answer yourself. :-)

Talkd is what billymayday in post 5 and 9 was referring to.

Last edited by Mr. C.; 07-28-2008 at 01:39 AM.
 
Old 07-28-2008, 01:45 AM   #14
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It's just a question of what the package is called in apt.

Talking to yourself is useally good - at least you should be able to understand the conversation. Pretty bad if you can't!
 
Old 07-28-2008, 03:34 AM   #15
Bendude
LQ Newbie
 
Registered: Jan 2008
Location: Australia, Mandurah
Distribution: Fedora Core 13
Posts: 27

Original Poster
Rep: Reputation: 15
this command now gives

netstat -a | grep talk


udp 0 0 192.168.1.102:34337 192.168.1.102:talk ESTABLISHED
udp 0 0 localhost:34110 localhost:talk ESTABLISHED


but still i can not talk not even to myself lol

it just gives the same error message

Error on read from talk daemon: Connection refused. Press any key.

Then when you go past it, it just hangs when checking for invitation on callers machine
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Top tech security risks and cash-sappers LXer Syndicated Linux News 0 05-30-2008 09:20 AM
hosting web and e-mail security risks metallica1973 Linux - Security 8 04-10-2006 09:39 AM
what are the security risks using 'passwd' in shell scripts? MisterESauce Linux - Security 5 04-10-2005 01:48 PM
Security risks of php based mysql queries TigerOC Linux - Security 5 04-10-2005 07:30 AM
samba/apache machine security risks fatman Linux - Networking 1 01-16-2004 09:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration