Re: [PATCH 2/6] add device setting for disabeling arp

2022-11-04 Thread Joerg Vehlow
Hi Oldrich, Am 11/4/2022 um 8:54 AM schrieb Oldřich Jedlička: >> diff --git a/system-linux.c b/system-linux.c >> index 6232a26..7b82e17 100644 >> --- a/system-linux.c >> +++ b/system-linux.c >> @@ -1736,6 +1736,9 @@ system_if_get_settings(struct device *dev, struct >> device_settings *s) >> >>

[PATCH 5/6] add device setting for ipv6 hop limit

2022-11-03 Thread Joerg Vehlow
From: Joerg Vehlow --- device.c | 9 + device.h | 3 +++ system-linux.c | 21 + 3 files changed, 33 insertions(+) diff --git a/device.c b/device.c index 0860c55..80fa359 100644 --- a/device.c +++ b/device.c @@ -68,6 +68,7 @@ static const struct

[PATCH 6/6] add route setting for advertised mss

2022-11-03 Thread Joerg Vehlow
From: Joerg Vehlow --- interface-ip.c | 7 +++ interface-ip.h | 4 system-linux.c | 7 +-- ubus.c | 4 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/interface-ip.c b/interface-ip.c index ab4a5cf..02314cd 100644 --- a/interface-ip.c +++ b/interface

[PATCH 3/6] add device setting for controlling ipv6 routing header

2022-11-03 Thread Joerg Vehlow
From: Joerg Vehlow ip6_accept_routing_header with values: - all: Allow all routing headers - rh2: Allow only routing header 2 - none: Ignore all routing headers --- device.c | 31 +++ device.h | 3 +++ system-linux.c | 20 3 files

[PATCH 0/6] netifd: add various tcp/ip parameters

2022-11-03 Thread Joerg Vehlow
Hi, these patches add various (more or less useful) parameters to netifd configuration for the tcp and ip layer. They may or may not be helpful for openwrt users and I am willing to rename them or change the value semantics, if requested. Joerg ___

[PATCH 2/6] add device setting for disabeling arp

2022-11-03 Thread Joerg Vehlow
From: Joerg Vehlow --- device.c | 7 +++ device.h | 3 +++ system-linux.c | 7 +++ 3 files changed, 17 insertions(+) diff --git a/device.c b/device.c index 4f55906..9ed50ef 100644 --- a/device.c +++ b/device.c @@ -65,6 +65,7 @@ static const struct blobmsg_policy dev_attrs

[PATCH 4/6] add global option for ipv4 default ttl

2022-11-03 Thread Joerg Vehlow
From: Joerg Vehlow --- config.c | 21 + system-dummy.c | 4 system-linux.c | 18 ++ system.h | 10 ++ 4 files changed, 49 insertions(+), 4 deletions(-) diff --git a/config.c b/config.c index 9bbda39..93df20e 100644 --- a/config.c

[PATCH 1/6] add device setting for ip forwarding

2022-11-03 Thread Joerg Vehlow
From: Joerg Vehlow This allows changing the ip_forwarding setting per device for ipv4 and ipv6 with ip_forwarding and ip6_forwarding --- device.c | 18 ++ device.h | 6 ++ system-linux.c | 37 + 3 files changed, 61 insertions

[PATCH] libnl-tiny: set SOCK_CLOEXEC if available

2022-10-26 Thread Joerg Vehlow
From: Joerg Vehlow If CLOEXEC is not set on the netlink socket, restarting netifd using ubus fails with "Failed to initialize system control", because the bind call in nl_connect fails with EADDRINUSE, due to the inherited socket handle. Also it does not make sense, to leak the handl

Re: Contributions to netifd

2022-08-26 Thread Joerg Vehlow
Hi, sorry for the long response time Am 8/3/2022 um 11:00 AM schrieb Jo-Philipp Wich: > Hi Joerg, > > >> we are a company of experts for automotive software and are working for >> many customers in the automotive industry. >> >> One of our customers (a big german automotive supplier) is looking

Contributions to netifd

2022-08-03 Thread Joerg Vehlow
Hi, we are a company of experts for automotive software and are working for many customers in the automotive industry. One of our customers (a big german automotive supplier) is looking for a network configuration solution with some specific limitations and after evaluating several alternatives (