]>
git.ipfire.org Git - people/ms/network.git/log
Michael Tremer [Sun, 23 Sep 2012 20:08:25 +0000 (20:08 +0000)]
Move phy functions in their own file.
Michael Tremer [Sun, 23 Sep 2012 19:54:30 +0000 (19:54 +0000)]
Completely remove old colour stuff.
Michael Tremer [Sun, 23 Sep 2012 19:43:15 +0000 (19:43 +0000)]
stp: Correctly set protocol version.
Michael Tremer [Sun, 23 Sep 2012 19:38:48 +0000 (19:38 +0000)]
Revert "stp: Remove function that switches protocols."
This reverts commit
78570028ea72b1cb5ca28835f64057f3f030f02e .
Michael Tremer [Sun, 23 Sep 2012 19:28:55 +0000 (19:28 +0000)]
ipv6-static: Make status output more beatiful.
Michael Tremer [Sun, 23 Sep 2012 19:22:46 +0000 (19:22 +0000)]
dummy: Actually bring up the port.
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.
Michael Tremer [Sun, 23 Sep 2012 18:13:41 +0000 (18:13 +0000)]
bridge-stp: Move to helpers directory.
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.
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.
Michael Tremer [Sun, 23 Sep 2012 15:13:23 +0000 (15:13 +0000)]
bridge: Make enable/disable STP independent from brctl.
Michael Tremer [Sun, 23 Sep 2012 14:36:08 +0000 (14:36 +0000)]
Fix printing of headlines.
Michael Tremer [Sun, 23 Sep 2012 14:21:17 +0000 (14:21 +0000)]
Add hook for dummy ports.
Michael Tremer [Sun, 23 Sep 2012 14:18:20 +0000 (14:18 +0000)]
Remove the event system which is not needed.
Michael Tremer [Sun, 23 Sep 2012 14:13:59 +0000 (14:13 +0000)]
Fix blank lines on terminals with black background.
Michael Tremer [Sun, 23 Sep 2012 12:30:35 +0000 (12:30 +0000)]
bridge: Fix typo.
Michael Tremer [Sun, 23 Sep 2012 12:30:14 +0000 (12:30 +0000)]
Add macvlan port hook.
Michael Tremer [Sun, 23 Sep 2012 11:18:42 +0000 (11:18 +0000)]
bridge: Replace brctl by ip.
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.
Michael Tremer [Sun, 16 Sep 2012 18:07:15 +0000 (18:07 +0000)]
wireless-ap: Add support for 802.11a and 802.11n APs.
Michael Tremer [Sat, 15 Sep 2012 18:43:16 +0000 (18:43 +0000)]
routing: Fix construction of invalid ip command.
Michael Tremer [Sat, 15 Sep 2012 18:39:18 +0000 (18:39 +0000)]
dhcpd: Add basic DHCP server functionality for IPv6 and IPv4.
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...
Michael Tremer [Sat, 15 Sep 2012 13:22:57 +0000 (13:22 +0000)]
ip: Remove log message when IP protocol could not be detected.
Michael Tremer [Sat, 15 Sep 2012 13:21:27 +0000 (13:21 +0000)]
cli: Shrink indentation to 2 spaces.
Michael Tremer [Thu, 13 Sep 2012 15:00:49 +0000 (15:00 +0000)]
config: Fix reading in empty values.
Michael Tremer [Mon, 10 Sep 2012 08:33:55 +0000 (08:33 +0000)]
util: Create an assertion test for IP addresses.
Michael Tremer [Mon, 10 Sep 2012 08:33:13 +0000 (08:33 +0000)]
list: Add function to join a list.
Michael Tremer [Mon, 10 Sep 2012 08:32:20 +0000 (08:32 +0000)]
cli: Check for correct arguments in cli_ident.
Michael Tremer [Sat, 8 Sep 2012 14:46:07 +0000 (14:46 +0000)]
service: Require complete name of systemd unit file.
Michael Tremer [Sat, 8 Sep 2012 09:35:06 +0000 (09:35 +0000)]
config: Read all configuration variables into an array.
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.
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.
Michael Tremer [Sun, 2 Sep 2012 15:03:31 +0000 (15:03 +0000)]
wireless-ap: Add WPA/WPA2 encryption.
Michael Tremer [Sat, 11 Aug 2012 14:53:57 +0000 (14:53 +0000)]
route: Create a log message, when (re)loading static routes.
Michael Tremer [Sat, 11 Aug 2012 14:49:02 +0000 (14:49 +0000)]
route: Add documentation.
Michael Tremer [Sat, 11 Aug 2012 13:02:52 +0000 (13:02 +0000)]
route: Add prohibit and blackhole routes.
Michael Tremer [Sat, 11 Aug 2012 12:27:07 +0000 (12:27 +0000)]
route: Add code to apply static route configuration.
Michael Tremer [Fri, 10 Aug 2012 13:27:23 +0000 (13:27 +0000)]
Add commands to manage static routes.
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.
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 '='.
Michael Tremer [Wed, 8 Aug 2012 13:50:53 +0000 (13:50 +0000)]
Add functions to handle lists very easily.
Michael Tremer [Wed, 8 Aug 2012 12:55:33 +0000 (12:55 +0000)]
Introduce concept of firewall zones.
Michael Tremer [Wed, 8 Aug 2012 10:16:33 +0000 (10:16 +0000)]
Import some experimental Open vSwitch code.
Michael Tremer [Fri, 3 Aug 2012 10:28:16 +0000 (10:28 +0000)]
vlan: Check if the kernel has got VLAN support.
Michael Tremer [Fri, 3 Aug 2012 10:26:46 +0000 (10:26 +0000)]
network: Don't show link speed when device is not up.
Michael Tremer [Wed, 1 Aug 2012 18:33:25 +0000 (18:33 +0000)]
Add some minor input validation for configuration settings.
Michael Tremer [Wed, 1 Aug 2012 18:29:19 +0000 (18:29 +0000)]
Fix typo introduced in the last commit.
Michael Tremer [Wed, 1 Aug 2012 18:25:55 +0000 (18:25 +0000)]
Move firewall default configuration to an extra file.
Michael Tremer [Wed, 1 Aug 2012 18:02:21 +0000 (18:02 +0000)]
firewall: Make clamp PMTU configurable.
Michael Tremer [Sun, 29 Jul 2012 16:52:40 +0000 (16:52 +0000)]
firewall: Add rule to clamp PMTU.
Michael Tremer [Sun, 29 Jul 2012 14:30:48 +0000 (14:30 +0000)]
firewall: Add basic IPv6 ruleset generation and macros.
Michael Tremer [Sun, 29 Jul 2012 12:22:42 +0000 (12:22 +0000)]
util: Make a shortcut for "which".
Michael Tremer [Sat, 28 Jul 2012 09:05:05 +0000 (09:05 +0000)]
Fix some syntax errors.
Michael Tremer [Sat, 28 Jul 2012 09:03:11 +0000 (09:03 +0000)]
Make the print function print strings that start with a dash.
Michael Tremer [Wed, 18 Jul 2012 12:12:12 +0000 (12:12 +0000)]
firewall: Enable connection tracking accounting.
Michael Tremer [Sun, 1 Jul 2012 15:42:31 +0000 (15:42 +0000)]
Enhanced modem support.
This patch adds a very advanced solution for dialup
connection with serial modems (56k, UMTS, LTE and more).
Michael Tremer [Sat, 30 Jun 2012 13:12:57 +0000 (13:12 +0000)]
DNS: Add RDNSS functionality.
The radv daemon is now able to announce DNS servers.
There have also been bugfixes for minor problems.
Michael Tremer [Sat, 30 Jun 2012 13:02:05 +0000 (13:02 +0000)]
Fix printing the down message.
The background color has not been reset.
Michael Tremer [Sat, 30 Jun 2012 09:53:21 +0000 (09:53 +0000)]
logging: Fix output on different consoles.
Michael Tremer [Sat, 30 Jun 2012 09:52:46 +0000 (09:52 +0000)]
Introduce exit code for unknown boolean values.
Michael Tremer [Sat, 30 Jun 2012 09:50:52 +0000 (09:50 +0000)]
Change assertion exit code.
Michael Tremer [Sat, 30 Jun 2012 09:48:41 +0000 (09:48 +0000)]
assert_check_retval: New function.
This function takes one argument which is an exit code
of a previously called function.
If the exit code equals the assertion exit code, the
script stops immediately.
Michael Tremer [Sat, 30 Jun 2012 09:48:07 +0000 (09:48 +0000)]
assert: Let assert exit with the right exit code.
Michael Tremer [Sat, 30 Jun 2012 09:46:35 +0000 (09:46 +0000)]
backtrace: Show something in backtrace when a function was called on a shell.
Michael Tremer [Sun, 24 Jun 2012 23:18:10 +0000 (23:18 +0000)]
Bump version to 004.
Michael Tremer [Sun, 24 Jun 2012 13:58:12 +0000 (13:58 +0000)]
pppoe: Fix wrong variable name (auth methods).
Michael Tremer [Sun, 24 Jun 2012 13:31:38 +0000 (13:31 +0000)]
pppoe-server: Update docs (--max-sessions=...).
Michael Tremer [Sun, 24 Jun 2012 13:20:40 +0000 (13:20 +0000)]
pppoe-server: Add option to limit sessions per MAC.
Michael Tremer [Sun, 24 Jun 2012 12:34:52 +0000 (12:34 +0000)]
bridge: Fix spacing in config list.
Michael Tremer [Sun, 24 Jun 2012 12:31:29 +0000 (12:31 +0000)]
pppoe-server: Add more information to status output.
Michael Tremer [Sat, 23 Jun 2012 23:18:21 +0000 (23:18 +0000)]
dns: Don't update resolv.conf when showing the list of DNS servers.
Michael Tremer [Sat, 23 Jun 2012 22:57:57 +0000 (22:57 +0000)]
pppoe-server: Add documentation.
Michael Tremer [Sat, 23 Jun 2012 22:32:25 +0000 (22:32 +0000)]
pppoe-server: Remove -k flag.
Our version of rp-pppoe's pppoe-server does not support
the userspace implementation. Therefore, kernel-mode
PPPoE is enabled by default and the -k option is not
present anymore.
Michael Tremer [Sat, 23 Jun 2012 22:16:03 +0000 (22:16 +0000)]
Remove old comment.
Michael Tremer [Sat, 23 Jun 2012 22:13:55 +0000 (22:13 +0000)]
util: Remove touch replacement.
The removed function removed all content from the file which
is inconvenient. Touch is not called too often though.
Michael Tremer [Sat, 23 Jun 2012 20:38:11 +0000 (20:38 +0000)]
pppoe-server: New (client) hook.
Michael Tremer [Sat, 23 Jun 2012 20:37:38 +0000 (20:37 +0000)]
logging: Fix logging to the debug console.
Michael Tremer [Sat, 23 Jun 2012 20:36:20 +0000 (20:36 +0000)]
ip: Remove an unusable log line.
Michael Tremer [Sat, 23 Jun 2012 20:35:50 +0000 (20:35 +0000)]
util: Reuse listmatch for isoneof.
Michael Tremer [Sat, 23 Jun 2012 15:54:32 +0000 (15:54 +0000)]
config: Don't change the HOOK variable when sourcing a configuration file.
Michael Tremer [Sat, 23 Jun 2012 10:29:07 +0000 (10:29 +0000)]
ppp: Make up/down scripts usable for other things.
If there is no such zone, we don't do anything.
Michael Tremer [Fri, 22 Jun 2012 12:34:05 +0000 (12:34 +0000)]
ppp: Add some advanced settings.
LCP echo failure and interval as well as the default-asyncmap option.
Michael Tremer [Fri, 22 Jun 2012 11:23:16 +0000 (11:23 +0000)]
ppp: Make sure that the routing tables are up to date.
Michael Tremer [Fri, 22 Jun 2012 11:08:23 +0000 (11:08 +0000)]
pppd: Start the daemon and wait for an established connection.
Thanks to Lennart Poettering for advice how to solve this problem.
pppd now will be started by systemd and try to establish the connection.
systemctl start ... will block until the connection was established
(i.e. pppd forked into the background) or pppd exited.
The exit code will then be retrieved by systemctl show for
further processing.
Michael Tremer [Fri, 22 Jun 2012 11:06:56 +0000 (11:06 +0000)]
pppoe: Bring up/down the port before/after pppd is started/stopped.
Michael Tremer [Fri, 22 Jun 2012 10:11:48 +0000 (10:11 +0000)]
ipv4_get_netaddress: Allow passing a single IP address.
Michael Tremer [Thu, 21 Jun 2012 23:08:56 +0000 (23:08 +0000)]
Reword the automatic configuration file header.
The wording was not quite good and this should be
much better when reading fast.
Michael Tremer [Thu, 21 Jun 2012 23:06:58 +0000 (23:06 +0000)]
DNS: Generate resolv.conf when starting up the network.
Michael Tremer [Thu, 21 Jun 2012 23:05:09 +0000 (23:05 +0000)]
DNS: Add options to configure local DNS servers.
Michael Tremer [Thu, 21 Jun 2012 19:25:32 +0000 (19:25 +0000)]
pppoe: Fix syntax error.
Michael Tremer [Wed, 20 Jun 2012 23:19:34 +0000 (23:19 +0000)]
pppoe: Rework hook.
Michael Tremer [Mon, 18 Jun 2012 17:19:34 +0000 (17:19 +0000)]
Add PID number to log facility.
Michael Tremer [Sun, 17 Jun 2012 23:54:04 +0000 (23:54 +0000)]
Define a proper PATH variable.
Michael Tremer [Sun, 17 Jun 2012 23:42:01 +0000 (23:42 +0000)]
Create status output for ports.
Michael Tremer [Sun, 17 Jun 2012 22:52:30 +0000 (22:52 +0000)]
Remove option to disable coloured output.
Michael Tremer [Sun, 17 Jun 2012 22:48:05 +0000 (22:48 +0000)]
Tidy up coloured logging code.
Michael Tremer [Sun, 17 Jun 2012 22:38:25 +0000 (22:38 +0000)]
Update the output of some hooks.
Michael Tremer [Sun, 17 Jun 2012 22:33:20 +0000 (22:33 +0000)]
Rework colours.
It is terrible to create coloured output without writing too
many lines of code. So these new variables are named a bit shorter
and there is also the possibility to colour the background and stuff.
There are now some predefined lines which will be handy and used
very often.
Michael Tremer [Sun, 17 Jun 2012 22:32:51 +0000 (22:32 +0000)]
routing: Fix creating of routing tables for uplinks.