After installing a new m0n0wall kernel based on the patches for
version 1.2 (http://m0n0.ch/wall/downloads/kernel-patches-530.tgz)
I've noticed that the traffic shaper stopped working interfering with
the forwarding of packets. Basically traffic to/from the WAN is
blocked. Disabling the traffic shaper the traffic keeps flowing as
usual.
The only patch that didn't apply cleanly is the one on
sys/contrib/ipfilter/netinet/mlfk_ipl.c which produced this reject:
***************
*** 23,29 ****
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $FreeBSD: /repoman/r/ncvs/src/sys/contrib/ipfilter/netinet/mlfk_ipl.c,v 1.13 2004/06/16
09:46:34 phk Exp $
*/
--- 23,29 ----
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * $FreeBSD: src/sys/contrib/ipfilter/netinet/mlfk_ipl.c,v 1.13 2004/06/16 09:46:34 phk Exp $
*/
***************
*** 102,107 ****
SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_minttl, CTLFLAG_RW, &fr_minttl, 0, "");
SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_minttllog, CTLFLAG_RW,
&fr_minttllog, 0, "");
#define CDEV_MAJOR 79
static struct cdevsw ipl_cdevsw = {
--- 102,111 ----
SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_minttl, CTLFLAG_RW, &fr_minttl, 0, "");
SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_minttllog, CTLFLAG_RW,
&fr_minttllog, 0, "");
+ SYSCTL_INT(_net_inet_ipf, OID_AUTO, fr_mssclamp, CTLFLAG_RW,
+ &fr_mssclamp, 0, "");
+ SYSCTL_STRING(_net_inet_ipf, OID_AUTO, fr_mssif, CTLFLAG_RW,
+ fr_mssif, IFNAMSIZ, "");
#define CDEV_MAJOR 79
static struct cdevsw ipl_cdevsw = {
The second part appears to be already applied, so I didn't bothered to
investigate any further.
By the way, the same goes for the kernel based on FreeBSD 5.4:
everything appears to work fine beside the traffic shaper.
Is there something I should have taken care of, that is not already
explained in http://www.m0n0.ch/wall/hack/?
--
walter pelissero
http://www.pelissero.de |