Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70239 - netkit-talkd patch to manage talk requests by the user through an easy config file
Summary: netkit-talkd patch to manage talk requests by the user through an easy config...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Guy Martin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-06 03:11 UTC by giorgio
Modified: 2005-05-12 09:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for netkit-ntalk-0.17/talkd/announce.c (announce.c.patch.gz,1.15 KB, patch)
2004-11-06 03:13 UTC, giorgio
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.