]> git.ipfire.org Git - people/ms/network.git/log
people/ms/network.git
11 years agoBump version to 006. 006
Michael Tremer [Tue, 9 Apr 2013 10:36:38 +0000 (12:36 +0200)] 
Bump version to 006.

11 years agoObsolete Makeconfig file.
Michael Tremer [Tue, 9 Apr 2013 10:35:33 +0000 (12:35 +0200)] 
Obsolete Makeconfig file.

Moves all content to Makefile.

11 years ago6to4-tunnel: Add documentation.
Michael Tremer [Tue, 9 Apr 2013 10:32:02 +0000 (12:32 +0200)] 
6to4-tunnel: Add documentation.

11 years ago6to4-tunnel: Allow to update endpoint address.
Michael Tremer [Tue, 9 Apr 2013 09:56:35 +0000 (11:56 +0200)] 
6to4-tunnel: Allow to update endpoint address.

This currently only works with tunnelbroker.net
from Hurricane Electric.

11 years agolist: Allow to append arguments that start with "-"
Michael Tremer [Tue, 9 Apr 2013 09:55:25 +0000 (11:55 +0200)] 
list: Allow to append arguments that start with "-"

11 years ago.gitignore: Add "html" directory
Michael Tremer [Thu, 14 Mar 2013 19:18:38 +0000 (20:18 +0100)] 
.gitignore: Add "html" directory

11 years agoActually install the new man pages.
Michael Tremer [Thu, 14 Mar 2013 19:16:00 +0000 (20:16 +0100)] 
Actually install the new man pages.

11 years agoAdd option to export HTML documents.
Michael Tremer [Wed, 13 Mar 2013 00:02:29 +0000 (01:02 +0100)] 
Add option to export HTML documents.

11 years agoConvert man pages to docbook.
Michael Tremer [Tue, 12 Mar 2013 23:57:02 +0000 (00:57 +0100)] 
Convert man pages to docbook.

11 years agobatman-adv: Add documentation.
Michael Tremer [Mon, 11 Mar 2013 16:17:49 +0000 (17:17 +0100)] 
batman-adv: Add documentation.

11 years agobatman-adv: Enhance functionality.
Michael Tremer [Mon, 11 Mar 2013 13:34:49 +0000 (14:34 +0100)] 
batman-adv: Enhance functionality.

* Created a -port hook, which enables us to bridge several
  wireless adapters.
* Make hotplugging work.

11 years agoswitch: Make sure that the services are properly started.
Michael Tremer [Sun, 10 Mar 2013 13:06:45 +0000 (14:06 +0100)] 
switch: Make sure that the services are properly started.

11 years agoipv4-static: Fix setting default route.
Michael Tremer [Sun, 10 Mar 2013 13:05:52 +0000 (14:05 +0100)] 
ipv4-static: Fix setting default route.

When the static IPv4 address configuration has been applied to
a zone, the default gateway was not properly set, which is fixed
by this commit.

11 years agoswitch: Fix attaching/detaching ports.
Michael Tremer [Sat, 9 Mar 2013 16:11:29 +0000 (17:11 +0100)] 
switch: Fix attaching/detaching ports.

11 years agoAdd support for batman-adv.
Michael Tremer [Sun, 3 Mar 2013 13:43:21 +0000 (13:43 +0000)] 
Add support for batman-adv.

11 years agofirewall: Stop for unrecognized command line arguments.
Michael Tremer [Sun, 4 Nov 2012 22:23:00 +0000 (22:23 +0000)] 
firewall: Stop for unrecognized command line arguments.

11 years agoChange dns command to dns-server.
Michael Tremer [Sat, 13 Oct 2012 19:39:42 +0000 (19:39 +0000)] 
Change dns command to dns-server.

11 years agoethernet ports: Add option to fake MAC addresses.
Michael Tremer [Sat, 13 Oct 2012 19:29:03 +0000 (19:29 +0000)] 
ethernet ports: Add option to fake MAC addresses.

11 years agodns: Move getting all search domains into an own function.
Michael Tremer [Sat, 13 Oct 2012 18:50:32 +0000 (18:50 +0000)] 
dns: Move getting all search domains into an own function.

11 years agodns: Adds a number of new functions.
Michael Tremer [Sat, 13 Oct 2012 18:39:27 +0000 (18:39 +0000)] 
dns: Adds a number of new functions.

The configuration file layout is the same like for the
static routes.
DNS servers from DHCP are now taken into account and prioritized.
Duplicate entries are removed.

11 years agoroute: Allow to specify MTU along the path to the destination.
Michael Tremer [Sat, 13 Oct 2012 17:14:09 +0000 (17:14 +0000)] 
route: Allow to specify MTU along the path to the destination.

11 years agoDNS: Add static search domains.
Michael Tremer [Sat, 13 Oct 2012 15:29:18 +0000 (15:29 +0000)] 
DNS: Add static search domains.

11 years agoUndo the nano damage from a9ebc53bddcff8f13d7dd0cada8b9c03b20e344f.
Michael Tremer [Tue, 9 Oct 2012 18:26:47 +0000 (18:26 +0000)] 
Undo the nano damage from a9ebc53bddcff8f13d7dd0cada8b9c03b20e344f.

11 years agoMerge remote-tracking branch 'kbarthel/dhcp_dns'
Michael Tremer [Mon, 8 Oct 2012 12:51:25 +0000 (12:51 +0000)] 
Merge remote-tracking branch 'kbarthel/dhcp_dns'

11 years agobonding: Update bonding drivers.
Michael Tremer [Mon, 8 Oct 2012 12:49:14 +0000 (12:49 +0000)] 
bonding: Update bonding drivers.

Nothing new. Just the old stuff reloaded and twice
as awesome.

11 years agoAdd quote and unquote functions.
Michael Tremer [Mon, 8 Oct 2012 12:48:03 +0000 (12:48 +0000)] 
Add quote and unquote functions.

11 years agowpa_supplicant: Fix typo.
Michael Tremer [Mon, 8 Oct 2012 12:47:22 +0000 (12:47 +0000)] 
wpa_supplicant: Fix typo.

11 years agodhclient-script and functions.dns modified to ensure that the
Kim Barthel [Sun, 7 Oct 2012 13:25:39 +0000 (13:25 +0000)] 
dhclient-script and functions.dns modified to ensure that the
system gets the searchdomain and the dns-servers from dhcp
The resolv.conf gets updated by the scripts

11 years agohostapd: Rework starting this service.
Michael Tremer [Thu, 4 Oct 2012 18:21:42 +0000 (18:21 +0000)] 
hostapd: Rework starting this service.

Now it works in the same way as all the other systemd-monitored
services do.

11 years agomodem: Actually stop pppd.
Michael Tremer [Thu, 4 Oct 2012 18:18:32 +0000 (18:18 +0000)] 
modem: Actually stop pppd.

11 years agoBump version to 005. 005
Michael Tremer [Wed, 3 Oct 2012 17:41:33 +0000 (17:41 +0000)] 
Bump version to 005.

11 years agoiptables: Add some assertions and call external commands with cmd.
Michael Tremer [Wed, 3 Oct 2012 16:23:39 +0000 (16:23 +0000)] 
iptables: Add some assertions and call external commands with cmd.

11 years agofirewall: Create a basic layout of the firewall chains.
Michael Tremer [Wed, 3 Oct 2012 16:13:49 +0000 (16:13 +0000)] 
firewall: Create a basic layout of the firewall chains.

This patch adds code which creates a default set of chains.
No thing will be put into them which makes any sense, but
it's a start...

11 years agohostapd: Fix empty hw_mode variable.
Michael Tremer [Wed, 3 Oct 2012 16:07:25 +0000 (16:07 +0000)] 
hostapd: Fix empty hw_mode variable.

11 years agofirewall: Create CUSTOM* chains like in IPFire 2.
Michael Tremer [Wed, 3 Oct 2012 16:05:14 +0000 (16:05 +0000)] 
firewall: Create CUSTOM* chains like in IPFire 2.

11 years agoMake dumping all firewall rules a bit faster.
Michael Tremer [Wed, 3 Oct 2012 16:04:21 +0000 (16:04 +0000)] 
Make dumping all firewall rules a bit faster.

11 years agologging: Decrease runtime of the log function.
Michael Tremer [Sat, 29 Sep 2012 17:34:10 +0000 (17:34 +0000)] 
logging: Decrease runtime of the log function.

11 years agoutil: Add some helper functions: fread, fwrite, assign.
Michael Tremer [Sat, 29 Sep 2012 12:43:01 +0000 (12:43 +0000)] 
util: Add some helper functions: fread, fwrite, assign.

11 years agoiptables: Get rid of iptables_commit function.
Michael Tremer [Sat, 29 Sep 2012 12:41:35 +0000 (12:41 +0000)] 
iptables: Get rid of iptables_commit function.

It's not fun to make sure it was correctly called.

11 years agoiptables: Don't rely on /proc/net/ip(6)_tables_names.
Michael Tremer [Sat, 29 Sep 2012 12:40:11 +0000 (12:40 +0000)] 
iptables: Don't rely on /proc/net/ip(6)_tables_names.

Those files only return which tables have been loaded
into the kernel. So when compiled as modules, nothing
will show up.

11 years agowireless: Enhance hook to handle encrypted connections.
Michael Tremer [Wed, 26 Sep 2012 11:19:29 +0000 (11:19 +0000)] 
wireless: Enhance hook to handle encrypted connections.

This is still in a very unstable state and needs a lot
testing and enhancement.

11 years agoDon't strip "" from strings that contain spaces.
Michael Tremer [Wed, 26 Sep 2012 11:17:35 +0000 (11:17 +0000)] 
Don't strip "" from strings that contain spaces.

This confuses the shell because handling variables with spaces
in them is horrible.

11 years agohostapd: Remove unused functions.
Michael Tremer [Sun, 23 Sep 2012 20:16:30 +0000 (20:16 +0000)] 
hostapd: Remove unused functions.

11 years agoMove wpa_supplicant functions into their own file.
Michael Tremer [Sun, 23 Sep 2012 20:14:52 +0000 (20:14 +0000)] 
Move wpa_supplicant functions into their own file.

11 years agoMove hostapd functions into their own file.
Michael Tremer [Sun, 23 Sep 2012 20:12:41 +0000 (20:12 +0000)] 
Move hostapd functions into their own file.

11 years agoMove phy functions in their own file.
Michael Tremer [Sun, 23 Sep 2012 20:08:25 +0000 (20:08 +0000)] 
Move phy functions in their own file.

11 years agoCompletely remove old colour stuff.
Michael Tremer [Sun, 23 Sep 2012 19:54:30 +0000 (19:54 +0000)] 
Completely remove old colour stuff.

11 years agostp: Correctly set protocol version.
Michael Tremer [Sun, 23 Sep 2012 19:43:15 +0000 (19:43 +0000)] 
stp: Correctly set protocol version.

11 years agoRevert "stp: Remove function that switches protocols."
Michael Tremer [Sun, 23 Sep 2012 19:38:48 +0000 (19:38 +0000)] 
Revert "stp: Remove function that switches protocols."

This reverts commit 78570028ea72b1cb5ca28835f64057f3f030f02e.

11 years agoipv6-static: Make status output more beatiful.
Michael Tremer [Sun, 23 Sep 2012 19:28:55 +0000 (19:28 +0000)] 
ipv6-static: Make status output more beatiful.

11 years agodummy: Actually bring up the port.
Michael Tremer [Sun, 23 Sep 2012 19:22:46 +0000 (19:22 +0000)] 
dummy: Actually bring up the port.

11 years agovlan: Rewrite VLAN stuff.
Michael Tremer [Sun, 23 Sep 2012 19:18:47 +0000 (19:18 +0000)] 
vlan: Rewrite VLAN stuff.

Got rid of vconfig and clean up a lot of stuff.

11 years agobridge-stp: Move to helpers directory.
Michael Tremer [Sun, 23 Sep 2012 18:13:41 +0000 (18:13 +0000)] 
bridge-stp: Move to helpers directory.

11 years agoSTP: Rewrite most of the functions to get rid of brctl.
Michael Tremer [Sun, 23 Sep 2012 18:00:05 +0000 (18:00 +0000)] 
STP: Rewrite most of the functions to get rid of brctl.

Also support kernel STP again.

11 years agostp: Remove function that switches protocols.
Michael Tremer [Sun, 23 Sep 2012 15:16:03 +0000 (15:16 +0000)] 
stp: Remove function that switches protocols.

This is not needed anymore and was unsafe because
it did not check if mstpd was running and was aware of
the bridge.

11 years agobridge: Make enable/disable STP independent from brctl.
Michael Tremer [Sun, 23 Sep 2012 15:13:23 +0000 (15:13 +0000)] 
bridge: Make enable/disable STP independent from brctl.

11 years agoFix printing of headlines.
Michael Tremer [Sun, 23 Sep 2012 14:36:08 +0000 (14:36 +0000)] 
Fix printing of headlines.

11 years agoAdd hook for dummy ports.
Michael Tremer [Sun, 23 Sep 2012 14:21:17 +0000 (14:21 +0000)] 
Add hook for dummy ports.

11 years agoRemove the event system which is not needed.
Michael Tremer [Sun, 23 Sep 2012 14:18:20 +0000 (14:18 +0000)] 
Remove the event system which is not needed.

11 years agoFix blank lines on terminals with black background.
Michael Tremer [Sun, 23 Sep 2012 14:13:59 +0000 (14:13 +0000)] 
Fix blank lines on terminals with black background.

11 years agobridge: Fix typo.
Michael Tremer [Sun, 23 Sep 2012 12:30:35 +0000 (12:30 +0000)] 
bridge: Fix typo.

11 years agoAdd macvlan port hook.
Michael Tremer [Sun, 23 Sep 2012 12:30:14 +0000 (12:30 +0000)] 
Add macvlan port hook.

11 years agobridge: Replace brctl by ip.
Michael Tremer [Sun, 23 Sep 2012 11:18:42 +0000 (11:18 +0000)] 
bridge: Replace brctl by ip.

11 years agologging: Log calling function and hooks of messages.
Michael Tremer [Sun, 23 Sep 2012 10:57:36 +0000 (10:57 +0000)] 
logging: Log calling function and hooks of messages.

This helps to debug things more easily and
keeps stdout cleaner.

11 years agowireless-ap: Add support for 802.11a and 802.11n APs.
Michael Tremer [Sun, 16 Sep 2012 18:07:15 +0000 (18:07 +0000)] 
wireless-ap: Add support for 802.11a and 802.11n APs.

11 years agorouting: Fix construction of invalid ip command.
Michael Tremer [Sat, 15 Sep 2012 18:43:16 +0000 (18:43 +0000)] 
routing: Fix construction of invalid ip command.

11 years agodhcpd: Add basic DHCP server functionality for IPv6 and IPv4.
Michael Tremer [Sat, 15 Sep 2012 18:39:18 +0000 (18:39 +0000)] 
dhcpd: Add basic DHCP server functionality for IPv6 and IPv4.

11 years agoipv{6,4}: Simplify some functions and introduce new ones.
Michael Tremer [Sat, 15 Sep 2012 18:38:44 +0000 (18:38 +0000)] 
ipv{6,4}: Simplify some functions and introduce new ones.

Too much stuff to break down...

11 years agoip: Remove log message when IP protocol could not be detected.
Michael Tremer [Sat, 15 Sep 2012 13:22:57 +0000 (13:22 +0000)] 
ip: Remove log message when IP protocol could not be detected.

11 years agocli: Shrink indentation to 2 spaces.
Michael Tremer [Sat, 15 Sep 2012 13:21:27 +0000 (13:21 +0000)] 
cli: Shrink indentation to 2 spaces.

11 years agoconfig: Fix reading in empty values.
Michael Tremer [Thu, 13 Sep 2012 15:00:49 +0000 (15:00 +0000)] 
config: Fix reading in empty values.

11 years agoutil: Create an assertion test for IP addresses.
Michael Tremer [Mon, 10 Sep 2012 08:33:55 +0000 (08:33 +0000)] 
util: Create an assertion test for IP addresses.

11 years agolist: Add function to join a list.
Michael Tremer [Mon, 10 Sep 2012 08:33:13 +0000 (08:33 +0000)] 
list: Add function to join a list.

11 years agocli: Check for correct arguments in cli_ident.
Michael Tremer [Mon, 10 Sep 2012 08:32:20 +0000 (08:32 +0000)] 
cli: Check for correct arguments in cli_ident.

11 years agoservice: Require complete name of systemd unit file.
Michael Tremer [Sat, 8 Sep 2012 14:46:07 +0000 (14:46 +0000)] 
service: Require complete name of systemd unit file.

11 years agoconfig: Read all configuration variables into an array.
Michael Tremer [Sat, 8 Sep 2012 09:35:06 +0000 (09:35 +0000)] 
config: Read all configuration variables into an array.

11 years agobridge: Don't throw an assertion error when a device does not exist.
Michael Tremer [Thu, 6 Sep 2012 20:05:22 +0000 (20:05 +0000)] 
bridge: Don't throw an assertion error when a device does not exist.

If a device was supposed to be in a bridge did not exist,
the bridge method threw an assertion error.

11 years agoParse configuration files in a secure way.
Michael Tremer [Thu, 6 Sep 2012 20:04:21 +0000 (20:04 +0000)] 
Parse configuration files in a secure way.

Don't use the source function anymore which is unsecure.

11 years agowireless-ap: Add WPA/WPA2 encryption.
Michael Tremer [Sun, 2 Sep 2012 15:03:31 +0000 (15:03 +0000)] 
wireless-ap: Add WPA/WPA2 encryption.

11 years agoroute: Create a log message, when (re)loading static routes.
Michael Tremer [Sat, 11 Aug 2012 14:53:57 +0000 (14:53 +0000)] 
route: Create a log message, when (re)loading static routes.

11 years agoroute: Add documentation.
Michael Tremer [Sat, 11 Aug 2012 14:49:02 +0000 (14:49 +0000)] 
route: Add documentation.

11 years agoroute: Add prohibit and blackhole routes.
Michael Tremer [Sat, 11 Aug 2012 13:02:52 +0000 (13:02 +0000)] 
route: Add prohibit and blackhole routes.

11 years agoroute: Add code to apply static route configuration.
Michael Tremer [Sat, 11 Aug 2012 12:27:07 +0000 (12:27 +0000)] 
route: Add code to apply static route configuration.

11 years agoAdd commands to manage static routes.
Michael Tremer [Fri, 10 Aug 2012 13:27:23 +0000 (13:27 +0000)] 
Add commands to manage static routes.

11 years agolist: Avoid space in front of the first argument.
Michael Tremer [Fri, 10 Aug 2012 09:32:29 +0000 (09:32 +0000)] 
list: Avoid space in front of the first argument.

When the first argument was added to an empty list, there
was a leading space character which looks ugly.

11 years agocli: Fix cli_get_val function to split at the first occurence of '='.
Michael Tremer [Fri, 10 Aug 2012 09:31:26 +0000 (09:31 +0000)] 
cli: Fix cli_get_val function to split at the first occurence of '='.

11 years agoAdd functions to handle lists very easily.
Michael Tremer [Wed, 8 Aug 2012 13:50:53 +0000 (13:50 +0000)] 
Add functions to handle lists very easily.

11 years agoIntroduce concept of firewall zones.
Michael Tremer [Wed, 8 Aug 2012 12:55:33 +0000 (12:55 +0000)] 
Introduce concept of firewall zones.

11 years agoImport some experimental Open vSwitch code.
Michael Tremer [Wed, 8 Aug 2012 10:16:33 +0000 (10:16 +0000)] 
Import some experimental Open vSwitch code.

11 years agovlan: Check if the kernel has got VLAN support.
Michael Tremer [Fri, 3 Aug 2012 10:28:16 +0000 (10:28 +0000)] 
vlan: Check if the kernel has got VLAN support.

11 years agonetwork: Don't show link speed when device is not up.
Michael Tremer [Fri, 3 Aug 2012 10:26:46 +0000 (10:26 +0000)] 
network: Don't show link speed when device is not up.

11 years agoAdd some minor input validation for configuration settings.
Michael Tremer [Wed, 1 Aug 2012 18:33:25 +0000 (18:33 +0000)] 
Add some minor input validation for configuration settings.

11 years agoFix typo introduced in the last commit.
Michael Tremer [Wed, 1 Aug 2012 18:29:19 +0000 (18:29 +0000)] 
Fix typo introduced in the last commit.

11 years agoMove firewall default configuration to an extra file.
Michael Tremer [Wed, 1 Aug 2012 18:25:55 +0000 (18:25 +0000)] 
Move firewall default configuration to an extra file.

11 years agofirewall: Make clamp PMTU configurable.
Michael Tremer [Wed, 1 Aug 2012 18:02:21 +0000 (18:02 +0000)] 
firewall: Make clamp PMTU configurable.

11 years agofirewall: Add rule to clamp PMTU.
Michael Tremer [Sun, 29 Jul 2012 16:52:40 +0000 (16:52 +0000)] 
firewall: Add rule to clamp PMTU.

11 years agofirewall: Add basic IPv6 ruleset generation and macros.
Michael Tremer [Sun, 29 Jul 2012 14:30:48 +0000 (14:30 +0000)] 
firewall: Add basic IPv6 ruleset generation and macros.

11 years agoutil: Make a shortcut for "which".
Michael Tremer [Sun, 29 Jul 2012 12:22:42 +0000 (12:22 +0000)] 
util: Make a shortcut for "which".

11 years agoFix some syntax errors.
Michael Tremer [Sat, 28 Jul 2012 09:05:05 +0000 (09:05 +0000)] 
Fix some syntax errors.

11 years agoMake the print function print strings that start with a dash.
Michael Tremer [Sat, 28 Jul 2012 09:03:11 +0000 (09:03 +0000)] 
Make the print function print strings that start with a dash.