Project

General

Profile

Download (41.5 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
b1b42a06 09/28/2011 11:32 PM Warren Baker

Combine is_subnet to check for both v4 and v6 subnets

fdb9c1db 09/28/2011 11:26 PM Warren Baker

Add is_subnetv6 for checking of IPv6 subnets

5dc98f2e 08/25/2011 09:14 AM Seth Mos

Implement correct gen_subnetv6_max function that you can throw random prefix lengths in. Fixes Ticket #1725

e6f7e0be 08/21/2011 11:13 AM Seth Mos

Fix the referrer checks for IPv6 addresses Ticket #1583

e15e9c6b 08/17/2011 08:15 PM Ermal LUÇI

Ticket #1279. Decrease the refcount even though we're in booting phase. This helps the refcount to work as intended and help in making filesystem read only correctly on embedded platfroms. While here put some exceptions to refcount API and silent any related errors that might trigger. Also take not of the NOTE on the php manual that after a share memory is opened further references to it for size and access mode should be 0.

7734aea6 08/17/2011 02:15 AM Andrew Thompson

Make initial changes to allow pfSense to work in a jail.

This mostly avoids starting things that will not work and gets the
initial config. Most of the pfSense functionality will not work
(pf rules, routing, etc) but it can be used for testing.

6ebf7095 08/04/2011 02:58 PM Scott Ullrich

Remove trailing newline

8b6313a4 07/12/2011 11:57 PM Jim Pingle

Merge remote-tracking branch 'upstream/master'

Conflicts:
etc/inc/easyrule.inc
etc/inc/filter.inc
etc/inc/interfaces.inc
etc/inc/services.inc
etc/inc/xmlrpc_client.inc
usr/local/www/fbegin.inc
usr/local/www/services_dhcp.php

13b9dba9 07/07/2011 08:03 PM Jim Pingle

Merge remote branch 'upstream/master'

fab60c5e 07/07/2011 04:55 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

5ffa3389 07/06/2011 06:52 PM Ermal LUÇI

Feature #1603. Correct nested urltable alias code to be more fullproof to errors and does not break the ruleset on large lists of urltables. Though this needs a revisit to work properly since it breaks urltable alias property of reloading contents.

48427553 06/28/2011 07:55 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

0e61e3e4 06/22/2011 09:00 PM Jim Pingle

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/filter.inc
etc/inc/util.inc

5bbd08e1 06/21/2011 06:05 PM Warren Baker

More whitespace fixes.

1015b3a9 06/21/2011 05:44 PM Warren Baker

If no event_address in globals.inc specified assume the default. Also fixed whitespaces.

c7bb0eed 06/21/2011 12:12 PM Jim Pingle

Merge remote branch 'upstream/master'

Conflicts:
etc/version

f0b17f3f 06/20/2011 11:50 AM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

857da904 06/19/2011 07:08 PM Scott Ullrich

Do not check dynamic and special interfaces for a complete interface mismatch error

45d4b71e 05/23/2011 06:57 PM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

e4aa1eae 05/19/2011 06:51 PM Jim Pingle

Merge remote branch 'upstream/master'

bac9941b 05/19/2011 05:34 PM Jim Pingle

Reject alias names that are too long. Fixes #1510

54bdff75 03/25/2011 11:49 AM Vinicius Coque

Merge remote-tracking branch 'mainline/master' into inc

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/filter.inc
etc/inc/pfsense-utils.inc
etc/inc/pkg-utils.inc
etc/inc/priv.defs.inc
etc/inc/services.inc...

6c4f3b54 03/14/2011 08:40 PM Seth Mos

Make sure to note the limitations to gethostbyname, it does not work for Quad A records. Fix resolve_retry in the process, use that.

b4c826ad 03/06/2011 09:18 PM Scott Ullrich

Resolve merge conflict

56f25370 03/02/2011 05:24 PM Erik Fonnesbeck

Simplify is_macaddr regex.

c5682801 03/02/2011 05:08 PM Jim Pingle

Slight regex fix on is_macaddr - the previous regex was letting through a mac without : separators, leading to improper validation and potentially invalid dhcp configs. Seen here http://forum.pfsense.org/index.php/topic,33830.0.html

e269b621 03/02/2011 09:39 AM Seth Mos

Merge remote branch 'upstream/master'

05c4bfa0 03/01/2011 11:40 PM Ermal LUÇI

Pass the -a parameters to pgrep to be certain we search ancestors as well. The side effects might be inoquos from the pfSense context.

3fc4a490 02/04/2011 02:18 PM Seth Mos

Remove this compress line, it breaks the dhcpv6 config

cf6bc278 02/03/2011 10:07 PM Seth Mos

Fix the subnet check for gif tunnels by dropping the bits to 126.
Always compress the subnet address for easier reading

9d3d8d00 01/28/2011 07:32 PM Vinicius Coque

Merge branch 'master' into inc

Conflicts:
etc/inc/captiveportal.inc
etc/inc/config.console.inc
etc/inc/config.lib.inc
etc/inc/easyrule.inc
etc/inc/filter.inc
etc/inc/ipsec.inc
etc/inc/pkg-utils.inc
etc/inc/shaper.inc...

1f74cd2d 01/18/2011 08:10 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/interfaces.inc
etc/inc/system.inc

66bcba1b 12/28/2010 10:39 PM Ermal LUÇI

Ticket #802. During a config restore detect if the vlan interfaces need reassignment too. This might be problematic for other type of interfaces on 2.0!

81afb509 12/20/2010 08:06 PM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/interfaces.inc
etc/inc/vslb.inc
usr/local/www/interfaces.php

c92ccac7 12/14/2010 11:56 AM Vinicius Coque

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/filter.inc
etc/inc/gwlb.inc
etc/inc/interfaces.inc
etc/inc/pfsense-utils.inc
etc/inc/pkg-utils.inc...

3aba1835 12/10/2010 09:02 PM Scott Ullrich

Add log_auth() which with send items to syslogd using LOG_AUTH facilities. Use this new log_authh() for login error and success entries

435a418f 12/01/2010 05:23 PM Ermal LUÇI

Do not spam console with useless messages. Also remove killall not needed anymore.

d9114ce0 11/23/2010 06:54 PM Scott Ullrich

Ensure returned item is an array.

19f101d7 11/23/2010 06:52 PM Scott Ullrich

Return CARP IP Addresses in get_configured_ip_addresses()

39a8090a 11/16/2010 11:31 AM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/PEAR.inc
etc/inc/filter.inc

172007f5 11/15/2010 11:46 AM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/filter.inc
etc/inc/system.inc
usr/local/www/interfaces.php
usr/local/www/interfaces_gif_edit.php

88bc2760 11/11/2010 05:43 AM Erik Fonnesbeck

Fix filter_rules_sort's compare function to know about floating rules so it won't change their order.

9734b054 11/10/2010 05:00 PM Scott Ullrich

Remove trailing carriage return

4fe9c2dc 11/10/2010 04:56 PM Scott Ullrich
  • Adding function get_configured_ip_addresses() which returns all interfaces and their configured IP address
  • Add checkbox to System -> Advanced -> Admin for HTTP_REFERER checks
  • Add and enforce HTTP_REFERER check if checkbox is not checked.

This will prevent HTML pages from crafting HTML GETs against the web interface and will prevent firewall admins from being "tricked" into clicking on links that may be harmful to their firewall.

4816e5ca 11/03/2010 02:53 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/auth.inc
etc/inc/config.lib.inc
etc/inc/priv.defs.inc
etc/inc/system.inc
etc/inc/upgrade_config.inc
etc/inc/vpn.inc

105d618d 11/03/2010 07:49 AM Seth Mos

Merge remote branch 'upstream/master'

72993196 11/02/2010 09:16 PM Ermal LUÇI

Protect from strange situations on bootup by testing for is_array(). Do not add anymore the 127.0.0.2 route its not needed anymore. Also during bootup bring up all interfaces so the assignment process can deal with them(Possibly should be done in another code flow!).

11b8ca39 11/01/2010 12:11 PM Seth Mos

Merge remote branch 'upstream/master'

Conflicts:
etc/inc/filter.inc

c75a8185 10/31/2010 09:36 PM Seth Mos

Add function for generating ipv6 subnet mask end, hook into ipv4 subnet mask check as well.

0e604b3a 10/29/2010 02:08 PM Ermal LUÇI

Make isvalidpid() know about pidfile the same as the other *pid functions do.(consistency)

22b5abac 10/26/2010 09:44 AM Seth Mos

Switch over the IPv6 functions from IPv6.inc, these are from the PHP PEAR library

1306c7dd 10/25/2010 10:59 AM Seth Mos

Change the firewall rule generation to look for the ipprotocol tag which defines inet or inet6. This makes sure that we use ipv6 addresses and change to the correct ipv6-icmp tag.

47593ac6 10/22/2010 11:32 AM Seth Mos

Allow for configuring a IPv6 address on the interfaces page.
Add code to verify a ipv6 address
Let is_ipaddr() return true on a v4 and v6 address.
Change system gateways edit to fetch the global ipv6 interface ipv6 addresses and subnets
The current ipv6 function might need folding into filter_var() when that catches some documented corner cases....

addc0439 10/01/2010 01:17 PM Renato Botelho

Fix quotes to use %N$X on gettext calls

43652f2f 09/28/2010 01:19 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

9ab9b745 09/22/2010 08:39 PM Renato Botelho

Make safe_mkdir() create directories recursively

838feb14 09/22/2010 03:32 PM Ermal LUÇI

If we fail to send an event to check_reload_status consider its not running and try restarting it.

ad9db2a9 09/16/2010 03:27 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/filter.inc

8735afe8 09/16/2010 05:15 AM Erik Fonnesbeck

Return list with WAN and LAN interfaces in the configured order rather than giving special treatment, as is already done with the OPTx interfaces.

14f49fd0 09/16/2010 04:45 AM Erik Fonnesbeck

Revert "Reorder the way this list (get_configured_interface_list) is generated to make it more beautiful."

This reverts commit 144d0e793de61366340758b28f169c3afeeba922.

144d0e79 09/16/2010 03:45 AM Marcus Brown

Reorder the way this list (get_configured_interface_list) is generated to make it more beautiful.

I know you guys said don't bother, but it's just cosmetic, and it took 10 seconds.

88efcf04 09/14/2010 01:03 PM Erik Fonnesbeck

Do stricter validation of host names and domain names.

8c04b1ae 09/08/2010 01:20 PM Renato Botelho

Merge remote branch 'mainline/master' into inc

Conflicts:
etc/inc/filter.inc
etc/inc/pkg-utils.inc
etc/inc/service-utils.inc
etc/inc/system.inc
etc/inc/vpn.inc

0ae6daf8 09/07/2010 07:36 PM Ermal LUÇI

Use the new events mechanisms to dispatch events.

01d4b621 08/31/2010 07:53 PM Ermal LUÇI

Use exec() for is_process_running since system() displays command output(not sure why). Also handle captiveportal specially and use proper function to start/stop it.

ba8495f0 08/31/2010 07:01 PM Ermal LUÇI

Ticket #485. Correct code and use pkill/pgrep to match or kill process. Since these utilities know how to handle pidfiles and exact matches on process names.

47f12397 08/30/2010 11:36 PM Renato Botelho

Fix gettext calls with printf to permit change strings order

fd7b47b6 08/18/2010 05:08 PM Renato Botelho

Implement gettext() calls on util.inc

febca7e8 08/16/2010 11:21 AM Ermal LUÇI

Add l2tp where missing. Also add l2tp and igb to altq capable interfaces.

aa4f498d 08/05/2010 01:22 AM Erik Fonnesbeck

Add sysctl functions that support getting/setting multiple values in a single call.

cb847796 07/28/2010 01:21 AM Chris Buechler

use more efficient is_macaddr from bblacey on forum

d999ba6c 07/02/2010 01:13 AM Erik Fonnesbeck

This code returned the size in kilobytes, while the part usually used returns megabytes.

dbe8c192 06/22/2010 08:03 PM Ermal LUÇI

Be more strict when doing checks for empty values.

0d90fcaf 06/11/2010 08:07 PM Jim Pingle

Add array_merge_recursive_unique which was called in xmlrpc.php but did not yet exist. Fixes #645

1fd35e95 05/25/2010 09:30 PM Ermal LUÇI

Do not show ipfw0 for assignment.

96033063 05/20/2010 04:55 PM Erik Fonnesbeck

Various fixes to usage of ip2long, long2ip, and negated subnet masks, mostly affecting 64-bit. Ticket #459

b6c34bfc 05/13/2010 06:23 PM Ermal LUÇI

Ticket #544. Restore locking, seems w+ migh already lock the file sometimes. While there improve the locking to a read/write locking schema. Make the default locking a read only lock and if explicitly specified a write locking can be specified through LOCK_EX optional parameter to lock(). During config manipulation do the filesystem mounting in rw, if needed, before doing any locking to avoid possible problems and also to be consistent through out the code on the method used. Also update calls to config to lock exclusively where required.

98c3eaa8 05/12/2010 06:30 PM Jim Pingle

Ensure the URL table file is not empty at this step.

c7de8be4 04/21/2010 09:03 PM Jim Pingle

Add a new alias type, urltable, which downloads a file of IP/CIDR addresses and loads them into a pf persist table instead of importing the addresses directly into a traditional alias. This allows for using huge tables of addresses that would otherwise break the GUI and/or fail to load into pf. Part of ticket #512

e18f70ea 03/29/2010 04:00 PM Ermal LUÇI

Remove bogus char. Spotted-by:gnoahb@

1d4aca27 03/29/2010 02:57 PM Ermal LUÇI

Restore tun interface because it is still used by openvpn.

c90f2471 03/29/2010 01:03 PM Marcus Brown

Changes to make PPP work again. mpd5 fails to establish a ppp link without
some username and password, so defaults are set if user enters nothing.
Removed interface_ppp_configure call from interfaces_ppp_edit.php. It was
useless there with the new structure, and it caused all PPP links to attempt...

40050fab 03/19/2010 05:35 PM Ermal LUÇI

Use alias style when creating aliases in wizards.

a45e27ba 03/17/2010 02:17 PM Ermal LUÇI

Ticket #417. Fix installation on embedded by using a refcount system for the mount command.

2ae24c22 03/17/2010 01:56 PM Ermal LUÇI

Generalize.

6661ea25 03/12/2010 12:28 AM Andrew Thompson

Use procatat instead of ps as the latter always prints a header, also
use full paths.

cae1b7db 03/12/2010 12:18 AM Andrew Thompson

'\b' is not the word boundary on BSD, its actually '[[:<:]]' and '[[:>:]]',
change these functions to use better syntax and not grep at all.

f2f0a748 03/09/2010 05:22 PM Ermal Luçi

Return the data after unreference, it might be needed.

ef3af02e 03/08/2010 06:43 PM Ermal Luçi

Use shmop module to implement reference count calls.

ecd1f2d9 03/07/2010 09:37 PM Jim Pingle

Adding support for using IP ranges aliases. If you input an IP Range such as 192.168.0.1-192.168.0.254, it will instead turn that into a number of CIDR networks which will completely fill the range.

6b605c97 03/05/2010 09:59 PM Ermal Luçi

Till the flock issue is fixed open the races doors, place your bets please!

27c0c7c6 03/05/2010 12:15 AM Ermal Luçi

Do not show pppoe/pptp/l2tp interfaces for assignment.

7c53bc7b 02/23/2010 01:00 PM Erik Fonnesbeck

Change method of displaying wireless clone interfaces on the assignment page.

34808d4e 02/23/2010 09:12 AM Erik Fonnesbeck

Move most of the code for dealing with wireless clone interface names to separate functions.

6d54e865 02/14/2010 01:32 AM Erik Fonnesbeck

Missing a part of the last change. Also use bssid for the first wireless clone.

298d6b08 02/13/2010 06:45 AM Erik Fonnesbeck

For now, don't count any wireless clones as mismatches unless the base interface doesn't exist.

5636c533 02/13/2010 06:45 AM Erik Fonnesbeck

Allow secondary wireless clones in interface list.

ab94ba00 02/01/2010 06:23 PM Ermal Luçi

Ticket #309. Correctly fix the problems of intermediate config lost because of inclusion of config.inc. This might have speed impacts to be measured.

cefc0016 01/29/2010 02:02 AM Ermal Luçi

Ticket #315. Do not show the cloned wireless devices for assignment.

9f007e8c 01/13/2010 04:40 PM Chris Buechler

if gzsig is missing, return error verifying signature rather than invalid signature.