Michael Tremer
8dc8788bee
samba: Remove un-exported password sync option
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:17 +01:00
Michael Tremer
c13b64f736
samba: Remove move unused network variables
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:17 +01:00
Michael Tremer
86832d8955
samba: Remove OS level
...
Samba will chose this automatically and the documentation advises
against changing the default.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:17 +01:00
Michael Tremer
7dea42ae84
samba: Drop PDC default configuration
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:17 +01:00
Michael Tremer
eef84767b0
samba: Remove preferred master option
...
This is no longer relevant since we cannot run in domain
mode any longer.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:17 +01:00
Michael Tremer
4f00cf381f
samba: Remove local master option
...
It is not a good default to withdraw samba from the race of becoming
the local master browser. There is no reason why it couldn't be.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:17 +01:00
Michael Tremer
70000894e9
samba: Drop support for being PDC for Windows NT domains
...
This is outdated, and nobody uses it
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:17 +01:00
Michael Tremer
d7129fb107
samba: Drop interfaces configuration
...
It is virtually impossible to limit samba to these interfaces only.
Therefore we add a static list of all interfaces of the local network.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:17 +01:00
Michael Tremer
01c4d3ba06
samba: Add option to require clients to encrypt the connection
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
be1554336d
samba: Export all printers from CUPS
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
97722ab69d
samba: Remove printer management
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
1c14930212
samba: Always show printer options
...
Samba is always linked against CUPS and therefore there is
no way to disable printing anyways.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
a88ea3463c
samba: Remove help popup
...
This is outdated and should be put into the wiki.
It is also some very ugly JS.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
5aa5f6777a
samba: Remove reset options
...
This only requires that we have to change multiple files with
the same settings.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
13e455aec7
samba: Log to syslog
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
1661f0f37f
samba: Drop support for WINS
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
762522e0af
samba: Remove limitation that server only uses SMB2
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
240b8048ad
samba: Drop netbios name option
...
It makes no sense that the same server has different host names
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
18b7d734a9
samba: Hard-code server string
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
6e3c67d608
samba: Drop outdated character set settings
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
7a60353472
samba: Remove any options left to default value in global section
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:16 +01:00
Michael Tremer
2a4ac08fcc
samba: Remove deprecated encrypt/null passwords options
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:15 +01:00
Michael Tremer
160fc7b1ab
samba: Correctly escape status output
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:15 +01:00
Michael Tremer
fb8e2c14df
samba: Show status output in monospace font
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:15 +01:00
Michael Tremer
69c0addc8b
samba: Remove socket options
...
It is not useful to set this on a modern server. The Linux
kernel will be tuning any send and receive buffer sizes.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:15 +01:00
Michael Tremer
92d2e06568
samba: Remove deprecated syslog options
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-13 17:06:15 +01:00
Peter Müller
5fe798b52f
tor.cgi: fix calling Perl location module functions
...
The second version of this patch avoids re-defining $db_handle.
Fixes : #12492
Cc: Stefan Schantl <stefan.schantl@ipfire.org
Signed-off-by: Peter Müller <peter.mueller@ipfire.org >
Acked-By: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-12 10:15:36 +00:00
Michael Tremer
e0aad107b5
Merge branch 'master' into next
2020-10-10 11:49:07 +00:00
Arne Fitzenreiter
b3e5529459
samba: remove SO_xxxBUF size definitions from default config
...
this option is not recommended for samba4
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-06 12:19:01 +00:00
Arne Fitzenreiter
e4ee298623
samba.cgi: remove unsupported DISPLAY CHARSET
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-06 12:18:50 +00:00
Arne Fitzenreiter
c771fe7c4f
samba.cgi: remove unsupported security = share
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-10-06 12:18:42 +00:00
Arne Fitzenreiter
5e4126c33b
Merge branch 'next'
2020-10-05 20:24:35 +00:00
Michael Tremer
9e870fcb76
Update contributors
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-30 10:30:14 +00:00
Michael Tremer
1ebd84f438
netother.cgi: Fix typo in Connection Tracking headline
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-29 13:49:59 +00:00
Arne Fitzenreiter
d328c232d7
credits.cgi: update contributors
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-09-28 10:27:24 +00:00
Michael Tremer
28864e9885
Update list of contributors
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:48:27 +00:00
Stefan Schantl
33975f578d
ipinfo.cgi: Allow to display multiple flags.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:36:38 +00:00
Stefan Schantl
e5b1e648f6
ipinfo.cgi: Display network flags of the given addresses.
...
Use the libloc data for gathering and displaying the stored network
flags, like "Anonymous Proxy" for the addresses.
The notice of a flag only will be displayed, if a flag is set for the
network which contains the given address.
Currently this notice text is "hardcoded" in englisch language, because
the entire other content of the page is in Englisch (responses from RIR's)
and also the flag names like "Anonymous Proxy" are only availabe in
English.
IMHO there is no need to to translate the string "This address is marked
as" into different languages, because of the reasons abouve.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:36:38 +00:00
Stefan Schantl
dd7aef35a9
guardian.cgi: Drop unused use of Locale::Codes::Country.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:36:38 +00:00
Stefan Schantl
8b45257326
tor.cgi: Use own location functions.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:36:38 +00:00
Stefan Schantl
cb204ea100
country.cgi: Use own location-functions.
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:36:38 +00:00
Michael Tremer
b45faf9e70
IPsec: Bring down connections after reloading configuration
...
It could happen that the remote peer re-established the connection
before "ipsec reload" removed it from the daemon.
Now, we write the configuration files first, reload them
and then bring down any connections that are still established.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:36:38 +00:00
Matthias Fischer
c89156263a
pakfire.cgi: Partially fixes Bug #12049
...
I added translations for package uninstallation but didn't know how to fix
the missing list of affected dependencies during uninstallation, see:
=> https://forum.ipfire.org/viewtopic.php?f=17&t=21912&p=120466#p120593
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org >
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:36:37 +00:00
Matthias Fischer
fd1b46f160
wlanap.cgi: Add on/off translations for Management Frame Protection radio buttons
...
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org >
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-09-24 17:36:37 +00:00
Matthias Fischer
b1b1a25835
netother.cgi: Added missing double quotes
...
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-09-19 19:14:56 +00:00
Michael Tremer
8ffdc78c49
web UI: Add graph for connection tracking
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-09-19 19:13:10 +00:00
Michael Tremer
947bd622a1
index.cgi: Fix CPU architecture check
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-09-19 19:04:18 +00:00
Erik Kapfer
942446b553
OpenVPN: Add tls-version-min for TLSv1.2
...
ovpnmain.cgi delivers now 'tls-version-min 1.2' for Roadwarrior and N2N.
Since the server needs it only on server side, this patch do not includes it for Roadwarrior clients.
N2N do not uses push options therefor this directive will be included on both sides.
To integrate the new directive into actual working OpenVPN server environment, the following commands
should be executed via update.sh.
Code block start:
if test -f "/var/ipfire/ovpn/server.conf"; then
# Add tls-version-minimum to OpenVPN server if not already there
if ! grep -q '^tls-version-min' /var/ipfire/ovpn/server.conf > /dev/null 2>&1; then
# Stop server before append the line
/usr/local/bin/openvpnctrl -k
# Append new directive
echo >> "tls-version-min 1.2" /var/ipfire/ovpn/server.conf
# Make sure server.conf have the correct permissions to prevent such
# --> https://community.ipfire.org/t/unable-to-start-the-openvpn-server/2465/54?u=ummeegge
# case
chown nobody:nobody /var/ipfire/ovpn/server.conf
# Start server again
/usr/local/bin/openvpnctrl -s
fi
fi
Code block end
Signed-off-by: Erik Kapfer <ummeegge@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-08-17 10:09:15 +00:00
Erik Kapfer
ba50f66da3
OpenVPN: max-clients value has been enhanced
...
The --max-client value has been enhanced from 255 clients to 1024 clients.
Error message gives now explanation if the maximum has been reached.
Patch has been triggered by https://community.ipfire.org/t/openvpn-max-vpn-clients-quantity-and-connections/2925 .
Signed-off-by: Erik Kapfer <ummeegge@ipfire.org >
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-08-17 10:09:03 +00:00
Michael Tremer
fa8edb9bd7
index.cgi: Show a note to people who are running IPFire on i?86
...
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-08-17 10:08:23 +00:00