xdp-geoip UI: location block ipset to XDP

change location-block UI from calling ipset to calling
xdp_geoip to update geoip_map bpf map.

see https://github.com/vincentmli/BPFire/issues/53

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2024-10-13 02:10:50 +00:00
parent 86a9264a25
commit 1bf1cdc190
3 changed files with 75 additions and 20 deletions

View File

@@ -1704,13 +1704,13 @@
'localkeyfile' => 'Localkeyfile',
'location' => 'Location',
'locationblock' => 'Location Block',
'locationblock block countries' => 'Block countries',
'locationblock configuration' => 'Location Configuration',
'locationblock block countries' => 'Block countries/regions',
'locationblock configuration' => 'XDP Location Configuration',
'locationblock country code' => 'Country Code',
'locationblock country is allowed' => 'Incoming traffic from this country is allowed',
'locationblock country is blocked' => 'Incoming traffic from this country will be blocked',
'locationblock country name' => 'Country Name',
'locationblock enable feature' => 'Enable Location based blocking:',
'locationblock enable feature' => 'Enable XDP Location based blocking:',
'locationblock flag' => 'Flag',
'log' => 'Log',
'log drop hostile in' => 'Log dropped packets FROM hostile networks',