Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 439. (Read 2591964 times)

legendary
Activity: 2968
Merit: 1198
I guess a firewall rule limiting the # of simultaneous connections  would work?

If you are on linux and using iptables you can use the recent module to block IPs that attempt connections too fast. You are still vulnerable to DDOS but I guess that just goes with the territory of having anything open to the world.



zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
This is what I managed w/ one computer and about 45 seconds:

Code:
tcp        0      0 5.9.24.81:9555          71.42.153.15:61772      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61613      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49614      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61657      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61653      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61660      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61767      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61690      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61611      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61750      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61698      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61648      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61775      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49647      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61667      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61672      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61622      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49637      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49609      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61714      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61671      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49643      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49639      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61652      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61700      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61761      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61732      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61726      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61605      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61709      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61609      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61758      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61735      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61603      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49625      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61733      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61728      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49628      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61720      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61654      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61754      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61740      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61724      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61773      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61729      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61612      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49620      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61692      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49646      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49645      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61641      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49611      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61682      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49653      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61711      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61640      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61676      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61602      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61697      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61744      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61712      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49606      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61704      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61687      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61674      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49607      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61685      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:49633      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61771      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61606      ESTABLISHED 2679/python
tcp        0      0 5.9.24.81:9555          71.42.153.15:61765      ESTABLISHED 2679/python

I guess a firewall rule limiting the # of simultaneous connections  would work?
hero member
Activity: 630
Merit: 501
How do I setup fees on every payment with P2Pool?

I am asking because I am going to loan one of my miners to a friend who will be running on my pool. He's agreed on a 50/50 split. Since he and I are the only ones using this pool I don't have to about anything.


zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
I just had to close a p2pool with over 4000 connections/sockets open.  Is there any way to fix this?  It's trivially easy to knock someone's p2pool offline?
full member
Activity: 216
Merit: 100
Don't let the nam-shub in your operating system.
I specifically wonder whether there is any value if having a local p2pool node that just talks to the VPS node.  That would reduce latency between the miners and the p2pool node, but would slightly increase latency between the miners and the rest of the p2pool network (due to the extra hop). Likewise if there is a local p2pool node, is there an advantage to also having a local bitcoind node, again connected only to the remote VPS bitcoind.  That would reduce latency between p2pool and bitcoind (getblocktemplate) but again I'm not sure how much that matters.



I'm looking at VPS because my GBT latency is still .4s+ though I dropped my block size 750000 it's a little better now but I do hover around 100 to 102% and I noticed that elizium.name is on digital ocean with a GBT latency of .013s Still wondering if the .4s is hurting me.

-Rick
legendary
Activity: 2968
Merit: 1198
I specifically wonder whether there is any value if having a local p2pool node that just talks to the VPS node.  That would reduce latency between the miners and the p2pool node, but would slightly increase latency between the miners and the rest of the p2pool network (due to the extra hop). Likewise if there is a local p2pool node, is there an advantage to also having a local bitcoind node, again connected only to the remote VPS bitcoind? That would reduce latency between p2pool and bitcoind (getblocktemplate) but again I'm not sure how much that matters.

full member
Activity: 216
Merit: 100
Don't let the nam-shub in your operating system.

I have setup a giant cluster of P2Pool instances. You can mine with us using credentials just like any other pool. However on the backend, everything is running P2Pool. Everything is also load balanced for failover and high availability. As of now things are running with zero fee's, and my plan is to add merged mining eventually to cover operational costs.

Check us out @ http://p2pool.io


I'm asking this because I'm working on a VPS node as well... I noticed your efficiency is 56% which is not so good for a p2pool node....

How are you working on the latencies?

full member
Activity: 124
Merit: 251
That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?



Many of the public P2Pool nodes do just this. However if that person's P2Pool instance goes down, your miners will stop. Hopefully you have a backup pool configured, but you'd be surprised how many people don't do this.

I have setup a giant cluster of P2Pool instances. You can mine with us using credentials just like any other pool. However on the backend, everything is running P2Pool. Everything is also load balanced for failover and high availability. As of now things are running with zero fee's, and my plan is to add merged mining eventually to cover operational costs.

Check us out @ http://p2pool.io
legendary
Activity: 1232
Merit: 1094
The payout for the miners is working! The one that doesn't work is the payout for the pool fee! Like I set up the pool to have 2% fee. I'm not getting this payment!

You get 2% of all shares submitted, not 2% of the fee credited to each share.

If your miners are generating 1 share a day, you would get 1 share to fee every 50 days.
legendary
Activity: 2912
Merit: 1060
You don't want to separate them, you'll get less efficiency, generating new work is critical
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?



There's a Bitcoin tutorial for digital ocean

I know how to set up bitcoind on a VPS generally. Just wondering about the p2pool aspect of it. For example, is it better to have bitcoin and/or p2pool local nodes that connect to their counterparts on the VPS or just have the miners connect directly to p2pool+bitcoind on the VPS?

Just connect to vps make p2pool public
Open ports 833 9332 9333

If the VPS is good enough to run p2pool on with ~8 outgoing connections, then I'd just run p2pool there.   Bitcoind isn't a problem, since getting slow block notifications in p2ool doesn't really penalize you (all in all, it's probably beneficial as far as building off previous shares goes).... if you ever solved a block, it'd increase chances of it being an orphan tho, I suppose.

..... but I wouldn't open it to the public,  not on one of those 'couple of dollars' VPS'es that I was referring to, hah
legendary
Activity: 2912
Merit: 1060
That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?



There's a Bitcoin tutorial for digital ocean

I know how to set up bitcoind on a VPS generally. Just wondering about the p2pool aspect of it. For example, is it better to have bitcoin and/or p2pool local nodes that connect to their counterparts on the VPS or just have the miners connect directly to p2pool+bitcoind on the VPS?

Just connect to vps make p2pool public
Open ports 833 9332 9333
legendary
Activity: 2912
Merit: 1060
Does anyone knows why or if p2pool is not calculating the pool fee we set?

Like I get no payouts to the pool's address.

Igor

You get shares and they're random but they add up long term

The payout for the miners is working! The one that doesn't work is the payout for the pool fee! Like I set up the pool to have 2% fee. I'm not getting this payment!

Igor

I told you to wait, now wait.
legendary
Activity: 2968
Merit: 1198
That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?



There's a Bitcoin tutorial for digital ocean

I know how to set up bitcoind on a VPS generally. Just wondering about the p2pool aspect of it. For example, is it better to have bitcoin and/or p2pool local nodes that connect to their counterparts on the VPS or just have the miners connect directly to p2pool+bitcoind on the VPS?
newbie
Activity: 18
Merit: 0
Does anyone knows why or if p2pool is not calculating the pool fee we set?

Like I get no payouts to the pool's address.

Igor

You get shares and they're random but they add up long term

The payout for the miners is working! The one that doesn't work is the payout for the pool fee! Like I set up the pool to have 2% fee. I'm not getting this payment!

Igor
legendary
Activity: 2912
Merit: 1060
Does anyone knows why or if p2pool is not calculating the pool fee we set?

Like I get no payouts to the pool's address.

Igor

You get shares and they're random but they add up long term
newbie
Activity: 18
Merit: 0
Does anyone knows why or if p2pool is not calculating the pool fee we set?

Like I get no payouts to the pool's address.

Igor
legendary
Activity: 2912
Merit: 1060
That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?



There's a Bitcoin tutorial for digital ocean
legendary
Activity: 1540
Merit: 1001
Its impossible to try to get the best out of p2pool with lets say 120gh when you get from 0 to 3 shares a day.

0-3 shares per day is just fine. The shares are active for a day and a half, so almost every single day you will have one or more shares working. Your daily earnings will fluctuate but only rarely to zero and over relatively few days it will average out.

With a much lower hash rate like 10 GH you could make the argument it will take much longer to average out, although I still maintain at that point the numbers are so small the variance doesn't matter. If you get $0 instead of $1 on one day and get $2 instead of $1 on another day you're not going to go bankrupt over it.

Share difficulty is currently at 1.008 million.  With 10 GH/s it'd take you 5 days to get a share.

M
legendary
Activity: 2968
Merit: 1198
That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?

Jump to: