Thread View: news.software.nntp
7 messages
7 total messages
Started by Rainer Ginsberg
Fri, 03 Aug 2001 11:50
Sender: Header with User Authentication
Author: Rainer Ginsberg
Date: Fri, 03 Aug 2001 11:50
Date: Fri, 03 Aug 2001 11:50
20 lines
1566 bytes
1566 bytes
Hi, I'm running INN 2.2 with Perl authentication. When a user is authenticated and posts a message, INN adds a Sender: header to the message. When a user is not authenticated, INN does not add a Sender: header. My questions are: - Why does INN add the Sender: header for authenticated users? - Is there a configuration switch to turn this off? Thanks for your replies, Rainer -- Rainer Ginsberg Robert Bosch GmbH QI/INF4, IT Security Phone: +49-711-811-31263
Re: Sender: Header with User Authentication
Author: Terrance Richard Boyes
Date: Fri, 03 Aug 2001 17:38
Date: Fri, 03 Aug 2001 17:38
26 lines
2149 bytes
2149 bytes
Rainer Ginsberg <rainer.ginsberg@de.bosch.com> wrote: > I'm running INN 2.2 with Perl authentication. When a user is > authenticated and posts a message, INN adds a Sender: header > to the message. When a user is not authenticated, INN does > not add a Sender: header. In fact it will strip any Sender: already present. > My questions are: > - Why does INN add the Sender: header for authenticated users? Dunno about a reason, but it's pretty clear that it does happen in the src... nnrpd/post.c ProcessHeaders. > - Is there a configuration switch to turn this off? There doesn't appear to be, without turning off nnrpdauthsender, or hacking the code. I think you could do that in filter_nnrpd.pl, as it seems to get called after ParseHeaders. -- <URL:http://www.pierrot.co.uk/> Team AMIGA He who knows others is wise. He who knows himself is enlightened.
Re: Sender: Header with User Authentication
Author: milek
Date: Mon, 06 Aug 2001 10:37
Date: Mon, 06 Aug 2001 10:37
31 lines
2038 bytes
2038 bytes
Terrance Richard Boyes <tez@pierrot.co.uk> wrote:
> Rainer Ginsberg <rainer.ginsberg@de.bosch.com> wrote:
>
>> I'm running INN 2.2 with Perl authentication. When a user is
>> authenticated and posts a message, INN adds a Sender: header
>> to the message. When a user is not authenticated, INN does
>> not add a Sender: header.
>
> In fact it will strip any Sender: already present.
>
>> My questions are:
>> - Why does INN add the Sender: header for authenticated users?
>
> Dunno about a reason, but it's pretty clear that it does
> happen in the src... nnrpd/post.c ProcessHeaders.
>
>> - Is there a configuration switch to turn this off?
>
> There doesn't appear to be, without turning off nnrpdauthsender,
> or hacking the code. I think you could do that in filter_nnrpd.pl,
> as it seems to get called after ParseHeaders.
You can turn it off for specific access group in readers.conf by putting
nnrpdauthsender: false
--
Robert Milkowski
milek@wp-sa.pl
Re: Sender: Header with User Authentication
Author: Cevpx
Date: Wed, 08 Aug 2001 21:25
Date: Wed, 08 Aug 2001 21:25
36 lines
2564 bytes
2564 bytes
"milek" <milek@wp-sa.pl> wrote: > Terrance Richard Boyes <tez@pierrot.co.uk> wrote: >> Rainer Ginsberg <rainer.ginsberg@de.bosch.com> wrote: >> >>> I'm running INN 2.2 with Perl authentication. When a user is >>> authenticated and posts a message, INN adds a Sender: header to the >>> message. When a user is not authenticated, INN does not add a Sender: >>> header. >> >> In fact it will strip any Sender: already present. >> >>> My questions are: >>> - Why does INN add the Sender: header for authenticated users? >> >> Dunno about a reason, but it's pretty clear that it does happen in the >> src... nnrpd/post.c ProcessHeaders. >> >>> - Is there a configuration switch to turn this off? >> >> There doesn't appear to be, without turning off nnrpdauthsender, or >> hacking the code. I think you could do that in filter_nnrpd.pl, as it >> seems to get called after ParseHeaders. > > You can turn it off for specific access group in readers.conf by putting > > nnrpdauthsender: false [X-Trace header question] Last time I asked about getting INN to stop adding the X-Trace header I was told that at that time you needed to 'hack the code' but the option to turn that header off would be added in a future version. This was a little over a year ago; anyone know if this is possible now?
Re: Sender: Header with User Authentication
Author: Russ Allbery
Date: Thu, 09 Aug 2001 00:24
Date: Thu, 09 Aug 2001 00:24
16 lines
1746 bytes
1746 bytes
Cevpx <cevpx@yahoo.com> writes:
> Last time I asked about getting INN to stop adding the X-Trace header I
> was told that at that time you needed to 'hack the code' but the option
> to turn that header off would be added in a future version. This was a
> little over a year ago; anyone know if this is possible now?
Nope, status is still the same at the moment. Haven't had time to work on
this; there have been other higher-priority projects.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Sender: Header with User Authentication
Author: Cevpx
Date: Thu, 09 Aug 2001 02:40
Date: Thu, 09 Aug 2001 02:40
19 lines
2154 bytes
2154 bytes
"Russ Allbery" <rra@stanford.edu> wrote: > Cevpx <cevpx@yahoo.com> writes: > >> Last time I asked about getting INN to stop adding the X-Trace header I >> was told that at that time you needed to 'hack the code' but the option >> to turn that header off would be added in a future version. This was a >> little over a year ago; anyone know if this is possible now? > > Nope, status is still the same at the moment. Haven't had time to work > on this; there have been other higher-priority projects. My status as a code hacker hasn't changed either; gives me shivers just thinking of the damage I could do messing around with that source code. ;) Now I can stop poking around looking for a way to do that. Thank you for the quick reply.
Re: Sender: Header with User Authentication
Author: Cevpx
Date: Mon, 13 Aug 2001 17:05
Date: Mon, 13 Aug 2001 17:05
19 lines
1754 bytes
1754 bytes
"Russ Allbery" <rra@stanford.edu> wrote: > Nope, status is still the same at the moment. Haven't had time to work > on this; there have been other higher-priority projects. In post.c Header Table Commented lines 74 - 75 Changed index entries 22 - 34 to 21 - 33 /* X-Trace; set */ Commented: lines 505 - 518 make Seems to work. Evil header destroyed. No errors in log.
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