Project

General

Profile

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

# Date Author Comment
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

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

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.

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

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

123f030c 11/15/2009 10:06 PM Chris Buechler

Fix proxy ARP VIP addition (was calling old function)

rename function from interfaces_proxyarp... to interface_ to be consistent with the functions for carp, carpdev, and ipalias.

still a problem with proxy ARP, removing VIP doesn't kill off choparp (will open ticket)

7a6a0c0a 11/08/2009 03:37 AM Scott Ullrich

Stop spamming the logs with config_unlock() is depricated please use unlock().

154deb02 11/03/2009 12:30 PM Ermal Luçi

Unbreak returning the real mem and web interface in general. Pointy-hat-to: Scott.

8217d34d 11/03/2009 02:35 AM Scott Ullrich

Fallback to using hw.realmem and hw.physmem sysctl's when we cannot probe the available memory from bootup log file. RouterStationPRO is an example

4aca19b3 10/20/2009 02:16 AM Scott Ullrich

Use useland pppd for ppp connections

1fb2bf25 10/01/2009 03:35 PM Ermal Luçi

Carp interfaces are named 'VIP#' now. Make sure this is hidden on interface assignment.

946479ab 10/01/2009 03:30 PM Ermal Luçi

Remove wrong slipped code.

abcb2bed 10/01/2009 03:19 PM Ermal Luçi
  • Convert carp/vips code to behave the same as other interfaces.
  • Make optimizations around it.
  • Make sure when we reload teh underlying interface we reload carp too.
  • Some fixes around the code.

Reviewed-by: scott@ and billm@

c50da179 09/28/2009 01:04 AM Scott Ullrich

If gzsig does not exist then return 1

cb6fd90b 09/18/2009 05:01 PM Ermal Luçi

Remove unecessary calls to semaphores, will try again with them with 8 builds!

9e7ef1a5 09/18/2009 01:48 AM Scott Ullrich

Update locking to use Ermals non semaphore patch. I just beat the holy heck out of it with the CP torture scripts and all seems OK

523855b0 09/12/2009 07:34 PM Scott Ullrich

Add pfSense_BUILDER_BINARIES: and pfSense_MODULE: additions

50059c17 09/12/2009 05:34 PM Scott Ullrich

Set auto_release

4a8bc5a2 09/11/2009 05:34 PM Scott Ullrich

Add msort() which will sort lower and uppercase items teogether (packages for example). Sort packages by lower/upper. IE: arping, arpwatch, Backup