Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Error: Error parsing network spec: ["Central_VPN_Nets", [:lineno, 634]]

#4

Numerous versions of this error, selected one as sample output.

Config line:

object-group network VPN_Nets
group-object Central_VPN_Nets group-object DC_VPN_Nets

Examining several other errors, looks like it's not recognizing group-objects as components in an object-group.

Error when comparing destination_port of {:protocol=>#, :acl_id=>"IN-OUTSIDE", :destination_net=>#, :lineno=>697, :destination_port=>#, "extended"=>nil, :source_net=>#, :policy=>"permit"} to {:protocol=>#, :acl_id=>"IN-OUTSIDE", :destination_net=>#, :lineno=>698, :destination_port=>#, "extended"=>nil, :source_net=>#, :policy=>"permit"} unknown line
Error when comparing destination_port of {:protocol=>#, :acl_id=>"IN-OUTSIDE", :destination_net=>#, :lineno=>697, :destination_port=>#, "extended"=>nil, :source_net=>#, :policy=>"permit"} to {:protocol=>#, :acl_id=>"IN-OUTSIDE", :destination_net=>#, :lineno=>699, :destination_port=>#, "extended"=>nil, :source_net=>#, :policy=>"permit"} unknown line
Error when comparing destination_port of {:protocol=>#, :acl_id=>"IN-OUTSIDE", :destination_net=>#, :lineno=>698, :destination_port=>#, "extended"=>nil, :source_net=>#, :policy=>"permit"} to {:protocol=>#, :acl_id=>"IN-OUTSIDE", :destination_net=>#, :lineno=>699, :destination_port=>#, "extended"=>nil, :source_net=>#, :policy=>"permit"} unknown line
Error running check redundant_rules: Error parsing network spec: ["Central_VPN_Nets", [:lineno, 634]]: ./../lib/flint/cisco_firewall.rb:266:in normalize_netspec'./../lib/flint/cisco_firewall.rb:259:innormalize_netspec'./../lib/flint/cisco_firewall.rb:258:in each'./../lib/flint/cisco_firewall.rb:258:innormalize_netspec'./../lib/flint/util.rb:104:in normed'./../lib/flint/util.rb:121:inacl'./../lib/flint/line.rb:54:in as_acl'./../lib/flint/test.rb:193:ineach_acl_of'./../lib/flint/cisco_firewall.rb:428:in each_rule_for_chain'./../lib/flint/cisco_firewall.rb:427:ineach'./../lib/flint/cisco_firewall.rb:427:in each_rule_for_chain'./../lib/flint/test.rb:192:ineach_acl_of'./../lib/flint/test.rb:359:in each_acl_of_applied_chains'./../lib/flint/test.rb:358:ineach'./../lib/flint/test.rb:358:in each_acl_of_applied_chains'../checks/pix/basic.ftg:55:inload'./../lib/flint/test.rb:237:in instance_eval'./../lib/flint/test.rb:237:intest'./../lib/flint/test.rb:42:in orig_run'./../lib/flint/test.rb:481:inrun_iface_pair'./../lib/flint/test.rb:516:in run'./../lib/flint/test.rb:515:ineach'./../lib/flint/test.rb:515:in run'./../lib/flint/test_runner.rb:22:inrun'./../lib/flint/test_runner.rb:19:in each'./../lib/flint/test_runner.rb:19:inrun'./lib/flint_hook.rb:23:in run'./lib/flint_hook.rb:20:ineach'./lib/flint_hook.rb:20:in run'./overview.rb:7:inGET /overview'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:779:in call'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:779:inroute'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:474:in instance_eval'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:474:inroute_eval'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:463:in route!'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:460:incatch'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:460:in route!'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:439:ineach'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:439:in route!'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:555:indispatch!'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:375:in call!'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:522:ininstance_eval'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:522:in invoke'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:522:incatch'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:522:in invoke'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/compat.rb:138:ininvoke'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:375:in call!'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:364:incall'/Users/hoffosjo/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/session/cookie.rb:37:in call'/Users/hoffosjo/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/showexceptions.rb:24:incall'/Users/hoffosjo/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in call'/Users/hoffosjo/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/commonlogger.rb:18:incall'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:898:in call'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:943:insynchronize'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:898:in call'/Users/hoffosjo/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/content_length.rb:13:incall'/Users/hoffosjo/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/chunked.rb:15:in call'/Users/hoffosjo/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:67:inprocess'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in process_client'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:ineach'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in process_client'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:inrun'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in initialize'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:innew'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in run'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:ininitialize'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in new'/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:inrun'/Users/hoffosjo/.gem/ruby/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:38:in run'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/base.rb:866:inrun!'/Users/hoffosjo/.gem/ruby/1.8/gems/sinatra-0.9.4/lib/sinatra/main.rb:34app.rb:51

Reported by jth · March 5th, 2010 @ 12:53 PM

State: resolved
Milestone: none
Assigned to: Craig Bugzefsky Craig Bugzefsky

Activity

  1. Craig Bugzefsky
    Craig Bugzefsky

    Ok, I can resolve that. Looks like a change we made recently broke that. Should have had a spec for it tho.

    March 5th, 2010 @ 04:08 PM

  2. Craig Bugzefsky
    Craig Bugzefsky
    • State changed from new to open

    March 5th, 2010 @ 09:42 PM

  3. Craig Bugzefsky
    Craig Bugzefsky
    • State changed from open to resolved

    I fixed this and updated the cisco_firewall_spec to prevent regressions.

    I pushed this to the public repo.

    commit 13589d6188cf6eb15a466acc6a6bb11c9abffd25
    Author: Craig Brozefsky craig@snowtard.kokonino.net
    Date: Fri Mar 5 16:33:15 2010 -0600

    Fix handling of nested object-groups, closing [#4](/projects/47685/tickets/4 "Ticket #4")
    

    March 5th, 2010 @ 10:37 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.