Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pfSense-pkg-suricata - Remove useless conf_mount_{ro,rw} calls, Fix SID mods list download #467

Closed
wants to merge 25 commits into from

Conversation

doktornotor
Copy link
Contributor

@doktornotor doktornotor commented Oct 21, 2017

@bmeeks8 - I (hopefully] fixed the SID mods list download with dad6474, it was appending HTML source code to the individual files, plus the gzip download did not work at all, because the same was appended to the tar.gz breaking it completely.

There are still multiple issues with the code here, e.g.

  • when you click the Download button next to lists, the Edit no longer works and turns into download as well.
  • when you click the Download button next to lists, the "Download all" button that's supposed to create the gzip instead keeps downloading the last individual file you downloaded previously.

I don't really understand the javascript stuff being done here but it's badly broken. Frankly it'd be a whole lot better to store the files base64-encoded in config.xml, they are not exactly so huge that it'd be a significant problem.

@doktornotor doktornotor changed the title pfSense-pkg-suricata - Remove useless conf_mount_{ro,rw} calls pfSense-pkg-suricata - Remove useless conf_mount_{ro,rw} calls, Fix SID mods list download Oct 25, 2017
@bmeeks8
Copy link
Contributor

bmeeks8 commented Oct 25, 2017

Thanks for the fixes. I will take a look at the JavaScript code in the SID MODS tab file to see what's going on. Storing the SID mod files content in config.xml is OK with me, but it may take me a bit of time to get it coded up. One thing the current code allows that I would like to continue is the ability to have multiple named configurations (different disablesid.conf files with differing names, for example) to pick and choose from at will. Maintaining this when stored as Base64 encoded text in config.xml would mean using an array to store each entry so you can have name and then content for each item.

@doktornotor doktornotor deleted the patch-36 branch October 27, 2017 00:33
@pfsense pfsense deleted a comment from doktornotor Oct 27, 2017
netgate-git-updates pushed a commit that referenced this pull request Oct 10, 2019
- Pet portclippy while here

Changelog:

 * First run and build fixes #482 #473 #467 #479 (maciejsszmigiero)
 * Add OTP (two factor authentication) support #327 #394 (Noettore)
 * Display passwords as QR codes #421 (frawi)
 * Renaming password #463 #469 (Noettore)
 * Correct font color with Dark themes #340 #476 (a-andreyev)
 * Sorted profiles dropdown as in #404 #472 (Noettore)

PR:		241176
Submitted by:	Anne Jan Brouwer <brouwer@annejan.com> (maintainer)
Approved by:	tz (mentor)
Differential Revision:	https://reviews.freebsd.org/D21973
netgate-git-updates pushed a commit that referenced this pull request May 31, 2021
  [ Ilya Lipnitsky ]
  * c_message.cc: Resolve name conflict between certain enums and oneofs
    (#427).
  * protobuf-c.h: Fix Windows DLL export issue with the
    protobuf_c_empty_string symbol (#428).
  * Standardize pkg-config for use by autotools and cmake, fix cmake tests
    (#425).
  * protobuf-c.c: Cast %lu args to unsigned long int (#429).
  * protoc-c: Remove leading underscores from structs (#430).
  * protoc-c: Fix shared lib build on windows, migrate from Travis CI to
    GitHub Actions (#459).
  * protobuf-c: Don't use ProtobufCWireType internally (#463).
  * protoc-c: Add custom options support (#466).
  * protobuf-c.c: Fix packed repeated bool parsing (#467).

  [ Markus Engel ]
  * Pack nested messages inline (#431).

  [ Daniel Axtens ]
  * Travis CI: Test on other platforms (#438).

  [ Adam Cozzette ]
  * Update the generator to fully qualify std::string (#443).

  [ Piotr Pietraszkiewicz ]
  * Install MSVC debug symbols alongside the protobuf-c.lib file (#456).

  [ ihsinme ]
  * Fix invalid unsigned arithmetic (#455).

  [ Wolfram Rösler ]
  * Avoid "unused function parameter" compiler warning (#453).

Sponsored by:	Farsight Security, Inc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants