]> git.ipfire.org Git - network.git/log
network.git
12 years agoIntroduce new versioning schema. 001
Michael Tremer [Fri, 29 Jul 2011 17:49:54 +0000 (17:49 +0000)] 
Introduce new versioning schema.

Create a version information file in the system.

12 years agoMerge branch 'master' of git://git.ipfire.org/network
Michael Tremer [Fri, 29 Jul 2011 17:39:02 +0000 (17:39 +0000)] 
Merge branch 'master' of git://git.ipfire.org/network

12 years agoFix setting of default routes.
Michael Tremer [Fri, 29 Jul 2011 17:38:46 +0000 (17:38 +0000)] 
Fix setting of default routes.

12 years agobridge: Fix reading of zone configuration.
Michael Tremer [Sun, 24 Jul 2011 22:22:08 +0000 (22:22 +0000)] 
bridge: Fix reading of zone configuration.

12 years agohostapd should be monitored by systemd.
Stefan Schantl [Sun, 17 Jul 2011 12:51:50 +0000 (14:51 +0200)] 
hostapd should be monitored by systemd.

12 years agoReplace ipv?_is_valid by ipcalc command.
Michael Tremer [Sat, 11 Jun 2011 15:15:39 +0000 (15:15 +0000)] 
Replace ipv?_is_valid by ipcalc command.

The ipcalc command is much faster and safer than
the shell code.

12 years agoAdd support for automatic configuration of radvd.
Michael Tremer [Sat, 11 Jun 2011 14:43:44 +0000 (14:43 +0000)] 
Add support for automatic configuration of radvd.

12 years agoEnable IPv6 packet forwarding.
Michael Tremer [Thu, 9 Jun 2011 22:17:39 +0000 (22:17 +0000)] 
Enable IPv6 packet forwarding.

12 years agoFix routing for ipv6-static hook.
Michael Tremer [Thu, 9 Jun 2011 21:42:27 +0000 (21:42 +0000)] 
Fix routing for ipv6-static hook.

12 years agoAdd sysctl files to configure the kernel for network.
Michael Tremer [Sat, 4 Jun 2011 19:37:15 +0000 (19:37 +0000)] 
Add sysctl files to configure the kernel for network.

12 years agoAdd IPv6 support for pppoe.
Michael Tremer [Sat, 4 Jun 2011 15:05:40 +0000 (15:05 +0000)] 
Add IPv6 support for pppoe.

12 years agoFixed some issues with pppoe dial-in.
Michael Tremer [Fri, 3 Jun 2011 20:55:14 +0000 (20:55 +0000)] 
Fixed some issues with pppoe dial-in.

No major stuff. Just some fixes for invalid input.

12 years agoRemove red_db_* functions.
Michael Tremer [Fri, 3 Jun 2011 19:54:41 +0000 (19:54 +0000)] 
Remove red_db_* functions.

12 years agoSome fixes when STP is disabled.
Michael Tremer [Thu, 26 May 2011 15:52:50 +0000 (15:52 +0000)] 
Some fixes when STP is disabled.

12 years agoRemove redundant logging.
Michael Tremer [Thu, 26 May 2011 15:48:32 +0000 (15:48 +0000)] 
Remove redundant logging.

12 years agorouting: Create routing database and set routes for ipv4.
Michael Tremer [Wed, 25 May 2011 14:13:04 +0000 (14:13 +0000)] 
routing: Create routing database and set routes for ipv4.

12 years agoEnhance logging with colors and output to stderr.
Michael Tremer [Sun, 22 May 2011 12:38:44 +0000 (12:38 +0000)] 
Enhance logging with colors and output to stderr.

12 years agoAdd support to set the hostname.
Michael Tremer [Sat, 30 Apr 2011 12:20:16 +0000 (12:20 +0000)] 
Add support to set the hostname.

Compatible with systemd.

13 years agoRemove dependency to upstart.
Michael Tremer [Fri, 8 Apr 2011 18:08:13 +0000 (20:08 +0200)] 
Remove dependency to upstart.

13 years agoInitial support for modems (PPP).
Arne Fitzenreiter [Sun, 3 Apr 2011 19:00:08 +0000 (19:00 +0000)] 
Initial support for modems (PPP).

Works for 3G/UMTS/CDMA and serial modems.

13 years agoInitial support for encrypted wireless networks.
Arne Fitzenreiter [Sun, 3 Apr 2011 14:04:22 +0000 (14:04 +0000)] 
Initial support for encrypted wireless networks.

Done at the developer meeting at Erkrath.

13 years agoFix weird device CLI command.
Michael Tremer [Sat, 12 Mar 2011 11:07:32 +0000 (11:07 +0000)] 
Fix weird device CLI command.

For now, discover and show are supported.

42 years agoipv[46]-static: Sum up some functions.
Michael Tremer [Mon, 14 Sep 1981 17:56:44 +0000 (17:56 +0000)] 
ipv[46]-static: Sum up some functions.

I packed some functions together that were kinda redundant
for both protocols. Plus a lot of bug fixing.

42 years agoMake versioning of IP protocols more modular.
Michael Tremer [Mon, 14 Sep 1981 16:12:37 +0000 (16:12 +0000)] 
Make versioning of IP protocols more modular.

42 years agobridge: Automatically enable promisc mode.
Michael Tremer [Mon, 14 Sep 1981 02:13:37 +0000 (02:13 +0000)] 
bridge: Automatically enable promisc mode.

There is (maybe) a bug in the linux kernel that
we need to set every bridge into promisc mode to
get traffic out through the bridges.

13 years agoFix error in Makefile.
Michael Tremer [Sat, 9 Oct 2010 22:02:07 +0000 (00:02 +0200)] 
Fix error in Makefile.

13 years agoAdd Makefile.
Michael Tremer [Sat, 9 Oct 2010 19:21:50 +0000 (21:21 +0200)] 
Add Makefile.

13 years agoAdd README.
Michael Tremer [Sat, 9 Oct 2010 18:57:54 +0000 (20:57 +0200)] 
Add README.

13 years agonetwork: Fix duplicate check.
Michael Tremer [Sat, 31 Jul 2010 18:52:29 +0000 (20:52 +0200)] 
network: Fix duplicate check.

13 years agonetwork: Some more general IP functions.
Michael Tremer [Sat, 31 Jul 2010 10:57:00 +0000 (12:57 +0200)] 
network: Some more general IP functions.

13 years agonetwork: Improve IPV4 support.
Michael Tremer [Sat, 31 Jul 2010 10:55:15 +0000 (12:55 +0200)] 
network: Improve IPV4 support.

  Add support for duplicate IP addresses in network.
  Announce new address to neighbours.

13 years agonetwork: Initialize the IPv6 stack.
Michael Tremer [Sat, 31 Jul 2010 10:53:20 +0000 (12:53 +0200)] 
network: Initialize the IPv6 stack.

13 years agonetwork: Add new check for ethernet devices.
Michael Tremer [Sat, 31 Jul 2010 10:52:29 +0000 (12:52 +0200)] 
network: Add new check for ethernet devices.

13 years agonetwork: Initial support for IPv6 tunnels with aiccu.
Michael Tremer [Thu, 29 Jul 2010 19:53:48 +0000 (21:53 +0200)] 
network: Initial support for IPv6 tunnels with aiccu.

13 years agonetwork: Updated stp framework.
Michael Tremer [Thu, 29 Jul 2010 12:43:26 +0000 (14:43 +0200)] 
network: Updated stp framework.

Add support for 802.1d.

13 years agonetwork: Change configuration variables of hook 'virtual' to make clearer what they do.
Michael Tremer [Sun, 25 Jul 2010 16:43:20 +0000 (18:43 +0200)] 
network: Change configuration variables of hook 'virtual' to make clearer what they do.

13 years agonetwork: Change name of access point devices to apN.
Michael Tremer [Sun, 25 Jul 2010 16:29:45 +0000 (18:29 +0200)] 
network: Change name of access point devices to apN.

13 years agonetwork: Add some sanity checks when removing a port.
Michael Tremer [Sun, 25 Jul 2010 16:28:35 +0000 (18:28 +0200)] 
network: Add some sanity checks when removing a port.

13 years agonetwork: Some code cleanup.
Michael Tremer [Sun, 25 Jul 2010 12:59:05 +0000 (14:59 +0200)] 
network: Some code cleanup.

13 years agonetwork: Experimental support for wireless access points.
Michael Tremer [Sun, 25 Jul 2010 12:17:13 +0000 (14:17 +0200)] 
network: Experimental support for wireless access points.

13 years agonetwork: STP: Make protocol version configureable.
Michael Tremer [Fri, 23 Jul 2010 22:38:07 +0000 (00:38 +0200)] 
network: STP: Make protocol version configureable.

13 years agonetwork: Remove deprecated functions.
Michael Tremer [Fri, 23 Jul 2010 13:31:11 +0000 (15:31 +0200)] 
network: Remove deprecated functions.

13 years agonetwork: Automatically create all ethernet ports.
Michael Tremer [Fri, 23 Jul 2010 13:10:58 +0000 (15:10 +0200)] 
network: Automatically create all ethernet ports.

13 years agonetwork: Do initial configuration once at boot time.
Michael Tremer [Fri, 23 Jul 2010 11:40:27 +0000 (13:40 +0200)] 
network: Do initial configuration once at boot time.

13 years agonetwork: ipv4-static: Apply gateway settings.
Michael Tremer [Wed, 21 Jul 2010 18:30:31 +0000 (20:30 +0200)] 
network: ipv4-static: Apply gateway settings.

13 years agonetwork: Init ppp when running network.
Michael Tremer [Wed, 21 Jul 2010 15:45:51 +0000 (17:45 +0200)] 
network: Init ppp when running network.

13 years agonetwork: Logging changes on ip-updown.
Michael Tremer [Sun, 18 Jul 2010 21:06:45 +0000 (23:06 +0200)] 
network: Logging changes on ip-updown.

pppd will not be able to print any error messages
so we use assert which will dump a possible error
to the log file.

13 years agonetwork: Some work on configuration code.
Michael Tremer [Sat, 17 Jul 2010 13:16:12 +0000 (15:16 +0200)] 
network: Some work on configuration code.

13 years agonetwrk: Remove unused function.
Michael Tremer [Sat, 17 Jul 2010 08:49:43 +0000 (10:49 +0200)] 
netwrk: Remove unused function.

13 years agonetwork: Replace listsort by a function that doesn't use /usr/bin/sort.
Michael Tremer [Sat, 17 Jul 2010 08:45:58 +0000 (10:45 +0200)] 
network: Replace listsort by a function that doesn't use /usr/bin/sort.

13 years agonetwork: Code cleanup.
Michael Tremer [Sat, 17 Jul 2010 08:12:35 +0000 (10:12 +0200)] 
network: Code cleanup.

We cannot use sort.
There was an unknown function. Don't know if we must keep it.

13 years agonetwork: Optimize help function.
Michael Tremer [Fri, 16 Jul 2010 17:50:10 +0000 (19:50 +0200)] 
network: Optimize help function.

13 years agonetwork: Add reset option.
Michael Tremer [Fri, 16 Jul 2010 16:15:24 +0000 (18:15 +0200)] 
network: Add reset option.

13 years agonetwork: Oops. Forgot some files.
Michael Tremer [Sun, 11 Jul 2010 16:37:10 +0000 (18:37 +0200)] 
network: Oops. Forgot some files.

13 years agonetwork: Initialize bonding at start.
Michael Tremer [Sat, 10 Jul 2010 18:07:59 +0000 (20:07 +0200)] 
network: Initialize bonding at start.

13 years agonetwork: Add possibility to remove ports from zone of type bridge.
Michael Tremer [Sat, 10 Jul 2010 17:56:44 +0000 (19:56 +0200)] 
network: Add possibility to remove ports from zone of type bridge.

13 years agonetwork: Add some more checks if detatching a device from a bridge.
Michael Tremer [Sat, 10 Jul 2010 17:56:23 +0000 (19:56 +0200)] 
network: Add some more checks if detatching a device from a bridge.

13 years agonetwork: Add some initialization handlers.
Michael Tremer [Sat, 10 Jul 2010 17:37:43 +0000 (19:37 +0200)] 
network: Add some initialization handlers.

13 years agonetwork: Move virtual functions to seperate file and rename them.
Michael Tremer [Sat, 10 Jul 2010 17:33:39 +0000 (19:33 +0200)] 
network: Move virtual functions to seperate file and rename them.

13 years agonetwork: Put bridge functions into extra file.
Michael Tremer [Sat, 10 Jul 2010 17:21:23 +0000 (19:21 +0200)] 
network: Put bridge functions into extra file.

13 years agonetwork: Fix bridge functions.
Michael Tremer [Sat, 10 Jul 2010 17:15:55 +0000 (19:15 +0200)] 
network: Fix bridge functions.

13 years agonetwork: Proper exit codes for bridge hook.
Michael Tremer [Sat, 10 Jul 2010 16:59:41 +0000 (18:59 +0200)] 
network: Proper exit codes for bridge hook.

13 years agonetwork: Again very much changes that are hard to break down.
Michael Tremer [Sat, 10 Jul 2010 16:55:08 +0000 (18:55 +0200)] 
network: Again very much changes that are hard to break down.

13 years agonetwork: Remove some unneeded functions.
Michael Tremer [Sat, 10 Jul 2010 08:34:04 +0000 (10:34 +0200)] 
network: Remove some unneeded functions.

13 years agonetwork: Magnificent changes on code.
Michael Tremer [Fri, 9 Jul 2010 19:37:47 +0000 (21:37 +0200)] 
network: Magnificent changes on code.

13 years agonetwork: Make two groups of hooks, again.
Michael Tremer [Sun, 20 Jun 2010 10:27:21 +0000 (12:27 +0200)] 
network: Make two groups of hooks, again.

13 years agonetwork: New hook ipv6-static.
Michael Tremer [Sat, 19 Jun 2010 13:15:44 +0000 (15:15 +0200)] 
network: New hook ipv6-static.

13 years agonetwork: Change status output of ipv4-static hook.
Michael Tremer [Sat, 19 Jun 2010 13:14:46 +0000 (15:14 +0200)] 
network: Change status output of ipv4-static hook.

This will make the output more readable when there are
IP addresses with different length.

13 years agonetwork: Faster implementation of seq and lowercase.
Michael Tremer [Sat, 19 Jun 2010 13:13:39 +0000 (15:13 +0200)] 
network: Faster implementation of seq and lowercase.

13 years agonetwork: Don't wait that zone gets in forwarding state.
Michael Tremer [Fri, 18 Jun 2010 19:03:22 +0000 (21:03 +0200)] 
network: Don't wait that zone gets in forwarding state.

We should catch this in the config hook.

13 years agonetwork: New function beautify_time.
Michael Tremer [Fri, 18 Jun 2010 19:00:24 +0000 (21:00 +0200)] 
network: New function beautify_time.

This functions does pretty printing for the topology change time.
(No very precise but okay as far as I can see.)

EDIT: Also committed STP_PRIORITY by accident.

13 years agonetwork: Make code shorter (no functional changes).
Michael Tremer [Fri, 18 Jun 2010 17:54:16 +0000 (19:54 +0200)] 
network: Make code shorter (no functional changes).

13 years agonetwork: Allow -h and --help to request help.
Michael Tremer [Fri, 18 Jun 2010 17:53:01 +0000 (19:53 +0200)] 
network: Allow -h and --help to request help.

13 years agonetwork: Only jump to help if the --help parameter is the next parameter.
Michael Tremer [Fri, 18 Jun 2010 17:52:32 +0000 (19:52 +0200)] 
network: Only jump to help if the --help parameter is the next parameter.

13 years agonetwork: Cleanup colour namespace.
Michael Tremer [Fri, 18 Jun 2010 17:40:19 +0000 (19:40 +0200)] 
network: Cleanup colour namespace.

13 years agonetwork: Add shortcut "network status <zone>".
Michael Tremer [Fri, 18 Jun 2010 17:37:36 +0000 (19:37 +0200)] 
network: Add shortcut "network status <zone>".

13 years agonetwork: Update routing functions.
Michael Tremer [Thu, 17 Jun 2010 22:58:10 +0000 (00:58 +0200)] 
network: Update routing functions.

Bigger commit, sorry.

13 years agonetwork: New function device_is_promisc.
Michael Tremer [Thu, 17 Jun 2010 22:57:01 +0000 (00:57 +0200)] 
network: New function device_is_promisc.

13 years agonetwork: pppoe: Add some nice status output.
Michael Tremer [Thu, 17 Jun 2010 22:36:18 +0000 (00:36 +0200)] 
network: pppoe: Add some nice status output.

13 years agonetwork: bridge ipv4-static: Add some nice status output.
Michael Tremer [Thu, 17 Jun 2010 22:35:53 +0000 (00:35 +0200)] 
network: bridge ipv4-static: Add some nice status output.

13 years agonetwork: bridge virtual: Add some nice status output.
Michael Tremer [Thu, 17 Jun 2010 22:33:59 +0000 (00:33 +0200)] 
network: bridge virtual: Add some nice status output.

13 years agonetwork: bridge ethernet: Add some nice status output.
Michael Tremer [Thu, 17 Jun 2010 22:33:40 +0000 (00:33 +0200)] 
network: bridge ethernet: Add some nice status output.

13 years agonetwork: bridge: Add some nice status output.
Michael Tremer [Thu, 17 Jun 2010 22:32:08 +0000 (00:32 +0200)] 
network: bridge: Add some nice status output.

13 years agonetwork: ipv4-static: Set gateway only on nonlocal connections.
Michael Tremer [Thu, 17 Jun 2010 22:27:15 +0000 (00:27 +0200)] 
network: ipv4-static: Set gateway only on nonlocal connections.

13 years agonetwork: Add two functions to make very nice status output.
Michael Tremer [Thu, 17 Jun 2010 22:25:36 +0000 (00:25 +0200)] 
network: Add two functions to make very nice status output.

13 years agonetwork: pppoe: Kill pppd daemon in a better way.
Michael Tremer [Thu, 17 Jun 2010 22:24:52 +0000 (00:24 +0200)] 
network: pppoe: Kill pppd daemon in a better way.

13 years agonetwork: New function zone_is_up, zone_is_down, zone_is_nonlocal.
Michael Tremer [Thu, 17 Jun 2010 22:22:54 +0000 (00:22 +0200)] 
network: New function zone_is_up, zone_is_down, zone_is_nonlocal.

These are only shortcut functions that make life easier.

13 years agonetwork: New function uppercase (very fast).
Michael Tremer [Thu, 17 Jun 2010 22:20:30 +0000 (00:20 +0200)] 
network: New function uppercase (very fast).

13 years agonetwork: Speedup function uuid.
Michael Tremer [Thu, 17 Jun 2010 22:20:04 +0000 (00:20 +0200)] 
network: Speedup function uuid.

13 years agonetwork: New function mac_format.
Michael Tremer [Thu, 17 Jun 2010 22:19:16 +0000 (00:19 +0200)] 
network: New function mac_format.

13 years agonetwork: Speedup function mac_generate.
Michael Tremer [Thu, 17 Jun 2010 22:15:27 +0000 (00:15 +0200)] 
network: Speedup function mac_generate.

13 years agonetwork: Speedup function device_get_mac.
Michael Tremer [Thu, 17 Jun 2010 22:14:16 +0000 (00:14 +0200)] 
network: Speedup function device_get_mac.

13 years agonetwork: Speedup function device_hash.
Michael Tremer [Thu, 17 Jun 2010 22:11:41 +0000 (00:11 +0200)] 
network: Speedup function device_hash.

13 years agonetwork: Enhance colour functions.
Michael Tremer [Thu, 17 Jun 2010 22:02:07 +0000 (00:02 +0200)] 
network: Enhance colour functions.

Automatically enabled/disable colours.

Add some preset colours.

13 years agonetwork: Catch exit code of pppd.
Michael Tremer [Thu, 10 Jun 2010 20:59:31 +0000 (22:59 +0200)] 
network: Catch exit code of pppd.

13 years agonetwork: Remove deprecated function device_set_mac.
Michael Tremer [Sun, 6 Jun 2010 14:59:33 +0000 (16:59 +0200)] 
network: Remove deprecated function device_set_mac.

13 years agonetwork: device_set_{down,up} do set-up/tear-down their parent devices.
Michael Tremer [Sun, 6 Jun 2010 14:47:17 +0000 (16:47 +0200)] 
network: device_set_{down,up} do set-up/tear-down their parent devices.

13 years agonetwork: Improve function that creates virtual devices.
Michael Tremer [Sun, 6 Jun 2010 13:37:11 +0000 (15:37 +0200)] 
network: Improve function that creates virtual devices.

This function grabs unused and preconfigured devices and
does a lot more checking if it operates correctly.

13 years agonetwork: Log assertion errors.
Michael Tremer [Sun, 6 Jun 2010 13:36:26 +0000 (15:36 +0200)] 
network: Log assertion errors.

13 years agonetwork: Add help for zone command.
Michael Tremer [Fri, 4 Jun 2010 23:37:45 +0000 (01:37 +0200)] 
network: Add help for zone command.