nanog mailing list archives

Re: Arguing against using public IP space


From: Mark Andrews <marka () isc org>
Date: Wed, 16 Nov 2011 15:54:15 +1100


In message <28327223.2951.1321412909463.JavaMail.root () benjamin baylink com>, Ja
y Ashworth writes:
----- Original Message -----
From: "Mark Andrews" <marka () isc org>

In message
<29838609.2919.1321392184239.JavaMail.root () benjamin baylink com>, Ja
y Ashworth writes:
If your firewall is not working, it should not be passing
packets.

And of course, things always fail just the way we want them to.

Your stateful firewall is no more likely to fail open than your
header-mutilating device.

Please show your work.

Prove to me that all NAT won't pass packets not addressed directly
to it. Show your work.

I did not *assert* that.  So I don't have to prove that. 

What I *asserted* was that inbound 1:N DNAT *reduces the probability of 
an attacker being able to target a specific inbound attack to a specific 
computer*.  QED.

You are making assumptions about how the NAT is designed. Many
NATs only take packets addressed to particular address ranges and
process them though the state tables. All the rest of the packets
are treated as normal traffic which may or may not be forwarded
depending apon the way the base platform is configured which is
usually as a router. Many NAT's will honour LSR.

As someone pointed out elsewhere, that's bad, but it's bad whether the box
does NAT or not; even if the internal network is unrouted public space,
that would be troublesome.

Actually LSR is not bad in and of itself.  The actual problem was
badly designed firewall code that failed properly examine the LSR
option.  Rather than fix the firewall code people choose to drop
packets with LSR options.

Unless you know the internals of a NAT you cannot say whether it
fails open or closed.

It's probably impossible to determine whether any box's response to
any failure will be pass or drop, with any reliability.  All you can
figure is probabilities.
 
Given that most NATs only use a small set of address on the inside
it is actually feasible to probe through a NAT using LSR. Most
attacks don't do this as there are lots of lower hanging fruit but
if it is a targeted attack then yes you can expect to see LSR based
attacks which depending apon how the NAT is built may pass through
it without even being noticed.

Someone else has already addressed "low-hanging fruit", so I won't.  I do 
concur, though: if you have specific examples of boxes which, as you allege, 
respect LSR to 1918 internal addresses, please, name and shame.

Why do they need to be "named and shamed"?  They are NOT firewalls.  It
is not their job to block LSR traffic.  The fact that you think NATs
should be doing this is yet another indication that you don't understand
the difference between a NAT and a firewall.
  
Now can we put to bed that NAT provides any real security. If you
want security add and configure a firewall. That firewall can be
in the same box as the NAT. It can use the same state tables as
the NAT but it is the firewall, not the NAT functionality, that
provides the protection.

Nope; I'm afraid we still can't.  As long as you continue to strawman that
I/we are even *alleging* that NAT "provides" security (rather than 
"contributing" to it, we're just going to keep talking past each other, Mark.

As long as you keep defining protection as "one thing in one place", I'll
keep assuming you're flapping your jaws to dry your teeth. ("provides *the*
protection")

Cheers,
-- jra
-- 
Jay R. Ashworth                  Baylink                       jra () baylink co
m
Designer                     The Things I Think                       RFC 210
0
Ashworth & Associates     http://baylink.pitas.com         2000 Land Rover DI
I
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 127
4

-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka () isc org


Current thread: