I've pestered Hdx some time back if he'd do a go-ahead and make the next version of the BNCS library named BNCSUtil.dll.
I understand that perhaps the lot of you are pro managed-bncsutil, but I was wondering if any of you know BNCSUtil enough to create a lockdown login sequence for STAR/SEXP and W2BN, who currently use the older check revision method in BNCSUtil, rendering them useless.
Not a lot of bots that I know of rely on a managed BNCS library. I'm only asking for information on the status of releasing a lockdown-enabled BNCSUtil for STAR/SEXP/W2BN.
Thanks.
I wouldn't mind doing it, but I don't have the latest source code to the unmanaged BNCSUtil.
Does anyone?
Due to certain circumstances, I do not have access to my computer, but I have the source.
Ask FrostWraith for it; I'm sure he'd be glad to give it to you.
MyndFyre, you don't know how many people will be happy because of this!
If you don't mind, I will now take the time to say that you are a code God...
Is this the latest, bncsutil-1.3.1 ?
if so,
http://frostwraith.no-ip.org/bnet/bncsutil/
Here is the latest version I could find, which included some fixes that I rolled in + a Makefile for building on Linux.
http://reznor.homelinux.net/~ledbettj/bncsutil.tgz
yay, I've been looking for the the source.
I've imported 1.3.1 into Google Code at http://bncsutil.googlecode.com/. If anyone wants to be a contributor to the project let me know.
I won't be able to test on Mac for the time being, nor Linux, so folks with that ability should help me to do so when possible ;)
Maybe in a few months when I've gotten better at C, I'll write a Linux bot...
Does anyone have his modified version of gmp-4.2.1? I've got the library, but he references a custom include folder in gmp-4.2.1\build.vc8.
That'd be helpful :)
Quote from: MyndFyre[vL] on July 11, 2008, 12:08 AM
I've imported 1.3.1 into Google Code at http://bncsutil.googlecode.com/. If anyone wants to be a contributor to the project let me know.
I won't be able to test on Mac for the time being, nor Linux, so folks with that ability should help me to do so when possible ;)
If you do a diff between the files you imported and the files I posted you will see the fixes that are missing. IIRC they're in checkrevision.cpp
- not handling mpq0
- missing a checkrevision seed
- not handling the then-new 64-bit checkrevision values.
At the time, I could not get BNCSutil to compile. And didn't have the time to work on it.
Now I don't have the time either. [Might have to work 65+ hours this week]
BUT! I do have a few linux machines I can test on for your guys if needed.
Quote from: MyndFyre[vL] on July 11, 2008, 01:00 AM
Does anyone have his modified version of gmp-4.2.1? I've got the library, but he references a custom include folder in gmp-4.2.1\build.vc8.
That'd be helpful :)
I'd like to be added to the project- I've got K's copy of the code. I run linux and I've built the library, browsing the code atm.
Quote from: Sorc.Polgara on July 18, 2008, 06:01 PM
Quote from: MyndFyre[vL] on July 11, 2008, 01:00 AM
Does anyone have his modified version of gmp-4.2.1? I've got the library, but he references a custom include folder in gmp-4.2.1\build.vc8.
That'd be helpful :)
I'd like to be added to the project- I've got K's copy of the code. I run linux and I've built the library, browsing the code atm.
Feel free to add me to the project too. (g)mail in my profile.
Bleh, I've been looking through iago's lockdown code and it looks like I'm stuck until I can figure out how to port various windows API (i.e. LoadLibrary) and such to Linux.
Quote from: Sorc.Polgara on July 20, 2008, 03:05 PM
Bleh, I've been looking through iago's lockdown code and it looks like I'm stuck until I can figure out how to port various windows API (i.e. LoadLibrary) and such to Linux.
dlopen is the equivalent function to LoadLibrary, if that helps at all...
Quote from: brew on July 20, 2008, 10:01 PM
Quote from: Sorc.Polgara on July 20, 2008, 03:05 PM
Bleh, I've been looking through iago's lockdown code and it looks like I'm stuck until I can figure out how to port various windows API (i.e. LoadLibrary) and such to Linux.
dlopen is the equivalent function to LoadLibrary, if that helps at all...
If it was merely the task of finding the Linux equivalent APIs, then I wouldn't be having a problem. I don't believe one can just use the linux equivalent API to load a Windows PE DLL... I wish it were that simple.
Anyways, the BNCSutil source includes some functionality for using PE formatted files which I'm playing around with. Although I'm unsure if it's robust enough at the moment, since the lockdown checkrevision is much more involved.
rob released his source code for lockdown which implemented the functionality necessary for reading PE files I believe.
Also, K, your email is hidden in your profile. PM me?
Quote from: Sorc.Polgara on July 21, 2008, 06:10 PM
Quote from: brew on July 20, 2008, 10:01 PM
Quote from: Sorc.Polgara on July 20, 2008, 03:05 PM
Bleh, I've been looking through iago's lockdown code and it looks like I'm stuck until I can figure out how to port various windows API (i.e. LoadLibrary) and such to Linux.
dlopen is the equivalent function to LoadLibrary, if that helps at all...
If it was merely the task of finding the Linux equivalent APIs, then I wouldn't be having a problem. I don't believe one can just use the linux equivalent API to load a Windows PE DLL... I wish it were that simple.
Whoops, forgot about that.
What's stopping you from just opening it as a regular file?
Quote from: MyndFyre[vL] on July 21, 2008, 06:44 PM
rob released his source code for lockdown which implemented the functionality necessary for reading PE files I believe.
Also, K, your email is hidden in your profile. PM me?
Ah, nice, thanks. Yeah, rob's source is much more Linux friendly than iago's source which is what I was using previously.
iago uses exclusively Linux. His code isn't Linux friendly?
Quote from: Joex86] link=topic=17567.msg179031#msg179031 date=1216733556]
iago uses exclusively Linux. His code isn't Linux friendly?
iago's lockdown code was written in Visual Studio 2005 and was targeted for Windows.
Either way, once you can get the original source to compile in windows, then you know that's a dependable source to work on.
So what kinds of things are you guys dealing with to make it compatible with the new lockdown algorithm?
Quote from: MyndFyre[vL] on July 22, 2008, 10:41 AM
Quote from: Joex86] link=topic=17567.msg179031#msg179031 date=1216733556]
iago uses exclusively Linux. His code isn't Linux friendly?
iago's lockdown code was written in Visual Studio 2005 and was targeted for Windows.
Oh. I'm dumb.
Has anyone updated this for lockdown?
Some of the links previously posted for the source in this topic don't seem to be working.
lol the project die?
hows it coming along.
I am currently working on this library in an effort to improve some problems I am having with it. Here is a tenative list of my goals right now and where I stand on them, I started this a few days ago. 1-5 is my progress
4 - 1 ) Remove C++ requirements from all project source
5 - 2 ) Build with MinGW on windows vista
2 - 3 ) Normalize APIs, add prefixes to names, streamline function names
5 - 4 ) Separate PE into its own library
3 - 5 ) Remove unessary win32 calls
2 - 6 ) Rewrite some of the functions to be more in-line with my new style
0 - 7 ) Implement fully doxygen coverage
2 - 8 ) Implement a high level of unit test coverage using cuint
0 - 9 ) Use CMake instead of auto-terrible
1 - 10) Add functionality required to pass Warden and Lockdown challenges
Quote from: c0ol on September 09, 2008, 09:35 AM
I am currently working on this library in an effort to improve some problems I am having with it. Here is a tenative list of my goals right now and where I stand on them, I started this a few days ago. 1-5 is my progress
4 - 1 ) Remove C++ requirements from all project source
5 - 2 ) Build with MinGW on windows vista
2 - 3 ) Normalize APIs, add prefixes to names, streamline function names
5 - 4 ) Separate PE into its own library
3 - 5 ) Remove unessary win32 calls
2 - 6 ) Rewrite some of the functions to be more in-line with my new style
0 - 7 ) Implement fully doxygen coverage
2 - 8 ) Implement a high level of unit test coverage using cuint
0 - 9 ) Use CMake instead of auto-terrible
1 - 10) Add functionality required to pass Warden and Lockdown challenges
That's quote a lot... Don't freakin change the function names inside the DLL, or all current bots that use it will not be able to use this version..
I assume you know this already.