Project

General

Profile

Bug #422

Bulk alias import seems to break with >64 CIDR networks

Added by Jim Pingle about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Start date:
03/12/2010
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

When trying to import large numbers of CIDR nets it seems to break at around 64. I tried to import about 200. When trying to save, there is an error that the alias name already exists, and the list stops at 64 and the 65th entry has an IP but no CIDR, which also results in an error.

Also, just after import, in the alias list the imported entry appears to have an extra space after the CIDR.

Associated revisions

Revision 28fcddcd (diff)
Added by jim-p about 9 years ago

Fix alias importing. Resolves #422

History

#1 Updated by Jim Pingle about 9 years ago

The number may not be as important as the format, it seems. Here is what the config looks like, obviously these ^M's shouldn't be there:

<alias>
    <address>58.14.0.0/15^M 58.16.0.0/13^M 58.24.0.0/15^M 58.30.0.0/15^M 58.32.0.0/11^M 58.66.0.0/15^M 58.68.128.0/17^M 58.82.0.0/15^M 58.87.64.0/18^M 58.99.128.0/17^M 58.100.0.0/15^M 58.116.0.0/14^M 58.128.0.0/13^M 58.144.0.0/16^M 58.154.0.0/15^M 58.192.0.0/11^M 58.240.0.0/12^M 59.32.0.0/11^M 59.64.0.0/12^M 59.80.0.0/14^M 59.107.0.0/16^M 59.108.0.0/14^M 59.151.0.0/17^M 59.155.0.0/16^M 59.172.0.0/14^M 59.191.0.0/17^M 59.191.240.0/20^M 59.192.0.0/10^M 60.0.0.0/11^M 60.55.0.0/16^M 60.63.0.0/16^M 60.160.0.0/11^M 60.194.0.0/15^M 60.200.0.0/13^M 60.208.0.0/12^M 60.232.0.0/15^M 60.235.0.0/16^M 60.245.128.0/17^M 60.247.0.0/16^M 60.252.0.0/16^M 60.253.128.0/17^M 60.255.0.0/16^M 61.4.80.0/20^M 61.4.176.0/20^M 61.8.160.0/20^M 61.14.29.8/29^M 61.14.29.80/28^M 61.28.0.0/17^M 61.28.195.0/24^M 61.28.196.0/24^M 61.29.128.0/17^M 61.45.128.0/18^M 61.47.128.0/18^M 61.48.0.0/13^M 61.87.192.0/18^M 61.128.0.0/11^M 61.160.0.0/16^M 61.161.0.0/18^M 61.161.64.0/20^M 61.161.80.0/23^M 61.161.82.0/24^M 61.161.83.0/26^M 61.161.83.64/30^M 61.161.83.69/32^M 61.161.83.70/31^M 61.161.83.72/29^M 61.161.83.80/28^M 61.161.83.96/27^M 61.161.83.128/25^M 61.161.84.0/22^M 61.161.88.0/21^M61.161.96.0/19^M 61.161.128.0/20^M 61.161.144.0/21^M 61.161.152.0/23^M 61.161.154.0/24^M 61.161.155.0/27^M 61.161.155.32/28^M 61.161.155.48/29^M 61.161.155.64/26^M 61.161.155.128/25^M 61.161.156.0/22^M 61.161.160.0/19^M 61.161.192.0/18^M 61.162.0.0/15^M 61.164.0.0/14^M 61.168.0.0/13^M 61.176.0.0/12^M 61.216.99.204/30^M 61.232.0.0/14^M 61.236.0.0/15^M 61.240.0.0/14^M 62.112.132.152/30^M 63.150.129.120/29^M 63.162.142.0/24^M 63.167.100.192/28^M 64.34.99.176/28^M 64.34.234.0/24^M 64.34.250.0/28^M 64.62.151.8/29^M 64.62.206.224/27^M 64.62.255.0/24^M 64.71.151.96/27^M 64.71.172.0/24^M 64.75.14.192/27^M 64.127.103.0/29^M 64.224.124.225/32^M 64.224.124.226/31^M 64.224.124.228/30^M 64.224.124.232/30^M 64.224.124.236/31^M 64.224.124.238/32^M 65.19.134.112/29^M 65.19.135.0/24^M 65.19.152.0/24^M 65.19.188.0/24^M 66.37.216.192/27^M 66.160.128.40/29^M 66.160.130.0/24^M 66.160.162.0/24^M 67.43.226.232/29^M 67.43.230.200/29^M 67.219.103.208/29^M 67.222.130.98/31^M 67.222.130.100/30^M 67.222.130.104/31^M 67.222.130.114/31^M 67.222.130.116/30^M 67.222.130.120/31^M 68.168.112.128/26^M 69.95.65.112/29^M 69.95.96.0/29^M 72.9.147.235/32^M 72.9.147.236/30^M 72.9.147.240/29^M 72.9.147.248/31^M 72.9.147.250/32^M 72.9.148.244/30^M 72.9.148.248/30^M 72.9.149.144/29^M 72.9.149.218/31^M 72.9.149.220/30^M 72.9.149.224/28^M 72.9.158.238/31^M 72.9.158.240/29^M 72.10.168.64/29^M 72.10.172.192/28^M 72.10.173.192/29^M 72.21.89.232/29^M 72.52.93.224/27^M 74.127.38.96/27^M 76.74.175.32/28^M 76.74.175.64/27^M 76.74.219.32/27^M 76.76.97.152/29^M 76.76.102.248/29^M 78.24.201.80/28^M 78.24.202.40/29^M 78.24.203.40/29^M 78.24.206.40/29^M 78.129.150.0/24^M 78.129.225.64/26^M 78.129.235.128/26^M 78.159.104.81/32^M 78.159.104.82/31^M 78.159.104.84/30^M 78.159.104.88/29^M 78.159.104.96/27^M 78.159.106.10/31^M 78.159.106.12/30^M 78.159.106.16/28^M 78.159.106.32/29^M 78.159.106.40/30^M 78.159.106.44/31^M 78.159.106.46/32^M 78.159.127.81/32^M 78.159.127.82/31^M 78.159.127.84/30^M 78.159.127.88/29^M 78.159.127.96/27^M 82.98.100.0/22^M 85.233.200.160/27^M 91.196.232.0/22^M 93.93.100.64/26^M 110.6.0.0/15^M 110.16.0.0/14^M 110.40.0.0/14^M 110.48.0.0/16^M 110.51.0.0/16^M 110.52.0.0/15^M 110.56.0.0/13^M 110.64.0.0/15^M 110.72.0.0/15^M 110.75.0.0/16^M 110.76.0.0/18^M 110.76.192.0/18^M 110.77.0.0/17^M 110.80.0.0/13^M 110.88.0.0/14^M 110.94.0.0/15</address>
    <name>bulktest</name>
    <type>network</type>
    <descr>test</descr>
</alias>

#2 Updated by Anonymous about 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF