Subcategories

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

    4k Topics
    21k Posts
    E
    I even tried deleting and creating a new certificate. Any suggestions?
  • 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: Your suggestion is preferred, but from I understood from you, nobody is interested or have the knowledge. Again thank you, for updating this package over the years. I'm sure there is someone here on the forum using the package that has the knowledge to maintain it. Another option if IDS/IPS is critical is to use the Linux package on a separate virtual machine or hardware appliance. Inline IPS performance would actually be very good using a Linux box (or even a FreeBSD box) with two separate NICs and configure true netmap hardware-to-hardware mode. That is many times more performant than the hardware-to-host mode that is required when using netmap within pfSense. Of course using a separate box would mean no GUI, but that's how the vast majority of the world uses Suricata already (without a GUI).
  • Discussions about packages that handle bandwidth and network traffic monitoring functions such as bandwidtd, ntopng, etc.

    572 Topics
    3k Posts
    keyserK
    @Antibiotic No it’s not possible with NtopNG as it is not a Netflow collector. You need nProbe for that which will “translate” recieved netflows into flows that NtopNG understands and can visualize (with very very little detail might I add as Netflows has no additonal information apart from sender/reciever and volume). The NtopNG package and the product in general is more geared towards visualising and recording traffic details from actual packet captures. This contains MUCH more metadata about the sessions than netflows (DNS names, protocol information and myriads of other things). But pffSense Plus has a builtin Netflow exporter if you have an external netflow collector on hand.
  • Discussions about the pfBlockerNG package

    3k Topics
    20k Posts
    V
    @Gertjan Thanks for your reply – that’s also my impression. The point is: I don’t really see any lists right now that are actually “maintained” in the sense of being actively cleaned up, checked for dead domains, categorized, etc. That’s why my main interest is more about the demand: Would curated lists really be a game changer for admins? Would they be more helpful than what’s available today, or are most people already using other alternatives? If so, which ones? And from your perspective, what would be your expectation towards “community lists”? (e.g. reliability, update frequency, categories, fewer false positives?)
  • 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

    501 Topics
    3k Posts
    A
    Hi, Please help to forward / report the bugs in ACME 1.0 package. Thanks.
  • Discussions about the FRR Dynamic Routing package on pfSense

    295 Topics
    1k Posts
    J
    Anyone else happen to notice that when configuring BFD, if you create a peer and select a profile - after save, re-edit the peer and the Profile is not represented. It appears as "None". You have to check the raw config to determine if the profile was actually assigned to the peer. This is on 2.8.1 (all packages up to date as of the date/time of this post). UPDATE: if re-edit and save (without re-configuring the profile none to what you want) - the save will strip the profile from the peer.
  • Discussions about the Tailscale package

    91 Topics
    611 Posts
    T
    Hi All, I use HAProxy to redirect to a range of https internal resources, this works really well at the moment through the WAN where I have source limits set up, and I can connect to the internal resources from limited external IP Addresses. Given I have tailscale I would like to basically be able to put custom dns entries in to point these hostnames to my pfsense tailscale IP4 address (100.89.148.118) but I am not having any luck getting this working. At the moment, I am just trying to connect to HAProxy using https://100.89.148.118 but it is getting blocked by the firewall. Sep 11 11:55:58 tailscale0 Default deny rule IPv4 (1000000103) 100.89.148.10:53148 100.89.148.118:443 TCP:S I have tried with and without NAT redirecting internally to 127.0.0.1, and I also have rules set up to allow any traffic to and from my tailnets (defined in an alias) but I still keep getting these connections from my other tailscale machines being blocked on the pfsense machine. Can someone give me some pointers on what I am missing because I can see the requests are coming through to the pfsense machine, and in theory the rules should allow it through but I cant see why they don't. I do have tailscale ACL in place, but clearly that is not an issue as the requests are making it through to the firewall. 0/0 B IPv4+6 TCP/UDP TailNets * TailNets * * none Allow across Tailnets 0/0 B IPv4+6 TCP/UDP * * * 443 (HTTPS) * none Allow Tailscale IP4 I also tried adding a EasyRule but because the tailscale0 interface doesn't exist in pfsense it throws an error and won't let me add that rule. Appreciate any help or tips, Cheers.
  • Discussions about WireGuard

    700 Topics
    4k Posts
    Bob.DigB
    @HFADmin If it is no Site2Site-VPN then you don't need any gateways in the first place... If that is true but you want to monitor the connection then you could create dummy-gateways just to ping the remote ip-addresses.
  • PfSense 2.0.1 install squid failed!

    Locked
    31
    0 Votes
    31 Posts
    24k Views
    S
    still can't access.
  • Squid - Squidguard replaced by Varnish/Danguardian?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    marcellocM
    @tester_02: Squid 3.  Looks like a reverse proxy version of squid.  Does it run on normal cache mode? It runs on both modes. http://forum.pfsense.org/index.php/topic,44735.msg249094.html#msg249094 @tester_02: Does it work with squidguard? @tester_02: Varnish.  Does it run in transparent mode? Varnish is a http reverse proxy with caching, you point your dns record to it's ip and it does balance,fail over,reducer server load, etc. You can configure it to act as a proxy server but it's designed to reverse proxy, so AFAIK no transparent support for it. @tester_02: Does anyone have varnish/danguardian working nicely as a transparent proxy and filtering? I do as proxies only. Transparent proxy do only http filtering leaving https 'free'. A WPAD/PAC configuration is more secure this way.
  • Squid: webgui_port added to safeports and sslports acl in squid.inc

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Include changes from squid to squid2 and squid-reverse

    Locked
    7
    0 Votes
    7 Posts
    2k Views
    jimpJ
    I would just keep going with squid3 and ditch the -reverse one.
  • 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
    969 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
    581k 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
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.