Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is that #2

Closed
mk148a opened this issue Aug 2, 2017 · 15 comments
Closed

What is that #2

mk148a opened this issue Aug 2, 2017 · 15 comments

Comments

@mk148a
Copy link

mk148a commented Aug 2, 2017

Hi, sorry for this. I dont understand what does it do. Can you explain it for me please. Its proxy for xmr miner? I need aeon miner proxy

@xmrig
Copy link
Owner

xmrig commented Aug 2, 2017

It proxy for XMR as well can used for AEON because protocol has no difference.
But on miner side required support for nicehash nonce, XMRig support it, probably aeon-stak-cpu too, not sure about others.
Thank you.

@mk148a
Copy link
Author

mk148a commented Aug 2, 2017

Thanks for your answer, i am use xmrrig miner for aeon mining. I have firewall rules on my network its so hard rules. Only work 80 port, cant mine on 3333,4444,5555 and 8080 port. How can use this proxy for mining 80 port? I am aeon miner and i want use it for mine.aeon-pool.com:8080

Server side code:
C:\Users\x\Desktop>xmrig-proxy.exe -o stratum+tcp://mine.aeon-pool.com:8080
-u Wmblablablamywallet -p x -b 0.0.0.0:80 -l log

  • VERSIONS: xmrig-proxy/2.2.0 libuv/1.13.1 MSVC/2017
  • POOL Instructions  #1: mine.aeon-pool.com:8080
  • BIND Instructions  #1: 0.0.0.0:80
  • COMMANDS: hashrate, connections, verbose
    [2017-08-02 18:06:16] #000 use pool mine.aeon-pool.com:8080 94.23.66.17
    [2017-08-02 18:07:15] 0.0 KH/s, shares: 0/0 +0, upstreams: 1, miners: 0 (max 0)
    +0/-0
    [2017-08-02 18:08:15] 0.0 KH/s, shares: 0/0 +0, upstreams: 1, miners: 0 (max 0)
    +0/-0
    [2017-08-02 18:09:15] 0.0 KH/s, shares: 0/0 +0, upstreams: 1, miners: 0 (max 0)
    +0/-0
    [2017-08-02 18:10:15] 0.0 KH/s, shares: 0/0 +0, upstreams: 1, miners: 0 (max 0)
    +0/-0
    [2017-08-02 18:11:15] 0.0 KH/s, shares: 0/0 +0, upstreams: 1, miners: 0 (max 0)
    +0/-0
    [2017-08-02 18:12:15] 0.0 KH/s, shares: 0/0 +0, upstreams: 1, miners: 0 (max 0)
    +0/-0
    [2017-08-02 18:13:15] 0.0 KH/s, shares: 0/0 +0, upstreams: 1, miners: 0 (max 0)
    client side code:
    C:\Users\y\Desktop>wupdate.exe -a cryptonight-light -o stratum+tcp://188.119
    .55.x:80 -u Wmblablablamywallet -p x -l log
  • VERSIONS: XMRig/2.1.0 libuv/1.13.1 gcc/7.1.0
  • HUGE PAGES: unavailable, disabled
  • CPU: AMD FX(tm)-8320 Eight-Core Processor (1) x64 AES-NI
  • CPU L2/L3: 16.0 MB/8.0 MB
  • THREADS: 4, cryptonight-lite, av=2, donate=5%
  • POOL Instructions  #1: 188.119.55.x:80
    [2017-08-02 18:13:36] [188.119.55.x:80] connect error: "connection timed out
    "
    [2017-08-02 18:14:02] [188.119.55.x:80] connect error: "connection timed out
    "
    [2017-08-02 18:14:19] speed 2.5s/60s/15m n/a n/a n/a H/s max: n/a H/s
    [2017-08-02 18:14:28] [188.119.55.x:80] connect error: "connection timed out
    "
    [2017-08-02 18:14:54] [188.119.55.x:80] connect error: "connection timed out
    "
    [2017-08-02 18:15:19] speed 2.5s/60s/15m n/a n/a n/a H/s max: n/a H/s
    [2017-08-02 18:15:20] [188.119.55.x:80] connect error: "connection timed out
    "
    [2017-08-02 18:15:46] [188.119.55.x:80] connect error: "connection timed out
    "
    [2017-08-02 18:16:12] [188.119.55.x:80] connect error: "connection timed out
    "

@xmrig
Copy link
Owner

xmrig commented Aug 2, 2017

You need run proxy somewhere outside your network.

  1. Setup proxy outside you network, If I understood you correctly, you already did it.
  2. If address of your server is 1.2.3.4 (for example) point miner to -o 1.2.3.4:80 and add --nicehash option.

But It can won't help you if traffic to 80 port wrapped to transparent HTTP proxy and it not just port restriction.

@mk148a
Copy link
Author

mk148a commented Aug 2, 2017

Okay, its working on my local ip but its not work on wan ip, already my port forwarding options is opened.

@mk148a
Copy link
Author

mk148a commented Aug 2, 2017

Its worked perfectly, i am close other 80 port service(word wide service) and its worked like charm! Thanks for coding it.
https://i.hizliresim.com/1g3a55.png

@xmrig
Copy link
Owner

xmrig commented Aug 2, 2017

Good, also I recommended use fixed diff on proxy -u wallet+10000, but if you use just one miner can leave it as is.

@djfinch
Copy link

djfinch commented Aug 3, 2017

Can I have one question? Some of my miners using xmrig (thank you for your awesome work BTW) but some of the other needs yam (they are all OSX - 8core MacPros - and i got better H/s with yam), unfortunately I'm not able to set up yam to successfully connect to proxy.
xmrig miner is fine, using just -o proxyIP:port and nothing else but yam needs stratum format, for example ... ./yam -M stratum+tcp://wallet:pass@pooladdress:port/xmr
above does not work. Still getting unable to connect/wrong pass and so. Not sure how to bring them to work... :(

PS: xmrig-2.2.0 compiled from source on Mac even Win64 binary work fine but after I quit (Ctrl+C) I can't see anything typed on my bash, previous commands, etc (they are not displaying but commands works). I must close terminal (tmux window for this connection) and connect once again...

@xmrig
Copy link
Owner

xmrig commented Aug 3, 2017

Proxy currently ignore wallet and pass so you can use any, yam miner connected successfully but it won't work with proxy because yam lack nicehash support, also for xmrig need add --nicehash option. Without this option, it is detected in 255 of 256 connections automatically.

Thank you I confirm bug with terminal, after exit I not property reset terminal, will fix it soon.

@djfinch
Copy link

djfinch commented Aug 3, 2017

Thank you for your quick answer. I was not clear enough. I'm using xmrig and yam only for monero so no nicehash support needed. I will test it after I came home. BTW my xmrig-proxy is running on Deb8, compiled from source, libuv1 needs to be "dpgk'ed" manually but everything works as expected. Logs looks fine and as I said - xmrig will connect successfully so there are probably something with yam (m8a). Just trying to simply/unify management of 12-15 standalone miners, all of them on OSX and tunneled from one digging machine using ssh port to debian server running proxy because they are all on private network (almost all ports blocked but 21 :)).

Also, thank you for upcoming terminal fix. You are awesome!

@mk148a - from your screenshot - wumpdate.exe ??? that's funny, really. :)

@xmrig
Copy link
Owner

xmrig commented Aug 3, 2017

Proxy use nicehash method to reduce connection count to pool in ideal case up to 256 miners in one pool connection. But it mean miner need support nicehash it just one byte difference in protocol but not all miners support it. It make proxy compatible with any pool and dramatically reduce pool load in large count of miners.

xmrig detects nicehash in most cases, but in one of 256 connections no way detect it because no difference in protocol, that byte is 0.

@xmrig
Copy link
Owner

xmrig commented Aug 3, 2017

Also you can try node.js proxy from legacy branch, it pretty simple, not reduce connection count, but comparable with any miner.

@djfinch
Copy link

djfinch commented Aug 3, 2017 via email

@xmrig
Copy link
Owner

xmrig commented Aug 4, 2017

I make new release 2.2.1 with terminal fix. Proxy affected too I fix it only in source (dev branch).

@djfinch
Copy link

djfinch commented Aug 4, 2017 via email

@xmrig xmrig closed this as completed Sep 25, 2017
@snipeTR
Copy link

snipeTR commented Nov 16, 2017

aga ne işe yarıyomuş allah için söyle mk148a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants