project/relayd.git
13 years agorule: two boolean parameters with a flags field
Felix Fietkau [Fri, 27 Aug 2010 17:20:11 +0000 (19:20 +0200)]
rule: two boolean parameters with a flags field

13 years agosplit off code for sending an rtnl dump request
Felix Fietkau [Thu, 26 Aug 2010 22:01:23 +0000 (00:01 +0200)]
split off code for sending an rtnl dump request

13 years agoImplement an option for setting static routes with gateway
Felix Fietkau [Tue, 17 Aug 2010 17:46:41 +0000 (19:46 +0200)]
Implement an option for setting static routes with gateway

13 years agoImplement a workaround for the policy routing gateway bug
Felix Fietkau [Tue, 17 Aug 2010 15:53:24 +0000 (17:53 +0200)]
Implement a workaround for the policy routing gateway bug

A host route must be reachable from the default rule lookup when using it
to set a gateway, so before we can add a route with a gateway, we temporarily
inject a bogus IP rule pointing at the correct table.
As soon as the route is set, we can remove the bogus IP rule.

13 years agoAdd default gateway and DHCP handling (not fully working yet because of a kernel...
Felix Fietkau [Mon, 16 Aug 2010 22:48:23 +0000 (00:48 +0200)]
Add default gateway and DHCP handling (not fully working yet because of a kernel bug)

13 years agoSplit DHCP code off into a separate source code file
Felix Fietkau [Mon, 16 Aug 2010 19:45:52 +0000 (21:45 +0200)]
Split DHCP code off into a separate source code file

13 years agoUse policy routing to limit the scope of the host routes to affected interfaces
Felix Fietkau [Wed, 11 Aug 2010 16:56:01 +0000 (18:56 +0200)]
Use policy routing to limit the scope of the host routes to affected interfaces

13 years agoCancel pending timeouts before freeing hosts
Felix Fietkau [Wed, 11 Aug 2010 16:41:43 +0000 (18:41 +0200)]
Cancel pending timeouts before freeing hosts

13 years agoFix interface list definition
Felix Fietkau [Wed, 11 Aug 2010 15:56:21 +0000 (17:56 +0200)]
Fix interface list definition

13 years agoPreinitialize more fields of the RTNL request
Felix Fietkau [Wed, 11 Aug 2010 15:53:07 +0000 (17:53 +0200)]
Preinitialize more fields of the RTNL request

13 years agoFlush the route cache after changing routes
Felix Fietkau [Wed, 11 Aug 2010 15:44:21 +0000 (17:44 +0200)]
Flush the route cache after changing routes

13 years agoMove the rtnl code to a separate source file
Felix Fietkau [Wed, 11 Aug 2010 10:41:21 +0000 (12:41 +0200)]
Move the rtnl code to a separate source file

13 years agoMove some data structures and definitions to a header file
Felix Fietkau [Wed, 11 Aug 2010 10:31:02 +0000 (12:31 +0200)]
Move some data structures and definitions to a header file

13 years agoDo not forward ARP responses to the interface that they came from
Felix Fietkau [Wed, 11 Aug 2010 09:12:12 +0000 (11:12 +0200)]
Do not forward ARP responses to the interface that they came from

13 years agoLearn the ARP entry of the DHCP server directly from the DHCP response
Felix Fietkau [Wed, 11 Aug 2010 02:12:17 +0000 (04:12 +0200)]
Learn the ARP entry of the DHCP server directly from the DHCP response

13 years agoCFLAGS: use -Os instead of -O2
Felix Fietkau [Tue, 10 Aug 2010 23:58:37 +0000 (01:58 +0200)]
CFLAGS: use -Os instead of -O2

13 years agoAdd a copyright header (GPL v2)
Felix Fietkau [Tue, 10 Aug 2010 23:57:37 +0000 (01:57 +0200)]
Add a copyright header (GPL v2)

13 years agoAdd LDFLAGS to the Makefile
Felix Fietkau [Tue, 10 Aug 2010 23:49:11 +0000 (01:49 +0200)]
Add LDFLAGS to the Makefile

13 years agoInitial import
Felix Fietkau [Tue, 10 Aug 2010 23:44:32 +0000 (01:44 +0200)]
Initial import