Host's IP won't display properly

Bug #994197 reported by LadyStardust
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
FlexHub
Fix Released
Low
LadyStardust

Bug Description

Checked in two hubs.
1. From right click on selected user/or copy IP from a userlist and use command !ii <IP> - it won't show proper IP of a person. Bug only happens to internal IP. oldindian's hub is hosted by GeneralB, and apparently they both have same IP in a userlist (and it's oldindian's external IP). Bu when !ui each nick - IP looks as it should (external one for oldindian and internal one for GeneralB).

2. When i !ii <IP> (same method) from another hub on another hoster (who was online), hub responded that IP is not found:
[21:11:07] <Lucifer> *** !ipinfo 46.214.140.123
[21:11:07] <Lucifer> IP [ 46.214.140.123 ] not found.
but host was online, as a user, loged in internaly. I dont know where this IP was pick up to be honest.

Tags: hub
Revision history for this message
LadyStardust (ladystardust-dc) wrote :

<oldindian> ok I found my bug and it was not a bug at all...it seems there were 2 instances of flex running, I never discovered it untill I went to close the hub down completely...Everything looks normal now when i get his ip, except....look at the 2nd line...] <St.Alfonzo> *** !ipinfo IP
- [17:47:21] <St.Alfonzo> IP [ IP ] not found.

So it behavies same as above, in hub nr 2.

Revision history for this message
FlipFlop™ (flup-flop) wrote :

I don't think this is a bug.

When a user is logged in using a local IP, it doesn't use an external IP (viewed from the hub).

The hub will only replace that local IP with the external IP in traffic to other users to allow them to connect to the external IP of the user. The actual connection from user to the hub is still on internal IP, so that's what the hub shows in !ii and !ui.

Revision history for this message
FlipFlop™ (flup-flop) wrote :

Understood now, problem is external IP isn't updated for local connections.

Todo: send IP for all internal connected clients to all users when external IP of the hub changes

FlipFlop™ (flup-flop)
Changed in flexhub:
status: New → Confirmed
Changed in flexhub:
assignee: nobody → LadyStardust (ladystardust-dc)
endator (endator)
Changed in flexhub:
status: Confirmed → Fix Committed
Changed in flexhub:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.