Subj : Feature request
To   : Michiel van der Vlist
From : Oli
Date : Mon Nov 06 2023 08:16 pm

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)