- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-07-2020 10:57 AM
Hello
Im doing some tests on PA-220 test unit.
Some story - im using windows 10 with installed debian on WSL.
I've installed apache2 and doing some IP pulls from internet and then hosting it on:
192.168.7.131/steamip2.html
I can access this from my internet browser and i see list of IPs.
After adding edl to palo alto it sais that source is avaible but it only lists 0.0.0.0/32. Ive tried import now or request edl refresh in CLI, still nothing.
My assumptions are
- wrong form of file on apache server, ive tried steamip (only IP listed), steamip.html (<html><body>list of ips</body></html>) didnt work
- I dont have any valid license running on my unit
08-08-2020 04:06 AM
Ok i have found thats the problem.
After creating EDL even if you see "source is accessible" with url test button it ALWAYS display 0.0.0.0/32 same in CLI.
Even if you do CLI request system external-list show type ip name EDL_NAME it will show the erorr from previous post.
To fix it you need to have policy rule which is pointing to the EDL. If you do so, after policy push edl will display IPs inside. This is imo stupid and should be changed, unless there is some more deeper logic which i cant understand due to limitation of my small brain:)
admin@Firewall_PA-220> request system external-list show type ip name apache2_steam2
apache2_steam2
Total valid entries : 56
Total ignored entries : 0
Total invalid entries : 0
Total displayed entries : 56
Valid ips:
103.10.124.0/24
103.10.125.0/24
103.28.54.0/23
146.66.152.0/23
08-07-2020 11:07 AM
Hi @wjt82918
Try to remove everything except the actual IPs. An EDL should be a simple texfile (without any html tags) with nothing else that the entries that should be imported by the firewall.
08-07-2020 11:18 AM
I've tried this, also dont work. There were only IP/mask, not html tags etc. Still PA can only see 0.0.0.0/32 which is not even hosted in the file
08-07-2020 11:21 AM
wiktor@LAPTOP:~/ipgatherer$ cat /var/www/html/steamip | less
103.10.124.0/24
103.10.125.0/24
08-07-2020 09:56 PM
Normally for EDL you can config as
Type IP list
Source complete url
Click on Test URL if it works or not?
Regards
08-08-2020 03:42 AM
Yes, it says "url is accessible" but still PA dont see anything inside.
I just found out that even
panwdbl.appspot.com/lists/shdrop.txt
or
http://panwdbl.appspot.com/lists/shdrop.txt
Has same issue for me.
admin@Firewall_PA-220> request system external-list show type ip name dyn_bruteforce
dyn_bruteforce
EDL is either not referenced in policy, not downloaded, or empty
Total valid entries : 1
Total ignored entries : 0
Total invalid entries : 0
Total displayed entries : 1
Valid ips:
0.0.0.0/32
Even if i try to refresh in CLI.
Traffic is allowed, rule allows all aplications from mgmt of firewall to internet
08-08-2020 04:06 AM
Ok i have found thats the problem.
After creating EDL even if you see "source is accessible" with url test button it ALWAYS display 0.0.0.0/32 same in CLI.
Even if you do CLI request system external-list show type ip name EDL_NAME it will show the erorr from previous post.
To fix it you need to have policy rule which is pointing to the EDL. If you do so, after policy push edl will display IPs inside. This is imo stupid and should be changed, unless there is some more deeper logic which i cant understand due to limitation of my small brain:)
admin@Firewall_PA-220> request system external-list show type ip name apache2_steam2
apache2_steam2
Total valid entries : 56
Total ignored entries : 0
Total invalid entries : 0
Total displayed entries : 56
Valid ips:
103.10.124.0/24
103.10.125.0/24
103.28.54.0/23
146.66.152.0/23
08-09-2020 03:21 AM
Hi @wjt82918
Ok, got it. The "logic" behind this is that an EDL is only queried if it is used somewhere in your configuration. Unless this isn't the case the EDL will show only 0.0.0.0/32 - but this output definately could be replaced by somethinh like "EDL not in use" or something like that...
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!