Commit Graph

39 Commits

Author SHA1 Message Date
Michael Tremer
c6282b001b networking: Allow changing DHCP Option Rapid Commit
This option needs to be configurable since some (braindead) ISPs have
started running broken DHCP servers to be bug-compatible with cheap
broken plastic routers.

By default we keep this option enabled, but it can now be turned off
whenever needed.

Suggested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-11-05 09:06:01 +01:00
Michael Tremer
74ee0ecd40 setup: Fix compilation issues with GCC 14
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-19 10:01:01 +00:00
Arne Fitzenreiter
2e2170bfb5 setup: fix field-order at addressconfig for red
i have added the gatewayfield at the line below the IP and Netmask
fields but prior this fields so the cursor jumps first the the gateway
and after this to the IP. This patch fix the activation order.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-03 22:17:37 +00:00
Arne Fitzenreiter
14cb18a539 setup: move gateway setting to red address setting.
DEFAULT_GATEWAY is used only in RED_STATIC config so it
fits better to this menu and is only selectable if red
is set to static mode.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-12 10:36:51 +00:00
Michael Tremer
b67f02d512 /var/ipfire/ethernet/settings: Drop BROADCAST variable
This variable is no longer being used and was only used to
assign IP addresses to the individual interfaces.

However, the kernel knows best which IP address to select
as broadcast address for each network. Therefore we depend
on the kernel which allows us to support RFC3021.

Fixes: #12486 - no /31 transfer net available on red
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-10-07 11:46:46 +00:00
Michael Tremer
9e09e1c47b setup: Remove tampering with MAC addresses
There are NICs with 06: and we cannot simply replace the
first byte of the address.

I have no idea why this hack is needed and I believe we
do not need it at all.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-09-27 11:19:56 +00:00
Michael Tremer
e403fa6ad9 setup: Do not check DNS settings any more
It has been removed that DNS servers could be configured in
setup, but I forgot to remove a check which leads to new
installations not being able to complete the setup wizard.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-01-19 15:34:45 +00:00
Michael Tremer
6e61f357fb setup: Remove DNS settings
This is no longer required since we have a new CGI script
that takes care of all DNS settings and stores things in
another format.

Fixes: #12235
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
2020-01-13 17:29:27 +01:00
Arne Fitzenreiter
dc362263f4 setup: add ignore to all no nic assigned errors 2019-08-06 10:51:45 +00:00
Stéphane Pautrel
a45bfbf1c5 installer+setup: Update French translation
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-04-11 03:47:44 +01:00
Michael Tremer
1413006b5b aws: Create "setup" user to run setup
Amazon does not permit that a user logs in as root directly.
Instead they insist on using sudo.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-10 18:40:06 +01:00
Michael Tremer
fd52e82a72 setup: Write /etc/hosts in initscript
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-06-25 11:08:04 +01:00
Michael Tremer
d97ba75fe5 setup: Don't write configuration files for TCP wrapper any more
This has been removed from the distribution a long time ago

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-06-25 11:01:24 +01:00
Michael Tremer
6723afef09 apache: Write hostname into configuration at boot time
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-06-25 10:59:49 +01:00
Michael Tremer
a350ea6dea Drop mISDN userspace tools
This is unsupported for quite a while and nobody should be using this.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-12 11:41:50 +00:00
Michael Tremer
5e6fcc8844 Pull latest translations for installer & setup from Transifex
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-10-06 12:15:26 +01:00
Wolfgang Apolinarski
d41fe99f74 Update to apache 2.4.27
- Updated to apache 2.4
- Updated the htpasswd generation to use the more secure bcrypt algorithm

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-09-04 12:40:20 +01:00
Michael Tremer
2170bad5b9 setup: Allow setting netmask to 255.255.255.255
Some hosters require that the subnet mask of the RED network
is set to 255.255.255.255. This was not possible to save before.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-03-28 17:17:03 +01:00
Michael Tremer
96473f525d Revert "setup: Store passwords in SHA format"
This reverts commit eef9b2529c.

It appears that htpasswd is not salting any passwords that are
stored with the SHA (-s) algorithm. MD5 passwords however are
salted.

That leads us to the conclusion that the "MD5 algorithm" in htpasswd
is more secure than the "SHA algorithm" although the hash function
itself should be stronger.

With a rainbow table, cracking "SHA" is easily done.

A rainbow table for "MD5" + salt would be way too large to be
efficiently stored.

Hence this commit is reverted to old behaviour to avoid the clear
failure of design in SHA.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
2016-10-15 22:38:01 +01:00
Arne Fitzenreiter
3a6752d928 setup: restart unbound after network config change
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-10-12 22:39:41 +02:00
Michael Tremer
eef9b2529c setup: Store passwords in SHA format
htpasswd doesn't protect passwords very well. MD5 was used
before and now any newly created passwords will use the
SHA format.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-10-04 22:41:48 +01:00
Michael Tremer
3d7e6b4b61 setup: Show more than 6 NICs
http://lists.ipfire.org/pipermail/development/2016-April/002074.html

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-04-29 13:23:24 +01:00
Michael Tremer
46ce813e33 setup: Fix segmentation fault with more than four NICs found
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-03-10 19:22:04 +00:00
Michael Tremer
aaf67a64c3 Update translations
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-11-23 13:42:08 +00:00
Michael Tremer
a74ade6d9a installer+setup: Update translations
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-11-21 14:27:04 +00:00
Osmar Gonzalez
0a39488e4a Corrected typo in networking.c
Corrected "Misssing" to "Missing".

Signed-off-by: Osmar Gonzalez <mibs510@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-09-20 13:31:15 +01:00
Michael Tremer
ca6be40f92 Update translations 2015-04-04 13:17:34 +02:00
Michael Tremer
4e341f19b0 setup: Remove writing udev rules for network interfaces 2015-03-09 16:36:04 +01:00
Michael Tremer
2bf7ee4bdd installer+setup: Update translations 2015-03-05 22:12:38 +01:00
Michael Tremer
5ae2227566 installer+setup: Automatically update language lists 2015-02-04 13:31:36 +01:00
Michael Tremer
976a7b26bf installer+setup: Update translations 2015-02-01 12:57:05 +01:00
Michael Tremer
0d87efae29 setup: Update translations 2014-12-26 17:32:17 +01:00
Michael Tremer
4183678571 installer+setup: Update translations 2014-08-21 20:33:50 +02:00
Michael Tremer
782ae35df0 setup: Fix languages 2014-08-21 17:08:03 +02:00
Michael Tremer
d1782bf02d setup: Remove version number from window titles 2014-08-21 16:41:44 +02:00
Michael Tremer
46b56e2030 libsmooth+install: Fix output redirection 2014-08-14 14:07:13 +02:00
Michael Tremer
6db1d94c20 setup: Fix path to probenic.sh script 2014-08-14 12:52:11 +02:00
Michael Tremer
e1457ba014 setup: Migrate to autotool and use gettext. 2014-08-12 12:19:10 +02:00
Michael Tremer
7064bbd991 Move setup to an own directory. 2014-07-30 22:03:55 +02:00