Git Product home page Git Product logo

Comments (8)

potats0 avatar potats0 commented on August 22, 2024

CGO is not yet compatible with multithreaded programming, which may cause deadlock.
I've ported libcoraza to openresty successfully.

from libcoraza.

spacewander avatar spacewander commented on August 22, 2024

Nice to hear some ideas.

CGO is not yet compatible with multithreaded programming, which may cause deadlock.

Are there any more details?

I've ported libcoraza to openresty successfully.

Would you compare this with nginx + modsecurity? What's the advantage?

from libcoraza.

potats0 avatar potats0 commented on August 22, 2024

https://www.v2ex.com/t/568117

libcoroza is easy to develop . I've developed a log4j module for detecting more evasive exploit.But porting to libmodsecurity is hard. Learning C++ is quite challenging.

from libcoraza.

potats0 avatar potats0 commented on August 22, 2024

performance
img_v2_aca433b8-a086-4856-a3a9-dd892b5f8dfg
img_v2_72034b71-49d0-478d-93c8-feae744712ag

from libcoraza.

spacewander avatar spacewander commented on August 22, 2024

https://www.v2ex.com/t/568117

I guess it's because the Go's threads disappear after the Nginx calls fork. Loading the Go shared lib in the init_worker phase may solve this problem.

libcoroza is easy to develop . I've developed a log4j module for detecting more evasive exploit.But porting to libmodsecurity is hard. Learning C++ is quite challenging.

I am glad to hear that.

from libcoraza.

potats0 avatar potats0 commented on August 22, 2024

sure loading the
Go shared library in init-worker phrase can resolve problem.I've completed openresty lua module. I want to merge into apisix.How should I do

from libcoraza.

spacewander avatar spacewander commented on August 22, 2024

You can open an issue there and discuss with them.

from libcoraza.

potats0 avatar potats0 commented on August 22, 2024
image

from libcoraza.

Related Issues (14)

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.