Author |
Message
|
jpier |
Posted: Tue Jun 14, 2011 7:11 am Post subject: Issue with MQ V7 & BlockIP2 on Windows |
|
|
Newbie
Joined: 10 Jun 2011 Posts: 3
|
Hi,
I'm having issues with BlockIP2 for MQ V7 on Windows platform. It works fine on Solaris but we see the issue on Windows XP and Windows 2003. The error is: The instruction at "0x7c90100b" referenced memory at "0x00000034". The memory could not be "read".
I tested few versions of BlockIP ( V2.78, 2.69.2.55) on few different MQ
versions: V7.0.1.3, V7.0.1.4, V7.0.1.5 and getting the same error.
Did anyone ran accross this problem already?
PS: I'm aware of difference with SHARECNV and I set it to 0. See my channel definition below.
dis channel(SVR2.CONN)
1 : dis channel(SVR2.CONN)
AMQ8414: Display Channel details.
CHANNEL(SVR2.CONN) CHLTYPE(SVRCONN)
ALTDATE(2011-06-14) ALTTIME(10.47.1
COMPHDR(NONE) COMPMSG(NONE)
DESCR( ) HBINT(300)
KAINT(AUTO) MAXINST(999999999)
MAXINSTC(999999999) MAXMSGL(4194304)
MCAUSER(pierjer) MONCHL(QMGR)
RCVDATA( ) RCVEXIT( )
SCYDATA(FN=c:\mq\jptest.txt;-d SCYEXIT(BlockIP2(BlockExit))
SENDDATA( ) SENDEXIT( )
SHARECNV(0) SSLCAUTH(OPTIONAL)
SSLCIPH( ) SSLPEER( )
TRPTYPE(TCP) |
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 14, 2011 11:35 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
2.82 is the latest version that I have seen. |
|
Back to top |
|
 |
jpier |
Posted: Tue Jun 14, 2011 1:16 pm Post subject: Issue with MQ V7 & BlockIP2 on Windows |
|
|
Newbie
Joined: 10 Jun 2011 Posts: 3
|
|
Back to top |
|
 |
zpat |
Posted: Tue Jun 14, 2011 11:43 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
There is no special version for Windows. I only have the source, since I have not yet had the need to compile it for Windows.
You might want to contact the author to see if there is a version later than 2.82 (which I have sent you), if so let us know here. |
|
Back to top |
|
 |
jpier |
Posted: Thu Jun 16, 2011 6:30 am Post subject: Issue with MQ V7 & BlockIP2 on Windows |
|
|
Newbie
Joined: 10 Jun 2011 Posts: 3
|
Thnx! I did contact the author. He is not aware about this specific issue but he has new release coming out soon. |
|
Back to top |
|
 |
zpat |
Posted: Thu Jun 16, 2011 6:38 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
OK, let us know here when it is available. |
|
Back to top |
|
 |
kernel182 |
Posted: Tue Sep 06, 2011 7:13 am Post subject: |
|
|
 Newbie
Joined: 06 Sep 2011 Posts: 7
|
Hi,
I've the same issue, could you please share the source of BlockIP v2.82 ?
victor.romero AT dsnibble DOT com DOT mx
Best regards! |
|
Back to top |
|
 |
zpat |
Posted: Tue Sep 06, 2011 9:07 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
kernel182 |
Posted: Tue Sep 06, 2011 9:16 am Post subject: |
|
|
 Newbie
Joined: 06 Sep 2011 Posts: 7
|
Hi
Could you please send me the v2.92 to victor.romero AT dsnibble.com.mx ? |
|
Back to top |
|
 |
zpat |
Posted: Tue Sep 06, 2011 11:04 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Do you really mean with .mx on the end? |
|
Back to top |
|
 |
kernel182 |
Posted: Tue Sep 06, 2011 11:05 am Post subject: |
|
|
 Newbie
Joined: 06 Sep 2011 Posts: 7
|
Yes with .mx: victor.romero AT dsnibble.com.mx plz  |
|
Back to top |
|
 |
kernel182 |
Posted: Tue Sep 06, 2011 12:17 pm Post subject: |
|
|
 Newbie
Joined: 06 Sep 2011 Posts: 7
|
Thanks! I got the source code, I've compiled it using the VC++ 2010 Express Edition on Windows 2008 R2 and WMQ 7.0.1.6, but it doesn't block the connections, I will continue to research what's happening. |
|
Back to top |
|
 |
kernel182 |
Posted: Thu Sep 08, 2011 6:33 am Post subject: |
|
|
 Newbie
Joined: 06 Sep 2011 Posts: 7
|
Hi, Thanks to Jørgen Pedersen, the author or BlockIP, I've realized about my mistake, now I've been able to compile the source code and generate valid .dll and .exe binary files. Also I've fixed the SCYDATA and now the errors are being sent to Event Log and Error File.
I've tested this on Windows 2003/WMQ 7.0.1.6 and Windows 2008/WMQ 7.0.1.6 and works pretty cool.
Great Security exit!
Also I've used these commands to compile them using Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86.
cl BlockIP2.c /MT /DWIN32 /DWIN32_SHM /DHNLUP /D_CRT_SECURE_NO_DEPRECATE /DLL /LD "C:\IBM\MQ\WMQ\tools\Lib\mqm.lib" advapi32.lib netapi32.lib ws2_32.lib
cl BlockIP2S.c /MT "C:\IBM\MQ\WMQ\tools\Lib\mqm.lib" advapi32.lib netapi32.lib ws2_32.lib
Of course the mqm.lib path changes depending your WMQ installation.
Best Regards!!!
Victor |
|
Back to top |
|
 |
relheop |
Posted: Thu Sep 08, 2011 8:27 am Post subject: |
|
|
Apprentice
Joined: 30 Jan 2003 Posts: 40
|
Hi Victor,
I have the same problems with BlockIP and MQ Version 7. Could you send me the new source and maybe the new compiled version for Windows2008 to juergen.vorba@hp.com?
Many thanks in advance
Juergen |
|
Back to top |
|
 |
kernel182 |
Posted: Thu Sep 08, 2011 8:38 am Post subject: |
|
|
 Newbie
Joined: 06 Sep 2011 Posts: 7
|
Hi Juergen,
I've sent you the source and binaries to your email.
Best regards
Victor |
|
Back to top |
|
 |
|