netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Horton <arimus.uk@googlemail.com>
To: netfilter@vger.kernel.org
Subject: slip interfaces
Date: Thu, 10 Dec 2009 10:29:38 +0000	[thread overview]
Message-ID: <56378e320912100229k2ef6000bhc6d06d27ae512d96@mail.gmail.com> (raw)

Hi,

Slightly offtopic but this list is probably the most likely to have
people who know the answer...

I've got a requirement to filter traffic for a given SERIAL DEVICE
connected via slip..

Now as people may or may not know slattach creates sl# interfaces in
the order slattach was called... on our system there is no certainty
that sl0 will always be /dev/ttyM3 for instance.

Is there anyway to identify from anywhere (inc the /proc and
/sys/class/net fs) which sl# maps to which /dev/ttyM# number?

Thanks,

Richard.

-- 
Richard Horton
Users are like a virus: Each causing a thousand tiny crises until the
host finally dies.
http://www.solstans.co.uk - Solstans Japanese Bobtails and Norwegian Forest Cats
http://www.pbase.com/arimus - My online photogallery

                 reply	other threads:[~2009-12-10 10:29 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=56378e320912100229k2ef6000bhc6d06d27ae512d96@mail.gmail.com \
    --to=arimus.uk@googlemail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).