pfsense/etc/inc
Phil Davis 2cd249edf0 Make not LAN address etc rules work
I cannot understand how this worked anywhere in the recent past. The code fragment:
if(isset($rule[$target]['not']))
	$src = " !{$src}";$src = " !{$src}";
Appeared in multiple if/else clauses but was missing in 2 places, which I have added.
Actually, it is now duplicated in every part of the filter_generate_address if/else structure, and so it could be applied once at the end of the routine.
I have taken the minimal risk approach here, since I am not in a position to test every if/else case properly. But I can easily create a version that removes the code duplication, and someone else can test it well before committing (this is a fundamental bit of rule code that everyone uses, so I don't want to accidenatally break it worse for some poor sod.)
2013-02-04 10:00:59 +05:45
..
priv Add initial support for a privilege that denies write access to the config. 2012-10-09 10:40:56 -04:00
simplepie
array_intersect_key.inc Implement gettext() calls on array_intersect_key.inc 2010-08-13 13:32:53 -03:00
auth.inc Something in the LDAP libraries has changed and it no longer likes spaces in the CA filename. Use the refid for the CA filename since it will always be unqiue, and it will never contain any spaces, unlike authname or the CA's descr. 2013-01-14 16:28:40 -05:00
authgui.inc Update PHP shorthand tag 2013-01-14 13:27:36 +00:00
basic_sasl_client.inc Ticket #1141. Add necessary stuff for smtp auth using sasl 2011-01-02 15:30:44 -05:00
captiveportal.inc Configure pipe directly in php until ipfw binary is fixed to correctly configure pipes even that context is specified 2013-01-27 16:42:08 +00:00
certs.inc Allow selecting the digest algorithm when creating a CA or Cert. Implements #2765 2013-01-21 14:33:19 -05:00
CHAP.inc - Added support for MSCHAPv2, MSCHAPv1 and CHAP_MD5 to captive portal 2011-11-29 15:16:35 +01:00
config.console.inc Merge git pull request 313 from bcyrill with some modifications 2013-01-16 13:29:49 +00:00
config.gui.inc Resolve merge conflict 2011-03-06 16:18:29 -05:00
config.inc Change ereg() to preg_match() function 2012-06-30 09:55:50 -03:00
config.lib.inc Better test if we're running at the cli or in lighty. Also suppress output for the session start if it fails. 2013-01-15 11:28:56 -05:00
cram_md5_sasl_client.inc Ticket #1141. Add necessary stuff for smtp auth using sasl 2011-01-02 15:30:44 -05:00
crypt.inc Fixup paths when executing OpenSSL. 2013-01-27 12:20:31 -05:00
digest_sasl_client.inc Ticket #1141. Add necessary stuff for smtp auth using sasl 2011-01-02 15:30:44 -05:00
dyndns.class dynamic dns update url for dns.he.net fixed 2013-01-03 20:29:08 +01:00
easyrule.inc Fixup easyrule block for IPv6 2012-10-05 13:44:44 -04:00
filter_log.inc Try a little harder to find the protocol rather than giving up. Fixes #2751 2013-01-25 16:41:48 -05:00
filter.inc Make not LAN address etc rules work 2013-02-04 10:00:59 +05:45
functions.inc Allow dom_title width parameter to be null 2012-07-26 08:32:34 +05:45
globals.inc Add IPv6 privacy settings tunables. Keep the default FreeBSD value for them, that is disabled. This implements feature request #2587 2013-01-21 12:14:37 -02:00
growl.class Remove trailing carriage return 2010-11-10 12:00:32 -05:00
gwlb.inc Oops correct interface name 2013-01-30 17:07:41 +00:00
interfaces.inc Removed unused block of code 2013-02-01 11:22:07 -02:00
ipsec.attributes.php Allow other system authentication types to be used with ipsec. LDAP/RADIUS/local acc 2012-11-14 19:31:09 +00:00
ipsec.auth-user.php Correct checking for privileges. 2012-11-19 16:54:50 +00:00
ipsec.inc Correct displaying of ipsec status for natted networks. 2013-01-27 16:13:25 +00:00
IPv6.inc Remove trailing carriage return 2010-11-10 12:00:32 -05:00
itemid.inc Remove trailing carriage return 2010-11-10 12:00:32 -05:00
led.inc Remove trailing carriage return 2010-11-10 12:00:32 -05:00
login_sasl_client.inc Ticket #1141. Add necessary stuff for smtp auth using sasl 2011-01-02 15:30:44 -05:00
meta.inc Remove trailing carriage return 2010-11-10 12:00:32 -05:00
notices.inc Add a small function to notify via remote methods only (smtp/growl). Notify when a dyndns IP changes. 2012-06-26 14:07:13 -04:00
ntlm_sasl_client.inc mhash -> hash change from Ermal 2012-01-19 14:50:15 -05:00
openvpn.attributes.php Remove left-over from copy-pasto 2012-06-05 19:40:38 +00:00
openvpn.auth-user.php Make it more clear what is the username during syslog 2012-11-14 19:32:34 +00:00
openvpn.inc Permit openvpn to use same port on different interfaces. It should fix #814 2013-01-29 15:30:35 -02:00
openvpn.tls-verify.php Comment out debug print for cert verification 2012-01-24 16:14:44 -05:00
PEAR.inc Add class PEAR5 code rather than a new file 2012-01-19 18:58:49 +00:00
pfsense-utils.inc Avoid duplicate hw.usb_no_pf entry on loader.conf 2013-02-01 14:02:14 -02:00
pkg-utils.inc Add version check to package install 2013-01-17 19:36:17 +01:00
plain_sasl_client.inc Ticket #1141. Add necessary stuff for smtp auth using sasl 2011-01-02 15:30:44 -05:00
priv.defs.inc Remove exec_raw.php since its gone and add browser.php to the list of matches for Edit File Page 2012-11-20 14:13:47 +00:00
priv.inc fix permissions check to xml package files and show only menus user has access to 2012-06-12 11:08:46 -03:00
r53.class This patch add Route 53 as new Dynamic DNS provider into dyndns infrastructure. 2012-04-01 02:03:49 -03:00
radius.inc support HP RADIUS attributes for bandwidth, url, data quotas 2013-01-29 12:11:55 -08:00
rrd.inc Avoid killing apinger's rrdtool processes on kill_traffic_collector(). It helps a problem reported on comment of ticket #1399 2013-02-01 16:59:46 -02:00
sasl.inc Ticket #1141. Add missing sasl.inc 2011-01-03 17:47:08 -05:00
service-utils.inc Make is_pid_running function return more conisten results by using isvalidpid 2013-01-03 10:25:53 +00:00
services.inc Silence error. Maybe the command should be removed completely! 2013-01-30 11:59:28 +00:00
shaper.inc Previous attempt to fix #1995 allow to set more than one default queues, prevent it with this change. It should fix #1995 2013-01-21 09:45:36 -02:00
smtp.inc Try harder to determine hostname when sending e-mail. 2012-08-24 08:47:31 -04:00
system.inc Fixup paths when executing OpenSSL. 2013-01-27 12:20:31 -05:00
unbound.inc Use isset() for DNSSEC status 2012-04-05 15:08:29 +02:00
upgrade_config.inc Fix rrd databases upgrade. Helps ticket #2651 2013-01-28 11:30:10 -02:00
util.inc Add option filter to return_dir_as_array() 2013-01-28 11:28:35 -02:00
uuid.php
voucher.inc Update /etc/inc/voucher.inc 2013-01-19 05:24:43 +01:00
vpn.inc Update etc/inc/vpn.inc 2013-01-22 20:36:27 +01:00
vslb.inc Due to the DHCP pool tag needing to be an array, rename the old LB "pool" variable to something else so it's not interpreted as an array. 2012-09-26 13:20:39 -04:00
wizardapp.inc fixed spelling 2013-01-14 20:54:06 -05:00
xmlparse_attr.inc Remove trailing carriage return 2010-11-10 12:00:32 -05:00
xmlparse.inc Add support for multiple DHCP pools within the interface's subnet, and allow most of the settings for the main range to be set specific inside the pool. (e.g. it allows setting different gateways and DNS for different pools). Still needs improved input validation to prevent overlapping ranges/pools. 2012-09-16 19:33:49 -04:00
xmlreader.inc Add support for multiple DHCP pools within the interface's subnet, and allow most of the settings for the main range to be set specific inside the pool. (e.g. it allows setting different gateways and DNS for different pools). Still needs improved input validation to prevent overlapping ranges/pools. 2012-09-16 19:33:49 -04:00
xmlrpc_client.inc Add some missing ;'s. 2011-09-29 16:14:38 -04:00
xmlrpc_server.inc Merge remote-tracking branch 'upstream/master' 2011-07-12 19:57:42 -04:00
xmlrpc.inc Test for value present before using. 2011-03-30 22:21:13 +00:00
zeromq.inc Merge remote branch 'mainline/master' into inc 2010-08-20 10:04:54 -03:00