What patches are there applied to the kernel ? Also where can i find the config file kernel , so if i know the patches and i have the config file i can rebuild the kernel.
Does the kernel for version 1.0.beta10 has the patches for Dead Gateway Detection ?
The idea is i want to use two internet connections. One to be active and the other one to be used for fail over. Patches available at: http://www.ssi.bg/~ja/#routes
The Linux Kernel 18.104.22.168 of Zeroshell is just the vanilla Kernel with the L7-Filter and IPP2P patches. I compiled it with Fedora 8.
To obtain the configuration you can use the command zcat as follows:
The next release will include load balancing and failover mechanisms for the routers. I do not think to apply any patch to do them, because I prefer an user space daemon that pings the gateways to checks their state, but, in any case I am going to investigate about the patches you suggest.
Thanks for the details. Also how is the initrd built ? (i’d hate to unpackit, change it and pack it back, maybe you have some scripts or automated way). Does the initrd contain any reference to the kernel ? (modules compiled for the running kernel and located in the initrd, hardcoded paths, etc) ?
Regarding the ping approach please take into account that a) a lot of providers do icmp rate limiting on their routers
b) if let’s say you are doing traffic at 99% of the capacity of the line then packet loss will appear and you might switch over to the other link though the current one is ok.
The kernel implementation has it’s disadvantages too like if there is packet loss but still traffic works in both directions with the gateway the the traffic won’t be switched over to the other line ..