Giter Club home page Giter Club logo

adc-scripts's People

Contributors

ajitchelat avatar aman-agrawal1 avatar geethapinnaka avatar luisug avatar subashd avatar subbendumajumder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

adc-scripts's Issues

Issues running the script

Resolved issues with the script by CHMOD 744 on all relevant script files. This step should be included in the README

Unable to run "check_invalid_config" getting Syntax arguments

Good afternoon:

I am working to update our citrix ADC to version 14.1, we are on version 13.0 and I know we are out of support and I am wanting to get us to 13.1 ASAP. I have git pulled all the files in the repo and moved them over to the ADC but I am getting an error no matter how I run it. I am just simply running: check_invalid_config /nsconfig/ns.conf -buildVersion 13.1 and I get:

usage: configCheck [-h] -f <path to ns config file> [-v] [-V]
configCheck: error: unrecognized arguments: -B 13.1
Error in checking config file: 512root@DalNetScalerLB#

Not matter what I do it will not work. I really want to run the pre-check before the upgrade and the nspepi tool is working so I am unsure what the issue is here. Any help would be apprecitated.

README.md typo

The Readme file has a typo in the section "NSPEPI and check_invalid_config tools can be run on the CentOS and Ubuntu systems" - "If python3 is installed, then please create a symbolic link for python like "ln -s /usr/bin/pytho3 /usr/bin/python".

The correct command should be "ln -s /usr/bin/python3 /usr/bin/python"

check_invalid_config rights

When check_invalid_config is copied to /netscaler the default rights are not sufficient to run it. I used WinSCP to copy the files

Example:
root@NS01# check_invalid_config /nsconfig/ns.conf
-bash: /netscaler/check_invalid_config: Permission denied

After setting rights to 550:
root@NS01# check_invalid_config /nsconfig/ns.conf

No issue detected with the configuration.

authorization policies are NOT converted if nspepi should convert a whole config file

Hello,

while this syntax works fine:
./nspepi -e 'REQ.IP.DESTIP == 10.10.10.0 -netmask 255.255.255.0'
"CLIENT.IP.DST.IN_SUBNET(10.10.10.0/24)"

the processing of the config file does NOT convert authorization policies:

$ cat test.conf
add authorization policy LAN_10 "REQ.IP.DESTIP == 10.10.10.0 -netmask 255.255.255.0" ALLOW
$ ./nspepi -f test.conf -v
INFO - add authorization policy LAN_10 "REQ.IP.DESTIP == 10.10.10.0 -netmask 255.255.255.0" ALLOW

Converted config will be available in a new file new_test.conf.
Check warn_test.conf file for any warnings or errors that might have been generated.
$ cat new_test.conf
add authorization policy LAN_10 "REQ.IP.DESTIP == 10.10.10.0 -netmask 255.255.255.0" ALLOW
$ wc -l warn_test.conf
0 warn_test.conf

Please advise. Thank you!
BR
Hermann M.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.