Wildass question

Discussion in 'Tomato Firmware' started by GeeTek, Jan 4, 2007.

  1. GeeTek

    GeeTek Guest

    I have heard of problems with connection time-out times and bit torrent. QOS charts seem to be filled with old connections. Suddenly this question occurred to me; Why does my router need to hold connections open ? What is being accomplished ? The CAT5 cable does not hold connections open, so why should my router ? The communication is between my PC and the server on the Internet. With the normal settings, my QOS chart shows my connections to google long after I have closed the page. Why ? What purpose is being served ? I got creative, and set every field, all 12 of them in "Advanced - Conn Track" to a value of ONE. I got errors on 3 fields, which did accept a value of 10. I am posting this now with every field except those 3 set to a value of one. The QOS charts are now VERY responsive and accurate ! Before I log into the routers at the hotels that I administer and do the same, can somebody tell me why I should not ? Would it have a negative impact on the router's ability to shape traffic ?

    Edit - It may be my imagination, or maybe my intoxication level, but page load times and general internet response seems to be noticeably snappier. My streaming radio station is working fine.........
    Jon is cool. He delivers options. No other software has 12 timing fields to play with !!
  2. _splat_

    _splat_ Network Guru Member

    For example:
    You are connecting to a FTP server and your TCP timeout is set to 10.
    If you are connected to the FTP server there is no more traffic until you change the directory or downloading something.

    If you need more than 10sec now to watch whats on the server you connection will be dropped and you need to reconnect.

    Also on IRC chat you will get disconnected if no one writes something for 10 sec.
  3. NateHoy

    NateHoy Network Guru Member

    Many applications require a connection to be left open even when idle, such as FTP, Telnet, SSH, Instant Messenger, BitTorrent/P2P applications, etc. If you set your timeout values too low, you will find that those applications start breaking, since the replies received from the server (for example, an inbound instant message) will be rejected by the router, which has "forgotten" which computer the reply needs to be sent to.

    Even web browsing and other "interactive" request/response applications may break, if the server takes more than 10 seconds to reply. You send the HTTP request, the web server takes 12 seconds to run its query and reply with the HTTP response, and by the time the HTTP response comes back your router has purged the NAT table entry and doesn't know who the response goes to, so it either forwards the data to the DMZ if you have one set, forwards it on the default forwarded port if you have port forwarding set on that specific port, or throws it away.
  4. GeeTek

    GeeTek Guest

    Thanks. That sounds very logical. I hadn't done much more than browse a few pages, and was indeed sauced up quite well when I posted. I think I will play with it some more and see if I can trim things a bit. With good traffic shaping rules and conn limits in place, it is already impossible to bog it down, so I probably won't see much improvement. Thanks again !
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice