[Bug 401350] New: Unable to connect to Novell VPN on ppc
https://bugzilla.novell.com/show_bug.cgi?id=401350 Summary: Unable to connect to Novell VPN on ppc Product: openSUSE 11.0 Version: Final Platform: PowerPC OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Commercial AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lchiquitto@novell.com QAContact: qa@suse.de Found By: Development When trying to connect to Novell VPN using nvpn, the following error is returned: # nvpn -c Novell_Americas User Name : []username User Password : Connection in progress.. Phase 1 deleted Phase 1 established Event 14: VPNCLIENT-UI-4629:Peer disconnected due to inactivity . Increasing racoon's debug level to debug2, I found this suspect message in the logs: Jun 18 10:11:51 libre racoon: DEBUG: compute DH's shared. Jun 18 10:11:51 libre racoon: DEBUG: 1874be13 66455dc9 9ea4dfe9 67e87c23 7872bf4c 6c263b9c 4ed49dad 58566543 9811fa32 03bf186b e26ff4dc 0e2c81e5 ae0e20f2 5804b122 c5dc4d5a 042712cf 0a260adc 88818b3b 6d91eef0 4d0c9fc1 dc6b6e2c bce7c32a 27b58ca9 3e49e6c4 Jun 18 10:11:51 libre racoon: DEBUG: groupname:novellà\ <=== something wrong! Jun 18 10:11:51 libre racoon: DEBUG: grp passwd len:18 Jun 18 10:11:51 libre racoon: DEBUG: Encoded pass len 18 Jun 18 10:11:51 libre racoon: DEBUG: the psk found. Unfortunately, the message "DEBUG: groupname" comes from the closed source package novell-nortelplugins. I wish I could debug this further, but as I can't, I'm requesting help from the maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |bili@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c1 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lchiquitto@novell.com --- Comment #1 from Li Bin <bili@novell.com> 2008-06-20 00:05:08 MDT --- Leonardo, You also could use the 'vpnlogin' to change the configuration, or in your ~/.turnpike/ there are vendorprofiles dir for saving the group's information. So would you mind change the group name and try again? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c2 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|lchiquitto@novell.com | --- Comment #2 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-06-20 06:48:17 MDT --- Hello, The configuration file is ok. Indeed, it is the same I use with openSUSE 11 on x86_64: ~ # cat .turnpike/vendorprofiles/vendor_americas.prf <?xml version="1.0"?> <vendor vendorname="nortel"> <groupname>novell</groupname> <grouppasswd>xxx</grouppasswd> <gatewayip>vpn.americas.novell.com</gatewayip> <username></username> </vendor> The problem is that "novell-nortelplugins" is reading garbage (aka, missing a \0 somewhere) from the config files: ~ # grep groupname /var/log/messages Jun 20 09:25:14 libre racoon: DEBUG: groupname:novell}x Jun 20 09:25:45 libre racoon: DEBUG: groupname:novellt Jun 20 09:26:27 libre racoon: DEBUG: groupname:novellǐ Thanks, Leonardo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c3 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lchiquitto@novell.com --- Comment #3 from Li Bin <bili@novell.com> 2008-06-23 01:02:46 MDT --- Leonardo, The group name is vchar_t type, it has the value's pointer and the length of value. I output the debug info just use the pointer not judge the length, so display some wrong info, and now I change the debug info, so I think this issue is not relate to the roupname, would you send back your /var/log/message file to me? This package fix the groupname's display, it'll display the binary info of groupname, http://w3.suse.de/~bili/factory/novell-nortelplugins-0.1.3-57.ppc.rpm Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c6 --- Comment #6 from Li Bin <bili@novell.com> 2008-06-26 02:54:00 MDT --- And would you mind capture the packet when connect the VPN? just use the tcpdump -i any -s 1024 -w troubleshooting.cap -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c8 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|lchiquitto@novell.com | --- Comment #8 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-06-26 08:19:43 MDT --- Created an attachment (id=224574) --> (https://bugzilla.novell.com/attachment.cgi?id=224574) Requested traffic capture Bin, Here's the traffic captured when trying to connect to the VPN. Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c9 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #9 from Li Bin <bili@novell.com> 2008-07-01 04:15:03 MDT --- Leonardo, From the packet I found that the data is wrong when send auth information in config mode. May it's the bytes order, I'm not sure if it was caused by the ppc. And I'll found the reason, reply you later. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c10 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lchiquitto@novell.com --- Comment #10 from Li Bin <bili@novell.com> 2008-07-02 00:57:27 MDT --- Leonardo, I've fixed the bug, it caused by the big endian byte order, and now I added the support for big endian. You can test the package: http://w3.suse.de/~bili/factory/novell-nortelplugins-0.1.3-60.ppc.rpm If it works fine, I'll close this bug, and submit to factory for next release. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c11 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|lchiquitto@novell.com | --- Comment #11 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-07-02 05:22:50 MDT --- Bin, Unfortunately, no luck with the new package (same error). I'm attaching messages and traffic capture. Thanks! Leonardo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c12 --- Comment #12 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-07-02 05:24:30 MDT --- Created an attachment (id=225540) --> (https://bugzilla.novell.com/attachment.cgi?id=225540) Log file (after package 0.1.3-60 install) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c13 --- Comment #13 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-07-02 05:25:15 MDT --- Created an attachment (id=225542) --> (https://bugzilla.novell.com/attachment.cgi?id=225542) Traffic capture (after package 0.1.3-60 install) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c14 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lchiquitto@novell.com --- Comment #14 from Li Bin <bili@novell.com> 2008-07-07 03:48:46 MDT --- Leonardo, It's a little weird, I've changed the byte order, but your log is still the same. So I write a little sample for test your byte order, would mind compile it and run in your ppc, then send me back your result. --- endian.c ---- #include <stdio.h> #include <endian.h> #include <sys/types.h> #include <arpa/inet.h> #if BYTE_ORDER == BIG_ENDIAN #define TEST_ENDIAN 0x1234; #else #define TEST_ENDIAN 0x3412 #endif int main () { int i = TEST_ENDIAN; u_int16_t out = 0; out = htons((u_int16_t)i); printf ("i is 0x%08x. out is 0x%08x.\n", i, out); return 0; } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c15 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|lchiquitto@novell.com | --- Comment #15 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-07-07 08:31:43 MDT --- Here it is: $ ./endian i is 0x00001234. out is 0x00001234. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c16 --- Comment #16 from Li Bin <bili@novell.com> 2008-07-16 22:06:04 MDT --- Created an attachment (id=228293) --> (https://bugzilla.novell.com/attachment.cgi?id=228293) the mini version of racoon Leonardo, I write a mini program like racoon, so would you mind compile it again and send me back the result. I test this program in ppc64, it display the same with my laptop. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lchiquitto@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c17 --- Comment #17 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-07-18 10:01:01 MDT --- Here it is: $ ./bug-401350_main 800d 800d -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c18 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|lchiquitto@novell.com | --- Comment #18 from Li Bin <bili@novell.com> 2008-07-31 01:10:58 MDT --- So it should works fine, now I'm working on the new features of novellvpn, I need a testing environment for debugging this bug. And reply you later. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c19 --- Comment #19 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-08-07 07:51:27 MDT --- I can provide a machine for you, just let me know how can I reach you via IRC or IM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c20 --- Comment #20 from Li Bin <bili@novell.com> 2008-08-07 18:33:46 MDT --- (In reply to comment #19 from Leonardo Chiquitto)
I can provide a machine for you, just let me know how can I reach you via IRC or IM.
Great! Thanks! my im in novell is bili@novell.com. and BinLi_China in #opensuse-gnome in freenode. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lchiquitto@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c21 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|lchiquitto@novell.com | --- Comment #21 from Li Bin <bili@novell.com> 2008-08-26 07:17:12 MDT --- Leonardo, I've found the reason, it's caused by getchar(), it return int value, we just get the first type for char letter, so it's works fine in i386, but not in ppc. I've change the code, not using getchar() anymore, use fgets(). Thanks for what you have done for me. I've submit a rpm packages tomorrow for testing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c22 Bin Li <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |lchiquitto@novell.com --- Comment #22 from Bin Li <bili@novell.com> 2008-08-27 02:57:18 MDT --- Leonardo, Would you mind try this package? http://w3.suse.de/~bili/factory/novell-nortelplugins-0.1.3-93.ppc.rpm If it's ok, I would close this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User lchiquitto@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c23 Leonardo Chiquitto <lchiquitto@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|lchiquitto@novell.com | --- Comment #23 from Leonardo Chiquitto <lchiquitto@novell.com> 2008-08-28 06:30:17 MDT --- Bin, Thanks a lot for the fix. Now I can connect to the VPN. There is only on minor detail I'd like to mention: When nvpn suggests me the username to connect, and I just hit enter, it doesn't work: # nvpn -c Novell_Americas User Name : [lchiquitto] User Password : Connection in progress.. Phase 1 deleted Phase 1 established Event 14: VPNCLIENT-UI-4629:Peer disconnected due to inactivity . When I type the complete username, it works: # nvpn -c Novell_Americas User Name : []lchiquitto User Password : Connection in progress.. Phase 1 deleted Phase 1 deleted Phase 1 established Xauth exchange passed ISAKMP mode config done Phase 2 established 130.57.1.243 -> 10.1.1.4 Phase 2 established 10.1.1.4 -> 130.57.1.243 VPN client has successfully connected to the gateway 130.57.1.243 As this is not preventing me to connect, you can close the bug. Thanks again, Leonardo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c24 --- Comment #24 from Li Bin <bili@novell.com> 2008-09-01 10:19:50 MDT --- (In reply to comment #23 from Leonardo Chiquitto)
Bin,
Thanks a lot for the fix. Now I can connect to the VPN. There is only on minor detail I'd like to mention: When nvpn suggests me the username to connect, and I just hit enter, it doesn't work
Yes, it's a bug, I've change it in source code, I'll build package tomorrow for your testing. Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c25 --- Comment #25 from Li Bin <bili@novell.com> 2008-09-03 03:20:30 MDT --- Leonardo, Already submit to autobuild. You can try this also: http://w3.suse.de/~bili/factory/novell-nortelplugins-0.1.3-97.ppc.rpm -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=401350 User bili@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=401350#c26 Li Bin <bili@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #26 from Li Bin <bili@novell.com> 2008-09-03 03:22:33 MDT --- ->Fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com