🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Brian Kraft Wed, 12 Aug 1998 00:00
INN - 502 response re-wording?
#30436
Author: Brian Kraft
Date: Wed, 12 Aug 1998 00:00
11 lines
893 bytes
How does one in INN 1.7.2 alter the response code dialog from
"502 You have no permission to talk.  Goodbye." to something else
such as "502 Sorry, access restricted at this time.  Goodbye." ?
Do the words 'no permission' have to be in the dialog to comply
with the RFC?  This re-wording could be for an installation
(not mine) where the access permissions change daily to better
serve business clients.
-- 
b h k

Re: INN - 502 response re-wording?
#30435
Author: Andrew Gierth
Date: Wed, 12 Aug 1998 00:00
17 lines
1255 bytes
>>>>> "Brian" == Brian Kraft <bhkraft@gj.net> writes:

 Brian> How does one in INN 1.7.2 alter the response code dialog from
 Brian> "502 You have no permission to talk.  Goodbye." to something else
 Brian> such as "502 Sorry, access restricted at this time.  Goodbye." ?

See nnrpd/nnrpd.c

 Brian> Do the words 'no permission' have to be in the dialog to comply
 Brian> with the RFC?

No. Only the 502 code is fixed; the text can say anything you like.

-- 
Andrew.

Re: INN - 502 response re-wording?
#30490
Author: Volker Borchert
Date: Fri, 14 Aug 1998 00:00
15 lines
1210 bytes
In article <6qsnub$2g9$1@jumbo.demos.su>, bhkraft@gj.net (Brian Kraft) writes:
|> How does one in INN 1.7.2 alter the response code dialog from
|> "502 You have no permission to talk.  Goodbye." to something else
|> such as "502 Sorry, access restricted at this time.  Goodbye." ?

The "at this time" leads me to conclude that you want to signal a
temporary failure, and as such you would need to change it to 4xx
to comply with the coding scheme.

-- 

"I'm a doctor, not a mechanic." Dr Leonard McCoy <mccoy@ncc1701.starfleet.fed>
"I'm a mechanic, not a doctor." Volker Borchert  <bt@teknon.de>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads