Author |
Message
|
qwerty |
Posted: Wed Jul 01, 2009 3:08 am Post subject: BlockIP2 Problem |
|
|
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 |
|
 |
vol |
Posted: Wed Jul 01, 2009 6:15 am Post subject: |
|
|
Acolyte
Joined: 01 Feb 2009 Posts: 69
|
I suspect the ; on the end of the filespec is the problem. |
|
Back to top |
|
 |
qwerty |
Posted: Wed Jul 01, 2009 9:17 pm Post subject: |
|
|
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 |
|
 |
qwerty |
Posted: Wed Jul 01, 2009 9:55 pm Post subject: |
|
|
Apprentice
Joined: 22 Jun 2009 Posts: 37
|
How can I create such a FILE???
need help please  |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 01, 2009 9:58 pm Post subject: |
|
|
 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 |
|
 |
qwerty |
Posted: Wed Jul 01, 2009 10:15 pm Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Jul 01, 2009 10:17 pm Post subject: |
|
|
 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 |
|
 |
qwerty |
Posted: Wed Jul 01, 2009 10:32 pm Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Jul 01, 2009 10:36 pm Post subject: |
|
|
 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 |
|
 |
qwerty |
Posted: Wed Jul 01, 2009 10:48 pm Post subject: |
|
|
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 |
|
 |
qwerty |
Posted: Wed Jul 01, 2009 11:39 pm Post subject: |
|
|
Apprentice
Joined: 22 Jun 2009 Posts: 37
|
|
Back to top |
|
 |
|