#111 hpt inserts junk into netmail packets

open
Max Chernogor
hpt (33)
5
2013-05-08
2010-04-14
Anonymous
No

Platform: FreeBSD 8.0-RELEASE i386
hpt/fbsd 1.4.0-sta 16-02-06 from ports (husky-hpt-devel-1.4.r5)

When packing netmail from a JAM area, hpt inserts junk into outbound packets around the INTL, TPT and FMPT kludges. This does not happen if netmail is kept in a MSG area.

How to reproduce: configure hpt to store netmail in a Jam area, toss and pack a netmail message, view the resulting packet with catpkt or any other viewer.

Workaround: don't store netmail in a JAM area.

Discussion

  • hpt log, examples of packets with junk

     
    Attachments
  • Victor Sudakov
    Victor Sudakov
    2010-04-19

    Here is the almost complete config, with passwords and boring EchoArea definitions removed.

    # by VAS

    Name Ulthar
    Location Tomsk
    Sysop Victor Sudakov
    LogLevels 123456789
    Address 2:5005/49
    Address 2:5005/149
    Unpack "/usr/local/bin/unzip -j -Loqq $a -d $p" 0 504b0304
    Pack zip /usr/local/bin/zip -9 -j -q $a $f

    Link PG
    Aka 2:5005/14
    Password XXXXXXXXX
    allowEmptyPktPwd secure
    PktPwd
    AutoAreaCreate on
    AutoAreaCreateDefaults -g F -p 14 -dupeCheck move -dupeHistory 11 -b Jam
    AutoFileCreate on
    Packer zip
    echoMailFlavour crash
    accessgrp F,R

    Link pLuto
    Aka 2:5005/77
    Password XXXXXXXXXX
    allowEmptyPktPwd secure
    PktPwd
    AutoAreaCreate on
    AutoAreaCreateDefaults -g F -p 14 -dupeCheck move -dupeHistory 11 -b Jam
    AutoFileCreate on
    Packer zip
    echoMailFlavour crash
    accessgrp F,R

    Link Scrap
    Aka 2:5005/28
    Password XXXXXXXXXXX
    allowEmptyPktPwd secure
    PktPwd
    AutoAreaCreate on
    AutoAreaCreateDefaults -g F -p 14 -dupeCheck move -dupeHistory 11 -b Jam
    AutoFileCreate on
    Packer zip
    echoMailFlavour crash
    accessgrp F,R

    Link VAS
    Aka 2:5005/49.1
    Password XXXXXXXXXX
    allowEmptyPktPwd secure
    PktPwd
    AutoAreaCreate off
    Packer zip
    echoMailFlavour hold
    accessgrp F

    Link Wlad
    Aka 2:5005/49.5
    Password XXXXXXXXXx
    allowEmptyPktPwd secure
    PktPwd
    AutoAreaCreate off
    Packer zip
    echoMailFlavour hold
    accessgrp F

    Link Julia
    Aka 2:5005/49.13
    Password XXXXXXXXXXXX
    allowEmptyPktPwd secure
    PktPwd
    AutoAreaCreate off
    Packer zip
    echoMailFlavour hold
    accessgrp F

    Route normal noroute 2:5005/49.*
    Route normal noroute 2:5005/149.*
    Route normal boss 2:5005/77.*
    Route normal 2:5005/14 1:* 2:* 3:* 4:* 5:*

    inbound /var/spool/fido/inbound
    ProtInbound /var/spool/fido/protinb
    Localinbound /var/spool/fido/localinb
    Outbound /var/spool/fido/outbound
    tempOutbound /var/spool/fido/tempoutb
    tempInbound /var/spool/fido/tempinb
    MsgBaseDir /var/spool/fido/msgbase
    FileAreaBaseDir /var/spool/fido/filebox
    PassFileAreaDir /var/spool/fido/filebox
    logFileDir /var/spool/fido/logs
    DupeHistoryDir /var/spool/fido/msgbase
    AreafixHelp /usr/local/etc/fido/areafix.hlp
    lockfile /var/spool/fido/flags/hpt.lock

    NetmailArea Netmail /var/spool/fido/netmail -b Jam
    BadArea bad /var/spool/fido/msgbase/badarea -b Jam
    LocalArea carbonArea /var/spool/fido/msgbase/carbonarea -b Jam
    CarbonTo Victor Sudakov
    CarbonCopy carbonArea
    echotosslog /var/spool/fido/logs/echotoss.log
    importlog /var/spool/fido/logs/import.log
    #LinkWithImportLog kill
    DupeArea dupes /var/spool/fido/msgbase/dupearea -b Jam
    robotsArea Netmail
    ReportTo ULTHAR.LOCAL
    #areafixReportsAttr loc
    areasFileNameCase Upper

    #dupebasetype HashDupes
    areasmaxdupeage 20
    forwardRequests on
    NodelistDir /var/spool/fido/nodelist
    NodeList nodelist
    #magic /var/spool/fido/magic
    public /var/spool/fido/public
    screenLogLevels 9B

    LogEchoToScreen

    # User's settings

    # User's areas generated by hpt

    EchoArea starper.unlimited /var/spool/fido/msgbase/starper.unlimited -g F -p 14 -dupeCheck move -dupeHistory 11 -b Squish 2:5005/14 2:5005/49.5 2:5005/49.13
    EchoArea ru.unix.bsd /var/spool/fido/msgbase/ru.unix.bsd -g F -p 14 -dupeCheck move -dupeHistory 11 -b Jam 2:5005/14 2:5005/49.5 2:5005/49.13
    EchoArea ru.aviation /var/spool/fido/msgbase/ru.aviation -g F -p 14 -dupeCheck move -dupeHistory 11 -b Jam 2:5005/14
    [dd]

     
  • This is somewhat old; will need to verify if the issue is still present and/or has already been resolved.