• rntrack recursive CFLAGS error

    From Benny Pedersen@2:230/0 to All on Tuesday, December 19, 2017 17:31:10
    Hello All!

    ----- Makefile.am begins -----
    # RNTrack -*Automake*-
    # $Id:$

    #AUTOMAKE_OPTIONS = foreign

    SUBDIRS = smapi .

    bin_PROGRAMS = rntrack
    rntrack_SOURCES = age.cpp aka.cpp attach.cpp badmsg.cpp badpkt.cpp cfg.cpp configure.cpp domain.cpp fidoaddr.cpp \
    filebox.cpp getopt.cpp help.cpp log.cpp mask.cpp msgbase.cpp msg.cpp nodelist.cpp outbound.cpp \
    parsetpl.cpp passwd.cpp pktbase.cpp rntrack.cpp scandir.cpp
    script.cpp sqbase.cpp string.cpp \
    tmstamp.cpp utils.cpp vars.cpp wildmat.cpp

    rntrack_LDFLAGS = -L$(srcdir)/smapi

    rntrack_LDADD = $(srcdir)/smapi/libsmapi.a

    INCLUDES = -I$(top_srcdir)/hpp -I$(srcdir)
    CFLAGS = $(CFLAGS) -pedantic -Wall -fno-rtti @PERL_CFLAGS@
    #LFLAGS = $(LFLAGS) @PERL_LFLAGS@
    ----- Makefile.am ends -----

    CFLAGS = @CFLAGS@ ....


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.14.7-gentoo (i686))
    * Origin: I will always keep a PC running CPM 3.0 (2:230/0)
  • From Michael Dukelsky@2:5020/1042 to Benny Pedersen on Wednesday, December 20, 2017 14:22:04
    Hello Benny,

    Tuesday December 19 2017, Benny Pedersen wrote to All:

    CFLAGS = $(CFLAGS) -pedantic -Wall -fno-rtti @PERL_CFLAGS@
    #LFLAGS = $(LFLAGS) @PERL_LFLAGS@

    Thanks, I fixed it.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Moscow, Russia (2:5020/1042)
  • From Benny Pedersen@2:230/0 to Michael Dukelsky on Wednesday, December 20, 2017 14:21:58
    Hello Michael!

    20 Dec 2017 14:22, Michael Dukelsky wrote to Benny Pedersen:

    CFLAGS = $(CFLAGS) -pedantic -Wall -fno-rtti @PERL_CFLAGS@
    #LFLAGS = $(LFLAGS) @PERL_LFLAGS@

    Thanks, I fixed it.

    ----- version begins -----
    RNtrack 1.33/LNX
    (C) 2003-2006 Alex Soukhotine (2:5030/1157)
    2007-2011 Stas Degteff (2:5080/102)
    2009-2013 Michael Dukelsky (2:5020/1042)

    ----- version ends -----

    :)

    we are in 2017 where it still compiles in gentoo x86 and x86_64



    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.14.7-gentoo (i686))
    * Origin: I will always keep a PC running CPM 3.0 (2:230/0)
  • From Michael Dukelsky@2:5020/1042 to Benny Pedersen on Thursday, December 21, 2017 16:10:16
    Hello Benny,

    Wednesday December 20 2017, Benny Pedersen wrote to Michael Dukelsky:

    ----- version begins -----
    RNtrack 1.33/LNX
    (C) 2003-2006 Alex Soukhotine (2:5030/1157)
    2007-2011 Stas Degteff (2:5080/102)
    2009-2013 Michael Dukelsky (2:5020/1042)

    ----- version ends -----

    :)

    we are in 2017 where it still compiles in gentoo x86 and x86_64

    Nothing essential was done after 2013, so I see no reason to update the date.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Moscow, Russia (2:5020/1042)
  • From Benny Pedersen@2:230/0 to Michael Dukelsky on Saturday, December 30, 2017 18:11:24
    Hello Michael!

    21 Dec 2017 16:10, Michael Dukelsky wrote to Benny Pedersen:

    Nothing essential was done after 2013, so I see no reason to update
    the date.

    i found a possible bug:

    is 2:65535/65535 invalid node ?

    ----- audit.log begins -----
    30 Dec 2017 15:07:15 , 2:65535/65535 -> , 2:65535/65535
    30 Dec 2017 15:07:15 Subj:
    30 Dec 2017 15:07:15 ID : 2:65535/65535 d23cec98
    30 Dec 2017 15:07:15 Date: 31 Dec 99 00:00:00
    30 Dec 2017 15:07:15 Size: 0
    30 Dec 2017 15:07:15 Via :
    30 Dec 2017 15:07:15 ===
    ----- audit.log ends -----

    hpt crash with stale lock file, thus it do not process more pkt files

    is both husky and rntrack not handle this well ?

    i like to know with badly writed software route this to me :/

    ----- rntrack.cfg begins -----
    Address: 2:230/0
    Aka: 2:230/0 1:*/*.*
    Aka: 2:230/0 2:*/*.*
    Aka: 2:230/0 3:*/*.*
    Aka: 2:230/0 4:*/*.*
    Aka: 39:140/0 39:*/*.*
    Aka: 39:14/0 39:*/*.*
    SysopName: "Benny Pedersen"
    LogFile: "/home/xpoint/fido/log/rntrack.log"
    LogLevel: 3
    Outbound: "/home/xpoint/fido/out"
    TrafficLog: "/home/xpoint/fido/log/rntrack.trf"
    TrafficLogTemplate: "/home/xpoint/fido/config/tpl/traflog.tpl"
    IndexFile: "/home/xpoint/fido/nodelist/rntrack.ndl"
    Nodelist: "/home/xpoint/fido/nodelist/AmyList.*"
    Nodelist: "/home/xpoint/fido/nodelist/NODELIST.*"
    Nodelist: "/home/xpoint/fido/nodelist/Z2PVT.*" 2
    Nodelist: "/home/xpoint/fido/nodelist/DKPVT.*" 2

    LoopStr: " 2:230/0 RNtrack"
    Domain: "Fidonet" 1:*/*.*
    Domain: "Fidonet" 2:*/*.*
    Domain: "Fidonet" 3:*/*.*
    Domain: "Fidonet" 4:*/*.*
    Domain: "Amiganet" 39:*/*.*
    ForceINTL
    UseOwnZone
    UseNewVia
    TempMail: "/home/xpoint/fido/out/tmp"
    MaxAge: 1
    Origin: "RnTrack is tracking you"
    KillRoutedMessage: Always
    CheckPoints: Soft

    ScanDir: "$/home/xpoint/fido/msgb/NETMAIL"

    Mask: * * * * * +b
    Action: NewMsg "/home/xpoint/fido/config/tpl/audit.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "RNtrack" 2:230/0 $ $ "Audit request receipt"
    +l
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/audit.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID' audit destination"

    Mask: * * * !# * *
    Action: NewMsg "/home/xpoint/fido/config/tpl/badto.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "Benny Pedersen" @ "$" $ "Bad destination address" +l
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/bad_dest.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID' bad destination"
    Action: Delete

    Mask: * !# * * * *
    Action: NewMsg "/home/xpoint/fido/config/tpl/badfrom.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "Benny Pedersen" @ "%%" % "Bad source address" +l
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/bad_source.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID' bad source"
    Action: Delete

    Mask: * * * @ * a
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/attach.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID': contains attach for me. Attach removed." Action: Delete

    Mask: * * * !@ * a
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/attach.log"
    Action: NewMsg "/home/xpoint/fido/config/tpl/noatt.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "Benny Pedersen" @ "$" $ "Attaches not allowed" +l
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID': contains attach not for me. Attach removed."
    Action: Delete

    Mask: * * * 5:*/*.* * *
    Mask: * * * 8:*/*.* * *
    Mask: * * * 9:*/*.* * *
    Mask: * * * 10:*/*.* * *
    Mask: * * * 16:*/*.* * *
    Mask: * * * 33:*/*.* * *
    Mask: * * * 57:*/*.* * *
    Mask: * * * 92:*/*.* * *
    Mask: * * * 110:*/*.* * *
    Mask: * * * 111:*/*.* * *
    Mask: * * * 115:*/*.* * *
    Mask: * * * 510:*/*.* * *
    Mask: * * * 618:*/*.* * *
    Mask: * * * 777:*/*.* * *
    Mask: * * * 900:*/*.* * *
    Action: Ignore

    Mask: * * * * "Ping" -Eg
    Action: NewMsg "/home/xpoint/fido/config/tpl/ping.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "RNtrack" 2:230/0 $ $ "Pong" +l
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/ping.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID' pinged"
    Action: Delete

    ----- rntrack.cfg ends -----

    i like suggestions on how to make it better atleast to not let hpt crash, imho if i change

    ----- dohpt begins -----
    #!/bin/sh
    if [ -f /home/xpoint/fido/lock ]; then
    echo 'Already running - exiting dohpt;';
    exit;
    fi
    /home/xpoint/fido/bin/hpt toss
    /usr/bin/rntrack -c /home/xpoint/fido/config/rntrack.cfg /home/xpoint/fido/bin/hpt scan

    next one make the crash bug in hpt

    /home/xpoint/fido/bin/hpt pack
    /home/xpoint/fido/bin/hpt qupd
    /home/xpoint/fido/bin/hpt link

    ----- dohpt ends -----

    i know my hpt is very old, so i possible it is solved, but i would like to change it to gentoo ebuild installs if i need newer husky installs, current is installed lfs :=)


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.9.72-gentoo (i686))
    * Origin: I will always keep a PC running CPM 3.0 (2:230/0)
  • From Michael Dukelsky@2:5020/1042 to Benny Pedersen on Saturday, December 30, 2017 23:59:00
    Hello Benny,

    Saturday December 30 2017, Benny Pedersen wrote to Michael Dukelsky:

    i found a possible bug:

    is 2:65535/65535 invalid node ?

    Did you receive the message from another node or did your node produce such a message?

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Moscow, Russia (2:5020/1042)
  • From Benny Pedersen@2:230/0 to Michael Dukelsky on Sunday, December 31, 2017 00:08:26
    Hello Michael!

    30 Dec 2017 23:59, Michael Dukelsky wrote to Benny Pedersen:

    Did you receive the message from another node or did your node produce such a message?

    its external created pkt file


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.9.72-gentoo (i686))
    * Origin: I will always keep a PC running CPM 3.0 (2:230/0)
  • From Michael Dukelsky@2:5020/1042 to Benny Pedersen on Sunday, December 31, 2017 14:01:32
    Hello Benny,

    Sunday December 31 2017, Benny Pedersen wrote to Michael Dukelsky:

    Did you receive the message from another node or did your node
    produce such a message?

    its external created pkt file

    Could you please send me by netmail the pkt file without any modifications archived using UUE?

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Moscow, Russia (2:5020/1042)
  • From Benny Pedersen@2:230/0 to Michael Dukelsky on Sunday, December 31, 2017 16:19:44
    Hello Michael!

    31 Dec 2017 14:01, Michael Dukelsky wrote to Benny Pedersen:

    Could you please send me by netmail the pkt file without any modifications archived using UUE?

    to do this i need a tool to tell me this pkt file is bad before hpt toss it

    i have pktinfo, can i use this ?, maybe some kind of rename pkt if its bad ?

    if its called pktcheck --rename ?, skip rename if its ok


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.9.72-gentoo (i686))
    * Origin: I will always keep a PC running CPM 3.0 (2:230/0)
  • From Michael Dukelsky@2:5020/1042 to Benny Pedersen on Monday, January 01, 2018 18:27:02
    Hello Benny,

    Sunday December 31 2017, Benny Pedersen wrote to Michael Dukelsky:

    Could you please send me by netmail the pkt file without any
    modifications archived using UUE?

    to do this i need a tool to tell me this pkt file is bad before hpt
    toss it

    You may copy every pkt to some directory before tossing and you may use cron to
    run 'find' daily to delete old pkts in the directory.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Moscow, Russia (2:5020/1042)
  • From Benny Pedersen@2:230/0 to Michael Dukelsky on Friday, January 05, 2018 00:57:58
    Hello Michael!

    01 Jan 2018 18:27, Michael Dukelsky wrote to Benny Pedersen:

    You may copy every pkt to some directory before tossing and you may
    use cron to run 'find' daily to delete old pkts in the directory.

    sure i can, but how to find the bad pkt with trigger crash in hpt that create ffffffff.out pkt in my qico outbound bso dir

    i hope i can use rntrack to pre check pkt file before hpt route it

    or even change my hpt to use rntrack as a netmail route, i had this running before but did go back to hpt later


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.9.72-gentoo (i686))
    * Origin: I will always keep a PC running CPM 3.0 (2:230/0)
  • From Benny Pedersen@2:230/0 to Michael Dukelsky on Thursday, January 04, 2018 08:13:23
    Hello Michael!

    21 Dec 2017 16:10, Michael Dukelsky wrote to Benny Pedersen:

    Nothing essential was done after 2013, so I see no reason to update
    the date.

    i found a possible bug:

    is 2:65535/65535 invalid node ?

    ----- audit.log begins -----
    30 Dec 2017 15:07:15 , 2:65535/65535 -> , 2:65535/65535
    30 Dec 2017 15:07:15 Subj:
    30 Dec 2017 15:07:15 ID : 2:65535/65535 d23cec98
    30 Dec 2017 15:07:15 Date: 31 Dec 99 00:00:00
    30 Dec 2017 15:07:15 Size: 0
    30 Dec 2017 15:07:15 Via :
    30 Dec 2017 15:07:15 ===
    ----- audit.log ends -----

    hpt crash with stale lock file, thus it do not process more pkt files

    is both husky and rntrack not handle this well ?

    i like to know with badly writed software route this to me :/

    ----- rntrack.cfg begins -----
    Address: 2:230/0
    Aka: 2:230/0 1:*/*.*
    Aka: 2:230/0 2:*/*.*
    Aka: 2:230/0 3:*/*.*
    Aka: 2:230/0 4:*/*.*
    Aka: 39:140/0 39:*/*.*
    Aka: 39:14/0 39:*/*.*
    SysopName: "Benny Pedersen"
    LogFile: "/home/xpoint/fido/log/rntrack.log"
    LogLevel: 3
    Outbound: "/home/xpoint/fido/out"
    TrafficLog: "/home/xpoint/fido/log/rntrack.trf"
    TrafficLogTemplate: "/home/xpoint/fido/config/tpl/traflog.tpl" IndexFile: "/home/xpoint/fido/nodelist/rntrack.ndl"
    Nodelist: "/home/xpoint/fido/nodelist/AmyList.*"
    Nodelist: "/home/xpoint/fido/nodelist/NODELIST.*"
    Nodelist: "/home/xpoint/fido/nodelist/Z2PVT.*" 2
    Nodelist: "/home/xpoint/fido/nodelist/DKPVT.*" 2

    LoopStr: " 2:230/0 RNtrack"
    Domain: "Fidonet" 1:*/*.*
    Domain: "Fidonet" 2:*/*.*
    Domain: "Fidonet" 3:*/*.*
    Domain: "Fidonet" 4:*/*.*
    Domain: "Amiganet" 39:*/*.*
    ForceINTL
    UseOwnZone
    UseNewVia
    TempMail: "/home/xpoint/fido/out/tmp"
    MaxAge: 1
    Origin: "RnTrack is tracking you"
    KillRoutedMessage: Always
    CheckPoints: Soft

    ScanDir: "$/home/xpoint/fido/msgb/NETMAIL"

    Mask: * * * * * +b
    Action: NewMsg "/home/xpoint/fido/config/tpl/audit.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "RNtrack" 2:230/0 $ $ "Audit request receipt"
    +l
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/audit.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID' audit destination"

    Mask: * * * !# * *
    Action: NewMsg "/home/xpoint/fido/config/tpl/badto.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "Benny Pedersen" @ "$" $ "Bad destination address" +l
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/bad_dest.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID' bad destination"
    Action: Delete

    Mask: * !# * * * *
    Action: NewMsg "/home/xpoint/fido/config/tpl/badfrom.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "Benny Pedersen" @ "%%" % "Bad source address" +l
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/bad_source.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID' bad source"
    Action: Delete

    Mask: * * * @ * a
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/attach.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID': contains attach for me. Attach removed." Action: Delete

    Mask: * * * !@ * a
    Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/attach.log"
    Action: NewMsg "/home/xpoint/fido/config/tpl/noatt.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "Benny Pedersen" @ "$" $ "Attaches not allowed" +l
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID': contains attach not for me. Attach removed."
    Action: Delete

    Mask: * * * 5:*/*.* * *
    Mask: * * * 8:*/*.* * *
    Mask: * * * 9:*/*.* * *
    Mask: * * * 10:*/*.* * *
    Mask: * * * 16:*/*.* * *
    Mask: * * * 33:*/*.* * *
    Mask: * * * 57:*/*.* * *
    Mask: * * * 92:*/*.* * *
    Mask: * * * 110:*/*.* * *
    Mask: * * * 111:*/*.* * *
    Mask: * * * 115:*/*.* * *
    Mask: * * * 510:*/*.* * *
    Mask: * * * 618:*/*.* * *
    Mask: * * * 777:*/*.* * *
    Mask: * * * 900:*/*.* * *
    Action: Ignore

    Mask: * * * * "Ping" -Eg
    Action: NewMsg "/home/xpoint/fido/config/tpl/ping.tpl" "$/home/xpoint/fido/msgb/NETMAIL" "RNtrack" 2:230/0 $ $ "Pong" +l Action: AppendToFile "/home/xpoint/fido/config/tpl/log.tpl" "/home/xpoint/fido/log/ping.log"
    Action: Display "Message from @FromName, @FromAddr to @ToName, @ToAddr with subject '@Subject' and msgid '@MsgID' pinged"
    Action: Delete

    ----- rntrack.cfg ends -----

    i like suggestions on how to make it better atleast to not let hpt crash, imho if i change

    ----- dohpt begins -----
    #!/bin/sh
    if [ -f /home/xpoint/fido/lock ]; then
    echo 'Already running - exiting dohpt;';
    exit;
    fi
    /home/xpoint/fido/bin/hpt toss
    /usr/bin/rntrack -c /home/xpoint/fido/config/rntrack.cfg /home/xpoint/fido/bin/hpt scan

    next one make the crash bug in hpt

    /home/xpoint/fido/bin/hpt pack
    /home/xpoint/fido/bin/hpt qupd
    /home/xpoint/fido/bin/hpt link

    ----- dohpt ends -----

    i know my hpt is very old, so i possible it is solved, but i would like to change it to gentoo ebuild installs if i need newer husky installs, current is installed lfs :=)


    Regards Benny

    ... there can only be one way of life, and it works :)

    --- Msged/LNX 6.2.0 (Linux/4.9.72-gentoo (i686))
    * Origin: I will always keep a PC running CPM 3.0 (2:230/0)