fuxkcsdn
V2EX  ›  问与答

Linux 如何限制指定端口只允许单个 IP 连接,如果有多个 IP 尝试进行连接,只保留最后连接的 IP?

  •  
  •   fuxkcsdn · Jun 17, 2014 · 3206 views
    This topic created in 4437 days ago, the information mentioned may be changed or developed.
    3 replies    2014-06-17 11:05:20 +08:00
    liwei
        1
    liwei  
       Jun 17, 2014
    在应用层逻辑里面处理。
    fuxkcsdn
        2
    fuxkcsdn  
    OP
       Jun 17, 2014
    @liwei iptables之类的无法做到吗?
    yylyyl
        3
    yylyyl  
       Jun 17, 2014
    libnids 应该 ok
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2927 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 14:31 · PVG 22:31 · LAX 07:31 · JFK 10:31
    ♥ Do have faith in what you're doing.