pfSense 2.0 and beyond - BSDCan 09

36
pfSense - 2.0 and beyond Chris Buechler - [email protected] Scott Ullrich - [email protected]

Transcript of pfSense 2.0 and beyond - BSDCan 09

Page 1: pfSense 2.0 and beyond - BSDCan 09

pfSense - 2.0 and beyond

Chris Buechler - [email protected] Scott Ullrich - [email protected]

Page 2: pfSense 2.0 and beyond - BSDCan 09

History of pfSenseStarted as a work project 13 years ago when we needed a internal firewallOriginally Linux, switched to FreeBSD 2.2Evolution of this path shrunk the firewall down to a Soekris sizeMoatware was startedMet Chris Buechler during this timeSell a number of productsSales guy moves to FloridaMoatware failsChris and myself debate starting over freshpfSense is forked from m0n0wall roughly 4 years agoStill going strong today - momentum is snowballing

Page 3: pfSense 2.0 and beyond - BSDCan 09

pfSense Overview

Customized FreeBSD distribution tailored for use as a firewall and router. pfSense has many base features and can be extended with the package system including one touch installations of popular 3rd party packages such as SpamD (spam filter) and Squid (web caching).Includes many features found in commercial products such as Cisco PIX, Sonicwall, Watchguard, etc.Many support avenues available, mailing lists, forum and commercial support.Has the best price on the planet.... Free!

Page 4: pfSense 2.0 and beyond - BSDCan 09

pfSense Platforms

Live CD Full InstallEmbedded Developers

Page 5: pfSense 2.0 and beyond - BSDCan 09

Project statisticsmillions of downloads served11,400 forum members~1200 mailing list users (support and discussion)21 developers12 active developers (committed in the last year)Consistent Google growth

Page 6: pfSense 2.0 and beyond - BSDCan 09

New features (base)Layer 7 QoSNew traffic shaper User ManagerOpenVPN ImprovementsPHP 5Certificate ManagerRouting / Gateways improvementsDashboardLoad balancer changesWeb based PFTOP, TOPIGMP proxy

Page 7: pfSense 2.0 and beyond - BSDCan 09

New features (continued)

Complete new interface systemMultiple DynDNS interface supportDHCP Server improvementsPPTP ImprovementsNew LIBALIAS based in-kernel FTP helperImproved load balancing (incoming and outgoing)

Page 8: pfSense 2.0 and beyond - BSDCan 09

Layer 7 QoS improvements

Based on regex matching systemDetects BitTorrent very nicelyCan detect between bulk and interactive traffic ?About X% overhead for L7PF peels off first X bytes of header for inspection via divert

Page 9: pfSense 2.0 and beyond - BSDCan 09

New traffic shaper

Rewritten from scratch by Ermal LuciSupports HFSC, CBQ, FairQ, PriQUses ALTQNow works on more than 2 interfacesSupports bridgingPretty much all limitations are now gone!

Page 10: pfSense 2.0 and beyond - BSDCan 09

User Manager

Full user manager with user and groups supportCan allow an account to specific areasConsolidating all accounts in various areas (VPN users, etc)LDAP authentication supportPer user certificate support

Page 11: pfSense 2.0 and beyond - BSDCan 09

IPsecMajor overhaul by Matthew Grooms, ipsec-tools committer and author of Shrew Soft IPsec client - http://shrew.netMultiple Phase 2 per Phase 1Transport mode support added

Page 12: pfSense 2.0 and beyond - BSDCan 09

IPsecXauth - user and group authentication

pfSense local user database LDAP

Microsoft Active DirectoryNovell eDirectoryand others...

RADIUSMicrosoft Active Directorymany others

Now a drop-in replacement for Cisco VPN concentrators, PIX firewalls, and routers

Page 13: pfSense 2.0 and beyond - BSDCan 09

OpenVPN

Major overhaul by Matthew GroomsCan now export a Windows Installer bundled with CertificatesNow considered a first class VPN topology in pfSense

Page 14: pfSense 2.0 and beyond - BSDCan 09

New interfacesGREgifPPP (dial up POTS modems, 3G cellular wireless)Many 3G wireless additions lagg(4) interface bonding

failoverload balanceround robinEtherchannelLACP

Page 15: pfSense 2.0 and beyond - BSDCan 09

Bridging enhancementsall of if_bridge capabilities supported18 Advanced configuration options available STP and RSTP - fully configurableSPAN port capable

Page 16: pfSense 2.0 and beyond - BSDCan 09

Certificate Manager

Certificate authority supportGenerate OpenVPN certificatesGenerate user certificatesGenerate HTTPS certificateGenerate IPsec certificatesRevocation supportImport existing certificates

Page 17: pfSense 2.0 and beyond - BSDCan 09

Routing / Gateway Additions

New gateway group featureFailover threshold supports RTT or packet loss triggersGroups now employ a "Tier" type system

Supports balancingSupports interface failover orderingCan fail on packet loss % or 100% down situations

Page 18: pfSense 2.0 and beyond - BSDCan 09

Dashboard

Allows quick access to system informationAdded RSS widgetAdded picture widgetAdded gateways widget with RTT and loss reportingNew AJAX CPU utilization widget

Page 19: pfSense 2.0 and beyond - BSDCan 09

Load Balancer changes (relayd)

Layer3 balancingLayer7 balancingNew monitoring features

Send/expectDNSHTTPHTTPS

Page 20: pfSense 2.0 and beyond - BSDCan 09

Web based pftop

Page 21: pfSense 2.0 and beyond - BSDCan 09

Web based top

Page 22: pfSense 2.0 and beyond - BSDCan 09

IGMP Proxy

Useful for Video in some casesSome phone systems use IGMP for overhead speakersIP TV Gaming

Page 23: pfSense 2.0 and beyond - BSDCan 09

New interface system

All interfaces treated equally - no special status for LAN/WAN. Multi interface PPPoE support (WAN)Multi interface PPTP support (WAN)Allows just one interface to be assigned (appliance mode)QinQ VLAN supportInterface groups

Page 24: pfSense 2.0 and beyond - BSDCan 09

DHCP Server improvements

Dynamic DNS client name registration supportDefinable NTP ServersLDAP URI IntegrationNow allows duplicate IP address registration for multiple MAC addresses Network booting related additions

Next-serverFilenameroot-path-string

Page 25: pfSense 2.0 and beyond - BSDCan 09

New features (packages)JailsFreeSWITCHSquid 3AvahiOpen-VM ToolsPHP ServiceOpenVPN Client Export Utility (Windows)TFTP Server (useful for upgrading Cisco/HP Switches, etc)

Page 26: pfSense 2.0 and beyond - BSDCan 09

Appliance building

pfSense builder system can now automatically generate custom "Appliances" from an overlay file.Simply add files that you want to include into a directory and define the directory in pfsense_local.sh custom_overlay directiveWe will go over a quick appliance build later in this presentation

Page 27: pfSense 2.0 and beyond - BSDCan 09

FreeSWITCH ApplianceCan be run on pfSense directly or as a dedicated appliance.Features:

Voice Mail Voice Mail to e-mail (one or more email addresses, also can be sent to special email addresses for SMS Text Messages) Auto AttendantMusic on Hold (.wav)RecordingsFollow MeText to Speech (flite)

Page 28: pfSense 2.0 and beyond - BSDCan 09

FreeSWITCH Appliance

Features Continued:Call Park Call Forward DISA (Direct Inward/Outward System Access) Call QueuesSIP (TLS) and SRTP and more.Simple to call between multiple systems using the Internet.Call Eavesdrop (aka barge) Call Recording Call Intercept by Group, Global, Extension

Page 29: pfSense 2.0 and beyond - BSDCan 09

FreeSWITCH Appliance

Features Continued:Call ParkGoogle 411

Email: [email protected]

Wiki: http://doc.pfsense.org/index.php/FreeSWITCH

IRC: #pfsense-freeswitch

Page 30: pfSense 2.0 and beyond - BSDCan 09

DNS Server ApplianceMany features removed such as DHCP Server, VPN, etc Two versions released so far, newest based on FreeBSD 8Based on TinyDNS from DJ BernsteinAutomatically synchronizes changes to 5 other hostsAutomatically fail to backup records on host failure using ICMPAutomatically fail to backup record if WAN RTT > XAutomatically fail to backup record if RTT to host Y.Y.Y.Y > XZone transfer support for the BIND folksConfiguration data stored in master config.xml file

Page 31: pfSense 2.0 and beyond - BSDCan 09

Creating an appliance(overview)

Install FreeBSD 7 Follow http://devwiki.pfsense.org/DevelopersBootStrapAndDevIsoExcute these shell commands:

cd /home/pfsense/tool/builder_scriptscp builder_profiles/pfDNS/pfsense_local.sh ./build_iso.sh

Page 32: pfSense 2.0 and beyond - BSDCan 09

Creating your own appliance(Overview)

cd /home/pfsense/tools/builder_scripts/builder_profiles/cp -R pfDNS MyAppliance && cd MyAppliancegrep -R "pfDNS" * | cut -d":" -f1 | sort -uREADMEconfig/config.xmlcopy_overlay/boot/beastie.4thcopy_overlay/etc/inc/globals.inccopy_overlay/usr/local/share/dfuibe_lua/conf/pfSense.luapfsense_local.shEdit the above files to your liking

Page 33: pfSense 2.0 and beyond - BSDCan 09

Building your appliance(overview)

cd /home/pfsense/tools/builder_scriptscp builder_profiles/MyAppliance/pfsense_local.sh ../build_iso.shSee http://devwiki.pfsense.org/CreatingAnAppliance

Page 34: pfSense 2.0 and beyond - BSDCan 09

BSD Perimeter milestones

Chris is now working Full TimeBSD Perimeter coordinating MIPS port for RouterStationpfSense book will be released in the next couple months Commercial support is growing with satisfied customersSponsored IPsec improvementsSponsoring various misc projects on behalf of customer, IGMP package for 1.2.*, etc

Page 35: pfSense 2.0 and beyond - BSDCan 09

Questions?

Comments?

Page 36: pfSense 2.0 and beyond - BSDCan 09

Thanks for attending!

[email protected]@pfsense.org