Page 1 of 1

weburl crashes the router

Posted: Sun Jan 16, 2011 3:42 am
by tanguy15
I have an x86 board running Backfire built from the latest Backfire branch. I could succussfully compile the weburl kernel module and the iptable extension, but the router crashes a few seconds after inserting the weburl match rule. The same behavior occurs with Backfire 10.03.1-RC3

tanguy

Re: weburl crashes the router

Posted: Mon Jan 24, 2011 12:31 pm
by Eric
I'll try to look into this sometime in the next week.

Re: weburl crashes the router

Posted: Tue Feb 01, 2011 10:21 am
by tanguy15
Thanks Eric,

I'll be delighted to test it on my Alix board

Re: weburl crashes the router

Posted: Sun Feb 06, 2011 1:38 pm
by Eric
I just tested this, and it seems to be working fine. Could you be more specific about the exact iptables rule that is crashing the router for you (e.g. what arguments you're using) ? That might help me replicate the problem.

Incidentally, I did find a major problem with configuration of the WAN interface on alix boards, which I fixed.

Re: weburl crashes the router

Posted: Wed Feb 09, 2011 3:40 pm
by tanguy15
I didn't use the Gargoyle web interface, but followed the procedure described in your post https://forum.openwrt.org/viewtopic.php?id=17249 . I downloaded your latest netfilter-match-modules and applied the integrate_netfilter_modules_backfire.sh script within backfire 10.03.1-RC4. Everything goes well until I insert "iptables -I FORWARD -m weburl --contains "gargoyle" -j DROP" for instance. It crashes there after a few seconds. Same behavior using the latest backfire branch. Do I need to perform additional modifications to the procedure you explained (already long ago...) in your post above? Thank you.

Re: weburl crashes the router

Posted: Fri Feb 11, 2011 12:50 pm
by Eric
If you're using the old version of the patch script it probably won't work properly even if you're using the latest version of the module code. Try downloading the latest version of the patch script in the repository (it's in the netfilter-match-modules subdirectory).

Re: weburl crashes the router

Posted: Fri Feb 11, 2011 11:41 pm
by tanguy15
It's the one I used, dated 8 months ago.

Re: weburl crashes the router

Posted: Sat Mar 19, 2011 12:10 pm
by tanguy15
An update on this issue: I compiled the latest backfire branch and it now works perfectly. Thanks.

tanguy15