Title: [XMR] How to take advantage of private locked monero.rs miner ? Post by: netmonk on September 15, 2014, 10:37:50 AM Monero.rs had a very aggressive attitude to catch and keep miner with their "improved" private mining software.
Those mining software are supposed to be 5%-12% more hashrate than any public version currently available. The bad thing is that they are locked on monero.rs pool, with hardcoded ip or name (in the windows version). As you can see here : https://bitcointalk.org/index.php?topic=758961.0 So basically, how to use those supposed improved version on other pool (even private pool) ? For linux version we know that the IP and the PORT of monero.rs pool server are hardcoded. For exemple : EUROPE eu.monero.rs node (46.105.244.190:443): http://monero.rs/minerd-eu-ip1.gz The version 1 of the improved miner point to ip 46.105.244.190 and port 443. If you are running this program on your local machine (localhost) you can force your tcp/ip stack to redirect this connexion to another ip and port. For this you need iptable and play with routing table and dnat. For exemple bending the traffic to point to another pool can be done like this : Code: iptables -t nat -A OUTPUT -p tcp -d 46.105.244.190 --dport 443 -j DNAT --to-destination 88.151.101.22:7777 To check if ok : Code: iptables -L -vt NAT This way the improved miner talk to another pool, than the one hardcoded in the binary. Enjoy ! PS: Dont expect too much improvement, i run it since 3 days now, and my average H/s go to 240 to 250. PS2: and to fear those who will say the binary will check... it checks nothing even after 3 hours ! and it runs on my pool thing 3 days now without any problem. Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: OrientA on September 15, 2014, 12:04:24 PM do you have instruction for Windows?
Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: netmonk on September 15, 2014, 12:34:53 PM I cannot find the post, but it was sayd that for windows it was a name hardcoded into the binary (not an ip).
If so modifying the host file on your computer would help. Just the port should remain the same on the new target server. Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: OrientA on September 15, 2014, 03:14:33 PM I cannot find the post, but it was sayd that for windows it was a name hardcoded into the binary (not an ip). If so modifying the host file on your computer would help. Just the port should remain the same on the new target server. When you say "host file", is it minerd-eu.exe? How do I modify that? Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: 110110101 on September 15, 2014, 03:50:59 PM I cannot find the post, but it was sayd that for windows it was a name hardcoded into the binary (not an ip). If so modifying the host file on your computer would help. Just the port should remain the same on the new target server. When you say "host file", is it minerd-eu.exe? How do I modify that? Check your host file located here: C:\Windows\System32\drivers\etc\hosts Edit the file and put in a hostname and ip address. Ideally this will redirect the traffic to this host specified. You might need to run notepad as Administrator to make changes to the file. Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: MONERO.RS on September 15, 2014, 04:31:01 PM Thanks for the free promotion, good luck with your pool netmonk.
Serious miners, more info about our miners and pool features here : https://bitcointalk.org/index.php?topic=758961.0 Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: OrientA on September 15, 2014, 06:04:21 PM I cannot find the post, but it was sayd that for windows it was a name hardcoded into the binary (not an ip). If so modifying the host file on your computer would help. Just the port should remain the same on the new target server. When you say "host file", is it minerd-eu.exe? How do I modify that? Check your host file located here: C:\Windows\System32\drivers\etc\hosts Edit the file and put in a hostname and ip address. Ideally this will redirect the traffic to this host specified. You might need to run notepad as Administrator to make changes to the file. In the hosts file, I cannot add port number. Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: 110110101 on September 15, 2014, 09:19:48 PM ..... In the hosts file, I cannot add port number. No, I think that the hosts file does not support that, it just tells Windows where a hostname should resolve to. If you are running windows, you will have to look into forwarding traffic with your firewall, similar to what netmonk showed in the parent post. Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: netmonk on September 16, 2014, 09:31:54 AM Also you can directly modify the binary with hexedit:
Code: hexedit minerd-eu-ip1 Use "tab" to switch to ascii mode and use CTRL-s to get the prompt for search : Code: 000F49F0 0E 0A 04 08 09 0F 0D 06 01 0C 00 02 0B 07 05 03 0B 08 0C 00 05 02 0F 0D 0A 0E 03 06 07 01 09 04 07 09 03 01 0D 0C 0B 0E 02 06 05 0A ............................................ Then you will find the line Code: 000F6308 65 6C 70 00 6E 6F 2D 6C 6F 6E 67 70 6F 6C 6C 00 6E 6F 2D 72 65 64 69 72 65 63 74 00 6E 6F 2D 73 74 72 61 74 75 6D 00 70 72 6F 74 6F elp.no-longpoll.no-redirect.no-stratum.proto Move the cursor to the begining of the ip and change it to ip and port of your prefered pool : Code: 000F638C 73 73 00 76 65 72 73 69 6F 6E 00 00 73 74 72 61 74 75 6D 2B 74 63 70 3A 2F 2F 38 38 2E 31 35 31 2E 31 30 31 2E 32 32 3A 37 37 37 37 ss.version..stratum+tcp://88.151.101.22:7777 And then save and quit ! by using CTRL-x and confirm by pressing y Code: 000F5F98 D0 03 D3 B8 D3 BB B8 D0 82 DC 5E C3 5E 1F C3 82 29 E2 CB B0 CB 52 B0 29 5A C3 99 77 99 B4 77 5A 1E 2D 33 11 33 3C 11 1E 7B 3D 46 CB ..........^.^...)....R.)Z..w..wZ.-3.3<..{=F. If all goes well you should have something like this : Code: root@sd-56197:/home/netmonk# ./minerd-eu-ip1 -u ****************************************************************************** -t 4 -P Title: Re: [XMR] How to take advantage of private locked monero.rs miner ? Post by: OrientA on September 16, 2014, 11:03:39 AM I tried their original Windows version of the private miner. I also use Yam's cpu miner.
The hash rate for Yam is 290h/s, private miner 226 h/s. 5 threads of CPU 3930K Sandybridge, 32 GB memory. So the private miner is worse than Yam miner for me. |