Commit Graph

835 Commits

Author SHA1 Message Date
Matthias Fischer
52f8118635 media.cgi: Added translation for 'inodes'
For details see:
https://en.wikipedia.org/wiki/Inode

or

http://www.linfo.org/inode.html ;-)

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2022-04-24 19:08:34 +00:00
Leo-Andres Hofmann
c13060fd4c menu: Fix warnings, clean code
This patch adds default values and removes a missing translation
to fix "uninitialized value" and "odd number of elements" warnings.

Removes function calls from functions.pl that have already been
handled by the header before it is loaded by eval().

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
2022-04-23 14:34:00 +00:00
Leo-Andres Hofmann
4c19f2158e header.pl: Add translation to DHCP leases table
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-06 17:15:50 +00:00
Matthias Fischer
705e948939 Changed notification for reloading firewall rules
I think 'fw rules reload...' is more logical.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-03 09:58:25 +00:00
Matthias Fischer
488222a0e8 Deleted obsolete P2P-translation strings
Since we dropped support for blocking P2P protocols, the corresponding translation strings
are no longer needed.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-03 09:58:25 +00:00
Stéphane Pautrel
1ad5c1bd26 fr: Update French translation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-03-17 15:50:16 +00:00
Stéphane Pautrel
2da432a772 fr: Update French translation
- 24 strings have been added (drop hostile and spoofed martians, fw red,
  ids options and provider, pakfire update messages...)
- 3 strings have been inproved

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-22 20:10:56 +00:00
Michael Tremer
40124af8de wireless client: Remove option for WEP
This has not been compiled into our version of wpa_supplicant (if it has
been ever) and so there is no danger to disable this without any further
ado.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-02-21 20:56:01 +00:00
Peter Müller
8269c8319c firewall: Make logging of conntrack INVALIDs configureable
In theory, logging of dropped packets classified by conntrack as being
INVALID should never be disabled, since one wants to have a paper trail
of what his/her firewall is doing.

However, conntrack seems to drop a lot of (at the first glance
legitimate) packets, hence bloating the logs, making spotting the
important firewall hits more difficult.

This patch therefore adds the option to disable logging of packets being
dropped by conntrack due to INVALID state.

Please note:
- This patch does not add this category to the firewall hits graph.
- The variables in this patch ("LOGDROPCTINVALID") should make it clear
  that it is about toggling _logging_, not the actual _dropping_. Other
  variables are still in need of being renamed to clarify this, which
  will be done in a dedicated patch.
- Also, the changes made to update.sh need to take place in
  config/rootfiles/core/164/update.sh for "master", since this patch has
  been developed against "next". Kindly cherry-pick the necessary
  changes.

Partially fixes: #12778

Reported-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-18 22:40:55 +00:00
Matthias Fischer
ae2d7a3f91 media.cgi: Added missing translation string
Contination from http://patchwork.ipfire.org/project/ipfire/patch/20200513135520.30310-1-matthias.fischer@ipfire.org/

[Thanks Peter, I nearly forgot... ;-) ]

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-06 13:14:20 +00:00
Roberto Peña
b9e613e405 wio: Add Spanish language file
- Update of lfs
- Update of rootfile
- Addition of Spanish file provided by Roberto Peña (listed as author)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2022-02-05 11:59:04 +00:00
Peter Müller
04581dfb77 Merge branch 'next' into temp-c164-development 2022-01-18 21:12:56 +00:00
Michael Tremer
ca26f73220 qos.cgi: Add control to change link-layer encapsulation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-16 15:17:50 +00:00
Leo-Andres Hofmann
4d70f59173 pakfire: Implement feedback from mailing list discussion
- Improve lockfile test: Return immediately if lockfile is present,
to prevent unnecessary and expensive "pidof" calls

- Add better explanation to the log file reading command and JS

- Change user interface: If no errors occurred, the page returns to
the main screen (after a short delay). If an error occurred, the log
output remains and a message is shown.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 14:36:15 +00:00
Leo-Andres Hofmann
524bbe326d pakfire.cgi: Add new translations
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
2022-01-14 14:36:02 +00:00
Peter Müller
e46f6bee51 Update German and English translation files
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 14:16:54 +00:00
Peter Müller
86cf6898aa Merge branch 'master-IDSv3' into temp-c164-development 2022-01-14 14:05:10 +00:00
Adolf Belka
dc4dce4772 Language files update: Fix for bug 12747
- Update en.pl, it.pl and ru.pl to replace "an core-update" with "a core-update"

Fixes: Bug#12747
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
2021-12-28 23:01:28 +01:00
Stefan Schantl
969983eba4 ids.cgi: Add some more sanity checks when adding a new provider.
* Check if the system is online.
* Check if enough free disk space is available.
* Abort whith an error message if the ruleset could not be
  downloaded.

In error case the provider now will be removed again from the file which
keeps the configured providers. Sadly it needs to be added first because
otherwise the downloader could not read the required values from it.....

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-12-19 13:23:45 +01:00
Stefan Schantl
71766c081c langs-de.pl: Fix grammar.
Even as a native speaker, it seems german sometimes is a very difficult language......

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-12-19 13:23:43 +01:00
Stefan Schantl
962e58cdd4 ids.cgi: Add section for additional provider actions.
This section only will be displayed when an existing provider will be
edited and allows to reset a provider back to it's defaults or to force
a ruleset update.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-12-19 13:23:43 +01:00
Stefan Schantl
1fa187335b ids.cgi: Add hardcoded error message to language files.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-12-19 13:23:42 +01:00
Stefan Schantl
4b6cf2a54a ids.cgi: Fix check and message when trying to enable suricata without
any enabled or no provider.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-12-19 13:23:42 +01:00
Stefan Schantl
18fb2dbd5c Update language files.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-12-19 13:22:58 +01:00
Stefan Schantl
dd2ce333f7 ids.cgi: Add button to customize the ruleset.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2021-12-19 13:21:51 +01:00
Jonatan Schlag
b55e2b8a35 Inform users about the eol of i?86
The warning point to a wiki page which is currently in construction.
This should give us the opportunity to add further information for
these users even if we do not provide updates anymore.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-11-30 07:54:46 +00:00
Peter Müller
af048d4bf1 proxy.cgi: Fix translation string mix-up
"advproxy advanced web proxy" was meant to be used in the first place,
followed by "advproxy advanced web proxy configuration", as it is done
in other CGIs.

This patch also fixes a missing German translation, and improves
translations of "one X per line" ("eines" != "eins"). :-)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2021-11-24 09:10:42 +00:00
Leo-Andres Hofmann
fa7735b68e Fix translations and clean general-functions.pl
This patch fixes two wrong translations now used by the new
user manual links feature and removes an abandoned constant.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
2021-11-19 07:18:29 +01:00
Stéphane Pautrel
0df914ef30 lang: Update French translation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:40:46 +00:00
Michael Tremer
9a93f07dae Run "./make.sh lang"
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:40:35 +00:00
Matthias Fischer
2f6232d56c Bought a 'd' - fixed an old typo
'bandwith...' should be 'bandwidth...'.

Despite being my favourite typo for the past few years(?),
today I decided to try to say 'Goodbye' to an old friend.

Similar to 'MB writen' its hard but I think it just about time.

'qos' and 'guardian' will never be the same for me... ;-)

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:22:49 +00:00
Peter Müller
cb17776812 langs: Add English and German translations for newly added web proxy features
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-13 12:13:47 +00:00
Adolf Belka
fa4b961179 Update language files: fix for Bug 12671 - remove evil spirits - demon vs daemon
- demon used in place of daemon in the language files
- This patch corrects that and fixes bug #12671

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-12 09:34:47 +00:00
Leo-Andres Hofmann
e64a5b4f74 shutdown.cgi: Add "reboot with filesystem check" button
ipfirereboot.c is able to force a file system check during reboot.
This patch makes this function available in the shutdown GUI.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:11:50 +00:00
Stéphane Pautrel
f38464e9fd Update French translation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-28 16:12:21 +00:00
Peter Müller
6323e9086f proxy.cgi: drop options for faking Referer and User-Agent HTTP headers
While maintaining privacy when accessing web sites probably has never
been more important than it is today, faking Referer and User-Agent
headers is both obsolete and counterproductive:

(a) Most web sites require HTTPS, thwarting manipulation attempts to
    HTTP headers in transit. Given todays' internet landscape, faking
    these headers is unlikely to work for the vast majority of web
    sites.

(b) It is trivial to detect faked HTTP User-Agent headers by obtaining
    corresponding browser information via JavaScript. Any difference
    most likely indicates (trivial) header manipulation attempts, hence
    rendering this feature useless if browsers do not behave in the same
    manner, which we cannot control on IPFire.

(c) Especially static Referer headers make users stick out like a sore
    thumb, as nobody else in the world is likely to have the same
    Referer set _all the time_.

    Modern browsers attempt to strip sensitive information from Referer
    headers, or ditch them completely, particularly to 3rd party sites.

Given the state of the web ecosystem as we know it today, enforcing
privacy in a centralised manner does not even come close to being
sufficient. Without gaining control over users' browsers, their
settings, and their infrastructure (such as setting up terminal
environments for accessing the web, preventing hardware
fingerprinting), a centralised attempt will at best fail, if not making
things worse, as highlighted in (c).

Therefore, removing these features from the Squid GUI is the least worse
option we have. We should not give our users a false sense of privacy.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-17 20:06:26 +00:00
Leo-Andres Hofmann
9270497a6d Remove no longer needed texts, run "make.sh lang"
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-10 09:13:00 +00:00
Leo-Andres Hofmann
43f20d6e5a memory.cgi: Fix memory usage table
procps 3.3.10 introduced a new output format for the "free" command.
This patch adapts the new format.

Fixes: #12628

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Tested-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-10 09:12:15 +00:00
Peter Müller
3e60ed14e2 Clean up whatever remained from ALGs in userspace
This patch removes translations, directives in LFS files, and ALG shared
object files which all became orphaned after we disabled ALGs due to NAT
Slipstreaming vulnerability in Core Update 155.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-03 09:16:30 +00:00
Michael Tremer
dccd7e874b IPsec: Allow sending DNS server addresses to RW clients
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-05-05 11:27:04 +00:00
Michael Tremer
c7fe09c6ad vpnmain.cgi: Add field for roadwarrior endpoint
This is the IP address or FQDN which will be written into
Apple Configuration profiles as public peer address.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-05-05 11:27:04 +00:00
Michael Tremer
26a0befd75 IPsec: Add prototype to export Apple Configuration profiles
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-05-05 11:21:00 +00:00
Matthias Fischer
0f6cf6003c backup.cgi: New info text for restore
This time without bold. ;-)

Altered the info text for restore to make clear that only the addon configs
are restored, not the addons themselves.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-07 13:11:51 +00:00
Matthias Fischer
33d18031fd Fix typo in 'de.pl'
Triggered by:
https://community.ipfire.org/t/where-can-i-place-a-ticket-with-an-error-in-the-german-wui/5104

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-06 09:56:06 +00:00
Stéphane Pautrel
b037af96cd Update French translation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-22 14:39:09 +00:00
Leo-Andres Hofmann
715aa887b6 zoneconf.cgi: Fix VLAN tag range check
Use the correct VLAN tag range 1-4094 and add an error message
to the range check.
The missing error message was discovered by Jonatan.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-22 10:37:47 +00:00
Leo-Andres Hofmann
5867e4a511 Rename update accelerator passive mode
Fixes #12577

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-04 10:49:57 +00:00
Leo-Andres Hofmann
8de94a23e0 zoneconf.cgi: Add STP options to GUI
Changes & new features:
- Add CSS for STP options, add texts to language files
- Read STP settings from ethernet configuration and display inputs
- Validate and save STP settings

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-22 18:58:12 +00:00
Roberto Peña
2f44c09d80 Add Spanish translations for Captive Portal
- Ran ./make lang before adding translations and git status was clear
- Ran ./make lang after adding translations and git status included also
    doc/language_issues.pl although I did not change anything for Polish
    and it was clear before making any changes

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-22 11:30:15 +00:00
Michael Tremer
e902ebe3be wirelessclient.cgi: Show when 802.11w is active
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-16 17:41:23 +01:00