Shaping opt1



  • when i try to shape opt1 by choosing the inside interface,

    i got this error:
    No source address found in rule No destination address found in rule 1 No destination address found in rule 3 No destination address found in rule 5 No destination address found in rule 7 No destination address found in rule 9 No destination address found in rule 11 No destination address found in rule 13 No destination address found in rule 15 No destination address found in rule 17 No destination address found in rule 19 No destination address found in rule 21 No destination address found in rule 23 No destination address found in rule 25 No destination address found in rule 27 No destination address found in rule 29 No destination address found in rule 31 No destination address found in rule 33 No destination address found in rule 35 No destination address found in rule 37 No destination address found in rule 39 No destination address found in rule 41 No destination address found in rule 43 No destination address found in rule 45 No destination address found in rule 49 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/shaper.inc:486) in /usr/local/www/wizard.php(89) : eval()'d code on line 1

    cant i shape any interface other than lan?
    tnx
    rex



  • Any chance that opt1 is a bridge interface and has no IP?

    –Bill



  • no. it's not bridge.

    it have an ip.
    it's connected to my wireless access point
    with different ip from my lan.

    fyi.
    the box was running since .88 and have already got lots of upgrade to latest .99
    if i choose LAN for the shaping, it works out ok.

    tnx
    rex



  • .99?  Try the images here http://www.pfsense.org/~sullrich/BETA2-BUGVALIDATION3/ - it's the 3rd release candidate for beta2.  There were numerous shaper fixes for beta1.  Thanks

    –Bill



  • just upgrade to beta2 bugvalidation3.

    still error:
    No destination address found in rule No destination address found in rule 2 No destination address found in rule 3 No destination address found in rule 7 No destination address found in rule 8 No destination address found in rule 10 No destination address found in rule 13 No destination address found in rule 14 No destination address found in rule 17 No destination address found in rule 20 No destination address found in rule 21 No destination address found in rule 22 No destination address found in rule 25 No destination address found in rule 26 No destination address found in rule 27 No destination address found in rule 28 No destination address found in rule 31 No destination address found in rule 33 No destination address found in rule 36 No destination address found in rule 38 No destination address found in rule 39 No destination address found in rule 41 No destination address found in rule 43 No destination address found in rule 46 No destination address found in rule 47 No destination address found in rule 49 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/shaper.inc:546) in /usr/local/www/wizard.php(88) : eval()'d code on line 1 No destination address found in rule No destination address found in rule 2 No destination address found in rule 3 No destination address found in rule 7 No destination address found in rule 8 No destination address found in rule 10 No destination address found in rule 13 No destination address found in rule 14 No destination address found in rule 17 No destination address found in rule 20 No destination address found in rule 21 No destination address found in rule 22 No destination address found in rule 25 No destination address found in rule 26 No destination address found in rule 27 No destination address found in rule 28 No destination address found in rule 31 No destination address found in rule 33 No destination address found in rule 36 No destination address found in rule 38 No destination address found in rule 39 No destination address found in rule 41 No destination address found in rule 43 No destination address found in rule 46 No destination address found in rule 47 No destination address found in rule 49 Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/shaper.inc:546) in /usr/local/www/wizard.php(88) : eval()'d code on line 1



  • Did you run the wizard again? If not you still have the old ruleset. Remove the wizard and rerun it.



  • yes that's what i did.
    i remove the wizard and start it over choosing the port connected to my hotspot.
    and that's the error i got when i press the finish button.

    btw.
    if it make any different, i just found out that my wireless actually on opt2.
    while opt1 is not connected to anything yet.



  • @rexster:

    yes that's what i did.
    i remove the wizard and start it over choosing the port connected to my hotspot.
    and that's the error i got when i press the finish button.

    btw.
    if it make any different, i just found out that my wireless actually on opt2.
    while opt1 is not connected to anything yet.

    Bingo.  So you chose an interface that didn't have an IP address on it and it blew up complaining that the interface you chose had no IP address on it.  I'll get that one fixed too, shouldn't have let you select an interface with no IP (or it should have been a little nicer about it when you did, leaving you confused as to why shaping wasn't working at all).  Thanks

    –Bill



  • sorry i didnt make it very clear.

    i have 4 nic.
    lan & wan as usual
    opt1: not connected yet. but i already put an ip to it.
    opt2:connected to my wifi

    all nic have different ip/subnet

    i choose opt2 for the shaping interface.
    that's the error i got when i choose opt2 for the shaping interface.

    no error when i choose lan to shape.

    tnx
    rex



  • Can you send me your /conf/config.xml?  bill.marquette at gmail.com  –  it sounds like the wizard screwed something up, but I can't tell what.  Thanks

    --Bill



  • email sent.

    tia
    rex



  • OK, I noticed a few things wrong with your config…the first most glaring issue is that all the shaper rules are tied to wan or lan - that's unusual as it shouldn't be, but then the config we saved in the <ezshaper>tags show inside int being LAN and outside int being WAN.  I'll assume that you've sent me a config that has the interfaces changed back to lan/wan.

    With that said, I noticed that you have vlan 1 assigned to rl0 which is OPT2 - I wonder if something's picking that up somehow (as vlan1 isn't an opt interface for you).  Not sure, just noticed it and it's "odd".  Also, and this is just an FYI...you're DHCP range on OPT2 is in the same /24 as the DHCP range for opt1.  I can't think of a reason either of those config issues would necessarily create bad rules, but it's entirely possible - I do suspect the vlan on the OPT2 physical interface causing unforseen issues though.  Can you try removing that config and seeing if the wizard generates any better rules?  If you still have issues, go ahead and send me an updated config.xml and /tmp/rules.debug

    --Bill</ezshaper>



  • vlan removed
    dhcp range for opt1 removed
    dhcp disabled
    opt1 disabled
    wizard removed and re-run

    same problem.

    email sent for your review.

    tia
    rex



  • Thanks, that might have done the trick.  I'm gonna sit down and ponder code for a while, but I think I know where the bug is based on the new config.xml you sent me.

    –Bill



  • @billm:

    I'll assume that you've sent me a config that has the interfaces changed back to lan/wan.

    you assume correctly



  • Alrighty, I'm reasonably confident I found the bug.  It's going to take a little more brainpower than I have now to actually confirm and fix it.  There's a chance this will be fixed for Beta 2.  I'm a little stumped as to why the wan rules weren't generated correctly, but it probably has to do with the OPT2 rule (which I think is getting confused with the 'wifi' description) not getting caught correctly.

    Good find!

    –Bill



  • just wondering, didnt mean to rush…

    is this bug resolved yet?
    coz the wireless users with kazaa are killing my download speed and i need a way to shape them...

    tia
    rex



  • @rexster:

    just wondering, didnt mean to rush…

    is this bug resolved yet?
    coz the wireless users with kazaa are killing my download speed and i need a way to shape them...

    tia
    rex

    I wasn't able to duplicate it on my setup and had other easier bugs to kill.  Haven't forgotten about this one.

    –Bill



  • cant wait any longer :)

    so i get the testing snapshot 2-19-06 iso and do clean install.

    then trying traffic shaping again.

    still… same error.

    tnx&rgds,
    rex


Locked