Author

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

legendary
Activity: 1540
Merit: 1001
Well, according to Bitmain - they work with p2pool:

Replied questions:

1. S4 is compatible with p2pool?
Yes


But the proof is in the pudding. Can anyone confirm this? Anyone tried?

S2s "work" as well.  Just not very well.

M
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
Well, according to Bitmain - they work with p2pool:

Replied questions:

1. S4 is compatible with p2pool?
Yes


But the proof is in the pudding. Can anyone confirm this? Anyone tried?
legendary
Activity: 1540
Merit: 1001
Anyone know if the XBTech Pacific 1250's work OK with p2pool?

Thanks.

Anyone?

Also the Technobit HEX4M's?

Looks like the S4's are having problems mining on a centralised pool - let alone p2pool. I've asked on the S4 thread if someone would try them with p2pool, but I think they're too busy drowning in fail......I can't believe Bitmain didn't test the firmware properly before shipping them  Roll Eyes

S3 is basically a faster S1, and S1s worked fine (well, okay) with p2pool.
Stands to reason a S4 is basically a faster S2.  And we know how well S2s work with p2pool.

M
hero member
Activity: 686
Merit: 500
WANTED: Active dev to fix & re-write p2pool in C
Anyone know if the XBTech Pacific 1250's work OK with p2pool?

Thanks.

Anyone?

Also the Technobit HEX4M's?

Looks like the S4's are having problems mining on a centralised pool - let alone p2pool. I've asked on the S4 thread if someone would try them with p2pool, but I think they're too busy drowning in fail......I can't believe Bitmain didn't test the firmware properly before shipping them  Roll Eyes
full member
Activity: 932
Merit: 100
arcs-chain.com
Managed to run proxy with -p but With -P it fails and have no clue what this means.. This is from a gentoo box so there should be those build essentials without any change - might be wrong though..

boxi src # ./ckpool -A -P
[2014-10-02 13:10:04] ckproxy generator starting
[2014-10-02 13:10:04] ckproxy generator ready
[2014-10-02 13:10:04] ckproxy stratifier starting
[2014-10-02 13:10:04] ckproxy connector starting
[2014-10-02 13:10:04] Failed to get a json result in passthrough_stratum, got: {"error": {"message": "Method not found", "code": -32601, "data": null}, "jsonrpc": "2.0", "id": null, "result": null}
[2014-10-02 13:10:04] ckproxy connector ready
[2014-10-02 13:10:04] ckproxy stratifier ready

If you read the docs, -P MUST have a full ckpool instance upstream or it will not work, so you can only use -p with another pool, like p2pool.
Ok thanks, works great with -p Smiley
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Managed to run proxy with -p but With -P it fails and have no clue what this means.. This is from a gentoo box so there should be those build essentials without any change - might be wrong though..

boxi src # ./ckpool -A -P
[2014-10-02 13:10:04] ckproxy generator starting
[2014-10-02 13:10:04] ckproxy generator ready
[2014-10-02 13:10:04] ckproxy stratifier starting
[2014-10-02 13:10:04] ckproxy connector starting
[2014-10-02 13:10:04] Failed to get a json result in passthrough_stratum, got: {"error": {"message": "Method not found", "code": -32601, "data": null}, "jsonrpc": "2.0", "id": null, "result": null}
[2014-10-02 13:10:04] ckproxy connector ready
[2014-10-02 13:10:04] ckproxy stratifier ready

If you read the docs, -P MUST have a full ckpool instance upstream or it will not work, so you can only use -p with another pool, like p2pool.
full member
Activity: 932
Merit: 100
arcs-chain.com
I've set up a private pool solution for a reasonably large miner using a combination of p2pool and ckpool technology. You should all see a decent increase in the overall pool size over the next 24-48 hours.

How does ckpool and p2pool work together?  Ckpool is essentially a centralized service offering solo mining, correct?  How does that interact with the p2pool network?  Thanks.
You're thinking of solo.ckpool.org . ckpool is the software, it is not a pool, but there are numerous ckpool based pools.  It can also run as ckproxy which when it sits in front of p2pool it can take the load off the p2pool software allowing far more high speed clients to connect to the one p2pool node without adversely affecting its latency or efficiency. Yes that does make it yet another layer you need running which makes it even more awkward and I wasn't recommending that for anyone else, but it happens to be quite a good solution for very large miners as it ends up acting like a mini private pool for them while still being part of the distributed p2pool and avoid joining a regular pool. As the author of the ckpool software, I'm offering various mining solutions. You'll note that I'm personally not running a regular pool of my own, only the solo pool which is filling a different niche.

Managed to run proxy with -p but With -P it fails and have no clue what this means.. This is from a gentoo box so there should be those build essentials without any change - might be wrong though..

boxi src # ./ckpool -A -P
[2014-10-02 13:10:04] ckproxy generator starting
[2014-10-02 13:10:04] ckproxy generator ready
[2014-10-02 13:10:04] ckproxy stratifier starting
[2014-10-02 13:10:04] ckproxy connector starting
[2014-10-02 13:10:04] Failed to get a json result in passthrough_stratum, got: {"error": {"message": "Method not found", "code": -32601, "data": null}, "jsonrpc": "2.0", "id": null, "result": null}
[2014-10-02 13:10:04] ckproxy connector ready
[2014-10-02 13:10:04] ckproxy stratifier ready
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I've set up a private pool solution for a reasonably large miner using a combination of p2pool and ckpool technology. You should all see a decent increase in the overall pool size over the next 24-48 hours.

How does ckpool and p2pool work together?  Ckpool is essentially a centralized service offering solo mining, correct?  How does that interact with the p2pool network?  Thanks.
You're thinking of solo.ckpool.org . ckpool is the software, it is not a pool, but there are numerous ckpool based pools.  It can also run as ckproxy which when it sits in front of p2pool it can take the load off the p2pool software allowing far more high speed clients to connect to the one p2pool node without adversely affecting its latency or efficiency. Yes that does make it yet another layer you need running which makes it even more awkward and I wasn't recommending that for anyone else, but it happens to be quite a good solution for very large miners as it ends up acting like a mini private pool for them while still being part of the distributed p2pool and avoid joining a regular pool. As the author of the ckpool software, I'm offering various mining solutions. You'll note that I'm personally not running a regular pool of my own, only the solo pool which is filling a different niche.
member
Activity: 78
Merit: 10
I've set up a private pool solution for a reasonably large miner using a combination of p2pool and ckpool technology. You should all see a decent increase in the overall pool size over the next 24-48 hours.

How does ckpool and p2pool work together?  Ckpool is essentially a centralized service offering solo mining, correct?  How does that interact with the p2pool network?  Thanks.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I've set up a private pool solution for a reasonably large miner using a combination of p2pool and ckpool technology. You should all see a decent increase in the overall pool size over the next 24-48 hours.

Very cool!

Any plans to release the p2pool+ckpool combined solution?
It's all there as the free software that exists already (I've been working on ckproxy changes all week aimed at p2pool). I'm providing the server and setting it up for them and running it as a customised solution in an optimised fashion for their particular hardware combination and geographical location.
legendary
Activity: 1258
Merit: 1027
I've set up a private pool solution for a reasonably large miner using a combination of p2pool and ckpool technology. You should all see a decent increase in the overall pool size over the next 24-48 hours.

Very cool!

Any plans to release the p2pool+ckpool combined solution?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I've set up a private pool solution for a reasonably large miner using a combination of p2pool and ckpool technology. You should all see a decent increase in the overall pool size over the next 24-48 hours.
hero member
Activity: 686
Merit: 500
WANTED: Active dev to fix & re-write p2pool in C
Anyone know if the XBTech Pacific 1250's work OK with p2pool?

Thanks.
legendary
Activity: 1258
Merit: 1027
For anyone using some form of OSX, Apple just released the patch to the shell.  Here's the link for Mavericks: http://support.apple.com/kb/DL1769?viewlocale=en_US&locale=en_US

Thanks, confirmed working...
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
For anyone using some form of OSX, Apple just released the patch to the shell.  Here's the link for Mavericks: http://support.apple.com/kb/DL1769?viewlocale=en_US&locale=en_US
hero member
Activity: 994
Merit: 1000
Hunter, I'm not 100% on this, but you may have fixed Shellshock, but still be vulnerable to Aftershock...

(note the aftershock fix was integrated before I first posted this)

The bash fix for CVE-2014-6271 (Shellshock) was incomplete and command injection is possible even after the patch has been applied. The issue is being tracked as CVE-2014-7169 (Aftershock).

Ongoing discussion here: https://news.ycombinator.com/item?id=8361574

If fixed after running
Code:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
you should see
Code:
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
if still vulnerable you should see
Code:
vulnerable
this is a test

Aftershock has its own test:

Code:
env var='() {(a)=>\' bash -c "echo date"; cat echo; rm -f echo

If fixed you will see:

Code:
bash: var: line 1: syntax error near unexpected token `='
bash: var: line 1: `'
bash: error importing function definition for `var'
date
cat: echo: No such file or directory

If vulnerable you will see:

Code:
bash: var: line 1: syntax error near unexpected token `='
bash: var: line 1: `'
bash: error importing function definition for `var'
Fri Sep 26 09:20:00 UTC 2014

Hope this helps...

Thanks for the info. It looks like my first two servers are fixed with aftershock. The third one is still vulnerable. It's a VPS while the other two are full dedicated...I wonder if that has anything to do with it. Might have a bad source or something that hasn't updated yet. bleh!
legendary
Activity: 1258
Merit: 1027

Shellshock, Aftershock & P2Pool

If you have not heard, a new vulnerability called Shellshock — also called the "Bash Bug" — is affecting both Linux computers and Macs, and it has the potential to let attackers take control of your computer or server.

Many P2Pool nodes run on Linux and Mac, to test your node open up a shell and run:

Code:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

If you see:

Quote
vulnerable
this is a test

You are vulnerable and should update bash immediately.

Linux users should run:

Code:
sudo apt-get update
sudo apt-get install bash

Apple has promised a security fix for Mac users soon.


Thanks for the heads up windpath!  Once you've installed the patched shell this is what you'll see:
Code:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
That's on Ubuntu 14.04LTS fully updated as of the time of writing this post.  OSX 10.9.5 Mavericks is still vulnerable:
Code:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test

I have 3 servers, 2 only says "This is a test" with no warnings...is that also normal?

The 3rd one says "vulnerable" and "this is a test". I've done an apt-get update/upgrade, and it claims its the newest version. Any idea why that wouldn't have worked on there? That one is Debian 6.0.10

Hunter, I'm not 100% on this, but you may have fixed Shellshock, but still be vulnerable to Aftershock...

(note the aftershock fix was integrated before I first posted this)

The bash fix for CVE-2014-6271 (Shellshock) was incomplete and command injection is possible even after the patch has been applied. The issue is being tracked as CVE-2014-7169 (Aftershock).

Ongoing discussion here: https://news.ycombinator.com/item?id=8361574

If fixed after running
Code:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
you should see
Code:
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
if still vulnerable you should see
Code:
vulnerable
this is a test

Aftershock has its own test:

Code:
env var='() {(a)=>\' bash -c "echo date"; cat echo; rm -f echo

If fixed you will see:

Code:
bash: var: line 1: syntax error near unexpected token `='
bash: var: line 1: `'
bash: error importing function definition for `var'
date
cat: echo: No such file or directory

If vulnerable you will see:

Code:
bash: var: line 1: syntax error near unexpected token `='
bash: var: line 1: `'
bash: error importing function definition for `var'
Fri Sep 26 09:20:00 UTC 2014

Hope this helps...
sr. member
Activity: 308
Merit: 250
Decentralize your hashing - p2pool - Norgz Pool
I just hit my biggest share to date I think: 169,159,254  Grin
hero member
Activity: 994
Merit: 1000

Shellshock, Aftershock & P2Pool

If you have not heard, a new vulnerability called Shellshock — also called the "Bash Bug" — is affecting both Linux computers and Macs, and it has the potential to let attackers take control of your computer or server.

Many P2Pool nodes run on Linux and Mac, to test your node open up a shell and run:

Code:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"

If you see:

Quote
vulnerable
this is a test

You are vulnerable and should update bash immediately.

Linux users should run:

Code:
sudo apt-get update
sudo apt-get install bash

Apple has promised a security fix for Mac users soon.


Thanks for the heads up windpath!  Once you've installed the patched shell this is what you'll see:
Code:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
bash: warning: x: ignoring function definition attempt
bash: error importing function definition for `x'
this is a test
That's on Ubuntu 14.04LTS fully updated as of the time of writing this post.  OSX 10.9.5 Mavericks is still vulnerable:
Code:
env x='() { :;}; echo vulnerable' bash -c "echo this is a test"
vulnerable
this is a test

I have 3 servers, 2 only says "This is a test" with no warnings...is that also normal?

The 3rd one says "vulnerable" and "this is a test". I've done an apt-get update/upgrade, and it claims its the newest version. Any idea why that wouldn't have worked on there? That one is Debian 6.0.10
legendary
Activity: 1008
Merit: 1001
Let the chips fall where they may.
I am having issues with my bitcoind not responding after a few hours running. I am trying to keep my p2pool node active. Just cant figure out what bitcoind is crashing.

Do you have at least 2GB of RAM?
Jump to: