Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 70239

Summary: netkit-talkd patch to manage talk requests by the user through an easy config file
Product: Gentoo Linux Reporter: giorgio <giorgio>
Component: Current packagesAssignee: Guy Martin (RETIRED) <gmsoft>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: greg_g
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for netkit-ntalk-0.17/talkd/announce.c

Description giorgio 2004-11-06 03:11:54 UTC
I've developed this small patch to allow the user to manage talk requests.
The configuration file should be named ~/.talkrc and accepts only three entries:

DEFAULT: defines the default behaviour.
DEFAULT 1   accept talks by default
DEFAULT 0   refuse talks by default

ALLOWED: a list of allowed users which override DEFAULT value
ALLOWED john jack tom

DENIED: a list of denied users which override DEFAULT value
DENIED hugo geena bill

Obviosly root user is not affected by ~/.talkrc filter
talkd will works as usual if no ~/.talkrc is present
Each talk request/refuse is logged in the file ~/.talk.log with this format:

request: user@linuxbox at Sat Nov  6 11:19:12 2004

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




You can download the patch file from:
http://mosquito.scumm.it/dloads/announce.c.patch.gz
Comment 1 giorgio 2004-11-06 03:13:44 UTC
Created attachment 43394 [details, diff]
patch for netkit-ntalk-0.17/talkd/announce.c
Comment 2 Guy Martin (RETIRED) gentoo-dev 2005-05-12 09:22:51 UTC
Please submit enhancement upstream.