]>
git.ipfire.org Git - people/stevee/network.git/log
Michael Tremer [Mon, 8 Oct 2012 12:48:03 +0000 (12:48 +0000)]
Add quote and unquote functions.
Michael Tremer [Mon, 8 Oct 2012 12:47:22 +0000 (12:47 +0000)]
wpa_supplicant: Fix typo.
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
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.
Michael Tremer [Thu, 4 Oct 2012 18:18:32 +0000 (18:18 +0000)]
modem: Actually stop pppd.
Michael Tremer [Wed, 3 Oct 2012 17:41:33 +0000 (17:41 +0000)]
Bump version to 005.
Michael Tremer [Wed, 3 Oct 2012 16:23:39 +0000 (16:23 +0000)]
iptables: Add some assertions and call external commands with cmd.
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...
Michael Tremer [Wed, 3 Oct 2012 16:07:25 +0000 (16:07 +0000)]
hostapd: Fix empty hw_mode variable.
Michael Tremer [Wed, 3 Oct 2012 16:05:14 +0000 (16:05 +0000)]
firewall: Create CUSTOM* chains like in IPFire 2.
Michael Tremer [Wed, 3 Oct 2012 16:04:21 +0000 (16:04 +0000)]
Make dumping all firewall rules a bit faster.
Michael Tremer [Sat, 29 Sep 2012 17:34:10 +0000 (17:34 +0000)]
logging: Decrease runtime of the log function.
Michael Tremer [Sat, 29 Sep 2012 12:43:01 +0000 (12:43 +0000)]
util: Add some helper functions: fread, fwrite, assign.
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.
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.
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.
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.
Michael Tremer [Sun, 23 Sep 2012 20:16:30 +0000 (20:16 +0000)]
hostapd: Remove unused functions.
Michael Tremer [Sun, 23 Sep 2012 20:14:52 +0000 (20:14 +0000)]
Move wpa_supplicant 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.
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.