pfSense bugtracker: Issueshttps://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162022-03-06T13:03:15ZpfSense bugtracker
Redmine pfSense - Bug #12906 (Rejected): services_dyndns_edit.php - syntax errorhttps://redmine.pfsense.org/issues/129062022-03-06T13:03:15ZBBcan177 .bbcan177@gmail.com
<p>Syntax error:<br /><a class="external" href="https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/services_dyndns_edit.php#L505">https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/services_dyndns_edit.php#L505</a></p> pfSense - Bug #11701 (Resolved): Missing global ``$g`` declaration in ``config.lib.inc`` function...https://redmine.pfsense.org/issues/117012021-03-18T10:59:32ZBBcan177 .bbcan177@gmail.com
<p>/etc/inc/config.lib.inc<br />Line: 1106</p>
<p>function pfSense_clear_globals() {<br /> global $config, <strong>$g,</strong> $FilterIfList, $GatewaysList, $filterdns, $aliases, $aliastable;</p> pfSense - Bug #11456 (Resolved): Unbound Python Integration repeatedly mounts ``dev`` without unm...https://redmine.pfsense.org/issues/114562021-02-18T20:34:40ZBBcan177 .bbcan177@gmail.com
<p><ins>As reported here</ins>:<br /><a class="external" href="https://www.reddit.com/r/pfBlockerNG/comments/ln1gx1/pfblockerngdevel_leaking_mounts/">https://www.reddit.com/r/pfBlockerNG/comments/ln1gx1/pfblockerngdevel_leaking_mounts/</a></p>
<p>In file: /etc/inc/services.inc<br />Function: services_unbound_configure()<br />Line# 2430</p>
<p><ins>Reference</ins>:<br /><a class="external" href="https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L2430">https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L2430</a></p>
<p>Each time Unbound is restarted from pfSense, it will add a new Mount for devfs. This needs to be validated first to see if it has already been mounted, and not add additional mounts if it already exists.</p>
<p>A similar validation exists in function services_dhcp_configure()</p>
<p><ins>Reference</ins>:<br /><a class="external" href="https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L450-L452">https://github.com/pfsense/pfsense/blob/master/src/etc/inc/services.inc#L450-L452</a></p>
<p><ins>The original commit here</ins>:<br /><a class="external" href="https://github.com/pfsense/pfsense/commit/d83d2280d4e104793840c97a1e33e688067c9f1c#diff-bfa3d43ab33dd4467f6d92f7329db45a738563d38215c4c31703f9c7e18e3f3d">https://github.com/pfsense/pfsense/commit/d83d2280d4e104793840c97a1e33e688067c9f1c#diff-bfa3d43ab33dd4467f6d92f7329db45a738563d38215c4c31703f9c7e18e3f3d</a></p>
<p><ins>Original Redmine</ins>:<br /><a class="issue tracker-2 status-3 priority-4 priority-default closed" title="Feature: DNS Resolver (Unbound) Python Integration (Resolved)" href="https://redmine.pfsense.org/issues/9251">#9251</a></p> pfSense Packages - Feature #10141 (Resolved): pfBlockerNG - MaxMind License Registrationhttps://redmine.pfsense.org/issues/101412019-12-31T08:56:47ZBBcan177 .bbcan177@gmail.com
<p>As per MaxMind:<br /><a class="external" href="https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/">https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/</a></p>
<p>Summary Of Changes</p>
<p>Starting December 30, 2019, we will be requiring users of our GeoLite2 databases to register for a MaxMind account and obtain a license key in order to download GeoLite2 databases. We will continue to offer the GeoLite2 databases without charge, and with the ability to redistribute with proper attribution and in compliance with privacy regulations. In addition, we are introducing a new end-user license agreement to govern your use of the GeoLite2 databases. Previously, GeoLite2 databases were accessible for download to the public on our developer website and were licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.</p>
<p>Starting December 30, 2019, downloads will no longer be served from our public GeoLite2 page, from geolite.maxmind.com/download/geoip/database/*, or from any other public URL. See the section below for steps on how to migrate to the new download mechanism.</p> pfSense - Feature #9423 (Closed): MTR Porthttps://redmine.pfsense.org/issues/94232019-03-22T22:57:11ZBBcan177 .bbcan177@gmail.com
<p>Came across this post today:<br /><a class="external" href="https://lists.dns-oarc.net/pipermail/dns-operations/2019-March/018493.html">https://lists.dns-oarc.net/pipermail/dns-operations/2019-March/018493.html</a></p>
<p>Using the mtr tool:<br /><a class="external" href="https://www.linode.com/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/">https://www.linode.com/docs/networking/diagnostics/diagnosing-network-issues-with-mtr/</a></p>
<p>FreeBSD port:<br /><a class="external" href="https://www.freshports.org/net/mtr">https://www.freshports.org/net/mtr</a></p>
<p>Is there a benefit in having that tool included in base pfSense?</p> pfSense - Feature #9251 (Resolved): DNS Resolver (Unbound) Python Integrationhttps://redmine.pfsense.org/issues/92512019-01-03T22:34:37ZBBcan177 .bbcan177@gmail.com
<p>Add the python module integration to the DNS Resolver (Unbound)</p>
<p>The only remaining function, would be to mount the /bin and /lib folders to the /var/unbound folder.</p>
<pre>
mkdir -p /var/unbound/usr/local/bin
mkdir -p /var/unbound/usr/local/lib
mount_nullfs -o ro /usr/local/bin/ /var/unbound/usr/local/bin
mount_nullfs -o ro /usr/local/lib/ /var/unbound/usr/local/lib
</pre>
<p>I have coded the following for pfBlockerNG for testing purposes, but this will need to be adapted for pfSense and called at bootup before Unbound starts or it will fail to load without the mounts. It will also need notices/log info message code added.<br /><a class="external" href="https://gist.github.com/BBcan177/b5d9506f9d1ca1ff2457f62bbaaaf878">https://gist.github.com/BBcan177/b5d9506f9d1ca1ff2457f62bbaaaf878</a></p> pfSense - Todo #9052 (Resolved): Update Font-Awesomehttps://redmine.pfsense.org/issues/90522018-10-20T12:30:15ZBBcan177 .bbcan177@gmail.com
<p>Font Awesome in pfSense is using version (4.5.0). v4.x has been marked as End-of-life:</p>
<p><a class="external" href="https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/vendor/font-awesome/css/font-awesome.css#L2">https://github.com/pfsense/pfsense/blob/master/src/usr/local/www/vendor/font-awesome/css/font-awesome.css#L2</a></p>
<p>Latest version of F.A. is 5.4.1<br /><a class="external" href="https://github.com/FortAwesome/Font-Awesome">https://github.com/FortAwesome/Font-Awesome</a></p> pfSense Packages - Bug #8916 (Not a Bug): Package Shellcmd doesn't installhttps://redmine.pfsense.org/issues/89162018-09-18T21:29:27ZBBcan177 .bbcan177@gmail.com
<p>2.4.4-DEVELOPMENT (amd64) <br />built on Tue Sep 04 10:04:12 EDT 2018 <br />FreeBSD 11.2-RELEASE-p2</p>
<p>PHP ERROR: Type: 1, File: /usr/local/pkg/shellcmd.inc, Line: 115, <br />Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115</p>
<p><strong><ins>Dashboard Notice</ins></strong>:<br /><pre>
PHP Errors:
[18-Sep-2018 22:19:29 America/Toronto] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): shellcmd_sync_package()
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(859): eval_once('shellcmd_sync_p...')
#3 /etc/rc.packages(74): install_package_xml('Shellcmd')
#4 {main}
thrown in /usr/local/pkg/shellcmd.inc on line 115
[18-Sep-2018 22:19:34 America/Toronto] PHP Warning: Illegal string offset 'config' in /usr/local/pkg/shellcmd.inc on line 115
[18-Sep-2018 22:19:34 America/Toronto] PHP Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115
Stack trace:
#0 /etc/inc/pkg-utils.inc(705) : eval()'d code(1): shellcmd_sync_package()
#1 /etc/inc/pkg-utils.inc(705): eval()
#2 /etc/rc.start_packages(58): sync_package('Shellcmd')
#3 {main}
thrown in /usr/local/pkg/shellcmd.inc on line 115
</pre></p>
<p><strong><ins>Installer log</ins></strong>:<br /><pre>
>>> Installing pfSense-pkg-Shellcmd...
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
pfSense-pkg-Shellcmd: 1.0.3 [pfSense]
Number of packages to be installed: 1
8 KiB to be downloaded.
[1/1] Fetching pfSense-pkg-Shellcmd-1.0.3.txz: . done
Checking integrity... done (0 conflicting)
[1/1] Installing pfSense-pkg-Shellcmd-1.0.3...
[1/1] Extracting pfSense-pkg-Shellcmd-1.0.3: ........ done
Saving updated package information...
done.
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...done.
Executing custom_php_resync_config_command()...
Fatal error: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): shellcmd_sync_package()
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(859): eval_once('shellcmd_sync_p...')
#3 /etc/rc.packages(74): install_package_xml('Shellcmd')
#4 {main}
thrown in /usr/local/pkg/shellcmd.inc on line 115
PHP ERROR: Type: 1, File: /usr/local/pkg/shellcmd.inc, Line: 115, Message: Uncaught Error: Cannot create references to/from string offsets in /usr/local/pkg/shellcmd.inc:115
Stack trace:
#0 /etc/inc/pkg-utils.inc(768) : eval()'d code(1): shellcmd_sync_package()
#1 /etc/inc/pkg-utils.inc(768): eval()
#2 /etc/inc/pkg-utils.inc(859): eval_once('shellcmd_sync_p...')
#3 /etc/rc.packages(74): install_package_xml('Shellcmd')
#4 {main}
thrownpkg-static: POST-INSTALL script failed
>>> Cleaning up cache... done.
Success
</pre></p> pfSense - Bug #8907 (Resolved): wizard.php - $field['type'] - "Select" doesn't have the attribute...https://redmine.pfsense.org/issues/89072018-09-16T23:14:37ZBBcan177 .bbcan177@gmail.com
<p>The file wizard.php - $field['type'] option "Select" doesn't have the attribute "Size" defined.</p>
<p>From:<br /><pre>
))->setHelp($field['description'])->setOnchange($onchange);
</pre></p>
<p>To:<br /><pre>
))->setHelp($field['description'])->setOnchange($onchange)->setAttribute('size', $field['size']);
</pre></p>
<p>Not sure what "Size" should default to when its not defined by the XML wizard script.<br /><pre>
if ($field['size']) {
$size = " size='" . $field['size'] . "' ";
}
</pre></p> pfSense - Todo #7546 (Resolved): d3pie version updatehttps://redmine.pfsense.org/issues/75462017-05-12T09:59:02ZBBcan177 .bbcan177@gmail.com
<p>pfSense has d3pie v0.1.6, while the latest version is 0.2.1<br /> <a class="external" href="https://github.com/benkeen/d3pie">https://github.com/benkeen/d3pie</a></p>
<p>Can this be updated? Not sure if the other /vendor scripts need updating also?</p> pfSense - Bug #6662 (Resolved): pkg_edit.php checkbox alignment issue when using the sethelp xml taghttps://redmine.pfsense.org/issues/66622016-07-29T20:53:24ZBBcan177 .bbcan177@gmail.com
<p>When using pkg_edit.php, the checkbox alignment is off when using the <sethelp> XML tags.</p>
<p>See attached pic.</p>
<p>Can be seen in the pfBlockerNG General Tab:<br /> <a class="external" href="https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng.xml#L265-L271">https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG/files/usr/local/pkg/pfblockerng.xml#L265-L271</a></p> pfSense - Feature #5675 (Resolved): Theme specific textarea background color https://redmine.pfsense.org/issues/56752015-12-21T10:51:21ZBBcan177 .bbcan177@gmail.com
<p>When using themes, would be nice to have a textarea background color specific to each theme. Looks odd in the Dark theme with a stark white background.</p> pfSense - Bug #5673 (Closed): pkg_edit - Rowhelper descriptions are not printinghttps://redmine.pfsense.org/issues/56732015-12-21T10:41:19ZBBcan177 .bbcan177@gmail.com
<p>Rowhelper descriptions are not printing</p> pfSense - Feature #3508 (Closed): DNS Lookup - Additional linkshttps://redmine.pfsense.org/issues/35082014-03-06T17:35:40ZBBcan177 .bbcan177@gmail.com
<p><ins>Feature Request - To add additional External links to Resolve IP addresses. Or to allow User Specified links in the GUI.</ins></p>
<p>When using Snort/Suricata, you can click on the ICON to "Resolve host via Reverse DNS Lookup". The existing setup only allows a lookup with DNSStuff. The Icon is also available in the Firewall Logs.<br />The following links below are free open links to resolve a suspected IP address to establish if its potentially malicious.</p>
<p>The External links are in this file ----> vi /usr/local/www/diag_dns.php</p>
<pre>
Here are some Examples of Links that I have tested that work in the 2.1 Release.
<?=gettext("NOTE: The following links are to external services, so their reliability cannot be guaranteed.");?><br/><br/>
<a target="_new" href="http://kb.bothunter.net/ipInfo/nowait.php?IP=<?php echo $ipaddr; ?>"><?=gettext("BOTHunter");?></a><br/>
<a target="_new" href="http://sitecheck2.sucuri.net/results/<?php echo $ipaddr; ?>"><?=gettext("Securi SiteCheck");?></a><br/>
<a target="_new" href="http://www.dshield.org/ipinfo.html?IP=<?php echo $ipaddr; ?>"><?=gettext("DShield Threat Lookup");?></a><br/>
<a target="_new" href="https://www.mywot.com/en/scorecard/<?php echo $ipaddr; ?>"><?=gettext("Web of Trust (WOT) Scorecard");?></a><br/>
<a target="_new" href="http://quttera.com/sitescan/<?php echo $ipaddr; ?>"><?=gettext("Quattera");?></a><br/>
<a target="_new" href="https://www.iblocklist.com/search.php?string=<?php echo $ipaddr; ?>"><?=gettext("I-Block List");?></a><br/>
<a target="_new" href="https://www.virustotal.com/en/ip-address/<?php echo $ipaddr; ?>/information"><?=gettext("VirusTotal Info");?></a><br/>
<a target="_new" href="http://private.dnsstuff.com/tools/whois.ch?ip=<?php echo $ipaddr; ?>"><?=gettext("IP WHOIS @ DNS Stuff");?></a><br/>
<a target="_new" href="http://private.dnsstuff.com/tools/ipall.ch?ip=<?php echo $ipaddr; ?>"><?=gettext("IP Info @ DNS Stuff");?></a>
</pre> pfSense - Feature #3506 (Duplicate): Firewall:Aliases - Sort/Move Functionhttps://redmine.pfsense.org/issues/35062014-03-06T17:19:23ZBBcan177 .bbcan177@gmail.com
<p><ins>When editing Rules, there is a <strong>Move ICON</strong>. Would it be possible to have the "MOVE" ICON in the Alias edit screen?</ins></p>
<p>Another option is just a <strong><ins>Sort function</ins></strong>. The code is currently available in other parts of pfSense.<br />Adding a class identifier to the table definition?<br />The column headers would be clickable and sort in ascending or descending order when clicked.</p>
<p>For me its not that I need it for a functional reason (ie order of rules etc). <br />Its more to keep the alias lists organized. After changes, the Alias lists can get a bit scattered and it can make it harder to find mistakes.</p>