From heas at shrubbery.net Fri Sep 6 00:43:09 2019 From: heas at shrubbery.net (john heasley) Date: Fri, 6 Sep 2019 00:43:09 +0000 Subject: [tac_plus] Adding dependency for tac_plus on libtacacs In-Reply-To: References: Message-ID: <20190906004309.GA70187@shrubbery.net> Thu, Aug 22, 2019 at 06:05:15PM +0000, Viswanathan, Vasanth: > Hi, > > I am building tacacs-F4.0.4.28 using *make* with the *-j* option to run jobs in parallel. Sometimes I run into a race condition where tac_plus binary compilation fails because it depends on libtacacs. I made the change to the Makefile to add this dependency. How can I upstream this change? > > Thanks, > Vasanth > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > _______________________________________________ > tac_plus mailing list > tac_plus at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/tac_plus Could you show me an example? and tell me what system, make, and tacacs version. there is a dependency: tac_plus_DEPENDENCIES = $(am__DEPENDENCIES_1) libtacacs.la tac_plus$(EXEEXT): $(tac_plus_OBJECTS) $(tac_plus_DEPENDENCIES) $(EXTRA_tac_plus _DEPENDENCIES) From vasanth.viswanathan at hpe.com Fri Sep 6 00:53:44 2019 From: vasanth.viswanathan at hpe.com (Viswanathan, Vasanth) Date: Fri, 6 Sep 2019 00:53:44 +0000 Subject: [tac_plus] Adding dependency for tac_plus on libtacacs In-Reply-To: <20190906004309.GA70187@shrubbery.net> References: <20190906004309.GA70187@shrubbery.net> Message-ID: <66849962-6170-4702-B553-3F2B8B576F20@hpe.com> Thanks for getting back John. I am using version 4.0.4.28 and I had a similar patch like the one you have mentioned. Here's the diff - -tac_plus_DEPENDENCIES = $(am__DEPENDENCIES_1) +tac_plus_DEPENDENCIES = $(am__DEPENDENCIES_1) $(lib_LTLIBRARIES) Which version has the fix? -Vasanth ?On 9/5/19, 5:43 PM, "john heasley" wrote: Thu, Aug 22, 2019 at 06:05:15PM +0000, Viswanathan, Vasanth: > Hi, > > I am building tacacs-F4.0.4.28 using *make* with the *-j* option to run jobs in parallel. Sometimes I run into a race condition where tac_plus binary compilation fails because it depends on libtacacs. I made the change to the Makefile to add this dependency. How can I upstream this change? > > Thanks, > Vasanth > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > _______________________________________________ > tac_plus mailing list > tac_plus at shrubbery.net > http://www.shrubbery.net/mailman/listinfo/tac_plus Could you show me an example? and tell me what system, make, and tacacs version. there is a dependency: tac_plus_DEPENDENCIES = $(am__DEPENDENCIES_1) libtacacs.la tac_plus$(EXEEXT): $(tac_plus_OBJECTS) $(tac_plus_DEPENDENCIES) $(EXTRA_tac_plus _DEPENDENCIES) From vasanth.viswanathan at hpe.com Fri Sep 13 00:06:06 2019 From: vasanth.viswanathan at hpe.com (Viswanathan, Vasanth) Date: Fri, 13 Sep 2019 00:06:06 +0000 Subject: [tac_plus] Escaping special characters within double quotes Message-ID: <8EAB358A-2C79-4420-9729-08C7C9B4466B@hpe.com> Hi, I am using tac_plus version F4.0.4.28. tac_plus man page suggests to use double-quotes when a string has white spaces. Here is an example of command authorization in tac_plus.conf file ? cmd = ping { permit ?10\.10\.10\.[2-9]+ -c 10? # allow 10 pings deny ?10\.10\.10\.[2-9]+ -c 100? # don?t allow 100 pings } I have to enclose the regex in double-quotes because it has multiple arguments. But this causes tac_plus to not start due to parsing error. However this works (without double-quotes) ? cmd = ping { permit 10\.10\.10\.[2-9]+ deny 10\.10\.10\.[20-30]+ } I looked the source code and it seems like tac_plus only allows backslash/quote/newline character after a backslash within a double-quoted string. I am trying to understand why we have this restriction. Thanks! Vasanth -------------- next part -------------- An HTML attachment was scrubbed... URL: