Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Patrick Schaaf <bof@bof.de>
To: Lee Leahu <lee@ricis.com>
Cc: netfilter@lists.samba.org
Subject: Re: Dynamicly Updating Rules
Date: Thu, 27 Jun 2002 20:35:35 +0200	[thread overview]
Message-ID: <20020627203535.C2890@oknodo.bof.de> (raw)
In-Reply-To: <200206271331.09893.lee@ricis.com>; from lee@ricis.com on Thu, Jun 27, 2002 at 01:31:09PM -0500

> I would like for when i ssh to a remote server, that iptables automatically
> opens the ident port on the workstation to that remote server, and after a
> connection is made, to automatically close it back up again.
> Is this possible???

That is exactly what the "conntracking and NAT helpers" are doing for
protocols like FTP, where they permit a data connection when they see
a PORT command within the control connection.

You have to program this yourself, as an in-kernel module. You can take
existing helpers for reference. If you want to go that way, and you have
specific questions, best subscribe to the netfilter-devel mailing list.

best regards
  Patrick

(btw, I reformatted your lines to be under 80 characters long. Please do that
yourself in the future)



  parent reply	other threads:[~2002-06-27 18:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-27 18:31 Dynamicly Updating Rules Lee Leahu
2002-06-27 18:26 ` Doug Monroe
2002-06-27 18:30 ` Dynamically " Antony Stone
2002-06-27 18:35 ` Patrick Schaaf [this message]
2002-06-27 18:50 ` Dynamicly " Joe Patterson

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=20020627203535.C2890@oknodo.bof.de \
    --to=bof@bof.de \
    --cc=lee@ricis.com \
    --cc=netfilter@lists.samba.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