Change Nickname, not reflected on other clients

Bug #850180 reported by Desmond Potts
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Haguichi
Fix Released
Wishlist
Stephen Brandt

Bug Description

Ubuntu Info
Linux {name} 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Hamachi Info
version : 2.1.0.17

Hamguichi Info
version : Lastest updated

I have a network with multiple machines all mine. Two Windows 7 64Bit, Two Ubuntu 64Bit (Same version as listed)
On the Ubuntu machines, if I use the Hamguichi load screen to change Nickname it shows in Hamguichi on both Ubuntu clients. However, the Windows 7 clients don't update. If I update the Nickname in Windows 7 clients they all update.

Before you dismiss this as Windows 7 Client error, if you do a detailed view on the "incorrect" nickname it will show the correct nickname. I know I know still sounds like Windows 7 client error. But hold up..

If I terminal in the Ubuntu Machines and use the "Hamachi set-nick '{name}'" command they instantly show up in the Windows 7 Clients and Ubuntu Clients.

I tested this a few different ways. For some reason even though the Windows 7 client pulls the correct name, it doesn't update the displayed name unless i use the "Hamachi Set-nick" command from a console. To test this I also removed Hamguichi from one of the Ubuntu's disconnected, change nick, reconnect and Windows 7 sees the new nickname.

The conclusion I have is, Hamguichi is setting the nickname and sending the nickname, but Hamachi network has some sort of Display nickname cache that is only updated with the "hamachi set-nick" command.

While I'm willing to admit it sounds tooo much like Windows 7 Client issue, the only way to correct the name was to literally use the Hamachi console command in Ubuntu, either it's Hamachi or Hamguichi issue as it's the only time I've seen Hamachi not update the nickname.

This is very easy to replicate.
Ubuntu Hamguichi Login or create a network.
Windows 7 Login or Join created network.
Ubuntu - Logout, Change Nickname on the Connect/Splash Screen - Reconnect.

The Windows 7 Clients should not update the name.
Last thing.. yes, I did remove the Ubuntu clients from the "Cache" in the Windows 7 Client settings under the security options in preferences. It didn't make a difference.

Revision history for this message
Stephen Brandt (ztefn) wrote :

I cannot replicate this behavior, everything works just fine. Haguichi itself already sends the command "hamachi set-nick" after each login since version 1.0.5 [1]. You can spot this if you run Haguichi in debug mode from the terminal (enter "haguichi --debug"). Watch for somehting like "[{timestamp} HAMACHI] [Hamachi.SetNick] Setting nickname .. ok".

Btw, it's spelled HAGUICHI...

[1] http://www.haguichi.net/news/release105/

Stephen Brandt (ztefn)
tags: added: haguichi
removed: hamguichi
Revision history for this message
Stephen Brandt (ztefn) wrote :

I assume the lack of response indicates you have reached the same —not a bug in Haguichi— conclusion?

Changed in haguichi:
status: New → Invalid
Revision history for this message
Desmond Potts (despotism) wrote :

If there is anything you need from me to confirm this please let me know, it's still doing the same thing.
However, I'll admit I'm not very strong in Linux OS yet. It may very well be something in my setup.

I had asked a friend of mine to join the network, he has the Ubuntu 11.04, same version of Hamachi and Haguichi. He to has multiple machines one Windows 7 64, one Windows XP (32bit). I had also joined my Wife's Windows 7 32Bit to the network.
No matter which machine changes nick, all the machines pick up the nick change, unless it's that particular Ubuntu 11.04, Hamachi/Haguichi machine.

I could replicate the error every single time I tried, he has much more experience in the Linux OS as I do he said it is probably a combination of two things. Haguichi and my Ubuntu and or Hamachi install, he suggested I remove and reinstall everything. Which I did, I even did a purge after removing the packages, re-downloaded everything and he gave me his instructions he used to install it on his Ubuntu. With his guidance, it still does the same thing. This lead us to believe the network is at fault. This is a clean/fresh formatted harddrive Ubuntu with CD Install followed up my updating.

The network is as such - Ubuntu with issues is connected to a Desktop Switch which the Win7 machine is also connected to.
From there it connect to the network which has two subnets, one of which is the private subnet for "IT", the other is the subnet to the rest of the building. There is no "direct internet" connection to the subnet these machines are on, the Gateway is on the "building" subnet.

From there, it routed to the main international subnet which is connected to internet gateway that goes to the AT&T Cloud. Now Hamachi tunnels it's way which out and back in, so all of that doesn't matter, but it appears it be the only link that matters, because... I took home the machine, and when updating the Nick on my home network, updated the Win7 and all the other members of the Hamachi network. Taking it back to work, it started performing the same thing, doesn't update the nick when changed from Haguichi unless using the Hamachi CLI. I don't know why, and it's not a very hot priority, Hamachi nick changes via the CLI happen instantly, Haguichi nick changes do not refresh the clients joined to the Hamachi network group.

I'm more than happy for this issue to be closed, it's not a major concern and it certainly doesn't stop anything from happening, so it's more of an annoyance than a bug. If you believe Haguichi is not at fault you're more then welcome to close this report out.

I'm so very sorry for naming it Hamguichi, I want to thank you for your time and efforts.

Revision history for this message
Desmond Potts (despotism) wrote :

BTW I'm so very sorry about lack of response and delay, I was not in town for the last three.

I'll have a look if I can get a screen shot of the issue using a third machine, maybe a frap capture to demonstrate the issue.
As I said, this is not a very hot issue, if it doesn't happen for others I'm happy to have this closed out.

Revision history for this message
Stephen Brandt (ztefn) wrote :

The core thing is, you say that nick changes via the CLI do happen instantly. Well, Haguichi uses the CLI too... As I said in my previous response, you can see all the CLI commands Haguichi sends for yourself if you run in debug mode. As long as you see "[Hamachi.SetNick] Setting nickname .. ok" scrolling by after you set your nick (when logged in) or after you logged in, then Haguichi has done it's job.

Revision history for this message
Desmond Potts (despotism) wrote :

I understand what you're saying, and I appreciate you answering here.

Unless I'm doing something wrong, the only way to change the Nickname after joining a network via Haguichi is to disconnect from the network, change the Nick, and reconnect. This is actually done by not just disconnecting form the "Network, but also disconnecting from Hamachi services. When done via the CLI, there is no reason to disconnect or logoff Hamachi service, you just enter the command and it changes.

Here is how I managed to replicate it again, mind you I attempted a similar processes on the Win7 machine and if didn't experience the oddity, and I did it via CLI and the nick changed as well.

1) Load Haguichi - set nick join Hamachi service.
2) Connect to a network on the Ubuntu machine.
3) Connect to the same network with any other computer.
4) Disconnect/Logoff Haguichi but leave the program running. (Don't quit)
5) Change your nickname by clicking on your Nick at the login/connect screen.
6) Once changed to something else, reconnect to the same network.

Every time I do this, the old Nick remains displayed on the other machines. Mind you, this only happens at Work behind a couple of firewalls and subnets, which I do not understand why this makes a difference to a tunneling service, at home this does not happen. The interesting thing here is I could do the same set of commends via Hamachi CLI in the same sequence and after Ubuntu rejoined the network the nick changed. It only happens when I disconnect, change nick via the method above (as I do not know any other Haguichi method of changing nick), and reconnect to the same network.

Unless otherwise stated by you for a little more information or something else, I'll consider this issue closed out. It's not vitally important, and am more then happy to let it go. I just thought something like this would be easy to see and makes the program more refined without unusual easy to work around issues.

Have a wonderful day and seriously I like this program. Having GUI for everything I used on Windows is helping me make the transition to Ubuntu very easy.

Revision history for this message
Stephen Brandt (ztefn) wrote :

"Unless I'm doing something wrong, the only way to change the Nickname after joining a network via Haguichi is to disconnect from the network, change the Nick, and reconnect."

Yes, your doing something wrong here: At anytime you can go to "Client" -> "Change Nickname..." in the menubar. You don't have to do this from the login screen. Please tell me why this is not obvious, is it because the global menubar in Ubuntu that is hidden until you mouseover it?

Also, may I ask you why you have to change the nickname after joining a network? Is it because the other machines in that network don't see your current nick until you set it again? In that case I can make Haguichi do a set-nick command after joining/creating a network in future releases. You shouldn't have to change your all the time unless your schizophrenic. ;-)

Revision history for this message
Desmond Potts (despotism) wrote : Re: [Bug 850180] Re: Change Nickname, not reflected on other clients
Download full text (5.1 KiB)

Ahh, see this was not clear to me. I am a little new to Ubuntu/Linux in
general. I only recently discovered the menu is not on the app window but in
the menu bar at the top of the screen.
Yes, changing the Nickname using the menu does change it instantly as if
using the CLI.

The nick was actually a one off I don't have any intention to change
nickname regularly I just wanted to change the name to new naming convention
for my little network. When I noticed this I believed it to be a bug and
thought I should do the right thing and report it. I also though I had done
something wrong or that something was wrong which lead me to the length
process of trying to resolve the issue. It may be a Hamachi issue rather
then Haguichi issue, but I'm unable to replicate it without Haguichi
running.

"Is it because the other machines in that network don't see your current
nick until you set it again?"
Yes this is what I believe the reason is. It only happens if I disconnect
from Hamachi, change the Nick at the login screen, reconnect to Hamachi
using Haguichi.
The old nickname remains displayed on the other clients until I set the
nickname *while* connect to Hamachi network. I'm not a programmer by any
imagination, but I would believe running the "Set Nick" command on
connecting to Hamachi network would resolve the issue.

It's a small issue with a very very narrow set commands in a particular
sequence to make this happen. I'm actually more inclined to leave it be and
report it as a "Explained Feature" then piping a setnick command on
connection. The only reason to burn a little extra bandwidth on connection
is to appease the minds of the anal-retentive :)

On Tue, Sep 20, 2011 at 4:09 AM, Stephen Brandt
<email address hidden>wrote:

> "Unless I'm doing something wrong, the only way to change the Nickname
> after joining a network via Haguichi is to disconnect from the network,
> change the Nick, and reconnect."
>
> Yes, your doing something wrong here: At anytime you can go to "Client"
> -> "Change Nickname..." in the menubar. You don't have to do this from
> the login screen. Please tell me why this is not obvious, is it because
> the global menubar in Ubuntu that is hidden until you mouseover it?
>
> Also, may I ask you why you have to change the nickname after joining a
> network? Is it because the other machines in that network don't see your
> current nick until you set it again? In that case I can make Haguichi do
> a set-nick command after joining/creating a network in future releases.
> You shouldn't have to change your all the time unless your
> schizophrenic. ;-)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/850180
>
> Title:
> Change Nickname, not reflected on other clients
>
> Status in Haguichi:
> Invalid
>
> Bug description:
> Ubuntu Info
> Linux {name} 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011
> x86_64 x86_64 x86_64 GNU/Linux
>
> Hamachi Info
> version : 2.1.0.17
>
> Hamguichi Info
> version : Lastest updated
>
> I have a network with multiple machines all mine. Two Windows 7 64Bit, Two
> Ubuntu 64Bit (Same version as liste...

Read more...

Revision history for this message
Stephen Brandt (ztefn) wrote :

Triggering a set-nick after joining/creating a network is just a minor addition. I've made a test version you can install that will do just that. Haguichi will call set-nick two seconds* after the network is joined/created. Please give it a try and let me know if it fixes the problem:
http://www.haguichi.net/haguichi_1.0.11rev225_all.deb

Although the issue might be a minor nuisance, I really appreciate your effort and responsiveness this bug report. Other people might be too lazy to report it and just ignore issues they find, while things could be made better for everyone when solved.

*) If done immediately Hamachi reports being bussy

Revision history for this message
Desmond Potts (despotism) wrote :

This worked very well as expected, thank you very much for your time and
efforts on this. Sorry it took a couple of days to get back to you about
this, real life was eating away at my time.

This bug report can be closed out in my opinion, it's working as expected in
all locations I originally tested without fail. I'm unable to duplicate the
issue so I would happily consider this small minor nuisance resolved.

Thank you again for helping out on this non-issue created by someone not
knowing how to properly use the program. If anything to make it more idiot
proof :)

Desmond Potts.

On Wed, Sep 21, 2011 at 4:16 PM, Stephen Brandt
<email address hidden>wrote:

> Triggering a set-nick after joining/creating a network is just a minor
> addition. I've made a test version you can install that will do just that.
> Haguichi will call set-nick two seconds* after the network is
> joined/created. Please give it a try and let me know if it fixes the
> problem:
> http://www.haguichi.net/haguichi_1.0.11rev225_all.deb
>
> Although the issue might be a minor nuisance, I really appreciate your
> effort and responsiveness this bug report. Other people might be too
> lazy to report it and just ignore issues they find, while things could
> be made better for everyone when solved.
>
>
> *) If done immediately Hamachi reports being bussy
>

Revision history for this message
Stephen Brandt (ztefn) wrote :

No problem. The goal of Haguichi is to make everything work as straightforward as possible.

Thanks for your testing. I've commited the fix [1], it will be included in the next version.

[1] http://bazaar.launchpad.net/~ztefn/haguichi/trunk/revision/226

Changed in haguichi:
status: Invalid → Fix Committed
importance: Undecided → Wishlist
assignee: nobody → Stephen Brandt (ztefn)
milestone: none → 1.0.12
Stephen Brandt (ztefn)
Changed in haguichi:
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.