Comment 17 for bug 309402

Revision history for this message
Tehnick (tehnick) wrote :

First results are not optimistic...

1) Unfortunately last development version of uHub has compilation error in MS Windows yet.

2) Last stable release 0.3.2 was compiled normally but it don't work with IPv6 interface:
C:\uhub>uhub.exe -v
2011-07-29 03:23:08 WARN: Windows system, limited to 4096 connections.
2011-07-29 03:23:08 DEBUG: Initialized select network backend.
2011-07-29 03:23:08 DEBUG: IPv6 not supported.
2011-07-29 03:23:08 FATAL: Unable to start hub service

This is the case when server_bind_addr=:: in config.

In my Debian system this version of uHub also work fine:
2011-07-28 22:50:32 INFO: Starting uhub/0.3.2, listening on :::1511...

$ netstat -a | grep 1511 | grep tcp6
tcp6 0 0 [::]:1511 [::]:* LISTEN

3) Precompiled files from http://www.extatic.org/downloads/uhub/

C:\uhub-0.2.8>uhub.exe -v
2011-07-29 03:42:10 DEBUG: IPv6 not supported.

C:\uhub-0.2.7>uhub.exe -v
2011-07-29 04:13:49 ERROR: Unknown ACL command on line 52: '.'

C:\uhub-0.2.6>uhub.exe -v
Thu, 28 Jul 2011 20:12:15 +0000 ERROR: Unknown ACL command on line 52: '.'

...

C:\uhub-0.2.2-3393>uhub.exe -v
Thu, 28 Jul 2011 20:20:50 +0000 DEBUG: IPv6 supported and enabled.
Thu, 28 Jul 2011 20:20:50 +0000 INFO: Starting server, listening on :::1511

C:\uhub-0.2.0-3293>uhub.exe -v
Thu, 28 Jul 2011 20:05:35 +0000 DEBUG: IPv6 supported and enabled.
Thu, 28 Jul 2011 20:05:35 +0000 INFO: Starting server, listening on :::1511

netstat says:
 TCP [::]:1511 [::]:0 LISTENING [uhub.exe]

Also I tried to launch ubub binaries from wine.

TEMP/uhub-0.2.8$ wine uhub.exe -v
fixme:advapi:RegisterEventSourceA ((null),"mpich_mpd"): stub
fixme:advapi:RegisterEventSourceW (L"",L"mpich_mpd"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x85e5cc,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x143da8,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
2011-07-28 23:26:18 DEBUG: ACL: Added user 'Dj_Offset' (admin)
2011-07-28 23:26:18 DEBUG: ACL: Added user 'janvidar' (operator)
2011-07-28 23:26:18 DEBUG: ACL: Deny access for: 'Hub-Security' (deny_nick)
2011-07-28 23:26:18 DEBUG: ACL: Deny access for: 'Administrator' (deny_nick)
2011-07-28 23:26:18 DEBUG: ACL: Deny access for: 'root' (deny_nick)
2011-07-28 23:26:18 DEBUG: ACL: Deny access for: 'admin' (deny_nick)
2011-07-28 23:26:18 DEBUG: ACL: Deny access for: 'username' (deny_nick)
2011-07-28 23:26:18 DEBUG: ACL: Deny access for: 'user' (deny_nick)
2011-07-28 23:26:18 DEBUG: ACL: Deny access for: 'guest' (deny_nick)
2011-07-28 23:26:18 DEBUG: ACL: Deny access for: 'operator' (deny_nick)
2011-07-28 23:26:18 DEBUG: IPv6 not supported.
2011-07-28 23:26:18 INFO: Starting uHub/0.2.8, listening on 0.0.0.0:1511...

TEMP/uhub-0.2.2-3393$ wine uhub.exe -v
err:menubuilder:init_xdg error looking up the desktop directory
fixme:advapi:RegisterEventSourceA ((null),"mpich_mpd"): stub
fixme:advapi:RegisterEventSourceW (L"",L"mpich_mpd"): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x85e5cc,(nil)): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000000,(nil),0x0001,0x00000000,0x143c38,(nil)): stub
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Added user 'Dj_Offset' (admin)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Added user 'janvidar' (operator)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Deny access for: 'Hub-Security' (deny_nick)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Deny access for: 'Administrator' (deny_nick)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Deny access for: 'root' (deny_nick)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Deny access for: 'admin' (deny_nick)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Deny access for: 'username' (deny_nick)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Deny access for: 'user' (deny_nick)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Deny access for: 'guest' (deny_nick)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: ACL: Deny access for: 'operator' (deny_nick)
Thu, 28 Jul 2011 20:24:37 +0000 DEBUG: IPv6 supported and enabled.
Thu, 28 Jul 2011 20:24:37 +0000 INFO: Starting server, listening on :::1511

$ netstat -a | grep 1511 | grep tcp6
tcp6 0 0 [::]:1511 [::]:* LISTEN