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 » General IBM MQ Support » CHLAuth Address & Addresslist

Post new topic  Reply to topic
 CHLAuth Address & Addresslist « View previous topic :: View next topic » 
Author Message
taruns2000
PostPosted: Tue Mar 31, 2015 4:54 am    Post subject: CHLAuth Address & Addresslist Reply with quote

Newbie

Joined: 31 Mar 2015
Posts: 2

Hi,

Trying to go from Blockip security exit to chlauth.

OS - unix
MQ version - 7.1

Current config- Block ip- for a single SVRCONN channel multiple ipaddress of different range are used.

While reading the IBM documentation for chlauth - Address and Addresslist parameters, I understand that Address and addresslist parameters take either single ip or range of ips.

Query- Can't these params [Address and addresslist] have multiple specific ips with some delimiter say comma or semicolon
e.g Address(ipaddress1, ipddress2,...)

If above is the case then need to specify a very large ip range and my requirement is to allow only those specific ips only.

Please suggest!
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 31, 2015 5:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The syntax diagram for ADDRESSLIST indicates that it can contain multiple entries separated by commas.

http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.ref.adm.doc/q086630_.htm?lang=en
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Mar 31, 2015 5:41 am    Post subject: Re: CHLAuth Address & Addresslist Reply with quote

Grand High Poobah

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

taruns2000 wrote:
If above is the case then need to specify a very large ip range and my requirement is to allow only those specific ips only.


Why quote a "very large range"? Why not block everything and specifically allow those (presumably small number) of specific IPs only?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
taruns2000
PostPosted: Wed Apr 01, 2015 2:34 am    Post subject: Reply with quote

Newbie

Joined: 31 Mar 2015
Posts: 2

hi mqjeff,

Yes, after you pointed out I can see the commas in the syntax.
Can I use comma delimiter with Address field as well? I do not see the same syntax for ADDRESS.

Because I want to allow specific ips with specific MCA user

for example-

current configuration of blockip is as given below-

for svrconn channel C1

it allows below ips with below MCA users-

CON=ip1;MCA=user1
CON=ip2;MCA=user2
CON=ip3;MCA=user3

I understand that I need to use below command to achieve the same-

SET CHLAUTH('C1') TYPE(ADDRESSMAP) ADDRESS('ip1','ip2','ip3') USERSRC(MAP) MCAUSER('user1','user','user3')

Query- 1. Is the above approach/understanding correct?
2. Can ADDRESS and MCAUSER fields have comma delimited values?
3. My understanding is that ADDRESS must be used along with TYPE(ADDRESSMAP) if I want to allow ips and ADDRLIST must be along with TYPE(BLOCKADDR) if I want to block ips. Current understanding is that I cannot use ADDRLIST with TYPE(ADDRESSMAP). Pls sugget if this understanding is correct.

pls suggest.
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 » General IBM MQ Support » CHLAuth Address & Addresslist
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.