Project

General

Profile

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

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

6f8662b9 09/10/2009 05:34 PM Ermal Luçi

Correctly fix Bug #64.

e14d1c01 09/10/2009 03:17 PM Ermal Luçi

Trigger syncing of data always and let the apprpriate script(rc.filter_synchronize) decide if a notice is to be send or not. This removes dependency on keeping code synchronized with the syncing script.

d7498a87 09/08/2009 08:52 PM Ermal Luçi

Handle vlans specially now that we have other than just vlan in the vlan interface names.

9813a154 09/05/2009 04:34 PM Ermal Luçi

Do not try to syncronize data when this setting is not enabled

2990acf8 08/25/2009 01:21 AM Scott Ullrich

Remove whitespace and \t

af539291 08/24/2009 10:11 PM Scott Ullrich

Merge branch 'master' of git://rcs.pfsense.org/pfsense/techneck-auto_interface into review/master

Conflicts:
etc/inc/config.inc

417fc5c4 08/23/2009 10:46 PM Scott Ullrich

Minor header touchups

8c935892 07/23/2009 12:43 PM Ermal Luçi

Merge alias_expand_value and filter_generate_aliases this makes the more sense from functionality. This removes alias_expand_value function as it is not needed in new world order.

a81cff99 07/23/2009 12:28 PM Ermal Luçi
  • Cleanup the mess that is reflection. Basically refactor the reflection code into its own function and cleanup some code.
  • Remove alias_expand_{host,net} and fix the alias_expand_value to confirm to the new alias neting 'standards'
  • Use trhoughout the code the new macros and do not expand all of them again(basically speed improvement)
dad2b40e 07/17/2009 09:12 PM Tim Allender

Adds automated interface setup + sshd for installation only.

052483d7 07/16/2009 01:46 AM Scott Ullrich

needs to be a global now

a0a493fa 07/16/2009 01:45 AM Scott Ullrich

needs to be a global now

891e80bf 07/16/2009 01:44 AM Scott Ullrich

Do not allow muting of serial + full install

149c9dfc 07/16/2009 01:41 AM Scott Ullrich

Do not allow muting of a serial console. The kernel gets very cranky and dishes cannot control tty errors

085d1855 07/09/2009 10:16 AM Ermal Luçi

Include only .inc files. This fixes issues with packages that this function is really used.

7ebbf075 07/01/2009 04:04 AM Scott Ullrich

Add missing /

a368a026 06/30/2009 05:15 PM Ermal Luçi
  • Reorganize the 'apply' button infrustructure in the GUI.
    - Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals.
    - Convert all pages to the new infrustructure...
d1f4a1ce 06/27/2009 11:13 PM Scott Ullrich

If the value is 0 we are not a valid key. Return.

4af51543 06/27/2009 11:10 PM Scott Ullrich

Remove hard line break.

4e408262 06/27/2009 11:02 PM Scott Ullrich

Supress sem_ errors.

6dc88d53 06/18/2009 12:40 PM Ermal Luçi
  • Move functions that output html to guiconfig.inc
  • Remove some recursive dependency on some includes
  • Remove ^M or \r from files
  • Remove some entries from functions.inc to avoid including them twice
  • Remove some unneccessary includes from some files
    ...
7b5f455b 06/15/2009 06:22 AM Ermal Luçi

Now that vlans have different name correct regex.

e1d23411 06/01/2009 09:57 PM Scott Ullrich

Oops, plip was already there, at the bottom.

a42d1da2 06/01/2009 09:54 PM Scott Ullrich

Add plip exclusion

324d622f 05/28/2009 07:20 AM Scott Ullrich

Hide error.

f3ebffee 05/22/2009 05:01 PM Ermal Luçi

Do not spam the logs. Reported by http://forum.pfsense.org/index.php/topic,16382.0.html.

6e8f7b53 05/22/2009 04:51 PM Ermal Luçi

Move Sync of config from filter.inc filter_reload to write_config and all the code in a new file rc.filter_synchronize. The later is called by check_reload_status with the tmp/filter_sync action triggered with carp_sync_client() function. This solves the excessive syncing of configs on not needed cases and speedups the filter_configure_sync!

f8b11310 05/21/2009 09:44 PM Ermal Luçi

Make CP multi-interface capable.

09af04fb 05/17/2009 03:56 AM Scott Ullrich

Rely on our own error handling

761858b1 05/08/2009 08:00 PM Ermal Luçi

More var name fixes.

feed9f8a 05/08/2009 07:58 PM Ermal Luçi

Make it work.

0027de0a 05/08/2009 06:42 PM Ermal Luçi
  • Create two new functions lock($subsystem)/unlock() to have more reliable locking using semaphores.
    This function can sleep till the resource is free and can help find not well behaving code.
  • Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this....
ee2db55f 05/07/2009 05:24 PM Ermal Luçi

Move validation of dyndns username to the only place it uses it, the GUI page. There it makes sense. While there add ':' character to allow NO-ip subaccounts.

83bc3749 05/05/2009 11:40 PM Ermal Luçi

Move exec_command function to util.inc.

2b4d37de 04/29/2009 02:28 PM Ermal Luçi
  • Shuffle functions around to reduce require_once() a little.