From: David Lang <david@lang.hm>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: Aaron Wood <woody77@gmail.com>, bloat <bloat@lists.bufferbloat.net>
Subject: Re: [Bloat] different speeds on different ports? (benchmarking fun)
Date: Thu, 21 Sep 2017 17:26:46 -0700 (PDT) [thread overview]
Message-ID: <alpine.DEB.2.02.1709211724580.6846@nftneq.ynat.uz> (raw)
In-Reply-To: <87o9q41ev3.fsf@toke.dk>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 710 bytes --]
On Thu, 21 Sep 2017, Toke Høiland-Jørgensen wrote:
>> It would be interesting if we could run some netperf tests using port
>> 80/443 for the listening socket for the data connection (although if
>> doing deep-packet inspection, we might need to use an actual HTTP
>> transfer).
>
> Trouble with this is that netserver would have to run as root to be able
> to bind to the ports; it does that dynamically, so binding at startup
> and dropping privileges won't work.
you can also give the binary the capability to bind to low ports without running
as root.
setcap 'cap_net_bind_service=+ep' /path/to/program
> Also it would mean that no other services could run on those ports.
that is true.
David Lang
next prev parent reply other threads:[~2017-09-22 0:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-30 5:15 Aaron Wood
2017-09-21 2:06 ` Dave Taht
2017-09-21 2:34 ` Dave Taht
2017-09-21 10:58 ` Stefan Alfredsson
2017-09-21 11:16 ` Toke Høiland-Jørgensen
2017-09-21 12:51 ` Sebastian Moeller
2017-09-22 0:26 ` David Lang [this message]
2017-09-21 14:50 ` Colin Dearborn
2017-09-21 15:13 ` Aaron Wood
2017-09-21 15:16 ` Aaron Wood
2017-09-23 2:51 ` Aaron Wood
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
List information: https://lists.bufferbloat.net/postorius/lists/bloat.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.02.1709211724580.6846@nftneq.ynat.uz \
--to=david@lang.hm \
--cc=bloat@lists.bufferbloat.net \
--cc=toke@toke.dk \
--cc=woody77@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox