]> git.ipfire.org Git - people/ms/network.git/log
people/ms/network.git
7 years agoBump version to 008 008
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>
8 years agoroute: Fail cleanly if the protocol cannot be detected
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>
8 years agodocs: Update for recent MTU defaults changes
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>
8 years agomodem: Deduplicate some code to show status of a serial modem
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>
8 years agomodem: Correctly calculate signal strength
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>
8 years agowireless: Remove MTU setting
Michael Tremer [Sat, 26 Mar 2016 18:51:23 +0000 (18:51 +0000)] 
wireless: Remove MTU setting

This is unused.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoRemove default MTU for PPP client connections
Michael Tremer [Sat, 26 Mar 2016 18:49:47 +0000 (18:49 +0000)] 
Remove default MTU for PPP client connections

The providers set this on their side and we should not use
any defaults because selecting those is just unfounded and
arbitrary.

Fixes #11071

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agomodem: Fix coding style
Michael Tremer [Sat, 26 Mar 2016 18:47:13 +0000 (18:47 +0000)] 
modem: Fix coding style

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agomodem: Show mobile network status even when not connected
Michael Tremer [Sat, 26 Mar 2016 18:46:42 +0000 (18:46 +0000)] 
modem: Show mobile network status even when not connected

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agomodem: Fix broken AUTH check for default values
Michael Tremer [Sat, 26 Mar 2016 18:45:48 +0000 (18:45 +0000)] 
modem: Fix broken AUTH check for default values

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agomodem: Speed-up chatting to modem
Michael Tremer [Sat, 26 Mar 2016 18:44:28 +0000 (18:44 +0000)] 
modem: Speed-up chatting to modem

It is not checked any more if the SIM card is unlocked.

That needs to be done on a higher level now and will allow
us to execute the other commands quicker.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agomodem: Show network registration status
Michael Tremer [Sat, 26 Mar 2016 18:43:47 +0000 (18:43 +0000)] 
modem: Show network registration status

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agomodem: Support LTE as connection type
Michael Tremer [Sat, 26 Mar 2016 13:31:14 +0000 (13:31 +0000)] 
modem: Support LTE as connection type

This will now correctly show LTE connections that
were previously "unknown".

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
8 years agomodem: Remove support for login scripts
Michael Tremer [Sat, 26 Mar 2016 13:29:39 +0000 (13:29 +0000)] 
modem: Remove support for login scripts

It seems that no provider requires these any more and
that they cause problems with providers that use username
and password for authentication.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Arne Fitzenreiter <arne.fitzenreiter@ipfire.org>
8 years agodocs: Add man page for wireless zone hook
Michael Tremer [Wed, 16 Mar 2016 23:01:16 +0000 (23:01 +0000)] 
docs: Add man page for wireless zone hook

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agodocs: Add man page for modem zone hook
Michael Tremer [Wed, 16 Mar 2016 22:50:25 +0000 (22:50 +0000)] 
docs: Add man page for modem zone hook

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agodocs: Add network-port man page
Michael Tremer [Wed, 16 Mar 2016 22:25:21 +0000 (22:25 +0000)] 
docs: Add network-port man page

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agolock: Decrease the number of iterations per second
Michael Tremer [Sun, 17 Jan 2016 18:37:10 +0000 (19:37 +0100)] 
lock: Decrease the number of iterations per second

There have been reports about that this locking mechanism
wasn't too stable on their machines which can totally be
the case judging by the design of it.

However there is no other easy way to implement this any
better without any native C helper which I would like to
avoid at this moment.

So I decreased the amount of ticks which should make
any processes running at the same time less likely to
collide.

Fixes #10979

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoImplement identify feature
Michael Tremer [Sat, 16 Jan 2016 16:09:47 +0000 (17:09 +0100)] 
Implement identify feature

When executing "network [zone|port|device] XXX identify" the
port, device or all ports of the zone (that support this feature)
will flash for ten seconds.

Ports will also flash when they are attached to or detached from
a zone.

This is supposed to make plugging in a cable into the right
device is easier.

Fixes #10969

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoman: Add a quick start guide
Michael Tremer [Sun, 1 Nov 2015 00:12:51 +0000 (01:12 +0100)] 
man: Add a quick start guide

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoman: Document the DNS_SEARCH_DOMAINS setting
Michael Tremer [Sat, 31 Oct 2015 22:50:52 +0000 (23:50 +0100)] 
man: Document the DNS_SEARCH_DOMAINS setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoman: Document WIRELESS_REGULATORY_DOMAIN setting
Michael Tremer [Sat, 31 Oct 2015 22:47:29 +0000 (23:47 +0100)] 
man: Document WIRELESS_REGULATORY_DOMAIN setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoman: settings: Remove old COLORS setting
Michael Tremer [Sat, 31 Oct 2015 22:28:32 +0000 (23:28 +0100)] 
man: settings: Remove old COLORS setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoman: Add link to man page of the "route" command
Michael Tremer [Sat, 31 Oct 2015 22:16:14 +0000 (23:16 +0100)] 
man: Add link to man page of the "route" command

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoinetcalc: Allow build on 64 bit architectures
Michael Tremer [Wed, 21 Oct 2015 16:42:06 +0000 (18:42 +0200)] 
inetcalc: Allow build on 64 bit architectures

inetcalc previously used a GCC extension that was only
available on 64 bit platforms. This patch changes the
code to use struct in6_addr instead of __uint128_t for
storing IP addresses.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/network
Michael Tremer [Tue, 20 Oct 2015 15:39:26 +0000 (17:39 +0200)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/network

8 years agoBump version to 007 007
Michael Tremer [Sun, 18 Oct 2015 22:10:25 +0000 (23:10 +0100)] 
Bump version to 007

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agofunctions.ipv6: Fix doubble square bracket when calling assert
Stefan Schantl [Sun, 18 Oct 2015 17:36:57 +0000 (19:36 +0200)] 
functions.ipv6: Fix doubble square bracket when calling assert

The assert check does not proper work when using doubble square backets,
so the check fails for some unknown reasons. Removing one bracket will allow
to successfully perform the assert check again.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoAdd functionality to identify tun/tap devices
Michael Tremer [Sat, 17 Oct 2015 14:51:26 +0000 (16:51 +0200)] 
Add functionality to identify tun/tap devices

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoradvd: Fix missing function radvd_clear
Michael Tremer [Sat, 17 Oct 2015 14:03:35 +0000 (16:03 +0200)] 
radvd: Fix missing function radvd_clear

This function used to clear the configuration file
but was for some reason missing. The new function
has a slightly more descriptive name.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agodhclient-script: Fix wrong funtion call to determine prefix
Michael Tremer [Sat, 17 Oct 2015 13:52:57 +0000 (15:52 +0200)] 
dhclient-script: Fix wrong funtion call to determine prefix

A wrong function was called to determine the prefix from
the subnet mask.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoReplace ipcalc by inetcalc
Michael Tremer [Fri, 18 Sep 2015 20:37:05 +0000 (22:37 +0200)] 
Replace ipcalc by inetcalc

This is our own implementation of a binary tool that is used
to validate and calculate with IP addresses.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Stefan Schantl <stefan.schantl@ipfire.org>
8 years agoMake configure check for a C compiler
Stefan Schantl [Tue, 15 Sep 2015 15:52:36 +0000 (17:52 +0200)] 
Make configure check for a C compiler

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agowireless: Fix wrong variable name
Stefan Schantl [Sun, 6 Sep 2015 17:08:45 +0000 (19:08 +0200)] 
wireless: Fix wrong variable name

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoEnsure that radvd is started when needed
Stefan Schantl [Sun, 6 Sep 2015 16:37:43 +0000 (18:37 +0200)] 
Ensure that radvd is started when needed

As this is a router we will need to make sure that the router
advertisement daemon is running at all times for local zones.

This patch will start radvd automatically when ever needed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoAllow renaming zones
Stefan Schantl [Sun, 6 Sep 2015 16:33:18 +0000 (18:33 +0200)] 
Allow renaming zones

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agozone: Automatically bring up all configs after creation
Stefan Schantl [Sun, 6 Sep 2015 15:05:53 +0000 (17:05 +0200)] 
zone: Automatically bring up all configs after creation

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoipv6-auto: Fix wrong hook function name
Stefan Schantl [Sun, 6 Sep 2015 15:05:23 +0000 (17:05 +0200)] 
ipv6-auto: Fix wrong hook function name

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoipv4-dhcp: Show DNS servers
Stefan Schantl [Sun, 6 Sep 2015 14:45:21 +0000 (16:45 +0200)] 
ipv4-dhcp: Show DNS servers

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agopppoe-server: Allow passing DNS servers to the client
Stefan Schantl [Sun, 6 Sep 2015 14:34:44 +0000 (14:34 +0000)] 
pppoe-server: Allow passing DNS servers to the client

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoMerge branch 'master' of git://git.ipfire.org/network
Stefan Schantl [Sat, 5 Sep 2015 19:45:30 +0000 (21:45 +0200)] 
Merge branch 'master' of git://git.ipfire.org/network

8 years agodns: Better propagate known DNS servers
Stefan Schantl [Sat, 5 Sep 2015 19:44:07 +0000 (21:44 +0200)] 
dns: Better propagate known DNS servers

dns_servers_update() is a new function that must be called
when ever there are changes to the DNS server configuration.
This may be by the user or by learning new DNS servers from
a dial-up connection, etc.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agopppoe: The remote MAC address should be protocol-independent
Stefan Schantl [Sat, 5 Sep 2015 19:21:14 +0000 (21:21 +0200)] 
pppoe: The remote MAC address should be protocol-independent

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agopppoe: Fix wrong variable name for DNS servers
Stefan Schantl [Sat, 5 Sep 2015 19:16:03 +0000 (21:16 +0200)] 
pppoe: Fix wrong variable name for DNS servers

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agopppoe-server: Enable IPv6
Stefan Schantl [Sat, 5 Sep 2015 18:29:46 +0000 (18:29 +0000)] 
pppoe-server: Enable IPv6

Clients which support IPv6 will now be allocated a link-local
IPv6 address.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
10 years agoLocal zones must be named net0, net1, ...
Stefan Schantl [Mon, 8 Jul 2013 03:10:18 +0000 (05:10 +0200)] 
Local zones must be named net0, net1, ...

"net" is more generic and makes more sense when being
used with VPNs and other virtual networks which are
not a LOCAL area network ("lan").

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoMerge remote-tracking branch 'prime/master'
Stefan Schantl [Sat, 5 Sep 2015 14:52:31 +0000 (16:52 +0200)] 
Merge remote-tracking branch 'prime/master'

8 years agoMerge remote-tracking branch 'ipv6/master'
Stefan Schantl [Sat, 5 Sep 2015 14:46:53 +0000 (16:46 +0200)] 
Merge remote-tracking branch 'ipv6/master'

8 years agopppoe-server: Load pppoe kernel module
Stefan Schantl [Sun, 30 Aug 2015 20:35:21 +0000 (20:35 +0000)] 
pppoe-server: Load pppoe kernel module

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
8 years agoaiccu: Add helper script that adds routing information to the database
Stefan Schantl [Wed, 26 Aug 2015 21:00:37 +0000 (21:00 +0000)] 
aiccu: Add helper script that adds routing information to the database

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoMakefile: Append to INSTALL_DIRS to silence automake warning
Stefan Schantl [Wed, 26 Aug 2015 17:48:58 +0000 (17:48 +0000)] 
Makefile: Append to INSTALL_DIRS to silence automake warning

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoaiccu: Add helper script that adds routing information to the database
Stefan Schantl [Wed, 26 Aug 2015 21:00:37 +0000 (21:00 +0000)] 
aiccu: Add helper script that adds routing information to the database

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
8 years agoMakefile: Append to INSTALL_DIRS to silence automake warning
Stefan Schantl [Wed, 26 Aug 2015 17:48:58 +0000 (17:48 +0000)] 
Makefile: Append to INSTALL_DIRS to silence automake warning

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
8 years agoUpdate all config hooks according to the new naming convention
Michael Tremer [Wed, 26 Aug 2015 12:31:29 +0000 (14:31 +0200)] 
Update all config hooks according to the new naming convention

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoconfig hooks: Rename hook functions to align with ports
Michael Tremer [Wed, 26 Aug 2015 12:30:33 +0000 (14:30 +0200)] 
config hooks: Rename hook functions to align with ports

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoRemove some unused code
Michael Tremer [Tue, 18 Aug 2015 19:24:58 +0000 (21:24 +0200)] 
Remove some unused code

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agomac_generate: Refactor to make this function faster
Michael Tremer [Thu, 13 Aug 2015 18:32:29 +0000 (20:32 +0200)] 
mac_generate: Refactor to make this function faster

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agobridge: Remove unnecessary call of mac_generate
Michael Tremer [Thu, 13 Aug 2015 18:03:15 +0000 (20:03 +0200)] 
bridge: Remove unnecessary call of mac_generate

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoIntroduce triggers
Michael Tremer [Thu, 13 Aug 2015 09:02:58 +0000 (11:02 +0200)] 
Introduce triggers

When the state of the network changes (i.e. a zone comes up, etc.)
a set of triggers will be called so that external applications can
adopt to these changes.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agodns: Add local domain name to DNS domain search list
Michael Tremer [Tue, 11 Aug 2015 22:35:28 +0000 (00:35 +0200)] 
dns: Add local domain name to DNS domain search list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoShow help for zone creation
Michael Tremer [Tue, 11 Aug 2015 22:28:20 +0000 (00:28 +0200)] 
Show help for zone creation

If a too small number of arguments is passed, we will
show a help page to create a new zone.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
8 years agoradvd: Always advertise all prefixes
Michael Tremer [Sat, 2 May 2015 21:49:49 +0000 (21:49 +0000)] 
radvd: Always advertise all prefixes

8 years agoMerge branch 'master' of ssh://git.ipfire.org/pub/git/network
Michael Tremer [Sat, 2 May 2015 21:31:30 +0000 (21:31 +0000)] 
Merge branch 'master' of ssh://git.ipfire.org/pub/git/network

Conflicts:
src/functions/functions.dhcpd
src/functions/functions.ipv6

8 years agoDHCP: Implement prefix delegation for the DHCP server
Michael Tremer [Sat, 2 May 2015 21:28:20 +0000 (21:28 +0000)] 
DHCP: Implement prefix delegation for the DHCP server

8 years agodhclient: Properly handle IPv6
Michael Tremer [Sat, 2 May 2015 21:26:00 +0000 (21:26 +0000)] 
dhclient: Properly handle IPv6

Router advertisements are now properly processed if there
is dhclient running on an interface and all information
from the DHCP client is removed when dhclient is stopped.

8 years agorouting: Remove deprecated functions
Michael Tremer [Sat, 2 May 2015 20:25:51 +0000 (20:25 +0000)] 
routing: Remove deprecated functions

8 years agodhclient: Fix overwriting functions.zone
Michael Tremer [Sat, 2 May 2015 20:22:22 +0000 (20:22 +0000)] 
dhclient: Fix overwriting functions.zone

8 years agoReplace routing_db_* by db_*
Michael Tremer [Sat, 2 May 2015 20:06:03 +0000 (20:06 +0000)] 
Replace routing_db_* by db_*

db_* is an extremely simple and volatile key-value
database that can be used to store things at runtime.

8 years agoRemove the function keyword which is a bashism
Michael Tremer [Sat, 2 May 2015 16:06:07 +0000 (16:06 +0000)] 
Remove the function keyword which is a bashism

8 years agodhcp: Add support for DHCPv6 over Ethernet
Michael Tremer [Sat, 2 May 2015 15:26:31 +0000 (15:26 +0000)] 
dhcp: Add support for DHCPv6 over Ethernet

9 years agoDisable async logging
Michael Tremer [Fri, 17 Apr 2015 10:07:26 +0000 (10:07 +0000)] 
Disable async logging

This causes even more unreadable output in the journal.

9 years agoipv6: Add auto-configuration hook for zones
Michael Tremer [Tue, 14 Apr 2015 12:55:39 +0000 (12:55 +0000)] 
ipv6: Add auto-configuration hook for zones

This may be mostly unusable for a firewall but we will have
it just because. Can be used for hosts that do not route
anything.

9 years agozone: Make zone_config_{read,write} behave the same as zone_port_{read,write} do
Michael Tremer [Tue, 14 Apr 2015 12:32:33 +0000 (12:32 +0000)] 
zone: Make zone_config_{read,write} behave the same as zone_port_{read,write} do

9 years agoipv6: When auto-configuration is enabled, forwarding must be disabled
Michael Tremer [Tue, 14 Apr 2015 12:31:50 +0000 (12:31 +0000)] 
ipv6: When auto-configuration is enabled, forwarding must be disabled

9 years agowireless-adhoc: Fix wrong function name
Michael Tremer [Sun, 12 Apr 2015 18:23:26 +0000 (18:23 +0000)] 
wireless-adhoc: Fix wrong function name

9 years agozone: Fix immediate attachment of ethernet ports to a bridge
Michael Tremer [Sun, 12 Apr 2015 18:22:46 +0000 (18:22 +0000)] 
zone: Fix immediate attachment of ethernet ports to a bridge

9 years agodhclient: Add support for DHCPv6 and PD
Michael Tremer [Sat, 31 Jan 2015 13:27:23 +0000 (13:27 +0000)] 
dhclient: Add support for DHCPv6 and PD

9 years agopppoe: Enable PD by default
Michael Tremer [Sat, 31 Jan 2015 13:19:03 +0000 (13:19 +0000)] 
pppoe: Enable PD by default

DHCPv6 prefix deleagtion is enabled by default and will
be executed when ever there is IPv6 connectivity on the
PPP link.

9 years agoppp: Always request DNS servers from remote
Michael Tremer [Sat, 31 Jan 2015 13:17:46 +0000 (13:17 +0000)] 
ppp: Always request DNS servers from remote

We can decide later if we want to use them, but we will
always try to get them.

9 years agodhclient-script: Read global network configuration
Michael Tremer [Sat, 3 Jan 2015 15:38:38 +0000 (15:38 +0000)] 
dhclient-script: Read global network configuration

The script won't show debugging information if enabled
and so on...

9 years agozone: Allow creating configs which do not require arguments
Michael Tremer [Fri, 2 Jan 2015 15:38:10 +0000 (15:38 +0000)] 
zone: Allow creating configs which do not require arguments

9 years agodhcp: Fix option list
Michael Tremer [Fri, 2 Jan 2015 15:06:37 +0000 (15:06 +0000)] 
dhcp: Fix option list

It was always empty.

9 years agoreset: Remove all ports instead of just bringing them down
Michael Tremer [Fri, 2 Jan 2015 15:05:25 +0000 (15:05 +0000)] 
reset: Remove all ports instead of just bringing them down

All virtual ports must be removed when the configuration
is destroyed.

9 years agobash-completion: Add some basic completion for DHCP servers
Michael Tremer [Thu, 1 Jan 2015 22:39:33 +0000 (22:39 +0000)] 
bash-completion: Add some basic completion for DHCP servers

9 years agoRemove pptp
Michael Tremer [Wed, 31 Dec 2014 14:49:57 +0000 (14:49 +0000)] 
Remove pptp

After a rather longer discussion we decided that there are
not many providers any more that use PPTP. The only ones that
we know of are legacy DSL lines in Austria. Most of the newer
DSL providers in Austria use PPPoE now.

Some "privacy" VPN providers allow using PPTP which is just
ridiculous. We do not want to support that.

PPTP is also very rarely used for IPv6 transition, but only
a few providers use that. They always support a different
technology.

9 years agoFix typo in function name setttings_read_array
Michael Tremer [Wed, 31 Dec 2014 14:47:39 +0000 (14:47 +0000)] 
Fix typo in function name setttings_read_array

9 years agobash-completion: Add route and dns-server commands
Michael Tremer [Tue, 30 Dec 2014 02:05:27 +0000 (02:05 +0000)] 
bash-completion: Add route and dns-server commands

9 years agoAdd bash-completion for the network command
Michael Tremer [Tue, 30 Dec 2014 01:30:40 +0000 (01:30 +0000)] 
Add bash-completion for the network command

9 years agonetwork device: Update man page with new commands
Michael Tremer [Sun, 28 Dec 2014 12:33:53 +0000 (12:33 +0000)] 
network device: Update man page with new commands

9 years agoRemove some unused functions
Michael Tremer [Sun, 28 Dec 2014 00:56:12 +0000 (00:56 +0000)] 
Remove some unused functions

9 years agoAdd "network device list" command
Michael Tremer [Sun, 28 Dec 2014 00:50:33 +0000 (00:50 +0000)] 
Add "network device list" command

Will show a list of all different devices and details
about them.

9 years agoRemove unused port_show() function
Michael Tremer [Sun, 28 Dec 2014 00:05:22 +0000 (00:05 +0000)] 
Remove unused port_show() function

9 years agoMake zone handling nicer
Michael Tremer [Sat, 27 Dec 2014 23:57:26 +0000 (23:57 +0000)] 
Make zone handling nicer

Zones are now automatically activated after they have been
created and attaching and detaching ports is now just called that.

9 years agobridge-stp: Fix reading the STP configuration
Michael Tremer [Sat, 27 Dec 2014 20:25:05 +0000 (20:25 +0000)] 
bridge-stp: Fix reading the STP configuration

9 years agozone_destroy_now: Call proper functions to shut down the zone
Michael Tremer [Sat, 27 Dec 2014 20:22:04 +0000 (20:22 +0000)] 
zone_destroy_now: Call proper functions to shut down the zone

9 years agopppoe: Allow hotplugging the port and better handle pppd errors
Michael Tremer [Sat, 27 Dec 2014 18:11:34 +0000 (18:11 +0000)] 
pppoe: Allow hotplugging the port and better handle pppd errors

9 years agoipv4: Fix infinite loop when searching for a net address
Michael Tremer [Sat, 27 Dec 2014 16:36:49 +0000 (16:36 +0000)] 
ipv4: Fix infinite loop when searching for a net address

9 years agoAdd missing zone hook command "port_create"
Michael Tremer [Sat, 27 Dec 2014 13:56:47 +0000 (13:56 +0000)] 
Add missing zone hook command "port_create"

9 years agoFix hook settings writing and checking
Michael Tremer [Sat, 27 Dec 2014 13:32:07 +0000 (13:32 +0000)] 
Fix hook settings writing and checking

Formerly the check functions were not correctly called in
some cases. Hence passing the check function is now explicitely
required. The {port,zone}_settings_{read,write} functions do
this transparent to the zone/port hooks.

9 years agoChange two forgotten calls of zone_has_remove_tag
Michael Tremer [Thu, 25 Dec 2014 21:13:39 +0000 (21:13 +0000)] 
Change two forgotten calls of zone_has_remove_tag