Historic archive of defunct list cerowrt-commits@lists.bufferbloat.net
 help / color / mirror / Atom feed
From: GitHub <noreply@github.com>
To: cerowrt-commits@lists.bufferbloat.net
Subject: [dtaht/ceropackages-3.10] 83d997: Teach functions.sh to sanitize user inputs for ing...
Date: Thu, 20 Feb 2014 15:48:25 -0800	[thread overview]
Message-ID: <53069449ca94_3e054afd4458680@hookshot-fe1-cp1-prd.iad.github.net.mail> (raw)

[-- Attachment #1: Type: text/plain, Size: 942 bytes --]

  Branch: refs/heads/master
  Home:   https://github.com/dtaht/ceropackages-3.10
  Commit: 83d99700b4713f0745fbc66baae8879f9a6719d7
      https://github.com/dtaht/ceropackages-3.10/commit/83d99700b4713f0745fbc66baae8879f9a6719d7
  Author: Sebastian Moeller <moeller0@gmx.de>
  Date:   2014-02-20 (Thu, 20 Feb 2014)

  Changed paths:
    M net/sqm-scripts/files/usr/lib/sqm/functions.sh

  Log Message:
  -----------
  Teach functions.sh to sanitize user inputs for ingress and egress target

The codel family of qdiscs and pie allow to specify a latency target.
Implement get_target() to sanitize the user inputs. only accept well
formed specifiers as 5ms or 50usecs. The allowed units were taken
from tc_util.c get_time(), the function that handles the input for tc,
 information was extracted from iproute2 v3.10.0. Misformed target requests
are silently dropped, empty values for target will instruct the qdisc
to use its default value.



                 reply	other threads:[~2014-02-20 23:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=53069449ca94_3e054afd4458680@hookshot-fe1-cp1-prd.iad.github.net.mail \
    --to=noreply@github.com \
    --cc=cerowrt-commits@lists.bufferbloat.net \
    /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