Hello.

I've been DROP'ing the same list of IANA-reserved addresses (shown below)
for about 8 months, so I quess it's about time to revisit this list.
Manually comparing the current list
(http://www.iana.org/assignments/ipv4-address-space) and my list below, I
see that I should remove 219.0.0.0/8 from my list.  Ok, done.

What I would really like is to automate this process so that it can be done
on a periodic basis.  Sure, I can just grep the document from iana.org, but
I like the efficiency of having the list collapsed into fewer entries as
shown below.

Has any clever person done this get-list/collapse/update as a cron job?  If
so, where can I find it?

Thanks.

--------------------

RESERVED_NET="
    0.0.0.0/7         \
    2.0.0.0/8         \
    5.0.0.0/189.0.0.0 \
   10.0.0.0/8         \
   23.0.0.0/8         \
   27.0.0.0/251.0.0.0 \
   36.0.0.0/7         \
   39.0.0.0/8         \
   41.0.0.0/8         \
   42.0.0.0/8         \
   58.0.0.0/7         \
   60.0.0.0/8         \
   70.0.0.0/8         \
   72.0.0.0/232.0.0.0 \
   82.0.0.0/7         \
   84.0.0.0/6         \
   96.0.0.0/3         \
  169.254.0.0/16      \
  172.16.0.0/12       \
  192.168.0.0/16      \
  197.0.0.0/8         \
  201.0.0.0/8         \
  219.0.0.0/8         \
  221.0.0.0/8         \
  222.0.0.0/8         \
  223.0.0.0/8         \
  224.0.0.0/4         \
  240.0.0.0/4"


Reply via email to