Replies: 11 comments 8 replies
-
|
It seems the Is that something that can be changed? |
Beta Was this translation helpful? Give feedback.
-
|
If you can replace the version of JGroups used in the commercial product, then it doesn't matter that you use a system variable; JGroups will recognize it and not skip interfaces which are down. |
Beta Was this translation helpful? Give feedback.
-
|
If we go down the route of using a system property (or env variable), the question is whether we should skip the down check for all interfaces which are down, or whether you want to set a set of interfaces where the down check should be skipped. |
Beta Was this translation helpful? Give feedback.
-
|
The software is using JGroups 4.2.20.Final. I think it's probably better to have a feature where only specific interfaces would have the down check overridden, to avoid unintended impact. I don't think checking for virtual interfaces will work. From what I found, Java on *nix considers an interface virtual only if has a colon in its name, e.g. |
Beta Was this translation helpful? Give feedback.
-
|
Need to find a better name. Also, I'm thinking of using regexps for the interface list. Should we also allow for IP addresses there? |
Beta Was this translation helpful? Give feedback.
-
|
The last |
Beta Was this translation helpful? Give feedback.
-
|
I created https://redhat.atlassian.net/browse/JGRP-2994 to keep track of this |
Beta Was this translation helpful? Give feedback.
-
|
I fixed this on the |
Beta Was this translation helpful? Give feedback.
-
|
Any news on this? @nsturmwind have you tested that this works? |
Beta Was this translation helpful? Give feedback.
-
|
We'll need a couple of weeks to test this, we are working with the vendor to ensure we aren't violating any contract terms by swapping out the jar.
Sent from Bloomberg Professional for Android
…----- Original Message -----
From: Bela Ban ***@***.***>
To: ***@***.***
CC: NOAM STURMWIND, ***@***.***
At: 03/26/26 07:46:20 UTC-04:00
Any news on this? @nsturmwind have you tested that this works?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Ok, let me know when you have resultsVon meinem/meiner Galaxy gesendet
-------- Ursprüngliche Nachricht --------Von: Noam Sturmwind ***@***.***> Datum: 26.03.26 14:21 (GMT+01:00) An: belaban/JGroups ***@***.***> Cc: Bela Ban ***@***.***>, Comment ***@***.***> Betreff: Re: [belaban/JGroups] Unable to bind to an ip address on a virtual, tap, interface (Discussion #897)
We'll need a couple of weeks to test this, we are working with the vendor to ensure we aren't violating any contract terms by swapping out the jar.
Sent from Bloomberg Professional for Android
…----- Original Message -----
From: Bela Ban ***@***.***>
To: ***@***.***
CC: NOAM STURMWIND, ***@***.***
At: 03/26/26 07:46:20 UTC-04:00
Any news on this? @nsturmwind have you tested that this works?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am having an issue with an app that uses JGroups binding to an ip address on a virtual, tap, interface.
I get the error
Is there any issues w/ JGroups binding to virtual tap interfaces?
I can bind to that ip address fine using netcat,
nc, fineThe only thing I could see is maybe
It seems to fail the
checkIfValidAddress()call which I see callsgetAllAvailableAddresses()https://github.com/belaban/JGroups/blob/master/src/org/jgroups/util/Util.java#L4901
And I see that
getAllAvailableAddresses()checks to see if an address is up or not before including ithttps://github.com/belaban/JGroups/blob/master/src/org/jgroups/util/Util.java#L4887
But
ip addrshows that that ip's interface is marked state down.I wasn't able to determine how
isUp()really checks if something is up or not. Seems like always true if no socket exception? But unclear.https://github.com/belaban/JGroups/blob/master/src/org/jgroups/util/Util.java#L4755
But since netcat can bind to it, it seems like the interface is fine.
Any thoughts would be appreciated. Thanks
Beta Was this translation helpful? Give feedback.
All reactions