TCP flags and how it should be set in 1.18?

Discussion in 'Tomato Firmware' started by vexingv, Apr 18, 2008.

  1. vexingv

    vexingv LI Guru Member

    Can someone please explain TCP flags to someone who is "network challenged." I've read the release notes and the current thread about the 1.18 release, but still don't seem to understand how the new "Prioritize small packets with these control flags" option should be set. A quick google search didn't reveal much info but I found the following:

    I've lamented in previous postings about how tomato doesn't throttle/prioritize incoming traffic. Others have said that enabling ACK priority, which I've left enabled in all prior firmware releases, can help alleviate this problem. As I tend to have nntp downloads (and i guess other web/http downloads in general), my goal is to have incoming nntp traffic throttled/reduced priority so that my downlink isn't saturated for web browsing and gaming (mostly valve/steam games). As it is now, browsing (which includes viewing flash videos) is noticeably slower and latency in games are much higher (300+ ms compared to 30-40) as my line is saturated (DSL with only 180 kB/s downstream). I've had to resort to hard capping nntp traffic (I'm not quite sure how to do this with http/web downloads) so that my downstream bandwidth isn't saturated.

    Could someone explain TCP flags? How should they be set for my give circumstances? Thanks.
  2. nvtweak

    nvtweak LI Guru Member

    TCP flags are fundamental to how the internet works with TCP/IP protocol suite.

    When two machines communicate over TCP/IP, they use a three way handshake to establish a TCP connection.

    computer A sends SYN to computer B
    computer B sends SYN-ACK to computer A
    computer A sends ACK to computer B

    The connection is established.

    If computer A sends SYN request to computer B, but computer B port is closed, computer B sends RST to computer A.

    Just leave it at default settings. Or enable SYN priority also. I do not really think you will see a huge difference either way..
  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