OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: interkrome on February 02, 2016, 11:06:59 am

Title: [SOLVED] Traffic Shaper Legacy Issue
Post by: interkrome on February 02, 2016, 11:06:59 am
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)
Title: Re: Traffic Shaper Legacy Issue
Post by: 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:

Code: [Select]
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
Title: Re: Traffic Shaper Legacy Issue
Post by: interkrome on February 03, 2016, 03:25:23 am
It works. Thanks !
Title: Re: Traffic Shaper Legacy Issue
Post by: Aergan on February 11, 2016, 09:02:43 am
Hi,

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

Code: [Select]
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?
Title: Re: Traffic Shaper Legacy Issue
Post by: AdSchellevis on February 11, 2016, 09:05:34 am
Can you share the output of

Code: [Select]
ipfw pipe show

and a screenshot of your configured pipes?
Title: Re: Traffic Shaper Legacy Issue
Post by: Aergan on February 12, 2016, 08:49:38 am
Can you share the output of

Code: [Select]
ipfw pipe show

and a screenshot of your configured pipes?

Code: [Select]
ipfw pipe show

produces no output


Title: Re: Traffic Shaper Legacy Issue
Post by: AdSchellevis on February 12, 2016, 09:49:24 am
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).
Title: Re: Traffic Shaper Legacy Issue
Post by: Aergan on February 12, 2016, 11:18:52 am
That's my problem, the GUI isn't letting me delete or make any changes to what was retained from upgrading to 16.x
Title: Re: Traffic Shaper Legacy Issue
Post by: AdSchellevis on February 12, 2016, 11:30:25 am
Then I understand, your suffering from this https://github.com/opnsense/core/issues/762 (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:

Code: [Select]
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
Title: Re: Traffic Shaper Legacy Issue
Post by: Aergan on February 12, 2016, 11:46:43 am
Then I understand, your suffering from this https://github.com/opnsense/core/issues/762 (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:

Code: [Select]
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