RESOLVED - Captive Portal - Per-user bandwidth problematic



  • Hi

    I am using 2.0-BETA1 built on Tue Apr 27 01:08:28 EDT 2010 + gitsync'd to latest commits.

    I am running multi wan setup with captive portal enabled on 3 internal interfaces, vlan11, vlan22 and vlan33.

    Apart from loading CP page and authenticating with local user manager, I am unable to pass very little traffic if any through the captive portal with "per-user bandwidth restrictions" enabled, if disabled, traffic flows normal.

    I have "Disable hardware checksum offload" ticked in System > Advanced,  I also have DNS pointing to OpenDNS with the primary set to use gateway "WAN1" and secondary set to use gateway "WAN2" in System > General Setup.

    DNS forwarder is also enabled

    I noticed quite a few state-mismatch's, though Im not too sure if it is related

    INFO:
    Status: Enabled for 0 days 00:41:01           Debug: Urgent

    Interface Stats for re1_vlan44        IPv4             IPv6
     Bytes In                               0                0
     Bytes Out                              0                0
     Packets In
       Passed                               0                0
       Blocked                              0                0
     Packets Out
       Passed                               0                0
       Blocked                              0                0

    State Table                          Total             Rate
     current entries                      265
     searches                         1210615          491.9/s
     inserts                             9983            4.1/s
     removals                            9718            3.9/s
    Counters
     match                              13189            5.4/s
     bad-offset                             0            0.0/s
     fragment                               0            0.0/s
     short                                  0            0.0/s
     normalize                              0            0.0/s
     memory                                 0            0.0/s
     bad-timestamp                          0            0.0/s
     congestion                             0            0.0/s
     ip-option                              7            0.0/s
     proto-cksum                            2            0.0/s
     state-mismatch                       184            0.1/s
     state-insert                           0            0.0/s
     state-limit                            0            0.0/s
     src-limit                              0            0.0/s
     synproxy                               0            0.0/s
     divert                                 0            0.0/s

    My interfaces as follows

    my network



  • I will fix it soon and will report to try the snapshot that will have the fix.



  • Thanks for the quick reply, I tried the rules change without any luck, Ill revert those changes and keep look out on redmine.

    Thanks in advance

    Slam



  • Just upgrade to a newer snapshot it should be ok.



  • With the latest snapshot, its working fine and also those state-mismatch's have gone.

    Thanks

    Slam


Log in to reply