freicoin / freicoin-old

Bitcoin integration/staging tree
http://www.bitcoin.org
MIT License
26 stars 8 forks source link

Linux failure behind Firewall #80

Open andrewcooke opened 11 years ago

andrewcooke commented 11 years ago

hi, as discussed at http://news.ycombinator.com/item?id=4979766 when i start the QT client i get what appears to be an error (after waiting some time).

i am behind a cable modem that doesn't accept incoming connections. my os is opensuse 12.2. i can't see how to attach files so have put the debug.log at http://acooke.org/freicoin-debug.log

maaku commented 11 years ago

Andrew, it would appear your connection to the Freicoin network was being filtered. You were able to establish a TCP connection with other client, but unable to receive messages from those. My guess is that the firewall (more likely) or your ISP (less likely) is at fault here, but that is the limit of what I can infer from the log.

By the way, I didn't realize who you were on HN, but thank you for your work on LEPL. I used that on another project, a canonical s-expression parser in Python:

https://github.com/monetizeio/haiku-lang

andrewcooke commented 11 years ago

so the client does need to listen to the network? (which is expected)

or do you mean that incoming packets for an existing conversation (started by my machine with an outgoing cnx to somewhere else) are being blocked? (which would be very odd and worries me)

glad you found lepl useful!

cheers, andrew

On Fri, Dec 28, 2012 at 03:01:57PM -0800, Mark Friedenbach wrote:

Andrew, it would appear your connection to the Freicoin network was being filtered. You were able to establish a TCP connection with other client, but unable to receive messages from those. My guess is that the firewall (more likely) or your ISP (less likely) is at fault here, but that is the limit of what I can infer from the log.

By the way, I didn't realize who you were on HN, but thank you for your work on LEPL. I used that on another project, a canonical s-expression parser in Python:

https://github.com/monetizeio/haiku-lang


Reply to this email directly or view it on GitHub: https://github.com/freicoin/freicoin/issues/80#issuecomment-11743895

maaku commented 11 years ago

I mean the latter - your debug.log shows successful connections which timeout after 30 seconds when no version acknowledge response is received (the standard packet which is sent in response to a incoming bitcoin/freicoin connection).

andrewcooke commented 11 years ago

well, that's certainly true. i don't see any response. this is the entire conversation from my client to a remote port 8639:

00000000 e4 42 2f 61 76 65 72 73 69 6f 6e 00 00 00 00 00 .B/avers ion..... 00000010 64 00 00 00 b3 e6 ec 3b 62 ea 00 00 01 00 00 00 d......; b....... 00000020 00 00 00 00 99 58 de 50 00 00 00 00 01 00 00 00 .....X.P ........ 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ........ ........ 00000040 52 91 35 7c 21 bf 01 00 00 00 00 00 00 00 00 00 R.5|!... ........ 00000050 00 00 00 00 00 00 00 00 ff ff be 15 aa 00 21 bf ........ ......!. 00000060 32 1e 19 ff 15 31 9d 82 0f 2f 53 61 74 6f 73 68 2....1.. ./Satosh 00000070 69 3a 30 2e 37 2e 31 2f 00 00 00 00 i:0.7.1/ ....

my isp is not wonderful, but i have had no problem with them blocking random tcp ports. very odd. also, of course, initial SYN, ACK message is getting back (to make the connection).