• Feature request

    From Michiel van der Vlist@2:280/5555 to Binkd team on Sun Nov 5 19:54:26 2023
    Hello Binkd Team,

    I would like to see the following.

    On an incoming call binkd reports:

    - 10 May 14:46:36 [756] incoming from 2001:16d8:ff00:306::2 (3499)

    What I would like to see is this:

    - 10 May 14:46:36 [756] incoming from 2001:16d8:ff00:306::2 (3499) to 2001:7b8:2ff:3a9::2

    Where 2001:7b8:2ff:3a9::2 is one of my own IP addresses, the address that caller used to contact my binkd server.


    Reason:

    My binkd server is "multi homed". It can be reached via two different ways. Via my SixXs tunnel and via my he.net tunnel. In order to judge how effective this "multi homing" is, I would like to see via which channel an incoming call comes in.

    Tnx.

    P.S.

    I wrote this in 2016. SixXs is gone and I no longer use a he.net tunnel. I had native IPv6 from the cable company. Since about two month however I also have FTTH. I kept my cable connection for the time being. In the foreseeable future I will make a choice but for now I am mulltihomed...


    Cheers, Michiel

    ---
    * Origin: http://www.vlist.eu (2:280/5555)
  • From Oli@2:280/464.47 to Michiel van der Vlist on Mon Nov 6 20:16:11 2023
    Michiel wrote (2023-11-05):

    MvdV> Hello Binkd Team,

    MvdV> I would like to see the following.

    MvdV> On an incoming call binkd reports:

    MvdV> - 10 May 14:46:36 [756] incoming from 2001:16d8:ff00:306::2 (3499)

    MvdV> What I would like to see is this:

    MvdV> - 10 May 14:46:36 [756] incoming from 2001:16d8:ff00:306::2 (3499) to
    MvdV> 2001:7b8:2ff:3a9::2

    MvdV> Where 2001:7b8:2ff:3a9::2 is one of my own IP addresses, the address that
    MvdV> caller used to contact my binkd server.


    MvdV> Reason:

    MvdV> My binkd server is "multi homed". It can be reached via two different
    MvdV> ways. Via my SixXs tunnel and via my he.net tunnel. In order to judge how
    MvdV> effective this "multi homing" is, I would like to see via which channel
    MvdV> an incoming call comes in.

    A Perl hook might work. Something like:

    sub on_handshake
    {
    Log(3,"incoming to $our_ip $our_port");
    }


    or modify the "incoming" log message in the on_log() hook

    ---
    * Origin: No REPLY kludge - no reply (2:280/464.47)
  • From Tommi Koivula@2:221/360 to Oli on Tue Nov 7 09:06:28 2023
    Hi Oli.

    06 Nov 23 20:16, you wrote to Michiel van der Vlist:

    A Perl hook might work. Something like:

    sub on_handshake
    {
    Log(3,"incoming to $our_ip $our_port");
    }

    It shows outgoing too. Had to remove "incoming" :)

    07 Nov 09:05:20 [1361253] trying f1.n221.z2.binkp.net. [2a01:4f9:c011:1ec5:f1d0:2:221:1]...
    07 Nov 09:05:20 [1361253] connected
    + 07 Nov 09:05:20 [1361253] outgoing session with f1.n221.z2.binkp.net:24554 [2a01:4f9:c011:1ec5:f1d0:2:221:1]
    ? 07 Nov 09:05:20 [1361253] - our ip 2a01:4f9:c011:1ec5:f1d0:2:221:10 58727
    - 07 Nov 09:05:20 [1361253] OPT CRAM-MD5-95662b6e846d586131cf4c653088ecee
    + 07 Nov 09:05:20 [1361253] Remote requests MD mode
    - 07 Nov 09:05:20 [1361253] SYS RBB/2
    - 07 Nov 09:05:20 [1361253] ZYZ Tommi Koivula
    - 07 Nov 09:05:20 [1361253] LOC Lake Ylo, Finland
    - 07 Nov 09:05:20 [1361253] NDL IBN,CM
    - 07 Nov 09:05:20 [1361253] TIME Tue, 7 Nov 2023 09:05:19 +0200
    - 07 Nov 09:05:20 [1361253] VER binkd/1.1a-115/OS2 binkp/1.1

    'Tommi

    --- GoldED+/LNX 1.1.5-b20231028
    * Origin: nntps://news.fidonet.fi (2:221/360)
  • From Michiel van der Vlist@2:280/5555 to Oli on Tue Nov 7 17:11:14 2023
    Hello Oli,

    On Monday November 06 2023 20:16, you wrote to me:

    MvdV>> - 10 May 14:46:36 [756] incoming from 2001:16d8:ff00:306::2
    MvdV>> (3499) to 2001:7b8:2ff:3a9::2

    MvdV>> Where 2001:7b8:2ff:3a9::2 is one of my own IP addresses, the
    MvdV>> address that caller used to contact my binkd server.
    [..]
    A Perl hook might work. Something like:

    sub on_handshake
    {
    Log(3,"incoming to $our_ip $our_port");
    }

    Hmmm... I have neve used Perl, so I would have to delve ionto that to follow your suggestion. I am not all that eager to do that, I'd prefer a solution that makes it an integral part of binkd. I remember someone posting the code to do this some five years ago when I first brought it up, but I can't find it any more... :(

    * Origin: No REPLY kludge - no reply (2:280/464.47)

    H‚ you stole that from me. ;-)


    Cheers, Michiel

    --- GoldED+/W32-MSVC 1.1.5-b20170303
    * Origin: http://www.vlist.eu (2:280/5555)
  • From Michiel van der Vlist@2:280/5555 to Tommi Koivula on Tue Nov 7 17:15:47 2023
    Hello Tommi,

    On Tuesday November 07 2023 09:06, you wrote to Oli:

    It shows outgoing too. Had to remove "incoming" :)

    That may be useful too. For someone who has no control over what IP is used on outgoing. Which brings uop something else. The limitations of the bindaddr keyword....

    See following messages.


    Cheers, Michiel

    --- GoldED+/W32-MSVC 1.1.5-b20170303
    * Origin: http://www.vlist.eu (2:280/5555)