Subcategories

  • Discussions about development snapshots for pfSense Plus 25.07

    58 Topics
    819 Posts
    J

    I would agree. 18 hours in and everything continues to run smoothly. The issue related to image availability I believe is the valid answer and we can close this out as solved. Thanks everyone. -JD

  • 0 Votes
    4 Posts
    1k Views
    luckman212L

    I made a simple script to check if patches are applicable from the console. It's completely non-destructive (checks only).

    GitHub gist: ptest.sh

    Get

    save to your box with fetch -o /root/ptest.sh https://gist.githubusercontent.com/luckman212/f58329c5c0e98d38154bcab910783f30/raw/48b82380572fb70de314bb463c279457077506c4/ptest.sh make executable: chmod +x /root/ptest.sh

    Run

    ./ptest.sh [-r] <commit-hash>

    Sample output

    [22.01-DEVELOPMENT][root@pfSense.home.arpa]/root: ./ptest 332052b8bd2a5d35662be2dba773b7a9f0d50681 commit: https://github.com/pfsense/pfsense/commit/332052b8bd2a5d35662be2dba773b7a9f0d50681 subject: Static routes handling update. Fixes #11599 #11895 #7547 result: patch CAN be cleanly applied
  • newsyslog cron frequency, hanging bzip2 processes, scan log files

    7
    0 Votes
    7 Posts
    2k Views
    R

    Steve,
    Thanks for the advice. Patch seems to work, pcscd is no longer running.

  • /etc/rc.kill_states is missing ?> at the end

    7
    1 Votes
    7 Posts
    2k Views
    jimpJ

    It's not that significant a concern, so nobody has taken the time to clean them all up. They should probably be removed for consistency, but it's not a priority.

  • What about using powerdxx instead of powerd?

    2
    0 Votes
    2 Posts
    2k Views
    w0wW

    If anyone wants to test the package, you can try this script below.
    Place it in /usr/local/etc/rc.d, change mode to 0755, disable PowerD in the System / Advanced / Miscellaneous
    reboot the system and wait for 5 min, check dashboard for current CPU frequency and temperature.

    #!/bin/sh case "$1" in start) #safety timer 3min sleep 180 logger "Check powerd++ status" #check no pkg jobs currently running CHECKPKG=$(pgrep pkg) while [ "$CHECKPKG" != "" ]; do sleep 60 CHECKPKG=$(pgrep pkg) done #check powerd++ installed or not, if not going to install it, if yes going to start CHECKPOWERDXX=$(pkg info powerdxx | grep Categories) && CHECKPKG=$(pgrep pkg) if [ "$CHECKPOWERDXX" != "Categories : sysutils" ] && [ "$CHECKPKG" = "" ]; then /bin/rm -f -r /usr/local/etc/pkg/repos_ && /bin/mv -f /usr/local/etc/pkg/repos /usr/local/etc/pkg/repos_ && /usr/local/sbin/pkg install -f -y powerdxx && /bin/mv -f /usr/local/etc/pkg/repos_ /usr/local/etc/pkg/repos && /bin/rm -f -r /usr/local/etc/pkg/repos_ && sleep 60 logger "PowerDxx reinstalled, started!"; else logger "NORMAL start: powerd++ exists!"; fi # starting powerd++, if this does not work, try "powerdxx -a adp" powerdxx -H 55:65 -t dev.cpu.0.temperature ;; stop) ;; esac exit 0
  • Current instructions for rebuilding the kernel for 2.6?

    1
    0 Votes
    1 Posts
    871 Views
    No one has replied
  • pfSense Shell - editing a config file and apply

    3
    0 Votes
    3 Posts
    2k Views
    bmeeksB

    Packages on pfSense generally offer a GUI component for managing their configuration. Usually the GUI configuration piece is accessed via a menu entry under SERVICES put there by the package when it is installed from the pfSense packages repo (available under SYSTEM > PACKAGE MANGER.

    If you mean you installed a package directly from the CLI from a package repo that is not part of the official pfSense distro, then you can be on your own. In that case, the package is unlikely to be manageable from pfSense itself. You would need to resort to manually editing any config files the package might have installed in /usr/local/etc (or more rarely, in /etc).

  • Stray commented line in pfsense/src/etc/inc/openvpn.inc

    4
    0 Votes
    4 Posts
    2k Views
    jimpJ

    @pandafy said in Stray commented line in pfsense/src/etc/inc/openvpn.inc:

    From looking at the commit which made this change, this seems like it was commented out purposefully back then. Should I open a PR to remove those lines?

    That would be fine, I'd say being commented out for over 11 years means we really don't need to keep them hanging around.

  • Does pfSense use OpenVPN Management Interface?

    3
    0 Votes
    3 Posts
    2k Views
    pandafyP

    Hello @gertjan!

    Thank you very much for clearing out my doubts.
    This was troubling me for quite a while that why there's a restriction in changing management interface.

    Even after adding management 127.0.0.1 7505 directive using Custom Options, the OpenVPN instance on pfSense always used a UNIX socket. (It opens a UNIX socket with IP address as name)

    Because ..... that is the way how the Dashboard Server VPN widget 'scans' the OpenVPN server so it can update the dashboard info about a current connections.

    This is the crucial information I was missing. I will check the documentation again to confirm if it is already mentioned there. If not, I will open an issue/pull request to add this.

    But now, I want to take a dive into the implementation of the "scan client" feature and would like to investigate why usage of TCP ports has been ruled out completely.

    It will be really helpful if you can provide links to related code or documentation which can give me a starting point.

    Again, thanks a lot. :)

  • Is there a 21.05.1 release thread?

    13
    0 Votes
    13 Posts
    2k Views
    P

    @jimp Thank you, new thread is here

  • 2.5+/2.6-dev Bug(?) OpenVPN inactivity timeout default

    8
    0 Votes
    8 Posts
    2k Views
    jimpJ

    It does appear to be a similar case to exit notify for point-to-point modes.

    In "sever" mode (SSL/TLS with a tunnel network larger than /30) it considers Inactive to only apply to client sessions and not the server itself.

    In point-to-point mode (client or server are ambiguous to OpenVPN) it terminates the process on inactivity.

    https://redmine.pfsense.org/issues/12219

  • 2.5.2-release still has OpenVPN Site2Site Bug with explicit-exit-notify

    7
    0 Votes
    7 Posts
    3k Views
    JeGrJ

    @jimp said in 2.5.2-release still has OpenVPN Site2Site Bug with explicit-exit-notify:

    In the meantime, you can always use the Service Watchdog package to restart the service when it has stopped.

    Ah didn't think of that. Normally I'm more "solve the problem, don't restart" type of engineer but you're right, if the other side is "wrongdoing" and there's nothing we can do - so be it :/

  • This topic is deleted!

    2
    0 Votes
    2 Posts
    16 Views
    No one has replied
  • 2.5.2 System Info still showing multiple /var paths with ufs in ram

    16
    0 Votes
    16 Posts
    3k Views
    4

    @jimp thanks jim

  • What is needed to tweak the code of the captive_portal.inc files?

    4
    0 Votes
    4 Posts
    1k Views
    jimpJ

    Normally you would not edit files in that way on the firewall directly.

    Many of us work in one of the following ways:

    Edit remotely by loading and saving over ssh or scp which is supported by many popular editors Edit a file in a local copy of the Git repository and then copy the edited file to the firewall by scp Edit a file in a local copy of the Git repository and then load the file in Diagnostics > Edit File and paste the new content Making minor/simple on the firewall directly changes using vi, ee, or Diagnostics > Edit File without extra steps
  • Guidelines on handling configuration upgrades in packages

    5
    0 Votes
    5 Posts
    2k Views
    I

    Thanks for the hint!

  • 0 Votes
    4 Posts
    2k Views
    JeGrJ

    @gabacho4 said in Way to track outstanding issues with 21.05 development for testing and verification?:

    @jegr this the reason I apologized in advance! 😁 Thanks for steering me too the right place.

    No offense taken :) It just happened I got the same question in the german subforum so knew where to link to right away ;)

  • The firewall has enountered an error - PHP Errors

    6
    0 Votes
    6 Posts
    3k Views
    G

    @Gertjan

    That can be seconds, minutes, or even days later.
    The date and time of the error is known : 16-May-2021 18:27:29

    While the date is known, as presented by the given error, it doesn't present why this condition was given. For instance a long string or invalid string char or possibly mem exceeded error.

    I still missunder stood the question ? That can happen. Do you have more information ?

    It seems that way. I was asking how to proceed to report the bug, contrary to received a work around on how to do something that anyone with basic system knowledge can accomplished.

    You asked for it : a part of the diagnose is : you issued a command that had more then 500 Mbytes of text output.
    Look at the line 174 of that file : the output of the command you entered is redirected in a file, and the quantity of that output overflows 500+ Mbytes.
    PHP goes belly up.

    Thanks, this is very helpful and what I was looking for. An explanation of what cause a mem exhaustion is what I was looking for.

    There is no way of knowing how many bytes a (unknown) shell command produces upfront. So there is no safety net.

    Is it possible to check mem utilization and recycle the input to it? Or, perhaps, create a dynamic mem allocation instead of statically assigned?
    Unfortunately, PHP is not exactly my cup of tea.

    Actually : there is one :

    fd6e67a7-54cd-4357-9df0-84b464eda1e0-image.png

    😊

    As amusing this might look, this is not exactly a checkpoint.
    The heading won't prevent the form from crashing!! 😖
    Define advance user!!

    True.
    A GUI type of interface will never totally replace the usage of a command line interface.
    The console access (or SSH access) always exist, for that reason.
    Mac OS still has one, as Windows 10.

    Totally in agreement 1000%.

    Btw : what did you do on that "Diagnostics > Command Prompt" ?

    That is the million $$ question. The CLI is used instead of the diag page.
    Is there a way to trace back the commands ran on the given date?

    I'm not a Netgate employee or a pfSense coder, just a pfSense user like you.

    Understood!

    Thank you for all the info provided.

  • Can I Build This? Better GW Monitoring

    1
    0 Votes
    1 Posts
    814 Views
    No one has replied
  • package XML two menu entries with same name?

    2
    0 Votes
    2 Posts
    968 Views
    V

    Bump!

  • pfSense 2.5.1 multi-WAN routing restoration?

    1
    0 Votes
    1 Posts
    725 Views
    No one has replied
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.