Network performance issue using pfSense v.2.7.0 running as router
-
@mauro-tridici If you suspect the performance issue is on the ISP side, if possible I would run a quick test where you unplug PFSense from your upstream router and substitute a PC configured with your public IP in the place of PFSense.
Of course this might not be feasible if you are not able to take the network connection down for other people during a test.
By the way your server is massively over speced for even a 10Gb connection.
Our main PFSense box is a 1U rack mounted Intel Core i7-10700 with 8 cores, 16GB of ram and a dual 10Gb Fibre network adaptor.
We have pretty much every feature you can enable turned on and it is easily able to route traffic between VLAN's at near wire speed, so 64 cores and 256GB of ram is just crazy.
-
@mauro-tridici said in Network performance issue using pfSense v.2.7.0 running as router:
So, I can't update it.
Do you have any interesting idea to troubleshoot this issue?That's a known issue coming from 2.7.0. At the CLI run:
certctl rehash
, then recheck. -
@stephenw10 said in Network performance issue using pfSense v.2.7.0 running as router:
That's a known issue coming from 2.7.0. At the CLI run: certctl rehash, then recheck.
I just tried that and it still shows 2.7.0 as current.
BTW, I tried to post this in the thread that lead me here, but it's locked.
-
There were 3 duplicate threads, I locked the others.
certctl rehash is by far the most common cause coming from 2.7.0 but nit the only one.
What does
pkg-static -d update
show? -
Hi @stephenw10 , thank you for your reply.
This is the output of the debug:
DBG(1)[41599]> pkg initialized Updating pfSense-core repository catalogue... DBG(1)[41599]> PkgRepo: verifying update for pfSense-core DBG(1)[41599]> PkgRepo: need forced update of pfSense-core DBG(1)[41599]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense-core.sqlite' DBG(1)[41599]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.conf DBG(1)[41599]> curl_open DBG(1)[41599]> Fetch: fetcher used: pkg+https DBG(1)[41599]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.conf DBG(1)[41599]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 2 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 1 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection pkg-static: An error occured while fetching package DBG(1)[41599]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.txz DBG(1)[41599]> curl_open DBG(1)[41599]> Fetch: fetcher used: pkg+https DBG(1)[41599]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/meta.txz DBG(1)[41599]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 2 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 1 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection pkg-static: An error occured while fetching package repository pfSense-core has no meta file, using default settings DBG(1)[41599]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/packagesite.pkg DBG(1)[41599]> curl_open DBG(1)[41599]> Fetch: fetcher used: pkg+https DBG(1)[41599]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/packagesite.pkg DBG(1)[41599]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 2 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 1 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection pkg-static: An error occured while fetching package DBG(1)[41599]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/packagesite.txz DBG(1)[41599]> curl_open DBG(1)[41599]> Fetch: fetcher used: pkg+https DBG(1)[41599]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-core/packagesite.txz DBG(1)[41599]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 2 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 1 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection pkg-static: An error occured while fetching package Unable to update repository pfSense-core Updating pfSense repository catalogue... DBG(1)[41599]> PkgRepo: verifying update for pfSense DBG(1)[41599]> PkgRepo: need forced update of pfSense DBG(1)[41599]> Pkgrepo, begin update of '/var/db/pkg/repo-pfSense.sqlite' DBG(1)[41599]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/meta.conf DBG(1)[41599]> curl_open DBG(1)[41599]> Fetch: fetcher used: pkg+https DBG(1)[41599]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/meta.conf DBG(1)[41599]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 2 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 1 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection pkg-static: An error occured while fetching package DBG(1)[41599]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/meta.txz DBG(1)[41599]> curl_open DBG(1)[41599]> Fetch: fetcher used: pkg+https DBG(1)[41599]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/meta.txz DBG(1)[41599]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 2 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 1 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection pkg-static: An error occured while fetching package repository pfSense has no meta file, using default settings DBG(1)[41599]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.pkg DBG(1)[41599]> curl_open DBG(1)[41599]> Fetch: fetcher used: pkg+https DBG(1)[41599]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.pkg DBG(1)[41599]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 2 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 1 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection pkg-static: An error occured while fetching package DBG(1)[41599]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.txz DBG(1)[41599]> curl_open DBG(1)[41599]> Fetch: fetcher used: pkg+https DBG(1)[41599]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.txz DBG(1)[41599]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 2 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Hostname pkg00-atx.netgate.com was found in DNS cache * Trying 208.123.73.207:443... * Connected to pkg00-atx.netgate.com (208.123.73.207) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection DBG(1)[41599]> CURL> attempting to fetch from , left retry 1 * Couldn't find host pkg01-atx.netgate.com in the .netrc file; using defaults * Hostname pkg01-atx.netgate.com was found in DNS cache * Trying 208.123.73.209:443... * Connected to pkg01-atx.netgate.com (208.123.73.209) port 443 * ALPN: curl offers http/1.1 * CAfile: none * CApath: /etc/ssl/certs/ * SSL certificate problem: unable to get local issuer certificate * Closing connection pkg-static: An error occured while fetching package Unable to update repository pfSense Error updating repositories!
-
@mauro-tridici said in Network performance issue using pfSense v.2.7.0 running as router:
- CAfile: none
- CApath: /etc/ssl/certs/
- SSL certificate problem: unable to get local issuer certificate
That looks like the error that should be fixed by running
certctl rehash
. Did you try running that? -
@stephenw10 said in Network performance issue using pfSense v.2.7.0 running as router:
What does pkg-statc -d update show?
/root: pkg-statc -d update
pkg-statc: Command not found. -
@JKnott
Never mind. I just changed the update branch to 2.7.2 and it appears ready to update. -
@JKnott said in Network performance issue using pfSense v.2.7.0 running as router:
/root: pkg-statc -d update
pkg-statc: Command not found.Sorry I typo'd that. Should be:
pkg-static -d update
-
@stephenw10 worked for me! thanks for the tip.
-
-
@stephenw10 said in Network performance issue using pfSense v.2.7.0 running as router:
pkg-static -d update
hi all...
got redirected to this thread. upgrading my pfSense device
did backup 2.7.2, install new software 2.7.0. restored config file.
rebooted... had to get some renaming of interfaces resolved.packages don't want to installed, see error below
The below was executed after having executed.
certctl rehash
Fetching meta.conf: 100% 178 B 0.2kB/s 00:01 * Connection #0 to host pkg00-atx.netgate.com left intact DBG(1)[2436]> Request to fetch pkg+https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.pkg DBG(1)[2436]> curl_open DBG(1)[2436]> Fetch: fetcher used: pkg+https DBG(1)[2436]> curl> fetching https://pkg.pfsense.org/pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.pkg DBG(1)[2436]> CURL> attempting to fetch from , left retry 3 * Couldn't find host pkg00-atx.netgate.com in the .netrc file; using defaults * Found bundle for host: 0x8219d24d0 [serially] * Re-using existing connection with host pkg00-atx.netgate.com > GET /pfSense_v2_7_2_amd64-pfSense_v2_7_2/packagesite.pkg HTTP/1.1 Host: pkg00-atx.netgate.com User-Agent: pkg/1.20.8 Accept: */* If-Modified-Since: Thu, 01 Jan 1970 00:00:00 GMT < HTTP/1.1 200 OK Fetching packagesite.pkg: 0%< Server: nginx < Date: Mon, 28 Oct 2024 09:10:44 GMT < Content-Type: application/octet-stream < Content-Length: 160404 < Last-Modified: Mon, 21 Oct 2024 21:31:27 GMT < Connection: keep-alive < ETag: "6716c82f-27294" < Strict-Transport-Security: max-age=31536000; preload < X-Content-Type-Options: nosniff < X-XSS-Protection: 1; mode=block < X-Robots-Tag: all < X-Download-Options: noopen < X-Permitted-Cross-Domain-Policies: none < Accept-Ranges: bytes < Fetching packagesite.pkg: 100% 157 KiB 160.4kB/s 00:01 * Connection #0 to host pkg00-atx.netgate.com left intact DBG(1)[2436]> PkgRepo: extracting packagesite.yaml of repo pfSense DBG(1)[2971]> PkgRepo: extracting signature of repo in a sandbox DBG(1)[2436]> Pkgrepo, reading new packagesite.yaml for '/var/db/pkg/repo-pfSense.sqlite' Processing entries: 0% Newer FreeBSD version for package xmlstarlet: To ignore this error set IGNORE_OSVERSION=yes - package: 1400094 - running kernel: 1400085
-
rinse and repeat... eventually package list showing...
but it's not showing/displaying original installed packages...
whats the thinking. do a upgrade to 2.7.0 -> 2.7.2 and then re load the config file.nothing to loose, here it goes...
G -
@georgelza said in Network performance issue using pfSense v.2.7.0 running as router:
pkg-static -d update
ok... we're back cooking with gas, as the saying goes, got haproxy installed and my external exposed services are working again.
Would have been great if the restore allowed me to re-attempt the installation of previously installed packages.
G