Giter Club home page Giter Club logo

Comments (14)

MarcJHuber avatar MarcJHuber commented on July 17, 2024

Hi,

thanks, I've pushed a commit that should fix the PCRE(2) issue.

Regarding the "malformed packet" issue: That looks like a key mismatch. Did you configure the Testing123 key on your ASA without quotes?

Thanks,

Marc

from event-driven-servers.

shepes avatar shepes commented on July 17, 2024

Hi Marc,

Heres the config on the ASA

aaa-server testing protocol tacacs+
aaa-server testing (inside) host 192.168.1.116
key Testing123

I can also decrypt the tacacs request in wireshark using that key so I know it is good on that front, something in tac_plus-ng doesnt appear to like it though im struggling to see where else I can look

from event-driven-servers.

shepes avatar shepes commented on July 17, 2024

Also still go the same PCRE issue with the latest version

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 17, 2024

Hi,

thanks ... the "malformed packet" issue looks like a GCC bug. Please git pull, make clean and rebuild. I've removed the "-O2" optimization.

Regarding PCRE2: When building, do you see any "-DWITH_PCRE2" flag?

Thanks,

Marc

from event-driven-servers.

shepes avatar shepes commented on July 17, 2024

Just trying that now, and with regards to the PCRE question yes that flag is there " -DWITH_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_EXECINFO_H -"

from event-driven-servers.

shepes avatar shepes commented on July 17, 2024

INFO: Attempting Authentication test to IP address <192.168.1.116> (timeout: 12 seconds)
INFO: Authentication Successful
ciscoasa#

Thats better!

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 17, 2024

Hi,

great ... and the PCRE2 issue is in fact resolved too? No more "binary wasn't compiled with PCRE" messages?

Thanks,

Marc

from event-driven-servers.

shepes avatar shepes commented on July 17, 2024

Hi,

great ... and the PCRE2 issue is in fact resolved too? No more "binary wasn't compiled with PCRE" messages?

Thanks,

Marc

Unfortunately the PCRE issue still remains

default-config:35: You're using PCRE syntax, but this binary wasn't compiled with PCRE support.
54098: default-config:35: You're using PCRE syntax, but this binary wasn't compiled with PCRE support.
54098: Detected fatal configuration error. Exiting.

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 17, 2024

Hi,

that's weird. The relevant code snippet in tac_plus-ng/config.c reads

#ifdef WITH_PCRE
#else
#ifdef WITH_PCRE2
#else
 ... wasn't compiled with PCRE support ...
#endif
#endif

so you should never see that particular message with WITH_PCRE2 set.

I've no idea where that could come from. You did run "make clean" before building?

Thanks,

Marc

from event-driven-servers.

shepes avatar shepes commented on July 17, 2024

Yup ran make clean but still get

"./default:35: You're using PCRE syntax, but this binary wasn't compiled with PCRE support.
55125: ./default:35: You're using PCRE syntax, but this binary wasn't compiled with PCRE support.
55125: Detected fatal configuration error. Exiting."

When using the config file as is from here "https://www.pro-bono-publico.de/projects/unpacked/tac_plus-ng/sample/tac_plus-ng.cfg"

from event-driven-servers.

shepes avatar shepes commented on July 17, 2024

So jsut deployed another clean VM and started again, the PCRE issue is gone now, thanks for a speedy resolution of the above

There is one more issue with the default config that comes up now though and thats that pammavis module doesnt seem to exist though im not sure ill be needing this tbh was more an observation

./default:44: /usr/local/sbin/pammavis: No such file or directory
58829: ./default:44: /usr/local/sbin/pammavis: No such file or directory
58829: Detected fatal configuration error. Exiting.

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 17, 2024

Hi,

pammavis depends on the PAM development headers (libpam0g-dev on Ubuntu, IIRC, with probably similar names on other distributions). Are those available?

Thanks,

Marc

from event-driven-servers.

shepes avatar shepes commented on July 17, 2024

Ahh Thanks, installing that has resolved! Thanks again for a quick resolution to this much appreciated!

from event-driven-servers.

MarcJHuber avatar MarcJHuber commented on July 17, 2024

Hi,

great, thanks a lot!

Printing some info on what's auto-detected would likely make sense, I might have a look at that.

And it's really sad to see that GCC optimization doesn't work as expected ... I hadn't seen that coming, as there were no issues with clang at all ...

Thanks,

Marc

from event-driven-servers.

Related Issues (20)

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.