All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Wright <mike.wright@mailinator.com>
To: netfilter list <netfilter@vger.kernel.org>
Subject: help with --helper sane
Date: Sun, 09 Dec 2012 12:14:09 -0800	[thread overview]
Message-ID: <50C4F111.8090702@mailinator.com> (raw)

Hi all,

I'm trying to make a usb scanner network available using "saned".  The 
machines involved are both running "saned -a".  It works well until I 
turn on iptables on the machine with the scanner.

If I enable firewalling with port 6566 open the scanner initializes but 
never proceeds beyond that point.

I tried these:

-A INPUT -p tcp -m tcp --dport 6566 -m conntrack --ctstate NEW -m helper 
--helper "sane" -j ACCEPT
-A INPUT -p udp -m udp --dport 6566 -m conntrack --ctstate NEW -m helper 
--helper "sane" -j ACCEPT

but that results in "no scanners found".

Using CUPS as an example I did this on both sides and didn't have any 
luck that way either.

Sorry if I can't better describe this.  I've never used a scanner over 
the net before and netfilter's helpers are new to me.  Google finds many 
references to iptables and sane, but only in the context of sanity, 
which I am quickly losing ;D

Any helpers?

TIA,
Mike Wright

             reply	other threads:[~2012-12-09 20:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-09 20:14 Mike Wright [this message]
2012-12-09 21:18 ` help with --helper sane Andrew Beverley

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=50C4F111.8090702@mailinator.com \
    --to=mike.wright@mailinator.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 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.