Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martin Josefsson <gandalf@wlug.westbo.se>
To: netfilter@newkirk.us
Cc: Netfilter <netfilter@lists.netfilter.org>
Subject: Re: iptables wishes
Date: 01 Apr 2003 12:17:51 +0200	[thread overview]
Message-ID: <1049192271.9857.49.camel@tux.rsn.bth.se> (raw)
In-Reply-To: <200304010341.48281.netfilter@newkirk.us>

On Tue, 2003-04-01 at 10:41, Joel Newkirk wrote:

> Personally I have four:
> 
> 1 - revamped LOG entry format, especially cleaning up MAC.

see the next remark.

> 2 - completely separate netfilter logging from kernel log streams.  (not 
> just redirecting infrequently-used kernel streams, but actual dedicated 
> netfilter streams)

use ULOG
you can easily modify the format it uses for the logfile.
that part of the source isn't complicated at all.
 
> 3 - Ability to match "original DestinationIP" of a DNATted packet in 
> subsequent chains.  Useful with a single physical interface but multiple 
> IPs bound to it.

Already there, look at the conntrack match (ipt_conntrack)

iptables -A FORWARD -m conntrack --ctorigdst 1.1.1.1 -j ACCEPT

> 4 - addition of support for a REM field in rules.  Would do nothing 
> whatsoever except print the specified REMark text at the end of the rule 
> in -L listings.  Something like:
> iptables -A INPUT -p tcp --dport 22 -s a.b.c.d -j ACCEPT -REM JoelSSH
> So that a -L listing could be easier & quicker to decipher sometimes.  It 
> would also allow "iptables -L -v -n | grep Joel" to list only rules, in 
> all chains, with "Joel" in the comment.

Has been debated frequently, you can probably find some of the
discussions by using google.

-- 
/Martin


  reply	other threads:[~2003-04-01 10:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01  8:41 iptables wishes Joel Newkirk
2003-04-01 10:17 ` Martin Josefsson [this message]
2003-04-01 15:13   ` Joel Newkirk
2003-04-06  3:57 ` AW: " Michael Schoen
  -- strict thread matches above, loose matches on Subject: below --
2003-04-01  9:48 mailinglists
2003-04-01 14:32 ` Ivano Proietti Mucci
2003-04-01 15:35   ` Joel Newkirk
2003-04-01  9:58 Michael Klinteberg
2003-04-01 14:22 ` Joel Newkirk
2003-04-02 16:54 Alex McCubbin

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=1049192271.9857.49.camel@tux.rsn.bth.se \
    --to=gandalf@wlug.westbo.se \
    --cc=netfilter@lists.netfilter.org \
    --cc=netfilter@newkirk.us \
    /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