OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • [SOLVED] Traffic Shaper Legacy Issue
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Traffic Shaper Legacy Issue  (Read 6332 times)

interkrome

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 3
    • View Profile
[SOLVED] Traffic Shaper Legacy Issue
« 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)
« Last Edit: February 15, 2016, 07:55:59 am by franco »
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Traffic Shaper Legacy Issue
« Reply #1 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
Logged

interkrome

  • Jr. Member
  • **
  • Posts: 50
  • Karma: 3
    • View Profile
Re: Traffic Shaper Legacy Issue
« Reply #2 on: February 03, 2016, 03:25:23 am »
It works. Thanks !
Logged

Aergan

  • Newbie
  • *
  • Posts: 48
  • Karma: 9
    • View Profile
    • aergan.com
Re: Traffic Shaper Legacy Issue
« Reply #3 on: February 11, 2016, 09:02:43 am »
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:

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?
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Traffic Shaper Legacy Issue
« Reply #4 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?
Logged

Aergan

  • Newbie
  • *
  • Posts: 48
  • Karma: 9
    • View Profile
    • aergan.com
Re: Traffic Shaper Legacy Issue
« Reply #5 on: February 12, 2016, 08:49:38 am »
Quote from: 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?

Code: [Select]
ipfw pipe show

produces no output


Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Traffic Shaper Legacy Issue
« Reply #6 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).
Logged

Aergan

  • Newbie
  • *
  • Posts: 48
  • Karma: 9
    • View Profile
    • aergan.com
Re: Traffic Shaper Legacy Issue
« Reply #7 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
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Traffic Shaper Legacy Issue
« Reply #8 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:

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
Logged

Aergan

  • Newbie
  • *
  • Posts: 48
  • Karma: 9
    • View Profile
    • aergan.com
Re: Traffic Shaper Legacy Issue
« Reply #9 on: February 12, 2016, 11:46:43 am »
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:

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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.1 Legacy Series »
  • [SOLVED] Traffic Shaper Legacy Issue
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2