• MIS POLL

    From Paul Hayton@3:770/100 to g00r00 on Saturday, January 07, 2023 12:15:41
    I wonder if an option for forcing IPv4 or IPv6 polling would be worth adding?

    I noted the change to default to IPv4 when using nodelist but then the thought becomes how to force an IPv6 only attempt?

    So if MIS POLL came with a -4 or -6 switch that might be a good idea?

    Not sure, but thought I'd throw that out for discussion.

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From Alisha Stutz@2:301/113 to Paul Hayton on Saturday, January 07, 2023 09:46:36
    Hi Paul,

    I wonder if an option for forcing IPv4 or IPv6 polling would be worth adding?

    I noted the change to default to IPv4 when using nodelist but then the thought becomes how to force an IPv6 only attempt?

    So if MIS POLL came with a -4 or -6 switch that might be a good idea?

    Not sure, but thought I'd throw that out for discussion.


    Theoretically this is not necessary if the application has been implemented according to "Happy Eyeballs"[1] which is related to RFC-4213[2]. Then IPv4 and IPv6 are requested at the same time and if IPv6 does not give an answer the fallback to IPv4 is done. Otherwise the traffic is primarily exchanged via IPv6 which is in the sense of promoting IPv6 traffic.

    [1] https://en.wikipedia.org/wiki/Happy_Eyeballs
    [2] https://datatracker.ietf.org/doc/html/rfc4213

    Best regards

    Alisha

    ... Error, no Keyboard - Press F1 to Continue.

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: swissIRC BBS (2:301/113)
  • From Jay Harris@1:229/664.1 to Paul Hayton on Saturday, January 07, 2023 07:14:46
    *** Quoting Paul Hayton from a message to g00r00 ***

    So if MIS POLL came with a -4 or -6 switch that might be a good idea?

    Not sure, but thought I'd throw that out for discussion.

    I would like to see this as well. My preferance would be for IPv6 but sometimes my ISP here turns it off randomly, so while my machine thinks I
    have an IPv6 address, it doesn't actually work.

    Being able to force poll everything with IPv4 with a -4 flag would make
    things easier than going into ./mystic -cfg to switch the node to IPv4 and then running ./mis poll

    That being said, if an IPv6 poll doesn't work, isn't it supposed to fall back to IPv4? I've not seen that be the case.


    Jay

    ... It's so true to life it's hardly true

    --- Telegard v3.09.g2-sp4/mL
    * Origin: Northern Realms | tg.nrbbs.net | 289-424-5180 (1:229/664.1)
  • From g00r00@1:129/215 to Jay Harris on Saturday, January 07, 2023 13:12:47
    Being able to force poll everything with IPv4 with a -4 flag would make things easier than going into ./mystic -cfg to switch the node to IPv4
    and then running ./mis poll

    That being said, if an IPv6 poll doesn't work, isn't it supposed to fall back to IPv4? I've not seen that be the case.

    Its supposed to work that way which would mean the -4 and -6 would not be all that useful. But...

    The fallback from IPV6 to IPV4 is only working if the DNS doesn't resolve an IPV6 address. If it resolves IPV6 and IPV4, it is not falling back to IPV4 properly on a failed IPV6 connect attempt.

    It *is* coded to fallback/function like "Happy Eyeballs" as Alisha mentioned earlier when set to "Default IPV6" or "IPV6+IPV4", but its broken. Not surprising since I coded IPV6 support way back in day without having IPV6 myself.

    For now I have changed the nodelist-lookup-based connections to use IPV4 in the latest build until I can figure out what is going wrong. With any luck I'll get some time to fix it up this weekend.

    ... Everyone smiles in the same language.

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Paul Hayton@3:770/100 to g00r00 on Sunday, January 08, 2023 14:34:21
    On 07 Jan 2023 at 01:12p, g00r00 pondered and said...

    Its supposed to work that way which would mean the -4 and -6 would not
    be all that useful. But...

    all good.

    It *is* coded to fallback/function like "Happy Eyeballs" as Alisha mentioned earlier when set to "Default IPV6" or "IPV6+IPV4", but its broken. Not surprising since I coded IPV6 support way back in day
    without having IPV6 myself.
    For now I have changed the nodelist-lookup-based connections to use IPV4 in the latest build until I can figure out what is going wrong. With
    any luck I'll get some time to fix it up this weekend.

    the joys of debugging huh? :)

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)
  • From g00r00@1:129/215 to Paul Hayton on Saturday, January 07, 2023 20:46:11
    For now I have changed the nodelist-lookup-based connections to use PH> g0> I
    in the latest build until I can figure out what is going wrong. PH> g0> With
    any luck I'll get some time to fix it up this weekend.

    the joys of debugging huh? :)

    I was able to fix it today. The bug has been around for so long that I am slightly worried that the fix could break something else.

    In the next build it will properly fallback to IPV4 if 6 fails!

    ... Confucius say: "Its stuffy inside fortune cookie"

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: Sector 7 * Mystic WHQ (1:129/215)
  • From Paul Hayton@3:770/100 to g00r00 on Sunday, January 08, 2023 17:42:29
    On 07 Jan 2023 at 08:46p, g00r00 pondered and said...

    I was able to fix it today. The bug has been around for so long that I
    am slightly worried that the fix could break something else.

    All will be well, you can always add more cowbell too :)

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (3:770/100)