Michael Tremer
68e060cb22
aws: Configure MTU to maximum of 9001 on GREEN/ORANGE
...
AWS supports jumbo-frames which IPFire can take advantage of
to increase network throughput internally.
The MTU for RED was left as 1500 to avoid packet fragmentation
in the cloud network and have IPFire do that job.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-19 17:14:58 +00:00
Michael Tremer
46b0f9ab44
web: Hide certain menu items when running in cloud environments
...
This used to be only hidden on AWS.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-19 17:14:58 +00:00
Michael Tremer
e7978f5671
gcloud: Add function to detect whether we are running on GCP
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-19 17:14:58 +00:00
Michael Tremer
4e58ab4bbf
aws-functions.pl: Drop file and move functions to general-functions.pl
...
There is not enough stuff that it is justified to have an own file.
This patch therefore merges everything into general-functions.pl.
There are no functional changes.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-19 17:14:58 +00:00
Michael Tremer
b6a5888105
gcp: Add host route for gateway during initialisation
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-19 17:14:58 +00:00
Michael Tremer
45a2dcd09a
gcp: Always automatically enable serial console
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-19 17:14:58 +00:00
Michael Tremer
89b10e7095
gcp: Add initscript to import configuration
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-19 17:14:58 +00:00
Michael Tremer
86c6459873
cloud-init: Launch custom script when detecting Google Cloud
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-19 17:14:58 +00:00
Arne Fitzenreiter
46bccfc219
core146: add openvpn
...
openvpn was missed in core145 so add it again.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-06-16 11:36:20 +00:00
Stefan Schantl
45f4de2bbc
libloc: Update to 0.9.2
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-15 19:47:07 +02:00
Stefan Schantl
f1d982cce6
Add convert-to-location converter.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-15 18:21:57 +02:00
Stefan Schantl
d3f7af8144
fwhosts.cgi: Fix function call.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-13 19:10:38 +02:00
Stefan Schantl
18c9fd2820
firewall-lib.pl: Fix typo.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-13 19:10:15 +02:00
Arne Fitzenreiter
e9c62e37f4
vulnerabilities.cgi: add srdbs (CVE-2020-0543)
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-06-13 12:23:46 +02:00
Stefan Schantl
942b662b6b
credits.cgi: Remove hint about used MaxMind database and software.
...
We do not rely anymore on data and software from this vendor, so
we safely can drop this notice.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 20:04:21 +02:00
Stefan Schantl
d0faaf61d6
Rootfiles update.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 20:01:48 +02:00
Stefan Schantl
987d09658e
configroot: Create and install location related files.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 19:54:13 +02:00
Stefan Schantl
1e36360e19
langs: Replace geoip in string names with location.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 19:52:03 +02:00
Stefan Schantl
9aadc465a3
fwhosts.cgi: Rework code to use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 19:46:24 +02:00
Stefan Schantl
10ef824bb7
firewall.cgi: Rework to use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 19:31:41 +02:00
Stefan Schantl
006e3c6c31
firewall-lib.pl: Rework code to use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 19:21:27 +02:00
Stefan Schantl
b1229cf610
50-firewall.menu: Rename geoipblock to locationblock
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 19:12:00 +02:00
Stefan Schantl
46269ee5fb
Transform geoipblock into locationblock settings file.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 19:09:29 +02:00
Stefan Schantl
5730a5bcdf
firewall/rules.pl: Rework code to use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 19:06:01 +02:00
Stefan Schantl
69d431e41a
remote.cgi: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:52:19 +02:00
Stefan Schantl
e2e270e1db
ovpnmain.cgi: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:51:03 +02:00
Stefan Schantl
0893eef4cc
tor.cgi: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:48:24 +02:00
Stefan Schantl
e43b7b7b2d
netexternal.cgi: Remove GeoIP related code.
...
The CGI only loaded geoip-functions.pl and initiated libloc but did no
further actions. So we are safe to completely remove this code.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:45:56 +02:00
Stefan Schantl
4f6d5b3ef3
logs.cgi/showrequestfromcountry.dat: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:44:29 +02:00
Stefan Schantl
43970d7cfc
logs.cgi/firewalllogip.dat: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:42:23 +02:00
Stefan Schantl
1b024e999e
logs.cgi/firewalllogcountry.dat: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:09:46 +02:00
Stefan Schantl
e4f1e36c9f
logs.cgi/firewalllog.dat: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:07:55 +02:00
Stefan Schantl
dca3f2075b
ipinfo.cgi: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 18:02:51 +02:00
Stefan Schantl
4346cb6660
dns.cgi: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 17:59:43 +02:00
Stefan Schantl
d1a23835db
country.cgi: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 17:53:29 +02:00
Stefan Schantl
3d3fbe7dc4
connections.cgi: Use location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 17:51:00 +02:00
Arne Fitzenreiter
4d43b3dcb1
intel-microcode: update to 20200609
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-06-12 17:47:29 +02:00
Stefan Schantl
273618daf9
Transform geoip-block.cgi into location-block.cgi
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 17:44:48 +02:00
Stefan Schantl
48152fae62
Transform geoip-functions.pl into location-functions.pl
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-12 17:42:41 +02:00
Michael Tremer
c556242efd
location: Remove "GeoIP" from crontab
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-12 16:12:49 +02:00
Michael Tremer
af6aedb6d3
location: Remove "GeoIP" from the UI
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-12 16:12:06 +02:00
Arne Fitzenreiter
f3a59d63e2
kernel: update to 4.14.184
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-06-12 16:04:48 +02:00
Michael Tremer
0e6eca78b8
firewall: Rename GEOIPBLOCK table to LOCATIONBLOCK
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-06-12 16:00:34 +02:00
Stefan Schantl
d00923cef8
libloc: Rootfile update.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-11 08:19:07 +02:00
Stefan Schantl
4852f77e33
Revert "firewall/rules.pl: Add code to collect and export all required country"
...
This reverts commit ad47d2ae80 .
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-10 21:29:04 +02:00
Stefan Schantl
38a8d40142
Revert "firewall/rules.pl: Only try to export locations if needed."
...
This reverts commit 693b8513df .
2020-06-10 21:28:16 +02:00
Stefan Schantl
e7b1b002c9
Revert "geoip-functions.pl: Add functions to export locations and to flush them."
...
This reverts commit e758c76384 .
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-10 21:27:06 +02:00
Stefan Schantl
36331a6a9c
update-location-database: Automatically export database after update.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-10 21:24:58 +02:00
Stefan Schantl
2da9d3f247
libloc: Install and export database.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-10 21:24:32 +02:00
Stefan Schantl
4415b1c351
libloc: Import upstream patches.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-06-10 20:54:39 +02:00