weburl crashes the router

If your problem doesn't fall into one of the other categories, report it here.

Moderator: Moderators

Post Reply
tanguy15
Posts: 5
Joined: Sun Jan 16, 2011 3:26 am

weburl crashes the router

Post 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

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: weburl crashes the router

Post by Eric »

I'll try to look into this sometime in the next week.

tanguy15
Posts: 5
Joined: Sun Jan 16, 2011 3:26 am

Re: weburl crashes the router

Post by tanguy15 »

Thanks Eric,

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

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: weburl crashes the router

Post 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.

tanguy15
Posts: 5
Joined: Sun Jan 16, 2011 3:26 am

Re: weburl crashes the router

Post 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.

Eric
Site Admin
Posts: 1443
Joined: Sat Jun 14, 2008 1:14 pm

Re: weburl crashes the router

Post 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).

tanguy15
Posts: 5
Joined: Sun Jan 16, 2011 3:26 am

Re: weburl crashes the router

Post by tanguy15 »

It's the one I used, dated 8 months ago.

tanguy15
Posts: 5
Joined: Sun Jan 16, 2011 3:26 am

Re: weburl crashes the router

Post by tanguy15 »

An update on this issue: I compiled the latest backfire branch and it now works perfectly. Thanks.

tanguy15

Post Reply