the reason of that problem is that unlike other proxies, the plug needs an
additionnal port
argument. so "/usr/stuff/plug-gw -daemon port args args secondport" should
work.
even if port=secondport, you need it.
explanation:
note that the code of the plug-gw (from the FWTK of course!) shows that if
the second arg is not passed, it sets
srvnam to plug-gw, then it sets portid to the integer port value of srvnam,
by calling str_to_port(),
but this function complains when it cannot convert a string to a port number.
this means that if you add plug-gw in /etc/services, then i will work. but
this would
be horrible!
also, if you make a symlink called nttp, and run nntp instead of plug-gw,
it will also works.
however, this is a bug/misfeature. it would be more reasonable to use the
port passed in
the "-daemon" option if no other port is given (no one ever symlinks
plug-gw, so trying
getservbyname on th progname will certainly always fail).
regards,
mouss
At 10:29 27/07/00 -0400, Rick Murphy wrote:
>At 06:29 PM 7/27/2000 +0530, SAJU NAIR wrote:
>>Can any one tell how to access newsgroups through TIS firewall ?
>Use a plug-gw on port 119, pointing to your news server.
> -Rick
>
>
>-
>[To unsubscribe, send mail to [EMAIL PROTECTED] with
>"unsubscribe firewalls" in the body of the message.]
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]