Create EDL, first line invalid

L2 Linker

Create EDL, first line invalid

Hi, trying to create an dynamic IP-List (EDL) including two subnets:

10.0.1.0/24
10.0.2.0/24

The firewall downloads the list but displays the following error "Valid entries(1) lines skipped(1)" and when I display the list only 10.0.2.0/24 shows up. If I add an comment at the very top of the list it all works. Can anyone explain why?

#My list
10.0.1.0/24
10.0.2.0/24

Valid entries(2) lines skipped(1)
Br.
Per Tenggren
Tags (1)
L6 Presenter

Re: Create EDL, first line invalid

L2 Linker

Re: Create EDL, first line invalid

Hi,

Not sure I understand where to put this ;

Just to clarify, the last example works and both subnets shows up in the list.
Br.
Per Tenggren
L6 Presenter

Re: Create EDL, first line invalid

Sorry, I have misread your issue. Don't really know why it does matter for the firewall

L4 Transporter

Re: Create EDL, first line invalid

 Hi PerTenggren,

 

I think the first character is not being liked for some reason. I think the first character can either be space, comment or an address.

 

Can you share the list for both cases?

 

Regards,

Anurag

================================================================
ACE 7.0, 8.0, PCNSE 7
L7 Applicator

Re: Create EDL, first line invalid

You may want to double-check the formatting of the list file. Ensure that the same carriage return/line feed character is being used for both addresses.

 

Try a couple troubleshooting steps:

  • Add a 3rd subnet, see if it takes the bottom two or only the last one.
  • Swap the order to see if the problem follows the location or the address.
  • If you've got a header in the file, remove that and start only with the first address.
  • Try using a range to see if that works (10.0.1.0-10.0.1.254)

 

L2 Linker

Re: Create EDL, first line invalid

Looks like Windows create a strange char in the beginning of the file. (<U+FEFF>) The order does not matter or how many entries I put in the list. As long as the IP-numbers begins at line 2 all works perfect.

 

vsys1/EdgeIT-IP:
Next update at : Wed Apr 5 11:33:57 2017
Source : 
Referenced : Yes
Valid : Yes
Auth-Valid : Yes

Total valid entries : 1
Total invalid entries : 1
Valid ips:
10.0.2.0/24

Invalid ips:
<U+FEFF>10.0.1.0/24

Br.
Per Tenggren
L2 Linker

Re: Create EDL, first line invalid

Palo seems fussy about non-displayed characters in the text file. Even the use of carriage return and line feed, as it differs between Windows and Unix text file variants, can mess it up.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!