fuxkcsdn
V2EX  ›  问与答

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

  •  
  •   fuxkcsdn · Jun 17, 2014 · 3303 views
    This topic created in 4543 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   ·   935 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 21:20 · PVG 05:20 · LAX 13:20 · JFK 16:20
    ♥ Do have faith in what you're doing.