All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bakshi" <joydeep@infoservices.in>
To: netfilter@vger.kernel.org
Subject: confusion with  dport and sport
Date: Thu, 03 Sep 2009 11:53:42 +0530	[thread overview]
Message-ID: <4A9F60EE.60908@infoservices.in> (raw)

Hello,

I have found that TOS is helpful for traffic shaping. But some guide use
--sport where other use --dport the handle the same thing hence I am
very confusd !!
To get a good response from the ssh running on a remote server the rule
can be placed in the remote server can be

``````````````````
iptables -t mangle -A PREROUTING -p tcp --dport  $SSH_PORT -j TOS
--set-tos Minimize-Delay
`````````````````````

BUT some site do the same by replacing --dport to --sport

Which one should be the right value ? Please enlighten me.
Thanks

             reply	other threads:[~2009-09-03  6:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03  6:23 J. Bakshi [this message]
2009-09-03  7:07 ` confusion with dport and sport Abhishek Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A9F60EE.60908@infoservices.in \
    --to=joydeep@infoservices.in \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.