Luke Dashjr
44e770904e
Bugfix: initiate_stratum: Ensure extranonce2 size is not negative (which could lead to exploits later as too little memory gets allocated)
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
11 years ago
troky
1f73ae040e
Merge branch 'v5_0' of https://github.com/sgminer-dev/sgminer into v5_0
11 years ago
troky
8198286597
Fixed MSVS build.
11 years ago
troky
2588394e32
Added null-termination for kernel build log.
11 years ago
Jan Berdajs
00d17d16fe
fix segfault (watchdog thread declares threads sick and tries to restart them while they are already being restarted)
11 years ago
Noel Maersk
a5bec2b999
Merge branch 'dejavusec' into v5_0
...
Fixes for a few security vulnerabilities reported by Mick Ayzenberg
of DejaVu Security.
11 years ago
Noel Maersk
910c360899
stratum: parse_notify(): Don't die on malformed bbversion/prev_hash/nbit/ntime.
...
Might have introduced a memory leak, don't have time to check. :(
Should the other hex2bin()'s be checked?
Thanks to Mick Ayzenberg <mick.dejavusecurity.com> for finding this.
11 years ago
Noel Maersk
4f387321ce
misc: update AUTHORS.md, add CR to sgminer.c, minor style.
11 years ago
Noel Maersk
78cc408369
stratum: parse_reconnect(): treat pool-sent URL as untrusted.
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for reminding
that this existed and highlighting the offender.
Also to Luke-jr for actually fixing this in bfgminer. :D
11 years ago
Luke Dashjr
b65574bef2
Stratum: extract_sockaddr: Truncate overlong addresses rather than stack overflow
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
11 years ago
Luke Dashjr
bac5831b35
Bugfix: initiate_stratum: Ensure extranonce2 size is not negative (which could lead to exploits later as too little memory gets allocated)
...
Thanks to Mick Ayzenberg <mick@dejavusecurity.com> for finding this!
11 years ago
Jan Berdajs
f0e47ec8ec
make sure reinit_device cannot happen while algo switching, which would probably result in segfault
11 years ago
Jan Berdajs
e58cd00db7
fix bug in thread_reportin (watchdog can detect getwork is false before thr->last is set), and a few cosmetic changes
11 years ago
troky
b8a1c1f660
MSVS compatibility update.
11 years ago
troky
68c54c226c
Partially reverting e4a4efdb42
to keep MSVS compatibility.
11 years ago
Jan Berdajs
e4a4efdb42
fix some potential memory leaks, remove a few old unused functions
11 years ago
Jan Berdajs
87bbca6148
only change gpu engine, memclock, fans, if ADL is enabled
11 years ago
Jan Berdajs
dfaee21023
extract marucoin-modold (for old GPUs like Radeon HD 5xxx, e.g. 5850) as separate kernel and add support for it
11 years ago
Jan Berdajs
064d940ea2
manually merge changes to X11-mod/X13-mod kernels (lazybear)
11 years ago
Anatoly
8c48255802
Code cleanup
...
WATCHDOG_SICK_TIME increase reverted
Hardcode in get_work_blockdiff removed
11 years ago
Anatoly
99db17145f
show-coindiff option added
11 years ago
Anatoly
8f10cbfac5
Total uptime length
...
Conflicts:
sgminer.c
11 years ago
Anatoly
d89e53b3db
Extend time to sick state
11 years ago
Jan Berdajs
ce3624fba6
add marucoin-mod (X13-mod)
11 years ago
Jan Berdajs
2ec09155e6
per-pool gpu-fan
11 years ago
Jan Berdajs
9ec87cfc1a
fixes for MSVC2010 to build
11 years ago
Jan Berdajs
713cfb52c0
update visual studio project (add new files), update solution (was too new for VS2010 Express)
11 years ago
Jan Berdajs
33023de410
more documentation
11 years ago
Jan Berdajs
f596631a07
adjust ncurses interface when we change mining_threads count
11 years ago
Jan Berdajs
6c5ce535d9
fix compiler warnings
11 years ago
Jan Berdajs
13cdc33809
pool-gpu-threads setting
11 years ago
Jan Berdajs
19fc4cc93c
remove gpu_threads which is identical to mining_threads. refactor mining threads init code
11 years ago
Jan Berdajs
24d0ce4884
all hail SPACE
11 years ago
Jan Berdajs
c4f2b78d65
per-pool gpu-engine, gpu-memclock and thread_concurrency
11 years ago
Jan Berdajs
06d8e1d1dc
extranonce - some cleanup and better description for pool setting
11 years ago
elbandi
91a26c46b7
Protect pool name with lock
...
Disconnect from pool, if auth is failed
handle mining.set_extranonce method
subscribe for mining.extranonce
Allow disable extranonce subscribe
Send subscribe request before auth
Change mining.set_extranonce method as stratum notification
Set extranonce.subscribe timeout to 2sec
Some tweaks for extranonce
Handle pool response, who send errors in invalid format
Move no-extranonce-subscribe parameter to a pool config
Include pool.h
Set the pool idle and switch pool, if need
Mark pool as idle if stratum restart is failed
Conflicts:
sgminer.c
11 years ago
Jan Berdajs
cac833e5c2
fix bug which can occur when switching from a very low diff algo (darkcoin) to a high diff algo (scrypt), which caused invalid nonces
11 years ago
troky
1bd9636602
Fixed found blocks calculation.
11 years ago
troky
b08782f0bf
Merge pull request #214 from sterlingpickens/patch-1
...
initial_args warning
11 years ago
sterlingpickens
812efe4abc
initial_args warning
...
Remove #ifdef WIN32 "static const char *" appears to be ok for all platforms.
11 years ago
sterlingpickens
246615f238
initial_args warning
...
Provide for WIN32 and non-WIN32 condition for initial_args malloc (compiler warning)
and remove redundant static.
11 years ago
Jan Berdajs
5b8adcd9a1
add todo comment if we ever fix the broken config parser
11 years ago
Jan Berdajs
0bbf5550a8
add docs about new pool-specific options, and note about the current bad config parser
11 years ago
Jan Berdajs
efe1ebd7ae
Intensity can be set for each pool individually
11 years ago
Jan Berdajs
dca83c1112
Add improved Darkcoin (X11-mod) algorithm
11 years ago
Jan Berdajs
d12cda0589
refactor that will come handy soon
11 years ago
Jan Berdajs
9d9f5b7586
Add MaxCoin support
11 years ago
Jan Berdajs
c0baf790f6
making new algorithms and other changes merged from sph-sgminer work with current version of sgminer
11 years ago
Jan Berdajs
93e3a6d107
Merge branch 'master' into sph
...
Not working yet, need to upgrade algorithm_t
Conflicts:
configure.ac
driver-opencl.c
miner.h
ocl.c
sgminer.c
util.c
11 years ago
Noel Maersk
c46c913d1c
doc: mention optional name/desc/algo for addpool.
11 years ago