Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Feature request

0 views
Skip to first unread message

Michiel van der Vlist

unread,
Nov 5, 2023, 2:05:39 PM11/5/23
to
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

Oli

unread,
Nov 6, 2023, 2:17:57 PM11/6/23
to
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
MvdV> 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
MvdV> 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

Tommi Koivula

unread,
Nov 7, 2023, 2:09:31 AM11/7/23
to
Hi Oli.

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

Ol> A Perl hook might work. Something like:

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

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

0 new messages