🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Rebecca Ore Wed, 14 Mar 2001 06:24
Setting the NNTP posting host
#51181
Author: Rebecca Ore
Date: Wed, 14 Mar 2001 06:24
13 lines
1372 bytes
I'm running INN-2.3.1 and need to have an NNTP posting host to post in
certain hieararchies, but some of my users are coming in from
dedicated connections.  I've heard that there is a way to use my
server as the NNTP posting host regardless of where my users
originally logged in.  What part of inn.conf will I need to change to
make the NNTP posting host show as my server and not the user's
original cable modem or dsl?

-- 
Rebecca Ore
http://www.ogoense.net/rebecca
Re: Setting the NNTP posting host
#51182
Author: Russ Allbery
Date: Wed, 14 Mar 2001 06:52
24 lines
2207 bytes
Rebecca Ore <rebecca@ogoense.net> writes:

> I'm running INN-2.3.1 and need to have an NNTP posting host to post in
> certain hieararchies, but some of my users are coming in from dedicated
> connections.  I've heard that there is a way to use my server as the
> NNTP posting host regardless of where my users originally logged in.
> What part of inn.conf will I need to change to make the NNTP posting
> host show as my server and not the user's original cable modem or dsl?

Since doing that is equivalent to just not putting in an NNTP-Posting-Host
header at all in terms of the information exposed, I'd recommend doing the
latter and bringing this up as an issue in the config groups in those
other hierarchies.  IIRC, this has come up before and there was some
disagreement over whether the requirement to have an NNTP-Posting-Host
header was really accomplishing anything useful when the origination point
was a small site with a pretty easily enumerated list of users all of whom
the news admin knew personally to some degree.

-- 
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: Setting the NNTP posting host
#51184
Author: Rebecca Ore
Date: Wed, 14 Mar 2001 07:20
31 lines
2395 bytes
Russ Allbery <rra@stanford.edu> writes:

> Rebecca Ore <rebecca@ogoense.net> writes:
> 
> > I'm running INN-2.3.1 and need to have an NNTP posting host to post in
> > certain hieararchies, but some of my users are coming in from dedicated
> > connections.  I've heard that there is a way to use my server as the
> > NNTP posting host regardless of where my users originally logged in.
> > What part of inn.conf will I need to change to make the NNTP posting
> > host show as my server and not the user's original cable modem or dsl?
> 
> Since doing that is equivalent to just not putting in an NNTP-Posting-Host
> header at all in terms of the information exposed, I'd recommend doing the
> latter and bringing this up as an issue in the config groups in those
> other hierarchies.  IIRC, this has come up before and there was some
> disagreement over whether the requirement to have an NNTP-Posting-Host
> header was really accomplishing anything useful when the origination point
> was a small site with a pretty easily enumerated list of users all of whom
> the news admin knew personally to some degree.

A quick check showed that none of the other relevant hieararchies were
requiring it.  If this turns out to not be the case, I'm sure people
will let me know :).

I'll bring it up in net.config if anyone wants to post there.


-- 
Rebecca Ore
http://www.ogoense.net/rebecca
Re: Setting the NNTP posting host
#51183
Author: Russ Allbery
Date: Wed, 14 Mar 2001 07:34
14 lines
1514 bytes
Rebecca Ore <rebecca@ogoense.net> writes:

> I'll bring it up in net.config if anyone wants to post there.

The main practical question is probably whether anyone is filtering out
posts without NNTP-Posting-Host (I'm not, but I'm not using the same
filters as most folks).

-- 
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: Setting the NNTP posting host
#51185
Author: Obscure Meowbot
Date: Wed, 14 Mar 2001 07:41
43 lines
2474 bytes
Rebecca Ore <rebecca@ogoense.net> wrote:

> I'm running INN-2.3.1 and need to have an NNTP posting host to post in
> certain hieararchies, but some of my users are coming in from
> dedicated connections.  I've heard that there is a way to use my
> server as the NNTP posting host regardless of where my users
> originally logged in.  What part of inn.conf will I need to change to
> make the NNTP posting host show as my server and not the user's
> original cable modem or dsl?

You can disable NNTP-Posting-Host in inn.conf, but that leaves
X-Trace.

You could do something like this.  Note that this stuff is done in
filter_nnrpd, not filter_innd.

#
# filter_nnrpd.pl
#
sub
filter_post
{
    my $result = "";
    $modify_headers = 31337;

    # Hey, I gotta try.
    $hdr{'X-Meow'} = $hdr{'X-Meow'} || 'Meow';

    # Set this to the posting host you want to substitute.
    my $forcehost = "kremvax.gov.su";

    $hdr{'NNTP-Posting-Host'} = $forcehost;

    # clobber posting host but leave server/time/PID info intact.
    # Got logs?
    my @newtrace = split / /, $hdr{'X-Trace'};
    $newtrace[3] = $forcehost;
    $hdr{'X-Trace'} = join ' ', @newtrace;

    $result ;
}

Re: Setting the NNTP posting host
#51186
Author: Rebecca Ore
Date: Wed, 14 Mar 2001 08:14
55 lines
2714 bytes
Obscure Meowbot <meowbot@meowing.net> writes:

> Rebecca Ore <rebecca@ogoense.net> wrote:
> 
> > I'm running INN-2.3.1 and need to have an NNTP posting host to post in
> > certain hieararchies, but some of my users are coming in from
> > dedicated connections.  I've heard that there is a way to use my
> > server as the NNTP posting host regardless of where my users
> > originally logged in.  What part of inn.conf will I need to change to
> > make the NNTP posting host show as my server and not the user's
> > original cable modem or dsl?
> 
> You can disable NNTP-Posting-Host in inn.conf, but that leaves
> X-Trace.
> 
> You could do something like this.  Note that this stuff is done in
> filter_nnrpd, not filter_innd.

Okay.  Anything from the old filter that needs to be kept?

I'll test this.  Thanks, ever so, again.  We're all having fun, come
visit someday.

> 
> #
> # filter_nnrpd.pl
> #
> sub
> filter_post
> {
>     my $result = "";
>     $modify_headers = 31337;
> 
>     # Hey, I gotta try.
>     $hdr{'X-Meow'} = $hdr{'X-Meow'} || 'Meow';
> 
>     # Set this to the posting host you want to substitute.
>     my $forcehost = "kremvax.gov.su";
> 
>     $hdr{'NNTP-Posting-Host'} = $forcehost;
> 
>     # clobber posting host but leave server/time/PID info intact.
>     # Got logs?
>     my @newtrace = split / /, $hdr{'X-Trace'};
>     $newtrace[3] = $forcehost;
>     $hdr{'X-Trace'} = join ' ', @newtrace;
> 
>     $result ;
> }
> 

-- 
Rebecca Ore
http://www.ogoense.net/rebecca
Re: Setting the NNTP posting host
#51188
Author: A Meowbot
Date: Wed, 14 Mar 2001 08:29
17 lines
1965 bytes
Rebecca Ore <rebecca@ogoense.net> wrote:

> Obscure Meowbot <meowbot@meowing.net> writes:

>> You could do something like this.  Note that this stuff is done in
>> filter_nnrpd, not filter_innd.

> Okay.  Anything from the old filter that needs to be kept?

If all you have is the one that came with INN, you can just
replace it.  The stock version doesn't actually do anything.

> I'll test this.  Thanks, ever so, again.  We're all having fun, come
> visit someday.

I don't even know why I'm awake right now.
Re: Setting the NNTP posting host
#51187
Author: Rebecca Ore
Date: Wed, 14 Mar 2001 09:00
27 lines
1911 bytes
A Meowbot <meowbot@meowing.net> writes:

> Rebecca Ore <rebecca@ogoense.net> wrote:
> 
> > Obscure Meowbot <meowbot@meowing.net> writes:
> 
> >> You could do something like this.  Note that this stuff is done in
> >> filter_nnrpd, not filter_innd.
> 
> > Okay.  Anything from the old filter that needs to be kept?
> 
> If all you have is the one that came with INN, you can just
> replace it.  The stock version doesn't actually do anything.
> 
> > I'll test this.  Thanks, ever so, again.  We're all having fun, come
> > visit someday.
> 
> I don't even know why I'm awake right now.

Me neither -- and we are both on the same coast.  It appears to be
working just fine -- two different users tested it.


-- 
Rebecca Ore
http://www.ogoense.net/rebecca
Re: Setting the NNTP posting host
#51204
Author: bill davidsen
Date: Wed, 14 Mar 2001 17:25
24 lines
2133 bytes
In article <8766hcssp4.fsf@adsl-141-154-24-189.bostma.adsl.bellatlantic.net>,
Obscure Meowbot  <meowbot@meowing.net> wrote:

| You can disable NNTP-Posting-Host in inn.conf, but that leaves
| X-Trace.
| 
| You could do something like this.  Note that this stuff is done in
| filter_nnrpd, not filter_innd.

  You nice guy, you. I was going to suggest this, but I sure wasn't
about to take the time to write it for her.

  I'm still looking for a way to put user info in as some SHORT string I
can easily reverse, but will not be readily identified. Since I have
gone to remote servers I am less able to rely on logs getting to me.
Maybe there will be a big "X-Abuse-must-include-this: <string>"
instead:-(

-- 
  bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
"I am lost. I am out looking for myself. If I should come back before I
return, please ask me to wait."  -seen in a doctor's office

Re: Setting the NNTP posting host
#51226
Author: those who know me have no need o...
Date: Thu, 15 Mar 2001 08:59
28 lines
2174 bytes
<98o9hd$g20$1@newssvr05-en0.news.prodigy.com> divulged:

>I'm still looking for a way to put user info in as some SHORT string I
>can easily reverse, 

>Maybe there will be a big "X-Abuse-must-include-this: <string>"

short things shouldn't be reversible.  instead make a database entry for
every article posted and use the key.  then, if you use sendmail you can
make the x-complaints-to be of the form ``abuse+key@your.dom''.  (adjust
mta to suit, provided it has the proper voodoo.)  if the x-c-t header is
obeyed you'll get the info you need, which you can use in a custom
delivery rule that does the db lookup and attaches a reference to the
customer database (or whatever).  if the x-c-t header isn't used verbatum
you can hope the header to be quoted.  use the key as the x-trace data as
well, for redundancy.

otherwise, if you really want reversible, stick with a "long" string, 
e.g., 275 or so bytes to encrypt using pgp to a 1024 bit rsa key (of your
abuse desk perhaps), or at worst 75 or so bytes to encrypt using pgp with
conventional encryption (use a longish key, change it every week or so,
keep the last few dozen keys and decrypt by trial).  (those lengths are of 
ascii armored results with all the wrapper text, but not line breaks, 
removed.)

-- 
okay, have a sig then
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