🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53498

Re: Transit INN 2.3.2 dying on a control messages(?)

#53498
From: Matti Saarinen
Date: Fri, 27 Jul 2001 08:36
91 lines
4166 bytes
Russ Allbery <rra@stanford.edu> writes:

> Tomi Hakala <tomi.hakala@clinet.fi> writes:
> 
>> Jul 27 01:40:48 newsfeed innd: SERVER cant exec in /news/bin/control/. Permission denied
> 
> Are you running controlchan?  

     I am runnig controlchan and have noticed similar messages. Here
     is an example of one article the processing of which has resulted
     in the syslog message above:

===================================================================


Path: news.cc.tut.fi!levitin.saunalahti.fi!nntp.inet.fi!inet.fi!newsfeed1.funet.fi!newsfeeds.funeti!skynet.be!newspeer.clara.net!news.clara.net!news-hub.cableinet.net!blueyonder!internal-news-hub.bleinet.net!news1.cableinet.net.POSTED!not-for-mail
From: Mr Misc <mr_misc@blueyonder.co.uk_DEL_THIS>
Control: .
Newsgroups: alt.games.anarchy-online
Approved: .
Subject: Re: A MUST HAVE for this game...
Keywords: .
Summary: .
Sender: mr_misc@blueyonder.co.uk_DEL_THIS
Organization: Misc Organisation
Reply-To: mr_misc@blueyonder.co.uk_DEL_THIS
Message-ID: <3u61mt4p97kohv0qro0v5u9mbg1nltthmp@4ax.com>
References: <JrB77.1$f65.1368@bin2.nnrp.aus1.giganews.com> <8dqtltgkac2a43gvmcee47bd0oisa8fhru@4axom> <tlu6c5fnkr3412@news.supernews.com>
X-Newsreader: Forte Agent 1.8/32.548
X-No-Archive: yes
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 9
Date: Thu, 26 Jul 2001 22:40:49 GMT
NNTP-Posting-Host: 62.31.146.109
X-Complaints-To: http://www.blueyonder.co.uk/abuse
X-Trace: news1.cableinet.net 996187249 62.31.146.109 (Thu, 26 Jul 2001 23:40:49 BST)
NNTP-Posting-Date: Thu, 26 Jul 2001 23:40:49 BST
Xref: news.cc.tut.fi control:4903665

On Wed, 25 Jul 2001 19:09:57 -0000, Zenin <zenin@rhps.org> wrote:

>       I can't find anything to adjust the disk caching algorithms of
>       W2k...which is bloody annoying.

O&O CleverCache (www.oosoft.com).  Also, O&O Defrag by the same
company is the best NT/2000 defragger.  O&O BlueCon is indispensable
for rescuing from a boot failure (registry/service problems, etc.)..


===================================================================



     The problem appears to be in these lines of the controlchan
     script:

-----line 181
    $progname = lc($hdrval{Control});
  }
  
  next CHANITEM if ($progname =~ /^(cancel)$/);
  
  if ($progname !~ /(^[a-z]+$)/) {
    logmsg ('notice', 'Naughty control in article %s', $msgid);
  } else {
    $progname = $1;
  }
-----line 190


     Now the the variable $progname contains value '.' and the message
     is logged. After the the execution of the script continues and it
     tries to run the program $progname.


-----line 238
    $progname = $inn::controlprogs . '/' . $progname ;
    if (-e $progname) {
      system($progname, $hdrval{Sender}, $hdrval{'Reply-To'},
             $token, $sitepath);
-----line 241

     I think the easiest way to fix this would be to change 
     (-e $progname) to (-f $progname && -x $progname).


-- 
- Matti -
Technical Details
Message-ID: <qzu3d7in4yn.fsf@lagavulin.cc.tut.fi>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!newsrouter.euroconnect.net!newsfeed.song.fi!news.cc.tut.fi!not-for-mail
References: <3B60A04F.B306F290@clinet.fi> <yl66cf2qvo.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <qzu3d7in4yn.fsf@lagavulin.cc.tut.fi>
Subject: Re: Transit INN 2.3.2 dying on a control messages(?)
Date: Fri, 27 Jul 2001 11:36:48 +0300
From: Matti Saarinen <mjs@cc.tut.fi>
References: <3B60A04F.B306F290@clinet.fi> <yl66cf2qvo.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.158.233.21!news1.ebone.net!news.ebone.net!newsrouter.euroconnect.net!newsfeed.song.fi!news.cc.tut.fi!not-for-mail
Newsgroups: news.software.nntp
Organization: TUT
Lines: 90
Sender: mjs@lagavulin.cc.tut.fi
NNTP-Posting-Host: lagavulin.cc.tut.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: news.cc.tut.fi 996223008 27585 130.230.25.13 (27 Jul 2001 08:36:48 GMT)
X-Complaints-To: abuse@tut.fi
NNTP-Posting-Date: Fri, 27 Jul 2001 08:36:48 +0000 (UTC)
User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.6