tcp session limit with ipfw

From: dnr (dnr_at_freemail.lt)
Date: 05/27/05

  • Next message: Rink Springer: "Re: tcp session limit with ipfw"
    To: <freebsd-net@freebsd.org>
    Date: Fri, 27 May 2005 15:19:31 +0300
    
    

    is there any possibility to limit tcp session count let's say from 3 to 2 for any port separately?

    for examples:
    establishing 3 active ftp sessions from 10.10.10.2 to 10.10.10.1 and doing transfer via 1 session we have:

    10.10.10.1.ftp - 10.10.10.2.57185 - ESTABLISHED
    10.10.10.1.ftp - 10.10.10.2.55069 - ESTABLISHED
    10.10.10.1.ftp - 10.10.10.2.60589 - ESTABLISHED
    10.10.10.1.ftp - 10.10.10.2.59201 - TIME_WAIT
    10.10.10.1.ftp - 10.10.10.2.57144 - TIME_WAIT
    10.10.10.1.ftp - 10.10.10.2.61237 - ESTABLISHED ---> DATA transfer

    so, how limit using IPFW any other atempts to establish ftp session number 4,5 etc... so we could use maximum 3sessions/1 IPaddrs?

    thnx

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Rink Springer: "Re: tcp session limit with ipfw"