Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111556 - whoischk is patched to use jwhois in gentoo, which breaks functionality
Summary: whoischk is patched to use jwhois in gentoo, which breaks functionality
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Guillaume Destuynder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-05 06:18 UTC by Guillaume Destuynder (RETIRED)
Modified: 2006-11-09 07:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Destuynder (RETIRED) gentoo-dev 2005-11-05 06:18:28 UTC
jwhois is caching whois queries. whoischk is made to check when a domain change
or becomes available, however, because of the cache, whoischk will be unable to
check in time.
original whoischk uses whois.
To fix this simply also patch it so that it uses "-f" as jwhois argument, this
will effectively disable cache for whoischk.

On a side note, whois queries are throttled. It means if you monitor 2 or more
domains using whoischk, it will not work because it requests too fast.
I added a sleep 8 to my whoischk so that it works correctly.
I can make a clean patch if necessary. (with option to force sleeping time)

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

Actual Results:  
whoischk checks over local whois cache

Expected Results:  
whoischk should check domains change when they happen
Comment 1 SpanKY gentoo-dev 2006-10-23 10:19:42 UTC
i dont maintain whoischk ...

feel free to add the fix yourself Guillaume
Comment 2 Guillaume Destuynder (RETIRED) gentoo-dev 2006-11-09 07:34:28 UTC
added the -f flag to the jwhois patch and added a patch to throttle queries.
the patch could be enhanced to work per whois server, but it does the work.
in cvs.