]>
git.ipfire.org Git - people/ms/network.git/log
Jonatan Schlag [Wed, 7 Jun 2017 06:17:38 +0000 (08:17 +0200)]
route: rename route to route static
Fixes: #11374
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Sun, 4 Jun 2017 14:09:07 +0000 (16:09 +0200)]
route: add new cli command reload
This new command just call route_apply.
It provide a nice way to take changes of the config file into affect.
Also it helps when the routes are not applied.
This should not happen, but when this command is better then network restart.
Fixes: 11367
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Sat, 3 Jun 2017 11:25:10 +0000 (13:25 +0200)]
pppoe-server: improve input validation
We now check if the subnet, the mtu and the max-sessions valud is valid.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Sat, 3 Jun 2017 11:25:08 +0000 (13:25 +0200)]
ip: restructure ip_net_is_valid
Insted of checking the network manually we now just calö ipv4_net_is_valid or
ipv6_net_is_valid
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Sat, 3 Jun 2017 11:25:07 +0000 (13:25 +0200)]
ipv4: new function ipv4_net_is_valid
This function checks if a given network is valid IPv4 network
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Fri, 2 Jun 2017 09:46:53 +0000 (11:46 +0200)]
ip: rename ip_is_network to ip_net_is_valid
We rename this function to state clear what the function is actually doing.
The function checks if a network is valid and not if something is a network or not.
Fixes: 11357
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 7 Jun 2017 16:25:24 +0000 (18:25 +0200)]
device queues: Fix listing queues
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 7 Jun 2017 14:39:41 +0000 (16:39 +0200)]
Fix incorrect variable name in SMP affinity handling
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Fri, 2 Jun 2017 09:05:51 +0000 (11:05 +0200)]
man: update the pppoe zone documentation
Fixes: #11375
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Fri, 2 Jun 2017 06:30:35 +0000 (08:30 +0200)]
route: apply static routes on startup and restart
The static routes can only be applied when the network has a valid layer 3 connectivity.
So it is not useful to have a route_init which is called before we have any layer 3 connectivity.
We now call the route_apply every time we set new routes for a zone.
We do this every time we get a new layer 3 connectivity so all routes are applied correctly.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Fri, 2 Jun 2017 06:30:34 +0000 (08:30 +0200)]
6to4-tunnel: LOCAL_ADDRESS6 needs to be a valid IPv6 network
Fixes: #1359
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 2 Jun 2017 07:55:18 +0000 (09:55 +0200)]
Drop support for 6rd
This is probably not in wide use any more and I do not want
to support this either. Therefore this is dropped for now.
Fixes #11369
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 17:55:15 +0000 (19:55 +0200)]
Don't try identifying non-existant device when attaching to a zone
This resulted in an error message which is unnecessary.
Fixes #11174
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 22:16:29 +0000 (23:16 +0100)]
test: Include test-functions in tarball
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 22:11:40 +0000 (23:11 +0100)]
test: Add module tests for ip_network_is_subset_of
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 22:10:34 +0000 (23:10 +0100)]
inetcalc: Use memcmp to determine which IP address is higher
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 21:50:13 +0000 (22:50 +0100)]
inetcalc: Compare all 128 bits of IPv6 addresses
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 21:22:00 +0000 (22:22 +0100)]
Order tests alphabetically
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 21:20:47 +0000 (22:20 +0100)]
Make "make distcheck" happy and allow builddir != srcdir
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 20:48:40 +0000 (21:48 +0100)]
test: Use tools from build tree
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 20:46:10 +0000 (21:46 +0100)]
Allow loading library from source tree instead of system
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 20:39:36 +0000 (21:39 +0100)]
Never overwrite PATH
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 20:36:40 +0000 (21:36 +0100)]
Merge remote-tracking branch 'jschlag/tests'
Michael Tremer [Wed, 31 May 2017 17:48:38 +0000 (19:48 +0200)]
Do not be verbose when applying static routes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 17:47:14 +0000 (19:47 +0200)]
route: Don't allow creating routes with the gateway inside the routed network
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 31 May 2017 17:27:02 +0000 (19:27 +0200)]
inetcalc: Add subset check
Takes two subnets and returns true if the first subnet
is a subset or equal to the second subnet.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 13:07:32 +0000 (15:07 +0200)]
test: Add all new tests to the makefile
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 13:06:54 +0000 (15:06 +0200)]
test: add test for function ip_is_valid
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 13:06:33 +0000 (15:06 +0200)]
test: add test for function ip_is_network
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 13:05:11 +0000 (15:05 +0200)]
test: add test for function ip_split_prefix
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 13:04:38 +0000 (15:04 +0200)]
test: add test for function ip_protocol_is_supported
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 13:04:13 +0000 (15:04 +0200)]
test: add test for function ip_prefix_is_valid
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 13:03:34 +0000 (15:03 +0200)]
test: add test for function ip_get_prefix
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 13:03:05 +0000 (15:03 +0200)]
test: add test for function ip_detect_protocol
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Wed, 31 May 2017 12:59:01 +0000 (14:59 +0200)]
test: Add some test data
The file test/constants.sh contains valid and invalid
IPv4 and IPV6 networks, adresses, etc.
If we need some addresses to test a function we use this data because:
1. it prevent code duplication
2. every data that is added here, can be tested in several tests without touching the test,
thats make maintaining easier
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 09:26:50 +0000 (11:26 +0200)]
ip_is_network: Fix assertion crash when address part was invalid
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 09:26:16 +0000 (11:26 +0200)]
ip_is_valid: Refactor functions
These now check more precisely if a prefix that is given with
an IP address is valid, too
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 09:25:37 +0000 (11:25 +0200)]
route: Correctly end loop when network was invalid
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:54:43 +0000 (10:54 +0200)]
ip: Correctly handle non-numeric prefixes
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:46:20 +0000 (10:46 +0200)]
route: Allow deleting multiple routes at once
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:42:57 +0000 (10:42 +0200)]
route: Validate input when removing static routes
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:37:49 +0000 (10:37 +0200)]
route: Log ip commands when writing static routes into the kernel
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:35:44 +0000 (10:35 +0200)]
route: Check if the dection of the protocol failed
If the check of the protocol failed we should break.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:33:22 +0000 (10:33 +0200)]
route: cli parsing failed when a = was forgotten
A command like
network route add 192.168.101.0/24 --gateway 192.168.101.254
results in network to be set to 192.168.101.254 which is wrong.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:30:35 +0000 (10:30 +0200)]
route: Fix check of network
We can use a single IP address or a network as "network",
so we need tho check if it is a valid IP address or a valid network.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:24:15 +0000 (10:24 +0200)]
ip: Allow detection of protocol for networks, too
This is very convenient when we need to detect the protocol
of a network without splitting off the prefix first.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 09:26:50 +0000 (11:26 +0200)]
ip_is_network: Fix assertion crash when address part was invalid
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 09:26:16 +0000 (11:26 +0200)]
ip_is_valid: Refactor functions
These now check more precisely if a prefix that is given with
an IP address is valid, too
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 09:25:37 +0000 (11:25 +0200)]
route: Correctly end loop when network was invalid
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:54:43 +0000 (10:54 +0200)]
ip: Correctly handle non-numeric prefixes
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:46:20 +0000 (10:46 +0200)]
route: Allow deleting multiple routes at once
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:42:57 +0000 (10:42 +0200)]
route: Validate input when removing static routes
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:37:49 +0000 (10:37 +0200)]
route: Log ip commands when writing static routes into the kernel
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:35:44 +0000 (10:35 +0200)]
route: Check if the dection of the protocol failed
If the check of the protocol failed we should break.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:33:22 +0000 (10:33 +0200)]
route: cli parsing failed when a = was forgotten
A command like
network route add 192.168.101.0/24 --gateway 192.168.101.254
results in network to be set to 192.168.101.254 which is wrong.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:30:35 +0000 (10:30 +0200)]
route: Fix check of network
We can use a single IP address or a network as "network",
so we need tho check if it is a valid IP address or a valid network.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Jonatan Schlag [Tue, 30 May 2017 08:24:15 +0000 (10:24 +0200)]
ip: Allow detection of protocol for networks, too
This is very convenient when we need to detect the protocol
of a network without splitting off the prefix first.
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Michael Tremer [Thu, 23 Mar 2017 18:13:47 +0000 (19:13 +0100)]
Drop support for SixXS
The project has announced that it will be shut down.
The aiccu technology is not used by anybody else AFAIK
hence we can drop this.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 26 Jan 2017 13:25:25 +0000 (13:25 +0000)]
Revert "Only call radvd_update if a zone contains an IPv6."
This reverts commit
6325e3ccbfb73c8ee428b349eacbfc6de19dec47
as requested by the author.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Stefan Schantl [Wed, 25 Jan 2017 13:48:21 +0000 (14:48 +0100)]
Only call radvd_update if a zone contains an IPv6.
On systems which lacks any IPv6 configured zone, radvd would be
started with an empty configuration file and crashes which will
brick the system startup and results in a frozen system.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Stefan Schantl [Wed, 25 Jan 2017 13:48:20 +0000 (14:48 +0100)]
ipv4-static: Remove routing information from databases when shutting down a zone.
Otherwise the script will try to use this route again and crash because the address space
is not longer available.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Stefan Schantl [Wed, 25 Jan 2017 13:48:19 +0000 (14:48 +0100)]
Add missing logdir to Makefile.
The logdir has not been created during the "make install" process
and therefore not been shipped yet.
This directory is used to store various databases which contains
data about the zones and routes. They can easily accessed by
the upcomming WUI to display or compute those information.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Stefan Schantl [Wed, 25 Jan 2017 10:16:15 +0000 (11:16 +0100)]
Fix file name of systemd tmpfile
The tmpfile configuration file had a wrong name (.conf prefix has been missing).
As a result of this, the file was ignored and the containing files and folders
have not been created during boot-up.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Arne Fitzenreiter [Wed, 19 Oct 2016 20:28:22 +0000 (20:28 +0000)]
Improve MTU handling on bridges
When the MTU of a bridge is changed, device_set_mtu will
now change the MTU of all ports in that bridge, too.
This does not seem to be 100% necessary, but it makes it
clearer and probably avoids some other bugs.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 23 Sep 2016 19:33:16 +0000 (21:33 +0200)]
device_{get,set}_mtu: Improve speed and logging
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 23 Sep 2016 19:28:31 +0000 (21:28 +0200)]
device_set_{up,down}: Print clear log message
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 23 Sep 2016 19:25:58 +0000 (21:25 +0200)]
Make device_set_{up,down} faster and show more debugging information
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 23 Sep 2016 19:21:31 +0000 (21:21 +0200)]
Cache system_get_processors()
This function is called quite option and hence we cache
the result to speed up code execution
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 23 Sep 2016 19:14:20 +0000 (21:14 +0200)]
Implement using Linux's SMP affinity
This feature is enabled by default and will distribute
interrupt handling across multiple processors which will
(especially on slower hardware) reduce cache access, decrease
latency and quite possibly increase throughput.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 23 Sep 2016 19:11:07 +0000 (21:11 +0200)]
hotplug: Fall through to hotplug events for new devices
Even if a device is plugged in for the first time, we now fall
through to the hotplugging handling
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 23 Sep 2016 19:09:52 +0000 (21:09 +0200)]
Allow using locks with a name instead of path
This makes it easier to create a temporary
lock in code without constructing the path of
the lock file first.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 23 Sep 2016 03:55:48 +0000 (05:55 +0200)]
man: Add documentation for DHCP server commands
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 15 Sep 2016 20:50:33 +0000 (22:50 +0200)]
Move list-hooks command as sub-command of help
Fixes #11181
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 14 Sep 2016 09:05:43 +0000 (11:05 +0200)]
DHCP: Allow configuring lease times in human-readable format
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Wed, 14 Sep 2016 08:35:42 +0000 (10:35 +0200)]
DHCP: Format lease time in human-readable format
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 17:23:33 +0000 (19:23 +0200)]
DHCP: Cleanup some code
Remove any references to the old subnet ID system
and improve argument handling
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 17:14:26 +0000 (19:14 +0200)]
DHCP: Reload after subnet range changes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 17:09:34 +0000 (19:09 +0200)]
DHCP: Do not accept overlapping subnet ranges
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 16:44:30 +0000 (18:44 +0200)]
DHCP: dhcpd_subnet_range_new: Make ${range} available throughout function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 16:42:41 +0000 (18:42 +0200)]
DHCP: Check if subnet range already exists before creating
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 16:40:23 +0000 (18:40 +0200)]
DHCP: Check if range is not negative
If a new range is created, we now check if range is positive
(even for IPv6).
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 16:39:52 +0000 (18:39 +0200)]
IPv4: Fix comparing IP addresses
This function relied on an older function that was removed
some time ago.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 16:39:15 +0000 (18:39 +0200)]
netcalc: Fix comparing IP addresses
Those are stored in big endian
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 16:24:50 +0000 (18:24 +0200)]
DHCP: Show message when subnet range has been created
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 16:23:34 +0000 (18:23 +0200)]
DHCP: Make removing subnet ranges more robust
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 16:02:14 +0000 (18:02 +0200)]
DHCP: Get rid of range IDs
Same as subnet ids. These are more confusing and unhelpful
than handling the entire range in the native IP format.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 12:49:09 +0000 (14:49 +0200)]
Make fonts properly bold without changing the colour of the normal font
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Thu, 8 Sep 2016 12:40:59 +0000 (14:40 +0200)]
DHCP: Get rid of subnet IDs
It is easier to use the subnet to identify a subnet instead
of an ID. Auto-completion on the shell will help to avoid
much typing and make commands more readable.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 5 Sep 2016 12:25:41 +0000 (14:25 +0200)]
wireless: Validate regulatory domain before setting and saving
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
Michael Tremer [Mon, 5 Sep 2016 11:55:21 +0000 (13:55 +0200)]
settings: Update DNS configuration only after DNS settings changed
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 5 Sep 2016 11:52:05 +0000 (13:52 +0200)]
settings: Immediately apply wireless reg domain
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 2 Sep 2016 12:57:17 +0000 (14:57 +0200)]
inetcalc: Fix comparing IPv6 addresses
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 2 Sep 2016 12:17:07 +0000 (14:17 +0200)]
Revert "Log better errors when locks could not be acquired"
This reverts commit
20c4b654ba9a5027f59d7063b5a364ff0f370bd1 .
Michael Tremer [Fri, 2 Sep 2016 11:52:25 +0000 (13:52 +0200)]
Log better errors when locks could not be acquired
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 2 Sep 2016 11:16:26 +0000 (13:16 +0200)]
Make headlines readable on black background
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Mon, 22 Aug 2016 02:07:24 +0000 (22:07 -0400)]
Bump version to 008
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Fri, 22 Apr 2016 21:51:22 +0000 (21:51 +0000)]
route: Fail cleanly if the protocol cannot be detected
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 26 Mar 2016 23:12:49 +0000 (23:12 +0000)]
docs: Update for recent MTU defaults changes
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 26 Mar 2016 23:11:34 +0000 (23:11 +0000)]
modem: Deduplicate some code to show status of a serial modem
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Michael Tremer [Sat, 26 Mar 2016 19:39:08 +0000 (19:39 +0000)]
modem: Correctly calculate signal strength
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>