[SOLVED] Traffic Shaper Legacy Issue

Started by interkrome, February 02, 2016, 11:06:59 AM

Previous topic - Next topic
February 02, 2016, 11:06:59 AM Last Edit: February 15, 2016, 07:55:59 AM by franco
Hi!

Whenever i deleted a pipe, it still there; refer diag_limiter_info.php . Help me how can i flush it out. Found this :

https://github.com/opnsense/core/commit/5885b5411db7b36a4e9ac8afd5bd557aa2fb4e56?diff=split#diff-4494acc9ab259113e70240c2d0f933ff

but i don't how to go about it. Please guide and assist me from A-Z (wish the File Editor function to be avail very soon)

Hi,

It doesn't delete the unused pipes, if you want to delete all run this on a console:

ipfw pipe flush


And reload the traffic shaper.

The file editor is not going to be in OPNsense, we deleted it for security reasons.

Regards,

Ad


Quote from: AdSchellevis on February 02, 2016, 03:32:45 PM
Hi,

It doesn't delete the unused pipes, if you want to delete all run this on a console:

ipfw pipe flush


And reload the traffic shaper.

The file editor is not going to be in OPNsense, we deleted it for security reasons.

Regards,

Ad

Having a similar issue but the config is persisting in the GUI after running the "ipfw pipe flush" command and reloading the traffic shaper. Any ideas please?

Can you share the output of


ipfw pipe show


and a screenshot of your configured pipes?

Quote from: AdSchellevis on February 11, 2016, 09:05:34 AM
Can you share the output of


ipfw pipe show


and a screenshot of your configured pipes?


ipfw pipe show


produces no output



I think I misunderstood, I thought you're pipes weren't deleted, but your output looks good.
The ipfw command doesn't change anything in your config, you can delete pipes from the gui yourself.

The current template doesn't delete old/unused pipes, which should normally not be a problem (they are updated on reload).

That's my problem, the GUI isn't letting me delete or make any changes to what was retained from upgrading to 16.x

Then I understand, your suffering from this https://github.com/opnsense/core/issues/762, which will be fixed in the next release.

You can download the fixed file upfront, by using this:

curl -o /usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml https://raw.githubusercontent.com/opnsense/core/master/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml


Quote from: AdSchellevis on February 12, 2016, 11:30:25 AM
Then I understand, your suffering from this https://github.com/opnsense/core/issues/762, which will be fixed in the next release.

You can download the fixed file upfront, by using this:

curl -o /usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml https://raw.githubusercontent.com/opnsense/core/master/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml

Brilliant, that's solved it - much appreciated