tantra Posted December 15, 2014 Report Share Posted December 15, 2014 Hello btsync have wrong implementation of upnp. It works only on networks without routers between network segments. In our case we have follow network organization: Whole network is: 192.168.1.0/24 This network is divided to subnetworks with 64 host in each other. Now we have 3 subnetworks 192.168.1.0/26192.168.1.64/26192.168.1.128/26 subnetworks 192.168.1.64/26 and 192.168.1.128/26 join to 192.168.1.0/26 with routers. In 192.168.1.0/26 we have gateway(192.168.1.1) to global network. On that gateway work nat, nd upnp server, and btsync client placed in subnetwork 192.168.1.64/26. When btsync starts it send multicast SSDP discovery(we see this throw wireshark): M-SEARCH * HTTP/1.1HOST: 239.255.255.250:1900ST:upnp:rootdeviceMAN:"ssdp:discover"MX:3 and gateway response to it: HTTP/1.1 200 OKCACHE-CONTROL: max-age=120ST: upnp:rootdeviceUSN: uuid:75802409-bccb-40e7-8e6c-60a44c67052b::upnp:rootdeviceEXT:SERVER: RT-N56U/3.0.3.8 UPnP/1.1 MiniUPnPd/1.8LOCATION: http://192.168.1.1:47984/rootDesc.xmlOPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01 01-NLS: 1BOOTID.UPNP.ORG: 1CONFIGID.UPNP.ORG: 1337 But btsync just ignore this, and doesn't discovers service list: http://192.168.1.1:47984/rootDesc.xml, which have <deviceType>urn:schemas-upnp-org:device:InternetGatewayDevice:1</deviceType> As a result no any port are opened. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted December 17, 2014 Report Share Posted December 17, 2014 @tantraThanks for reporting. I'll check it in our lab and file a bug if confirmed. Quote Link to comment Share on other sites More sharing options...
tantra Posted December 25, 2014 Author Report Share Posted December 25, 2014 Hello Is it possible to know do you produce issue, and if so it bug track nubmer? Thanks Quote Link to comment Share on other sites More sharing options...
AlexanderD Posted January 23, 2015 Report Share Posted January 23, 2015 @tantraCold you please send us logs?http://sync-help.bittorrent.com/customer/portal/articles/1634349-collecting-debug-logs Quote Link to comment Share on other sites More sharing options...
tantra Posted January 25, 2015 Author Report Share Posted January 25, 2015 Not problem, here is debug log from fresh setup of btsync (after 2 restarts) platform: Windows workstation 5.1.2600 x86version: 1.4.106[2015-01-23 21:28:32] total physical memory 2147483647 max disk cache 33554432[2015-01-23 23:30:10] total physical memory 2147483647 max disk cache 33554432[2015-01-26 02:38:19] total physical memory 2147483647 max disk cache 33554432[2015-01-26 02:38:43] total physical memory 2147483647 max disk cache 33554432[2015-01-26 02:38:43] Using IP address 192.168.1.118[2015-01-26 02:38:43] ICMP port bind failed 0.0.0.0:10095: (10013) Сделана попытка доступа к сокету методом, запрещенным правами доступа.[2015-01-26 02:38:44] BCryptInit: failed to bind to bcrypt.dll - 126[2015-01-26 02:38:44] Aes Crypt algorithm provider has been loaded and initialized[2015-01-26 02:38:44] My PeerID: 10366D65C80114793C0C3C957B752ADF6971FB3D[2015-01-26 02:38:54] Error opening Windows firewall: 0x80070005 Отказано в доступе.[2015-01-26 02:40:04] saved history: 0 events[2015-01-26 02:40:04] SyncFolderScanner: shutting down working thread...[2015-01-26 02:40:04] Shutdown. Saving config sync.dat[2015-01-26 02:41:07] total physical memory 2147483647 max disk cache 33554432[2015-01-26 02:41:07] Using IP address 192.168.1.118[2015-01-26 02:41:07] ICMP port bind failed 0.0.0.0:10095: (10013) Сделана попытка доступа к сокету методом, запрещенным правами доступа.[2015-01-26 02:41:07] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642[2015-01-26 02:41:07] BCryptInit: failed to bind to bcrypt.dll - 126[2015-01-26 02:41:07] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD[2015-01-26 02:41:07] Aes Crypt algorithm provider has been loaded and initialized[2015-01-26 02:41:07] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293[2015-01-26 02:41:07] Loading config file version 1.4.106[2015-01-26 02:41:07] My PeerID: 10366D65C80114793C0C3C957B752ADF6971FB3D[2015-01-26 02:41:07] loaded history: 0 events[2015-01-26 02:41:07] setup socket 1192 for local peer discovery for 192.168.1.118:0: success[2015-01-26 02:41:07] setup socket 1208 for local peer discovery for 192.168.149.1:0: success[2015-01-26 02:41:07] setup socket 1216 for local peer discovery for 192.168.29.1:0: success[2015-01-26 02:41:07] setup socket 1224 for local peer discovery for 127.0.0.1:0: success[2015-01-26 02:41:18] Error opening Windows firewall: 0x80070005 Отказано в доступе.[2015-01-26 02:41:19] NAT-PMP: Unable to map port with NAT-PMP.[2015-01-26 02:46:43] saved history: 0 events[2015-01-26 02:46:43] SyncFolderScanner: shutting down working thread...[2015-01-26 02:46:43] Shutdown. Saving config sync.dat[2015-01-26 02:47:05] total physical memory 2147483647 max disk cache 33554432[2015-01-26 02:47:05] Using IP address 192.168.1.118[2015-01-26 02:47:05] ICMP port bind failed 0.0.0.0:10095: (10013) Сделана попытка доступа к сокету методом, запрещенным правами доступа.[2015-01-26 02:47:05] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642[2015-01-26 02:47:05] BCryptInit: failed to bind to bcrypt.dll - 126[2015-01-26 02:47:05] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD[2015-01-26 02:47:05] Aes Crypt algorithm provider has been loaded and initialized[2015-01-26 02:47:05] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293[2015-01-26 02:47:05] Loading config file version 1.4.106[2015-01-26 02:47:05] My PeerID: 10366D65C80114793C0C3C957B752ADF6971FB3D[2015-01-26 02:47:05] loaded history: 0 events[2015-01-26 02:47:05] setup socket 1196 for local peer discovery for 192.168.1.118:0: success[2015-01-26 02:47:05] setup socket 1216 for local peer discovery for 192.168.149.1:0: success[2015-01-26 02:47:05] setup socket 1224 for local peer discovery for 192.168.29.1:0: success[2015-01-26 02:47:05] setup socket 1232 for local peer discovery for 127.0.0.1:0: success[2015-01-26 02:47:16] Error opening Windows firewall: 0x80070005 Отказано в доступе.[2015-01-26 02:47:17] NAT-PMP: Unable to map port with NAT-PMP. Also i can send a wireshark trace when btsync starts(to see ssdp traffic) Quote Link to comment Share on other sites More sharing options...
AlexanderD Posted January 28, 2015 Report Share Posted January 28, 2015 @tantra Yes, could you please send us a wireshark trace?Could you please describe more how Sync behaves? Does it either crash or freeze? Did you try sync something? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.