fuxkcsdn
V2EX  ›  问与答

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

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