Subcategories

  • Discussions about packages which handle caching and proxy functions such as squid, lightsquid, squidGuard, etc.

    4k Topics
    21k Posts
    I
    @andrew_cb said in haproxy 0.63_2 weird behavior, edits not working: @iSagen @TheCyborgWeasel The issue is likely the same as in https://forum.netgate.com/topic/178348/haproxy-backend-port-changes-are-not-applied/ Try adding load-server-state-from-file none to the Advanced Settings > Backend pass thru section of each backend. Great! I will do this.
  • Discussions about packages whose functions are Intrusion Detection and Intrusion Prevention such as snort, suricata, etc.

    2k Topics
    16k Posts
    bmeeksB
    @NRgia said in Suricata on Pfsense: @bmeeks Thank you for what you did for Snort or Suricata. I'm not sure what you want me to do on Redmine, due to is a bug tracker. My question is for Product Management, which I will ask it here to be public: What is the plan for these 2 packages, Suricata and Snort? Thank you Yes, Redmine is for both bug reports and feature requests. Asking for the Suricata binary to be updated to the latest 7.0.11 version from upstream is a legitimate Redmine request. I would suggest simply asking for the binary version update instead of asking about future Netgate strategy (such as the support plans for the packages). Strategy discussions typically don't get very far because they deal with proprietary information or plans that a company may not want to publicly discuss. Redmine is where the Netgate developer team tracks all the code changes they make for pfSense. They will see Redmine reports much quicker than a forum post.
  • Discussions about packages that handle bandwidth and network traffic monitoring functions such as bandwidtd, ntopng, etc.

    571 Topics
    3k Posts
    dennypageD
    @Leon-Straathof Data retention settings are handled inside of ntopng. Documentation here. Pay attention to the RRD note. Also, if you've turned on some of the slice and dice time series information (is off by default), I'd suggest turning them back off. These balloon the storage requirements and are of little actual use.
  • Discussions about the pfBlockerNG package

    3k Topics
    20k Posts
    J
    @keyser Clarify "it makes sense if the GEOIP DB has that size" are you referencing the asn data as I have shown or the maxmind data? the asn data takes all of 15 seconds to download and process. Not really any "magic" going on there, you can see the mmdb is only a download referenced and the asn.csv.gz is basically just unzipped. I can't comment on the maxmind data specifically because I don't use for my geo location. But I can see what the code should be doing. seeing your actual log file will help determine where your specific spike may be coming from, but if I had to guess from looking at the code and my timing with respect to the asn parts of it I would guess this is most likely to be an issue with the maxmind parts - timing should be in the log. can you change when it runs ? no, not directly, there is no way to do this without changing the code to target a specific time when it creates the cron job in the first place. No you can't change the timing of the cron job and have it stick, it will eventually just go random again. On the other hand, yes, because I changed the code here so it always creates the same "not so random" time.. runnning at same time every day since this code change first became available in the pfblockerNG update for 24.11 that came out months ago, well before 25.07 curious you originally said "noticed this after upgrading to 25.07 and pfb 3.2.7" were you running the "new" format of asn data before? (would have only been possible if you upgraded from 24.11 with the latest version of pfb installed) you would have entered and ASN key at some point to make it work. did you do that under the prior version and just now with 25.07) it's likely not significant, but then again .... That likely won't help your spike, other than moving it to a different time. I moved it here to a static ("not so random") time for other reasons, nothing to do with system load at the time.. Log files would be helpful. (just the snippet that applies to this time, from extras, error and pfblockerng logs there may be nothing in error or pfblockerng related to the time it is running. .
  • Discussions about Network UPS Tools and APCUPSD packages for pfSense

    101 Topics
    2k Posts
    dennypageD
    @jhg said in NUT fails to start after 2.7.2 -> 2.8.0 upgrade: Interesting. I would have thought the initial reboot, which occurred as part of the upgrade, would have done the trick, but it took a second reboot, just now, to get things working. Glad you have it sorted. There was no difference in the output of usbconfig show_ifdrv at any point -- before or after unplugging/replugging the USB cable, nor after rebooting. ... Question: What would tell me whether or not a driver was loaded? If there were an attached driver, it should have shown up with the show_ifdrv command. If you use the command and look at the other usb devices, I think they will show attached drivers. I don't expect to see a driver attached to the ups, because there is a quirk that tells the OS to ignore that device (and not attach a driver). Look for idVendor and idProduct in the above output. The Vendor ID for your device is 0764, which corresponds to Cyber Power Systems, and the Product ID for your device is 0601, which is registered as "PR1500LCDRT2U UPS" (don't sweat an exact match for the name). You can see the quirk with the following command: [25.07-RC][root@fw]/root: usbconfig dump_device_quirks | grep 0764 VID=0x0764 PID=0x0005 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0764 PID=0x0501 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE VID=0x0764 PID=0x0601 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_HID_IGNORE [25.07-RC][root@fw]/root: Your device is third on the list. The HID_IGNORE quirk says to ignore the device and not attach a driver. @jhg said in NUT fails to start after 2.7.2 -> 2.8.0 upgrade: You might consider adding this resolution to the release notes for 2.8. LOL... sorry, I don't have input to the release notes (I don't work here). While I wrote and maintain various packages, including NUT, I'm still just a volunteer. Most packages are actually written by volunteers.
  • Discussions about the ACME / Let’s Encrypt package for pfSense

    495 Topics
    3k Posts
    M
    @raidflex said in updating to acme 1.0 breaks system beyond repair: need to restore from backup: maybe uninstall Crowdsec when applying other updates first. It seems like it doesn't help at least from what I see on my system... it changes something.. so it must be definitely reported to their github. I have never experienced that before and crowsec was installed.. maybe with 2.8.0 something have changed
  • Discussions about the FRR Dynamic Routing package on pfSense

    294 Topics
    1k Posts
    yon 0Y
    said in Please update frr on Pfsense+ to FRR 10.3: https://redmine.pfsense.org/issues/15785 now frr 10.4.1
  • Discussions about the Tailscale package

    90 Topics
    595 Posts
    E
    Updated CE 2.7.2 to 1.86.2_1 Changelog pkg add -f https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/tailscale-1.86.2_1.pkg Freshports
  • Discussions about WireGuard

    693 Topics
    4k Posts
    lvrmscL
    Strangely enough, checking the system 4 days later, I now see that Wireguard service is reported running! The last thing I did 4 days ago was to disable Wireguard service monitoring by the Service Watchdog. Anyway, even when it was reported stopped at first, 4 days ago, the tunnels were working flawlessly. Very strange. I will keep an eye on it.
  • Snort - ….rules(385) threshold (in rule) is deprecated;...

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    V
    Doh wrong oinkcode.  ::)
  • Imspector 0.94 failed to install

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    M
    Thanks!
  • Unbound: Can't access DNS server from IPSEC Connection

    Locked
    1
    0 Votes
    1 Posts
    968 Views
    No one has replied
  • UDPXY v. 1.0 (Build 21) standard

    Locked
    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • HAVP: Heuristics.Broken.Executable

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    M
    Hello,   change done, tested on two boxes and committed. To use this new option you should reinstall the package (at least the interface part). The tricky thing is that after you change this option you should restart clamd manually, because otherwise the change is not applied, and I don't know why you can't restart that service using the interface. To restart the service, just go in the "Diagnostic => Command Prompt" page and run in the "Execute Shell command": /usr/local/etc/rc.d/clamd stop then /usr/local/etc/rc.d/clamd start Hope it will be useful to all as it is for me… Ciao, Michele
  • OpenNTP configuration blues

    Locked
    8
    0 Votes
    8 Posts
    3k Views
    jimpJ
    Well that isn't exactly the same thing. Binding to one IP changes how the responses are sourced for cases like VPNs, and not binding at all is more secure than merely filtering responses. Having the code to set that up for FreeBSD's NTP would help the cause though, it was just too much work at the time. I don't remember the issue with NTP but here is a similar one for SNMP, given that they're both UDP services it may be similar reasoning. SNMP bound to all interfaces, if you query it, will respond from whatever IP is "closer" to the client. So if you are on DMZ and query SNMP on the LAN IP of the firewall, it responds from the firewall's DMZ IP. Bind only to the LAN IP and the problem goes away. For the case of coming over an IPsec VPN, binding only on the interface included in the Phase 2 of the VPN allows it to talk properly over the VPN, where otherwise it has issues for some of the same reasons as above. It would try to respond back via the default gateway and use the wrong IP in the process, so it wouldn't match the Phase 2 and it would miss the VPN. Now admittedly I'm not intimately familiar with FreeBSD's ntp so I don't know if the restrict options can actually change the binding. If they do, it's news to me, but it would be very welcome news. I would very much like to use FreeBSD's ntp so we can use things like ntpq to get a detailed status report from it.
  • Ubound install hangs and leave web configuration page hang too.

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • SquidGuard + LdapGroup

    Locked
    6
    0 Votes
    6 Posts
    5k Views
    marcellocM
    A small contribution for this great package This script extract users from LDAP/Active Directory and apply on squidguard config To use this script, follow these steps: Rename group acl to active directory group name you want to apply Fill up AD info (hostname, username, dn, etc) on script Run the script via console, ssh or via cron squidguard_ldap.php // based on http://samjlevy.com/2011/02/using-php-and-ldap-to-list-of-members-of-an-active-directory-group/ // pfsense integration by marcelloc and ccesario # AD HOST (required) $ldap_host = "192.168.3.1"; # AD DIRECTORY DN(required) $ldap_dn = "DC=domain,DC=local"; # BIND USER(required) $user_bind = "cn=squidguard,cn=Users,DC=trf1,DC=gov,DC=br"; # PASSWORD BIND(required) $password = "super_secret_password"; #if you need to apply any prefix or sufix to retreived user #example: prefix user with domain(required) #$user_mask="DOMAIN\USER"; $user_mask="USER"; #################### # End of user options  # #################### require_once("/etc/inc/util.inc"); require_once("/etc/inc/functions.inc"); require_once("/etc/inc/pkg-utils.inc"); require_once("/etc/inc/globals.inc"); #mount filesystem writable conf_mount_rw(); function explode_dn($dn, $with_attributes=0) {    $result = ldap_explode_dn($dn, $with_attributes);    foreach($result as $key => $value) {         $result[$key] = $value;    }    return $result; } function get_ldap_members($group,$user,$password) { global $ldap_host; global $ldap_dn; $LDAPFieldsToFind = array("member"); $ldap = ldap_connect($ldap_host) or die("Could not connect to LDAP"); // OPTIONS TO AD ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION,3); ldap_set_option($ldap, LDAP_OPT_REFERRALS,0); ldap_bind($ldap, $user, $password) or die("Could not bind to LDAP"); $results = ldap_search($ldap,$ldap_dn,"cn=" . $group,$LDAPFieldsToFind); $member_list = ldap_get_entries($ldap, $results); $group_member_details = array(); foreach($member_list[0] as $list) if (is_array($list)) foreach($list as $member) { $member_dn = explode_dn($member); $member_cn = str_replace("CN=","",$member_dn[0]); $member_search = ldap_search($ldap, $ldap_dn, "(CN=" . $member_cn . ")"); $member_details = ldap_get_entries($ldap, $member_search); $group_member_details[] = array($member_details[0]['samaccountname'][0]); } ldap_close($ldap); array_shift($group_member_details); return $group_member_details; } // Read Pfsense config global $config,$g; $id=0; $apply_config=0; if (is_array ($config['installedpackages']['squidguardacl']['config'])) foreach($config['installedpackages']['squidguardacl']['config'] as $group) {   $members="";   echo  "Group : " . $group['name']."\n";   $result = get_ldap_members($group['name'],$user_bind,$password);   foreach($result as $key => $value) {     if (preg_match ("/\w+/",$value[0]))       $members .= "'".preg_replace("/USER/",$value[0],$user_mask)."' ";   }   if (!empty($members))   if($config['installedpackages']['squidguardacl']['config'][$id]['source'] != $members){   $config['installedpackages']['squidguardacl']['config'][$id]['source'] = $members;   $apply_config++;   }   $id++; } if ($apply_config > 0){ print "user list from LDAP is different from current group, applying new configuration..."; write_config(); include("/usr/local/pkg/squidguard.inc"); squidguard_resync(); print "done\n"; } #mount filesystem read-only conf_mount_ro(); ?> I've tested it only on my domain, so test it before production  ;) att, Marcello Coutinho
  • OpenVPN Client Export Utility Missing Configuration

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    N
    You can add this in the custom options of teh client export utility - for every exported client config.
  • Snort rules within categories grayed out

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    K
    The main problem with it is even if does get enabled & disabled as you tune the pfsense instance as soon as the next update happens it overwrites it. I have mentioned this before if someone was able to change it so that when you enable/disable it the change is made in the pulledpork/oinkmaster configuration file to remember it. Your only other option is to use pulledpork on another machine to pull the rules down and tune them and then copy them over to your pfsense box and disable auto-updates on the box itself. Regards, Kevin
  • IP-Blocklist

    Locked
    496
    0 Votes
    496 Posts
    568k Views
    J
    I cannot remove ip-blocklist in 1.2.2. Is there a way to remove or uninstall it using terminal?  Thanks
  • Stumped: cant get standard haproxy to work in VM pfsense, works ok in HW

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    A
    Not sure how to check if haproxy is running, but I can see it hitting the apache every second with its heartbead "head" requiest.
  • Not caching any thing at all?

    Locked
    9
    0 Votes
    9 Posts
    4k Views
    N
    @saywhaat: @Nachtfalke: Choose this pattern: refresh_pattern -i .*apple\.com/.*\.(pkg|dmg) 259200 100% 259200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-private; refresh_pattern -i .*microsoft\.com/.*\.(cab|exe|msi|msp) 259200 100% 259200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-private; refresh_pattern -i .*windowsupdate\.com/.*\.(cab|exe|msi|msp) 259200 100% 259200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-private; refresh_pattern -i .*ubuntu\.com/.*\.(tar|bz|bz2|gpg|gz|zip|deb) 259200 100% 259200 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-private; range_offset_limit 100 MB; quick_abort_pct 60; They are working for me with Windows XP updates and Windows 7 updates. Thanks, this worked..at least with files I download directly from the Microsoft site. I'm having the techs run automatic updates today, keeping my fingers crossed. I also added in a couple more MS subdomains. So if I enter in these refresh patterns for certain URLs, does this mean files from sites not included in my refresh pattern do not get cached? Files will always be cached if the site allows to cache them. If the header says "do not cache" then squid will not cache these files by default. But we can override these settings - that's why we use the refresh_pattern with the aadditional commands: override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-private; Probably MS does not want you to cache updates  ;)
  • Squid Performance Issues - Immediately after starting

    Locked
    9
    0 Votes
    9 Posts
    3k Views
    J
    I'm using ufs.
  • HAProxy package overwrite

    Locked
    27
    0 Votes
    27 Posts
    12k Views
    J
    @marcelloc: @Briantist: I'm still seeing an old name on 64 bit. The 32 bit .xml on github is using the name haproxy-full it seems, but while still storing all the files in a directory called haproxy-legacy. Just a bit confused by the name, and I'd like the clear the whole thing up all at once. I'll do on next update. @Briantist: Also it still seems to be downloading from your site (e-sac.siteseguro.ws). Previously, I thought this would change to point back to the pfsense servers. Again files.pfsense has not the latest version(1.4.19) of haproxy. jwelter99, to disable haproxy gui package, go on services -> haproxy and uncheck Enable HAProxy Thanks, what I did was remove the haproxy package from pfsense, and then just did a pkg add to add it back to freebsd and used filter to do the rest.  Seems to be a reasonable approach as the config doesnt change often and pfsense updates don't happen often either(thats a good thing!)
  • Imap proxy

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Squid and Squidguard not working in pfsense 2.0

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    D
    @rdevries: I am having the same issue. The blacklist is not downloading. I click on the download button and nothing happens. Try to use Chrome or FFox browser's, IE version's can have problem with ajax scripts.
  • Ntop - Error 400 - won't start

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • SquidGuard vs. DansGuardian

    Locked
    4
    0 Votes
    4 Posts
    23k Views
    marcellocM
    @mahoon: Hi marcelloc ,Squid +Dansguardian provide content filtering in addition to acl.Is there  performans losing ? Not at all. I'm using it in production with more levels without issues. dansguaridan + squid works fine A complex setup I could get working was: squid_with_kerberos_auth_and_no_cache  –> dansguardian ---> varnish ---> squid_cache
  • Can't find Lightsquid in Package List

    Locked
    6
    0 Votes
    6 Posts
    2k Views
    K
    have a look at this (by nachtfalte) http://forum.pfsense.org/index.php/topic,43384.msg224600.html#msg224600
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.