• Re: jamnntpd and IPv6

    From Tommi Koivula@2:221/360 to Oli on Wed Dec 4 18:17:14 2019

    AI>> A jamnntpd server has been on my list of things to do for a
    AI>> long time. I might even get to it at some point. :)

    FB> If you run a 64bit linux prepare to a lot of pain! :(

    And 32-bit is unsupported by many linux distributions.

    Runs fine in this Raspberry PI2. Ubuntu 32bit :)

    ... Ubuntu 16.04.6 LTS (GNU/Linux 4.4.0-1125-raspi2 armv7l) ...

    'Tommi

    ---
    * Origin: nntp://rpi.rbb.bbs.fi (2:221/360)
  • From Fabio Bizzi@2:335/364.1 to Tommi Koivula on Wed Dec 4 19:28:44 2019
    Hello Tommi!

    04 Dec 19 18:00, you wrote to me:

    Here it is. With this help I made my jamnntpd AND smapinntpd to listen ipv6 too.

    No warranty. :)

    Thak you, but I think that the paste has had a problem here:

    [...]
    if(cfg_debug)
    os_logwrite("Compiled " __DATE__ " " __TIME__);



    n


    diff -urN ganjanntpd-1.9/nntpserv.c ganjanntpd-1.9-ipv6/nntpserv.c
    [...]

    Please could you check it? :)

    Ciao!
    Fabio

    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ]\/[imac Rebirth Boss Point (2:335/364.1)
  • From Tommi Koivula@2:221/360 to Fabio Bizzi on Thu Dec 5 09:22:30 2019
    Hi Fabio.

    04 Dec 19 19:28:44, you wrote to me:

    [...]
    if(cfg_debug)
    os_logwrite("Compiled " __DATE__ " " __TIME__);



    n


    diff -urN ganjanntpd-1.9/nntpserv.c ganjanntpd-1.9-ipv6/nntpserv.c
    [...]

    Please could you check it? :)

    It is just like that in my saved text file. The "n" must be just a typo.

    Ok, I found the original message from Konstantin Kuzov, dated 13 Mar 2017. I'll
    forward it here.

    'Tommi

    ---
    * Origin: - rbb.fidonet.fi - Finland - (2:221/360)
  • From Oli@2:280/464.47 to Tommi Koivula on Thu Dec 5 09:29:58 2019
    Tommi Koivula wrote:

    Hello, All.
    Jamnntpd server 1.0 doesn't accept the connection if this is on
    IPv6, any hint? :)

    There is an ipv6 patch. My linux servers do support ipv6.

    I'll post it here as soon as I get back home.

    Many thanks! ;)

    Here it is. With this help I made my jamnntpd AND smapinntpd to
    listen ipv6 too.

    It would be nice if IPv6 could be added to upstream.

    Does this patch really work with jamnntpd? It removes all the cfg_ipaddr stuff that isn't in jamnntpd 1.3.

    ---
    * Origin: (2:280/464.47)
  • From Tommi Koivula@2:221/6 to Oli on Thu Dec 5 10:40:36 2019

    Does this patch really work with jamnntpd? It removes all the cfg_ipaddr stuff that isn't in jamnntpd 1.3.

    Try "telnet rpi.rbb.bbs.fi 1119"

    ---
    * Origin: nntps://news.fidonet.fi (2:221/6.0)
  • From Oli@2:280/464.47 to Tommi Koivula on Thu Dec 5 10:00:59 2019
    On Thu, 5 Dec 2019 10:40:36 +0200
    "Tommi Koivula -> Oli" <0@6.221.2> wrote:

    Does this patch really work with jamnntpd? It removes all the
    cfg_ipaddr stuff that isn't in jamnntpd 1.3.

    Try "telnet rpi.rbb.bbs.fi 1119"

    is telnet a patch command? ;)

    I tried to apply the patch, didn't work.

    $ patch < ipv6-patch
    patching file main.c
    Hunk #1 FAILED at 223.
    Hunk #2 FAILED at 359.
    Hunk #3 FAILED at 401.
    Hunk #4 FAILED at 501.
    Hunk #5 FAILED at 518.
    Hunk #6 FAILED at 550.
    6 out of 6 hunks FAILED -- saving rejects to file main.c.rej
    patching file nntpserv.c
    Hunk #1 FAILED at 15.
    Hunk #2 FAILED at 3093.
    Hunk #3 FAILED at 3156.
    3 out of 3 hunks FAILED -- saving rejects to file nntpserv.c.rej
    patching file nntpserv.h
    Hunk #1 FAILED at 108.
    Hunk #2 FAILED at 118.
    2 out of 2 hunks FAILED -- saving rejects to file nntpserv.h.rej

    ---
    * Origin: (2:280/464.47)
  • From Tommi Koivula@2:221/360 to Oli on Thu Dec 5 11:27:42 2019

    OTK>> Does this patch really work with jamnntpd? It removes all the
    OTK>> cfg_ipaddr stuff that isn't in jamnntpd 1.3.

    Try "telnet rpi.rbb.bbs.fi 1119"

    is telnet a patch command? ;)

    Sure! ;)

    I tried to apply the patch, didn't work.

    I said that I made the changes with help of this. I never asked anyone to try to apply it directly.

    'Tommi

    ---
    * Origin: nntp://rbb.fidonet.fi - Lake Ylo - Finland (2:221/360)
  • From Michiel van der Vlist@2:280/5555 to Tommi Koivula on Thu Dec 5 10:07:21 2019
    Hello Tommi,

    On Thursday December 05 2019 10:40, you wrote to Oli:

    Try "telnet rpi.rbb.bbs.fi 1119"

    D:\FIDO\IPV6>telnet rpi.rbb.bbs.fi 1119
    Verbindungsaufbau zu rpi.rbb.bbs.fi...Es konnte keine Verbindung mit dem Host hergestellt
    werden, auf Port 1119: Verbinden fehlgeschlagen

    D:\FIDO\IPV6>


    Cheers, Michiel

    --- GoldED+/W32-MSVC 1.1.5-b20170303
    * Origin: http://www.vlist.eu (2:280/5555)
  • From Oli@2:280/464.47 to Tommi Koivula on Thu Dec 5 10:49:36 2019
    On Thu, 5 Dec 2019 11:27:42 +0200
    "Tommi Koivula -> Oli" <0@360.221.2> wrote:

     OTK>>>> Does this patch really work with jamnntpd? It removes all the
     OTK>>>> cfg_ipaddr stuff that isn't in jamnntpd 1.3.

     TK>>> Try "telnet rpi.rbb.bbs.fi 1119"

    is telnet a patch command? ;)

    Sure! ;)

    I tried to apply the patch, didn't work.

    I said that I made the changes with help of this. I never asked
    anyone to try to apply it directly.

    Okay, then I misunderstood your previous mail with the patch.

    ---
    * Origin: (2:280/464.47)
  • From Tommi Koivula@2:221/6 to Michiel van der Vlist on Thu Dec 5 11:48:00 2019
    On 05.12.2019 10:07, Michiel van der Vlist - Tommi Koivula :

    On Thursday December 05 2019 10:40, you wrote to Oli:

    Try "telnet rpi.rbb.bbs.fi 1119"

    D:\FIDO\IPV6>telnet rpi.rbb.bbs.fi 1119
    Verbindungsaufbau zu rpi.rbb.bbs.fi...Es konnte keine Verbindung mit dem Host
    hergestellt
    werden, auf Port 1119: Verbinden fehlgeschlagen

    Sttzen Sie nicht IPV6? :D

    It IS answering...

    05-Dec-19 10:43:24 (2001:41d0:701:1100::942:52476) Connection established to kco.fidonet.fi
    05-Dec-19 10:43:34 (2001:41d0:701:1100::942:52476) Connection closed
    05-Dec-19 11:07:04 (2a02:4d80:602:2:8000::f8:49338) Connection established to 2a02:4d80:602:2:8000::f8
    05-Dec-19 11:07:20 (2a02:4d80:602:2:8000::f8:49338) Connection closed

    ---
    * Origin: nntps://news.fidonet.fi (2:221/6.0)