Project

General

Profile

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

# Date Author Comment
30274157 05/08/2012 10:22 PM Jim Pingle

Revert "Make vips vhid be unique per parent interface!" - per cmb, this should not have been on RELENG_2_0 see ticket #2415

This reverts commit 4d0c032c528b10221a2ef894b5eca34f6fda39a7.

Conflicts:

etc/inc/openvpn.inc
etc/inc/upgrade_config.inc...
c9e04cd5 04/10/2012 08:42 PM Jim Pingle

Add alias support to static routes (needs some testing) Ticket #2239

4d0c032c 04/05/2012 08:13 PM Ermal LUÇI

Make vips vhid be unique per parent interface!

bba2d76b 03/23/2012 11:11 PM Ermal LUÇI

Remove unused code

f92b0dc9 03/08/2012 08:01 PM Ermal LUÇI

Use the latest functions from pfSense module for getting interface list

e5d8aeb6 03/03/2012 08:23 PM Ermal LUÇI

Correct send_multiple_events to conform with new check_reload_status behaviour

29b97efa 11/21/2011 04:40 PM Ermal LUÇI

Select the newest of processes to make the command better

582934a9 08/19/2011 06:22 PM Ermal LUÇI

Compenstate for the write_config calls sending the filesystem to ro during pacakge installation.

8420f4fe 08/19/2011 05:12 PM Ermal LUÇI

Prevent negative references to be used for the refcount API. This should help with misusage of it as may occur in mount rw/ro calls.

e1b068d7 08/17/2011 08:09 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.

3c6d704a 08/17/2011 02:12 AM Andrew Thompson

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

This reverts commit a26d95383a6146734f67c9db21cd83534052843a.

a26d9538 08/17/2011 02:07 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.

df58fd46 08/15/2011 07:32 PM Ermal LUÇI

Revert "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."...

263aeb4b 08/04/2011 02:57 PM Scott Ullrich

Fix typo

94436824 07/30/2011 12:17 AM Scott Ullrich

Max procs should be 1 when using an op code cacher

3a26fb7f 07/06/2011 06:59 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.

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.

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

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

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

Reject alias names that are too long. Fixes #1510

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

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.

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!

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()

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.

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!).

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

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

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.

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.

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.

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.

494be6e8 01/12/2010 11:57 AM Ermal Luçi

Resolves #279. Do not show vlans as parent interfaces for other vlans.

2ce57545 01/03/2010 08:32 AM Chris Buechler

fix typo

27616d6e 01/02/2010 10:04 PM Seth Mos

Restore interface list for vlan interfaces.

b52f883a 12/30/2009 04:54 PM Ermal Luçi

Fix var names/

231e0606 12/30/2009 04:34 PM Ermal Luçi

Ticket #261 Do not consider ports as hostnames. This changes the is_port function to consider ':'(ranges) as ports. This seems a previous feature i do not agree with much, but users decide right?!

6955830f 12/28/2009 09:42 AM Ermal Luçi

Replace some occurrence of /tmp with the propper global variable in attempt to minimize the search for what changes /tmp permissions.

56d41297 12/26/2009 11:22 PM Chris Buechler

remove notice that unnecessarily appears on every clean install

d9e258bb 12/23/2009 09:19 PM Ermal Luçi

If the port passed as argument is a range(having - in it) this function would still return true as a bad habit of intval. Fix this so it behaves correctly.

a584475a 12/22/2009 01:43 PM Ermal Luçi
  • Fix alias handling around the repo.
  • Add new function filter_expand_alias to allow expanding single alias.
  • Fix reflection rules generation(missing the target variable)
  • Propperly identify duplicate lines in inetd.conf generated.
67b0902f 12/10/2009 10:34 PM Pierre POMES

Add IP alias and 'any' support to OpenVPN. Feedback #69

6b31f539 12/08/2009 03:53 PM Ermal Luçi

Allow specifying services/ports in firewall rules or nat rules by their /etc/services name.

fb3590e5 12/08/2009 03:44 PM Ermal Luçi

Revert "Correctly unset rules when switching disabling AON."

This reverts commit 989e5d62da2f7f6dad2bb55d20d2558cfb3fa34a.

989e5d62 12/08/2009 03:44 PM Ermal Luçi

Correctly unset rules when switching disabling AON.

7c587b9f 12/07/2009 02:49 PM Ermal Luçi

Try to prevent empty interfaces.

9b45f821 12/04/2009 02:01 PM Ermal Luçi

Ticket #146 Fix typos ansd copy/pasto errors.

b7dbef8e 12/03/2009 08:27 PM Scott Ullrich

Do not output plugin name during boot:

1e578a7f 12/03/2009 01:54 PM Ermal Luçi

Resolves #146 Add propper validation on alias usage. Allow port type aliases only on port side and other aliases in ip specifications and similar. Introduce a new function is_portoralias to ressemble the is_ipaddroralias to check for the cases.

8df5eae4 11/30/2009 10:19 PM Pierre POMES

Fix get_configured_carp_interface_list: use the right interface name using vhid

5e9dd72a 11/28/2009 01:43 AM Scott Ullrich

Add is_URL()

85dd175d 11/27/2009 10:22 PM Scott Ullrich

Nuke alert. Resolves #125

78e0b65c 11/24/2009 10:06 PM Scott Ullrich

Cons25 supports color as well

6028a72d 11/23/2009 12:50 AM Scott Ullrich

Update doc header

b927a013 11/23/2009 12:49 AM Scott Ullrich

Allow specifying colors by their name

385a3a31 11/23/2009 12:17 AM Scott Ullrich

Return color code, not echo

fdf3af3f 11/23/2009 12:04 AM Scott Ullrich

Add function header markup for doc generation. Add color() function that will output a color ansi sequence if the terminal supports it. No arguments to color will reset the terminal

483e6de8 11/21/2009 09:08 PM Scott Ullrich

Rework includes/require. This saves about 4 megabytes.
Simplify get_memory(). Tested on mips/i386