358 Commits

Author SHA1 Message Date
Franco Fichtner
14b46feee2 make: use slight modify for checking all potential files 2021-10-05 08:45:43 +02:00
Ad Schellevis
76b8ae4490 Firewall / Aliases - improve resolve performance by implementing async dns lookups. ref https://github.com/opnsense/core/issues/5117
This will need a new version of py-dnspython (py-dnspython2 in ports) for dns.asyncresolver support. Some additional log messages have been added to gain more insights into the resolving process via the general log.
Intermediate results aren't saved to disk anymore, which also simplifies the resolve() function in the Alias class. An address parser can queue hostname lookups for later retrieval (see _parse_address()) so we can batch process the list of hostnames to be collected.
2021-08-19 15:53:25 +02:00
Franco Fichtner
b91f9077f6 make: fix plist check on FreeBSD 13 2021-08-19 12:57:06 +02:00
Franco Fichtner
ac1cd84485 make: add a product_altabi setting if we want to split abis #5144
This way we can keep track of the underlying ABI in case a business
version needs to find its way back to community ABI.

In general ALTABI is just the derived ABI version, i.e. the one that
shares the same build settings/packages/OS version.
2021-08-17 08:53:22 +02:00
Franco Fichtner
b322ba9cf9 make: patch in business version numbers for CORE_NEXT #5144 2021-08-17 08:39:41 +02:00
Franco Fichtner
6abd2f2ac1 Framework: name and depends targets are no longer needed
use -v CORE_NAME and -v CORE_DEPENDS to read them...
2021-08-10 16:50:28 +02:00
Franco Fichtner
f331061387 firmware: changes for EoL of 21.1
o Remove revoked business fingerprints that were never used
o Revoke fingerprint for 21.1 as it is no longer needed
o Remove upgrade hint file to avoid development version upgrade loops
2021-07-27 16:04:57 +02:00
Franco Fichtner
5028c93393 pkg: actually demote to warning 2021-07-21 09:20:29 +02:00
Franco Fichtner
ed4ffa894c pkg: give CORE_ABI hint anyway, remove safety belt
Just let it crash and burn worst case.

PR: https://forum.opnsense.org/index.php?topic=23996.0
2021-07-21 08:53:16 +02:00
Franco Fichtner
10a5313b47 make: shorten magic variable for common use with plugins 2021-07-06 09:05:44 +02:00
Franco Fichtner
9735174eac make: tiptoe around restriction when using dev tools such as "diff" 2021-06-30 12:11:11 +02:00
Franco Fichtner
656c5ada7e pkg: fix version number derivation and missing replacement 2021-06-29 15:18:12 +02:00
Franco Fichtner
aa0affc7e7 pkg: like plugins now try to error on missing replacements 2021-06-29 15:00:10 +02:00
Franco Fichtner
15935e415a pkg: default to 7.4 now 2021-06-18 08:19:54 +02:00
Franco Fichtner
60087b5f83 Revert "pkg: default to 7.4 now"
This reverts commit 5457e046d833668a1d567669232e32b34e58759c.

Temporary revert for hotfix.
2021-06-17 16:03:31 +02:00
Franco Fichtner
5457e046d8 pkg: default to 7.4 now 2021-06-16 11:22:34 +02:00
Franco Fichtner
7c1f2659b0 pkg: PHP 7.4 does not have a separate hash module 2021-05-28 10:05:12 +02:00
Franco Fichtner
3a98ebb22f
Phalcon 4 migration (#4921)
phalcon 4 migration  #4012

o replace Phalcon\Session\Adapter\Files with new Phalcon\Session\Adapter\Stream adapter
o replace router->setUriSource() with handle() parameter
o combining sessions between phalcon and legacy php seems to be a bit problematic, first issue seems to be the legacy csrf check. refactor to use phalcon's method and legacy session
o Fix Phalcon Syslog usage in ControllerRoot (wrap in Logger class)
o session seems to miss standard prefix.
o also Gettext seems to like being wrapped...
o Gettext inheritance
o another handle()
o Volt: handle registerEngines / VoltEngine changes
o volt templates - missing session reference, bootstrap in ControllerBase
o router getRewriteUri() deprecated
o another handle() in index.php
o  Phalcon\Dispatcher::EXCEPTION_* moved to  Phalcon\Dispatcher\Exception::EXCEPTION_*
o changes in filter handling.
o fix plist
o Syslog usage changes
o refactor Validation changes
o FILTER_ALNUM - replaced FILTER_ALPHANUM
2021-04-15 11:36:57 +02:00
Franco Fichtner
a08b8ec72b installer: switch installer package 2021-04-13 09:35:28 +02:00
Franco Fichtner
61ca8a7b68 pkg: add series and nickname to metadata 2021-04-09 08:56:46 +02:00
Franco Fichtner
af587e812a make: also whitespace issue 2021-04-01 14:27:17 +02:00
Franco Fichtner
8220814034 pkg: verbatim match on business tag 2021-03-31 15:48:09 +02:00
Franco Fichtner
9d9f9c42f8 pkg: pin development version to suricata 6 2021-03-26 11:52:10 +01:00
Franco Fichtner
4e65be31b0 make: add rebase target for stable branch 2021-03-26 08:50:20 +01:00
Franco Fichtner
af2736d45c make: when mfc aborts clear it and switch back 2021-03-26 08:39:54 +01:00
Franco Fichtner
0c431a0f69 make: with strict tag rules it is possible to bail on missing tags 2021-02-08 19:32:25 +01:00
Franco Fichtner
b0b0b1878a pkg: expand this logic to figure out non-devel type numbers
We could check if we are on a stable branch but the CORE_TYPE
gives us a good hint at what we are looking at here already.
2021-02-08 10:13:33 +01:00
Franco Fichtner
6c797c271f pkg: reduce diff against former code 2021-02-07 19:36:49 +01:00
Franco Fichtner
3dcc9f512e pkg: compute CORE_NEXT to do automated tag matching
If CORE_NEXT.b tag exists do not use anything else anymore,
otherwise if CORE_NEXT* something exists use this, otherwise
hands off from manual tag pattern matching.

Since this is based on computation of CORE_ABI input we
can use this on the development track to always figure out
the correct version to use without checking the CORE_ABI
explicitly.

Use CORE_NEXT in a file replacement as well.
2021-02-07 15:04:47 +01:00
Franco Fichtner
ae7bbbacee pkg: exclude 21.7 tags from 20.7 2021-02-07 14:08:32 +01:00
Franco Fichtner
cddb86cf77 Revert "pkg: defer pkg check so that we get a package anyway on `make upgrade'"
This reverts commit 73c5252409cc28bb8d703d97e1c9eb90fbf3fe23.

`make package' works too, do not move early check.
2021-02-03 20:03:50 +01:00
Franco Fichtner
73c5252409 pkg: defer pkg check so that we get a package anyway on `make upgrade' 2021-02-03 16:56:06 +01:00
Franco Fichtner
5cf131df6c pkg: reorder for better diff 2021-01-28 11:01:48 +01:00
Franco Fichtner
771cae8182 pkg: move default ABI to 21.1, retain 20.7 compat for now 2021-01-28 10:59:10 +01:00
Franco Fichtner
95498491a2 make: mfc target may not exist, it's ok 2021-01-27 11:12:24 +01:00
Franco Fichtner
45ab146df0 pkg: "development release", not package 2021-01-12 10:16:13 +01:00
Franco Fichtner
e232f24f04 make: too early, fix git checkout emulation 2021-01-11 09:32:23 +01:00
Franco Fichtner
50700b8cd7 pkg: wrong PHP default since a while 2021-01-11 09:30:51 +01:00
Franco Fichtner
1b0ebb2c8b make: more git magic 2021-01-11 08:57:31 +01:00
Franco Fichtner
a70c6a2374 make: on a fresh clone ensure the stable branch exists 2021-01-08 08:50:22 +01:00
Franco Fichtner
9ceeafc370 pkg: happy new year! 2021-01-01 09:57:29 +01:00
Franco Fichtner
98f586f73c Revert "pkg: inject markupsafe dependency, hopefully pkg isn't stupid"
This reverts commit a124fd0e57004e114b54a480b9ced2760ff8c60a.
pkg is still bugging out on this.
2020-12-16 14:57:21 +01:00
Franco Fichtner
a124fd0e57 pkg: inject markupsafe dependency, hopefully pkg isn't stupid 2020-12-16 13:55:08 +01:00
Franco Fichtner
512730bd1a system: syslog-ng again; fix this the hard way 2020-11-13 10:56:36 +01:00
Franco Fichtner
a05612603c Revert "system: break this, FreeBSD on the move already"
This reverts commit ff728e837cef2a6fe8a13b9b14269be0a89e9e95.
2020-11-13 10:45:24 +01:00
Franco Fichtner
ff728e837c system: break this, FreeBSD on the move already
We could keep syslog-ng329 or we could just dash ahead with the
same binary package now named syslog-ng.  Breaks core builds
intermittently but all will be fine once 20.7.5 hits.
2020-11-09 16:26:44 +01:00
Franco Fichtner
6ae3455f02 system: syslog-ng 3.29 2020-09-18 14:27:32 +02:00
Ad Schellevis
d7279fba60 Reporting / Traffic: ditch status_graph.php and replace with new mvc statistics page. 2020-09-04 18:40:25 +02:00
Franco Fichtner
a3e3b97e53 firmware: switch to 20.7 2020-07-28 10:33:42 +02:00
Franco Fichtner
8ca1deb9c9 pkg: treat version numbers correctly
Also see: https://github.com/opnsense/tools/commit/84e5ec467a
2020-07-23 12:23:39 +02:00