Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #3609

Re: Mark the tor traffic based on port in OUTPUT chain.

From Pascal Hambourg <boite-a-spam@plouf.fr.eu.org>
Newsgroups comp.os.linux.networking
Subject Re: Mark the tor traffic based on port in OUTPUT chain.
Date 2015-11-29 09:22 +0100
Organization Plouf !
Message-ID <n3ecjg$26vn$1@saria.nerim.net> (permalink)
References <n3detv$17u$1@aspen.stu.neva.ru>

Show all headers | View raw


Hello,

Hongyi Zhao a écrit :
> 
> Currently, I use the ``-m owner --owner-uid $tor-user'' to pick out the 
> tor traffic.  But if I want to pick out and mark the traffic based on 
> port in OUTPUT chain of iptables.  Is it possible?

Check --dport, --sport or the "multiport" match.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mark the tor traffic based on port in OUTPUT chain. Hongyi Zhao <hongyi.zhao@gmail.com> - 2015-11-28 23:55 +0000
  Re: Mark the tor traffic based on port in OUTPUT chain. Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-11-29 09:22 +0100
    Re: Mark the tor traffic based on port in OUTPUT chain. Hongyi Zhao <hongyi.zhao@gmail.com> - 2015-11-29 13:01 +0000
      Re: Mark the tor traffic based on port in OUTPUT chain. Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-11-30 00:37 +0100
        Re: Mark the tor traffic based on port in OUTPUT chain. Hongyi Zhao <hongyi.zhao@gmail.com> - 2015-11-30 05:15 +0000
          Re: Mark the tor traffic based on port in OUTPUT chain. Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-11-30 23:11 +0100
          Re: Mark the tor traffic based on port in OUTPUT chain. Jamma Tino Schwarze <jamma-usenet@tisc.de> - 2015-12-01 16:52 +0000
            Re: Mark the tor traffic based on port in OUTPUT chain. Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-12-01 20:38 +0100
              Re: Mark the tor traffic based on port in OUTPUT chain. Jamma Tino Schwarze <jamma-usenet@tisc.de> - 2015-12-02 12:15 +0000
                Re: Mark the tor traffic based on port in OUTPUT chain. Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-12-04 09:28 +0100

csiph-web