ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » User Exits » Issue with MQ V7 & BlockIP2 on Windows

Post new topic  Reply to topic Goto page 1, 2  Next
 Issue with MQ V7 & BlockIP2 on Windows « View previous topic :: View next topic » 
Author Message
jpier
PostPosted: Tue Jun 14, 2011 7:11 am    Post subject: Issue with MQ V7 & BlockIP2 on Windows Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Jun 14, 2011 11:35 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

2.82 is the latest version that I have seen.
Back to top
View user's profile Send private message
jpier
PostPosted: Tue Jun 14, 2011 1:16 pm    Post subject: Issue with MQ V7 & BlockIP2 on Windows Reply with quote

Newbie

Joined: 10 Jun 2011
Posts: 3

hm, the latest version I can find on this site: http://mrmq.dk/index.htm?BlockIP.htm is 2.78

wouldn't you mind to zip v2.82 and send it to my email: jerryny333@yahoo.com ?

PS: I need only the Windows version.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Jun 14, 2011 11:43 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
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
View user's profile Send private message
jpier
PostPosted: Thu Jun 16, 2011 6:30 am    Post subject: Issue with MQ V7 & BlockIP2 on Windows Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Thu Jun 16, 2011 6:38 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

OK, let us know here when it is available.
Back to top
View user's profile Send private message
kernel182
PostPosted: Tue Sep 06, 2011 7:13 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Sep 06, 2011 9:07 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

I have 2.92 now!
Back to top
View user's profile Send private message
kernel182
PostPosted: Tue Sep 06, 2011 9:16 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Sep 06, 2011 11:04 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

Do you really mean with .mx on the end?
Back to top
View user's profile Send private message
kernel182
PostPosted: Tue Sep 06, 2011 11:05 am    Post subject: Reply with quote

Newbie

Joined: 06 Sep 2011
Posts: 7

Yes with .mx: victor.romero AT dsnibble.com.mx plz
Back to top
View user's profile Send private message
kernel182
PostPosted: Tue Sep 06, 2011 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
kernel182
PostPosted: Thu Sep 08, 2011 6:33 am    Post subject: Reply with quote

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
View user's profile Send private message
relheop
PostPosted: Thu Sep 08, 2011 8:27 am    Post subject: Reply with quote

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
View user's profile Send private message
kernel182
PostPosted: Thu Sep 08, 2011 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » User Exits » Issue with MQ V7 & BlockIP2 on Windows
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.