From: Simon Lodal <simonl@parknet.dk>
To: netfilter-devel@lists.netfilter.org
Cc: Ben Efros <ben@xgendev.com>, Henrik Nordstrom <hno@marasystems.com>
Subject: Re: RFC: Partial IP4 syntax
Date: Wed, 29 Sep 2004 18:38:12 +0200 [thread overview]
Message-ID: <415AE4F4.2000903@parknet.dk> (raw)
In-Reply-To: <Pine.LNX.4.61.0409291051190.11661@filer.marasystems.com>
Henrik Nordstrom skrev:
> IETF has not defined such ascii representation of IPv4 addresses, but
> the BSD libc inet_aton function does and this has been inherited by very
> many systems and tools.
>
> This notation is being depreated as it does not serve a very useful
> purpose and can be somewhat confusing, but it exists and conflicting
> with it would be a bad idea.
Ok, let's see where we may get compatibility problems:
1) iptables input: iptables' support for full 32bit format addresses is
both lacking and undocumented and could disappear without notice. So if
any programs use it they should rather be fixed.
2) iptables output: There is a potential problem here, if programs parse
iptables or iptables-save output, and they know about the full 32bit form.
iptables -L is for human eyes while iptables-save is for machine
parsing. So what if we make iptables -L print in any format it likes
(not intended for machine parsing anyway), but have iptables-save always
print addresses in full dotted quad?
>> If it is really a problem I agree my scheme will break it. Could
>> probably be solved by changing the default to incomplete-at-beginning,
>> so 10 = .10 = 0.0.0.10.
>
>
> Not without breaking existing "industry standards" on how IP numbers can
> be typed.
Why? I certainly do not want to break anything, formalized or not, only
extend.
> You could use 10. for the 10.0.0.0/8 network.
That is what I propose.
The question is how to interpret a single number. Implicitly append or
prepend a dot? Or interpret as full 32bit notation? Or ignore it?
Simon
next prev parent reply other threads:[~2004-09-29 16:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-29 1:41 RFC: Partial IP4 syntax Simon Lodal
2004-09-29 3:56 ` Ben Efros
2004-09-29 5:42 ` Simon Lodal
2004-09-29 8:55 ` Henrik Nordstrom
2004-09-29 16:38 ` Simon Lodal [this message]
2004-09-29 17:05 ` Henrik Nordstrom
2004-09-29 18:45 ` Simon Lodal
2004-09-29 19:11 ` Cedric Blancher
2004-09-29 22:41 ` Simon Lodal
2004-09-29 19:39 ` Henrik Nordstrom
2004-09-29 8:50 ` Henrik Nordstrom
2004-09-29 16:37 ` Simon Lodal
2004-09-29 16:54 ` Henrik Nordstrom
2004-09-29 18:21 ` Simon Lodal
2004-09-29 19:30 ` Henrik Nordstrom
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=415AE4F4.2000903@parknet.dk \
--to=simonl@parknet.dk \
--cc=ben@xgendev.com \
--cc=hno@marasystems.com \
--cc=netfilter-devel@lists.netfilter.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.