• Packet password as a variable?

    From Kostie Muirhead@VERT to Digital Man on Wednesday, April 22, 2015 00:39:05
    Hey, DM!
    Just wondering if there is a tag to pass the packet password to an archiver as a variable in sbbsecho? (similar to the %f and %s tags)?

    On an only somewhat related note, I'm using SEXPOTS for dialup, running synchronet 3.15, and have advertiselocation=true set in sexpots.ini, and the modem is providing CID to SEXPOTS, but SEXPOTS does not seem to be passing any info to synchronet. Is there a setting that I need to flip in the terminal config?

    Thanks for your help, and an awesome product.
    ---
    Kostie Muirhead
    AKA Underminer
    The Undermine - undermine.ddns.net
    Fido: 1:342/17



    --- SBBSecho 2.12-Win32
    * Origin: The Undermine - undermine.ddns.net - Calgary, AB (1:342/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mark lewis@VERT to Kostie Muirhead on Wednesday, April 22, 2015 08:34:26
    On Wed, 22 Apr 2015, Kostie Muirhead wrote to Digital Man:

    Just wondering if there is a tag to pass the packet password to an archiver as a variable in sbbsecho? (similar to the %f and %s
    tags)?

    why would you want to do that? mail bundles (archives *.MO1, *.TU2, etc) are not password protected... they're not supposed to be... only the PKT files inside the bundles carry the password in their password field to try to ensure that the PKT actually comes from the system it says it comes from... that's all
    the packet password is for...


    )\/(ark


    * Origin: (1:3634/12)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Kostie Muirhead@VERT to mark lewis on Wednesday, April 22, 2015 15:29:46
    Re: Packet password as a variable?
    By: mark lewis to Kostie Muirhead on Wed Apr 22 2015 08:34:26

    why would you want to do that? mail bundles (archives *.MO1, *.TU2, etc) are not password protected... they're not supposed to be... only the PKT files inside the bundles carry the password in their password field to try to ensure that the PKT actually comes from the system it says it comes from... that's all the packet password is for...

    Oh, I know that Mark. It's not for fidonet use, it's an attempted repurposing of sbbsecho to automate some encryption protocols by adding them as an archiver. Works perfectly, but I want to pass the packet password so that I can set up different dummy nodes to pass passwords. Its all part of working towards the launch of a bit of a social experiment that I don't want to share too much about just yet.
    ---
    Kostie Muirhead
    AKA Underminer
    The Undermine - undermine.ddns.net
    Fido: 1:342/17



    --- SBBSecho 2.12-Win32
    * Origin: The Undermine - undermine.ddns.net - Calgary, AB (1:342/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to Kostie Muirhead on Wednesday, April 22, 2015 18:49:33
    Re: Packet password as a variable?
    By: Kostie Muirhead to Digital Man on Wed Apr 22 2015 12:39 am

    Hey, DM!
    Just wondering if there is a tag to pass the packet password to an archiver as a variable in sbbsecho? (similar to the %f and %s tags)?

    No (not as a variable/specifier like that). You could hard-code it in the command-line I guess. Are you (or your uplink is) password-protecting/encrypting bundles?

    On an only somewhat related note, I'm using SEXPOTS for dialup, running synchronet 3.15, and have advertiselocation=true set in sexpots.ini, and the modem is providing CID to SEXPOTS, but SEXPOTS does not seem to be passing any info to synchronet. Is there a setting that I need to flip in the terminal config?

    If you have "Debug=true" in the [Telnet] section of your sexpots.ini, you should see the line "TX Telnet command: Location is x y" in the sexpots output.
    Do you see that?

    Alternatively, on the BBS side, if you have Telnet debugging enabled, you should see the line "Node x received telnet location: x y" where x is the phone
    number and y is the caller's name. Do you see that line in the log?

    digital man

    Synchronet "Real Fact" #56:
    Synchronet introduced Telnet, FTP, SMTP and POP3 support w/v3.00a-Win32 in 2000.
    Norco, CA WX: 61.8øF, 63.0% humidity, 1 mph ENE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Kostie Muirhead@VERT to Digital Man on Wednesday, April 22, 2015 23:18:25
    Re: Packet password as a variable?
    By: Digital Man to Kostie Muirhead on Wed Apr 22 2015 18:49:33

    No (not as a variable/specifier like that). You could hard-code it in the command-line I guess. Are you (or your uplink is) password-protecting/encrypting bundles?
    Yeah, I'm playing with creating an encrypted link viewable only on ssh as a bit of a social experiment. Hardcoding works, I was just hoping I could use a variable to make things easier for multiple nodes/passwords. Thanks!

    On an only somewhat related note, I'm using SEXPOTS for dialup,
    running synchronet 3.15, and have advertiselocation=true set in
    If you have "Debug=true" in the [Telnet] section of your sexpots.ini, you should see the line "TX Telnet command: Location is x y" in the sexpots output.
    Do you see that?
    Hmm, nope. Sexpots just says Connected from COM port (handle 84) to 192.168.1.80 TCP port 23 using socket descriptor 92, doesn't show any telnet commands.

    Alternatively, on the BBS side, if you have Telnet debugging enabled, you should see the line "Node x received telnet location: x y" where x is the phone
    number and y is the caller's name. Do you see that line in the log?

    Looks like the BBS side is requesting it though:
    4/22 11:05:36p Node 1 sending telnet cmd: WILL Echo
    4/22 11:05:36p Node 1 sending telnet cmd: WILL Suppress Go Ahead
    4/22 11:05:36p Node 1 sending telnet cmd: DO Terminal Type
    4/22 11:05:36p Node 1 sending telnet cmd: DO Terminal Speed
    4/22 11:05:36p Node 1 sending telnet cmd: DO Send Location
    4/22 11:05:36p Node 1 sending telnet cmd: DO Negotiate About Window Size 4/22 11:05:41p Node 1 received terminal auto-detection response: '\e[24;80R'
    4/22 11:05:41p Node 1 received ANSI cursor position report: 80x24

    Does that mean I'm missing something in SEXPOTS.ini to actually get it to use the telnet commands? The applicable sections are setup as follows:

    [TCP]
    Host = 192.168.1.80 ; Hostname or IP address of TCP server
    Port = 23 ; TCP port number of TCP server
    NoDelay = TRUE ; Set to TRUE to disable the Nagle Algorithm

    [Telnet]
    Enabled = TRUE ; Set to FALSE to disable Telnet mode
    Debug = TRUE ; Set to TRUE to log Telnet commands sent/recv
    AdvertiseLocation = TRUE ; Set to TRUE to send "WILL SEND LOCATION"
    TermType = SEXPOTS ; You shouldn't normally change this value
    TermSpeed = 28800,28800 ; Default terminal speed reported (tx, rx bps)

    Thanks again.
    ---
    Kostie Muirhead
    AKA Underminer
    The Undermine - undermine.ddns.net
    Fido: 1:342/17



    --- SBBSecho 2.12-Win32
    * Origin: The Undermine - undermine.ddns.net - Calgary, AB (1:342/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to Kostie Muirhead on Thursday, April 23, 2015 01:14:41
    Re: Packet password as a variable?
    By: Kostie Muirhead to Digital Man on Wed Apr 22 2015 11:18 pm

    Re: Packet password as a variable?
    By: Digital Man to Kostie Muirhead on Wed Apr 22 2015 18:49:33

    No (not as a variable/specifier like that). You could hard-code it in the command-line I guess. Are you (or your uplink is) password-protecting/encrypting bundles?
    Yeah, I'm playing with creating an encrypted link viewable only on ssh as a bit of a social experiment. Hardcoding works, I was just hoping I could use a variable to make things easier for multiple nodes/passwords. Thanks!

    On an only somewhat related note, I'm using SEXPOTS for dialup,
    running synchronet 3.15, and have advertiselocation=true set in
    If you have "Debug=true" in the [Telnet] section of your sexpots.ini, you should see the line "TX Telnet command: Location is x y" in the sexpots output. Do you see that?
    Hmm, nope. Sexpots just says Connected from COM port (handle 84) to 192.168.1.80 TCP port 23 using socket descriptor 92, doesn't show any telnet commands.

    Alternatively, on the BBS side, if you have Telnet debugging enabled, you should see the line "Node x received telnet location: x y" where x is the phone number and y is the caller's name. Do you see that line in the log?

    Looks like the BBS side is requesting it though:
    4/22 11:05:36p Node 1 sending telnet cmd: WILL Echo
    4/22 11:05:36p Node 1 sending telnet cmd: WILL Suppress Go Ahead
    4/22 11:05:36p Node 1 sending telnet cmd: DO Terminal Type
    4/22 11:05:36p Node 1 sending telnet cmd: DO Terminal Speed
    4/22 11:05:36p Node 1 sending telnet cmd: DO Send Location
    4/22 11:05:36p Node 1 sending telnet cmd: DO Negotiate About Window Size 4/22 11:05:41p Node 1 received terminal auto-detection response: '\e[24;80R'
    4/22 11:05:41p Node 1 received ANSI cursor position report: 80x24

    Does that mean I'm missing something in SEXPOTS.ini to actually get it to use the telnet commands?

    No, I think we're just missing the log output.

    The applicable sections are setup as follows:

    [TCP]
    Host = 192.168.1.80 ; Hostname or IP address of TCP server
    Port = 23 ; TCP port number of TCP server
    NoDelay = TRUE ; Set to TRUE to disable the Nagle Algorithm

    [Telnet]
    Enabled = TRUE ; Set to FALSE to disable Telnet mode
    Debug = TRUE ; Set to TRUE to log Telnet commands
    AdvertiseLocation = TRUE ; Set to TRUE to send "WILL SEND LOCATION"

    Try removing everything after the "TRUE" on those 3 lines. There was a recent bug-fix that would allow this syntax in .ini files, but that fix is probably not in the version of SEXPOTS you're running.

    TermType = SEXPOTS ; You shouldn't normally change this value
    TermSpeed = 28800,28800 ; Default terminal speed reported (tx, rx bps)

    Those comments are fine. Just the comments following the "=TRUE" values should be removed.

    digital man

    Synchronet "Real Fact" #51:
    Answers to Frequently Asked Questions: http://wiki.synchro.net/faq:index
    Norco, CA WX: 54.5øF, 83.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Kostie Muirhead@VERT to Digital Man on Thursday, April 23, 2015 11:11:36
    Re: Packet password as a variable?
    By: Digital Man to Kostie Muirhead on Thu Apr 23 2015 01:14:41

    Try removing everything after the "TRUE" on those 3 lines. There was a recent bug-fix that would allow this syntax in .ini files, but that fix is probably not in the version of SEXPOTS you're running.
    That got it. Thanks!
    One other follow on, is there an ARS flag that can be set for sexpots for accessing a sub-board etc?
    ---
    Kostie Muirhead
    AKA Underminer
    The Undermine - undermine.ddns.net
    Fido: 1:342/17



    --- SBBSecho 2.12-Win32
    * Origin: The Undermine - undermine.ddns.net - Calgary, AB (1:342/17)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Digital Man@VERT to Kostie Muirhead on Thursday, April 23, 2015 15:47:29
    Re: Packet password as a variable?
    By: Kostie Muirhead to Digital Man on Thu Apr 23 2015 11:11 am

    Re: Packet password as a variable?
    By: Digital Man to Kostie Muirhead on Thu Apr 23 2015 01:14:41

    Try removing everything after the "TRUE" on those 3 lines. There was a recent bug-fix that would allow this syntax in .ini files, but that fix is probably not in the version of SEXPOTS you're running.
    That got it. Thanks!
    One other follow on, is there an ARS flag that can be set for sexpots for accessing a sub-board etc?

    Not exactly. You can check the connection rate using ARS. All Telnet, SSH, and RLogin connections will have an ARS "BPS" value of 30000. Your Sexpots connections will have a different value (e.g. 28800, 26400, etc.), so using an ARS of "BPS!=30000" would allow you to limit access to a specific BBS feature only for Sexpots/dial-in users.

    digital man

    Synchronet "Real Fact" #58:
    Synchronet apparel and merchandise can be purchased at cafepress.com/synchronet Norco, CA WX: 63.4øF, 65.0% humidity, 6 mph SE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Underminer@VERT/UNDRMINE to Digital Man on Thursday, April 23, 2015 17:52:18
    Re: Packet password as a variable?
    By: Digital Man to Kostie Muirhead on Thu Apr 23 2015 15:47:29

    Not exactly. You can check the connection rate using ARS. All Telnet, SSH, and RLogin connections will have an ARS "BPS" value of 30000. Your Sexpots connections will have a different value (e.g. 28800, 26400, etc.), so using an ARS of "BPS!=30000" would allow you to limit access to a specific BBS feature only for Sexpots/dial-in users.

    Excellent! I hadn't realized the others were constants, that knowledge may help elsewhere too.

    You're the best, Rob!
    ---
    Kostie Muirhead
    AKA Underminer
    The Undermine - undermine.ddns.net
    Fido: 1:342/17



    ---
    þ Synchronet þ The Undermine - undermine.ddns.net
  • From Digital Man@VERT to Underminer on Thursday, April 23, 2015 23:58:17
    Re: Packet password as a variable?
    By: Underminer to Digital Man on Thu Apr 23 2015 05:52 pm

    Re: Packet password as a variable?
    By: Digital Man to Kostie Muirhead on Thu Apr 23 2015 15:47:29

    Not exactly. You can check the connection rate using ARS. All Telnet, SSH, and RLogin connections will have an ARS "BPS" value of 30000. Your Sexpots connections will have a different value (e.g. 28800, 26400, etc.), so using an ARS of "BPS!=30000" would allow you to limit access to a specific BBS feature only for Sexpots/dial-in users.

    Excellent! I hadn't realized the others were constants, that knowledge may help elsewhere too.

    You're the best, Rob!

    No problem. The complete list is here: http://wiki.synchro.net/access:requirements#value_parameters

    digital man

    Synchronet "Real Fact" #17:
    Rob Swindell first learned to program in C by hacking on WWIV BBS software. Norco, CA WX: 56.0øF, 85.0% humidity, 6 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net