Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Tcp.established timeout

    NAT
    1
    2
    5.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Sonya
      last edited by

      status.php

      
      skip
      many-many dead states
      skip
      
      TIMEOUTS:
      tcp.first                   120s
      tcp.opening                  30s
      tcp.established           86400s
      tcp.closing                 900s
      tcp.finwait                  45s
      tcp.closed                   90s
      tcp.tsdiff                   30s
      udp.first                    60s
      udp.single                   30s
      udp.multiple                 60s
      icmp.first                   20s
      icmp.error                   10s
      other.first                  60s
      other.single                 30s
      other.multiple               60s
      frag                         30s
      interval                     10s
      adaptive.start             6000 states
      adaptive.end              12000 states
      src.track                     0s
      skip
      
      

      How to decrease value tcp.established?

      1 Reply Last reply Reply Quote 0
      • S
        Sonya
        last edited by

        I find it.

        /etc/inc/filter.inc

        add $rules .= "set timeout tcp.established 3600\n"; and $rules .= "set timeout tcp.closing 60\n";

        before line $rules .= "\n";

        		/* User defined maximum states in Advanced menu. */
        		$rules .= "set limit states {$config['system']['maximumstates']}\n";
        	}
        
        	$rules .= "set timeout tcp.established 3600\n";
        	$rules .= "set timeout tcp.closing 60\n";
        
        	$rules .= "\n";
        
        

        and DC, eMule, uTorrent works well.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.