• Trying to recompile mpd5 to override the PPPOE_CONNECT_TIMEOUT

    Moved
    11
    0 Votes
    11 Posts
    2k Views
    bmeeksB
    Yeah, while hex editing on a binary can work every now and then, one problem I foresee in this particular case is that the PPPOE_CONNECT_TIMEOUT constant is defined once but then will possibly be used in a several places in the code. Finding all of those would be a tedious exercise. Edit the wrong 0x09 value somewhere and you would create a potentially serious bug.
  • Does anyone have the Yubico pam libraries built?

    1
    0 Votes
    1 Posts
    250 Views
    No one has replied
  • Inconsistency with PHP shell & committing changes

    1
    0 Votes
    1 Posts
    237 Views
    No one has replied
  • FreeBSD OS choice

    7
    1 Votes
    7 Posts
    812 Views
    J
    @SteveITS I know it is not recommended, so I won't ask for help for my particular problem challenge. :) However, I have to manage lots of systems with different OS's, and I like to minimize the number of packages I manage them with. Luckily, except for this one, all other packages I use are in the pfSense repo.
  • another os

    12
    0 Votes
    12 Posts
    2k Views
    M
    @jimp said in another os: Like others have said, Netgate does our best to support hardware for as long as possible. My SG-2440 is a good example of this. It perfect sitting in the closet as a cold backup if needed right now. Following is my opinion: As for the OP question, if it's out of warranty, add non-eMMC storage reinstall the latest using ZFS and use it as a cold/warm backup.
  • Where can I find information on the backup/restore XML schema?

    14
    0 Votes
    14 Posts
    2k Views
    T
    @Patch I'll definitely be looking at example configs pulled from manually-configured pfsense installs, and refining what I need to include in the config.xml. The point of what I'm doing is to fully-automate the pfsense installation, like described here in the docs by providing the installer a config.xml file to apply. This config.xml will be different for different installations on different machines, so I must generate it programatically, which is why I'm asking about the xml schema and/or other config generation tools.
  • Patches update

    patch systempatches
    13
    0 Votes
    13 Posts
    2k Views
    M
    @michmoor said in Patches update: Yep. Sorry if that wasnt clear. I am doing full MITM. Np, I was just trying to understand :) @michmoor said in Patches update: If you rely only on the internal redirect then pfsense points back to itself on the management port (firewall.example.com:443) . The problem of course is that in order to serve the page you must make your management port accessible to all LAN clients. That means making management accessible to all LAN clients. The only workaround is to use an external webserver that has php code on it to interrupt whats being sent to it from pfsense Now I see what you meant, yes, indeed that would be a problem.. Using an external server for that solves this problem.
  • DiagnosticsCrash Reporter

    2
    0 Votes
    2 Posts
    416 Views
    bmeeksB
    That error has only been reported one other time that I am aware of, and it turned out to be a corrupted alerts.log file if I recall correctly. That error is saying that a value read from the alerts.log was NULL, but there is no way that can happen unless the file is corrupt. One possibility is a disk read or write error. When you go to the ALERTS tab, can you display all the alerts from all Suricata configured interfaces without any problem? The exact same code is used within the ALERTS tab and Suricata Wiget, so a corrupt file would impact both. It's also possible that the error happened some time back in the past and by now the alerts.log has been rotated out and the current file may be fine. Does the error repeat every single time the widget updates, or has it only popped up once? Normally, issues with Snort or Suricata would be posted here: https://forum.netgate.com/category/53/ids-ips.
  • new package / best practices

    5
    4 Votes
    5 Posts
    2k Views
    M
    @bmeeks said in new package / best practices: I think the /usr/local/etc/rc.d/ path is currently hard-coded into the parts of pfSense that start packages at boot or when executing a "restart all packages" command. I do not believe it will find a script in /etc/rc.d/. Of course, sorry, I meant /usr/local/etc/rc.d/crowdsec and crowdsec_firewall. Meaning I don't need to wrap them from another script. They are supposed to work in vanilla freebsd after all. I can just enable them in /usr/local/etc/rc.conf.d/* I'm tagging @jimp in this thread. He is a Netgate developer and may have some helpful input. Great, thanks
  • Bug - Mellanox MT26448

    1
    0 Votes
    1 Posts
    291 Views
    No one has replied
  • Compiling from Source - Problems with "php-pfSense-module"

    4
    0 Votes
    4 Posts
    562 Views
    bmeeksB
    @fabricioguzzy said in Compiling from Source - Problems with "php-pfSense-module": @bmeeks Hi Bill, Thanks for the heads up. I have created a ticket --> Issue #14593 on redmine. Hopefully it will be fixed. Did you open a ticket for the pfsense-repoc ? I have noticed that it points to an internal Netgate URL, so it's impossible to compile it. Thanks Much, Fabricio. No, I had not gotten around to submmitting a ticket. This issue with pointing to the internal Gitlab URL has happened with other packages in the past, and it eventually sorted itself out. Was just still waiting to see if it would get updated when I saw your post about it.
  • 1 Votes
    5 Posts
    2k Views
    U
    According to my tests, the valid syntax $config['interfaces']['opt1']['enable'] = ""; or unset($config['interfaces']['opt1']['enable']); interface_reconfigure('opt1'); write_config('enable/disable opt1 interface'); exec Real-time enable/disable interface No need for system_reboot_sync();
  • 0 Votes
    3 Posts
    586 Views
    fabricioguzzyF
    pfSense-repoc-5b49b75f2a3cdf2349139152b2ca52e78dcbfd18_GL0.tar.gz doesn't seem to exist in /usr/local/poudriere/ports/Kontrol_v2_7_0/distfiles/. => Attempting to fetch https://gitlab.netgate.com/pfSense/repoc/-/archive/5b49b75f2a3cdf2349139152b2ca52e78dcbfd18.tar.gz?dummy=/pfSense-repoc-5b49b75f2a3cdf2349139152b2ca52e78dcbfd18_GL0.tar.gz fetch: https://gitlab.netgate.com/pfSense/repoc/-/archive/5b49b75f2a3cdf2349139152b2ca52e78dcbfd18.tar.gz?dummy=/pfSense-repoc-5b49b75f2a3cdf2349139152b2ca52e78dcbfd18_GL0.tar.gz: Host does not resolve => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/pfSense-repoc-5b49b75f2a3cdf2349139152b2ca52e78dcbfd18_GL0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/pfSense-repoc-5b49b75f2a3cdf2349139152b2ca52e78dcbfd18_GL0.tar.gz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /usr/local/poudriere/ports/Kontrol_v2_7_0/distfiles/ and try again. *** Error code 1 This is pointing to some internal netgate repository.
  • LAN Firewall Rules showing in Bytes

    3
    0 Votes
    3 Posts
    361 Views
    jimpJ
    The 3100 is a 32-bit platform and those counters rolled over and went negative. https://redmine.pfsense.org/issues/14440
  • Missing Github branches for RELENG_2_7_0

    1
    0 Votes
    1 Posts
    235 Views
    No one has replied
  • pf.os or p0f.fp

    p0f database query
    9
    0 Votes
    9 Posts
    2k Views
    JonathanLeeJ
    @Gertjan Pfsense has the ability in theory to be the first firewall to compartmentalize docker os signatures apart from the host machines and actually control traffic in that manner:) wouldn't that be cool? Again, invasive nation state actors only attack walls at their weakest areas.
  • pfsense/FreeBSD-ports Question

    1
    0 Votes
    1 Posts
    380 Views
    No one has replied
  • How is "uniqid" for a VIP entry generated

    4
    1 Votes
    4 Posts
    687 Views
    T
    Hello, I came across the same topic, it was very useful for me. This is how I decided to implement it in ansible. - name: "Generate a virtual ip address uniq id" ansible.builtin.debug: var: query('community.general.random_string', upper=false, special=false, min_numeric=10, min_lower=3, length=13) # Example result: ['202121w730p1q']
  • pulling model, serial number, netgate device ID from CLI

    3
    0 Votes
    3 Posts
    922 Views
    B
    @jimp super helpful - just what I needed! I'm a powershell guy and here's where I landed on this in case anyone else is in the same boat: $hardwareModelRaw = & "$env:ProgramFiles\putty\plink.exe" admin@$pfSenseIP -pw $pfSensePW -batch -hostkey $pfSenseHostKey 'sysctl dev.netgate.desc' $pos = $hardwareModelRaw.indexof(": ") $hardwareModel = $hardwareModelRaw.substring($pos+2) $pfSerialNumber = & "$env:ProgramFiles\putty\plink.exe" admin@$pfSenseIP -pw $pfSensePW -batch -hostkey $pfSenseHostKey '/bin/kenv -q uboot.boardsn'
  • PR review? Automatic Split-DNS

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