2008-12-31 14:38:16 +0800 net.c:175 [Error] Transmission: Couldn't connect socket 205 to 232.187.11.176, port 1373 (errno 47 - Address family not supported by protocol family)
2008-12-31 14:45:10 +0800 web.c:289 [Error] Transmission: invalid socket argument
"Address family not supported by protocol family" errors?
Re: Help: How to solve these errors??
I've seen the same Errors in my log (Transmission 1.40, haven't upgraded yet).
The reason why those connects fail ist: any IPv4 address with the first byte between 224 and 240 is a Multicast Address.
A TCP unicast client simply cannot connect to such a bogus IP address.
I do not know why transmission tries to connect to multicast addresses.
Maybe some bogus peer tries to disrupt the torrent, or some little-endian/network-byte-order problem in some peer's broken BT-software (then the IP address would actually be 176.11.187.232 and the port would be 23813 instead)...
The reason why those connects fail ist: any IPv4 address with the first byte between 224 and 240 is a Multicast Address.
A TCP unicast client simply cannot connect to such a bogus IP address.
I do not know why transmission tries to connect to multicast addresses.
Maybe some bogus peer tries to disrupt the torrent, or some little-endian/network-byte-order problem in some peer's broken BT-software (then the IP address would actually be 176.11.187.232 and the port would be 23813 instead)...
Re: "Address family not supported by protocol family" errors?
jhujhiti has been looking into this problem. I'll point him to this thread.
[admin: Subject revised for disambiguation]
[admin: Subject revised for disambiguation]
Re: "Address family not supported by protocol family" errors?
[Edit:] apparently i was wrong. The code in peer-mgr.c does not cause the error, although it should use ntoh-macros.
I guess there are more than one host-byte-order/network-byte-order issues buried in the transmission source code.
I guess there are more than one host-byte-order/network-byte-order issues buried in the transmission source code.
Re: "Address family not supported by protocol family" errors?
No, there aren't. If there were, nothing would work. I suspect that these errors come from a buggy tracker. Trunk code currently has extra debugging information being printed. Try a recent revision and look for messages that say "funny looking address."Jor wrote:I guess there are more than one host-byte-order/network-byte-order issues buried in the transmission source code.
Re: "Address family not supported by protocol family" errors?
I have that error in my Subversion, always when trying do "svn co ..." from any host (even transmission),
so can it by a system issue?[root@MyBook svn]# svn co svn://svn.m0k.org/Transmission/trunk Transmission
svn: Can't read directory 'Transmission': Address family not supported by protocol