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 » BlockIP2 Problem

Post new topic  Reply to topic
 BlockIP2 Problem « View previous topic :: View next topic » 
Author Message
qwerty
PostPosted: Wed Jul 01, 2009 3:08 am    Post subject: BlockIP2 Problem Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

Hi,

I try to Use BlockIP2 on Linux.
The blockMqmUser=Y command works, but I´d like to obtain the security specification from a file.

alt chl(MQT2.TCP.MQT1) chltype(SVRCONN) +
SCYDATA('FN=/var/mqm/exits/Blockspec.txt;') +
scyexit('BlockIP2(BlockExit)')

this must be the right comment to create this file
but it doesn´t work.
can anybody tell me how I can create this file to make some security specifications?

thx qwerty
Back to top
View user's profile Send private message
vol
PostPosted: Wed Jul 01, 2009 6:15 am    Post subject: Reply with quote

Acolyte

Joined: 01 Feb 2009
Posts: 69

I suspect the ; on the end of the filespec is the problem.
Back to top
View user's profile Send private message
qwerty
PostPosted: Wed Jul 01, 2009 9:17 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

Hi,

in the Manual is written that there MUST be a ";"

so I don´t think so, but I try to leave it away
Back to top
View user's profile Send private message
qwerty
PostPosted: Wed Jul 01, 2009 9:55 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

How can I create such a FILE???
need help please
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 01, 2009 9:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

qwerty wrote:
How can I create such a FILE???


Creating a .txt file doesn't sound tricky. There are many methods.

But naming it in the FILESPEC of an ALTER CHANNEL command wouldn't have been my preferred choice for creating it. And I didn't think it had a ';' at the end of it either. At the end of the file yes, but not there.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
qwerty
PostPosted: Wed Jul 01, 2009 10:15 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

in the manuals of the block ip is written:

alt chl(MQT2.TCP.MQT1) chltype(SVRCONN) +
SCYDATA('FN=/var/mqm/exits/Blockspec.txt;') +
scyexit('BlockIP2(BlockExit)')

and so I have done it.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 01, 2009 10:17 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

qwerty wrote:
in the manuals of the block ip is written:

alt chl(MQT2.TCP.MQT1) chltype(SVRCONN) +
SCYDATA('FN=/var/mqm/exits/Blockspec.txt;') +
scyexit('BlockIP2(BlockExit)')

and so I have done it.


Very valid line of reasoning!


As I said previously, I didn't think there was a delimiter. I can get you a dozen witnesses who've seen me being wrong about things....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
qwerty
PostPosted: Wed Jul 01, 2009 10:32 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

sry...

hmm....my problem is creating this file
or
how can I block the mqm user?
is it possible to do this without the configuration file?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jul 01, 2009 10:36 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

qwerty wrote:
my problem is creating this file


Seriously??? Your problem is creating a text file?

I can only hope this is some kind of linguistic problem.

qwerty wrote:

how can I block the mqm user?
is it possible to do this without the configuration file?


AFAIK you do have to configure the exit for it to work.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
qwerty
PostPosted: Wed Jul 01, 2009 10:48 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

AFAIK you do have to configure the exit for it to work.....
-----------------------------

thx 4 ur help


I am not to stupid to create one
that´s not the problem
the problem is
with 'FN=/var/mqm/exits/Blockspec.txt;' it should work
but it does not
Back to top
View user's profile Send private message
qwerty
PostPosted: Wed Jul 01, 2009 11:39 pm    Post subject: Reply with quote

Apprentice

Joined: 22 Jun 2009
Posts: 37

plz close
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » User Exits » BlockIP2 Problem
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.