Giter Club home page Giter Club logo

Comments (2)

starjun avatar starjun commented on July 19, 2024

1.同步到redis需要自己主动推送,没有写被动定时推送
2.ip_Mod推送到redis还没写,ip封锁的时间问题,暂没想好该如何解决
3.业务接口更具自己的情况,做验证,ip和key啥的进行绑定,参考微软/aws的接口就行了,如果是公共接口(非申请接入的)就做访问频率的限制,其实还可以在细分,接口是给浏览器调用的还是应用调用的,浏览器的话可以增加JS跳转等等操作,做一些加密等增加攻击成本等,剩下就做频率、总数的限制,发现问题通过日志分析就行了。

from openstar.

h1z3y3 avatar h1z3y3 commented on July 19, 2024

您现在的redis同步我看都是全量的, 代价是不是有点大, 是否有考虑做成增量的, 是否ip_Mod没写在考虑增量?

而且我看您在api/ip_dict.lua中 , 只做了nginx.shared.ip_dict的修改, 然而相关文件(conf/ip_Mod.json)并没有同步修改.会完善吗?

from openstar.

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.