Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
fcf92dae 11/16/2010 07:40 PM Ermal LUÇI
  • Use pkg_info -E pkgname* for testing if a package is installed.
  • Do not call eval if we cannot include an .inc file since that will make the whole script fail.
  • Keep the log from the start to the end without overwriting. This makes debugging and problem reporting easy and explains what is done during installation....
e6b960cc 11/16/2010 03:56 AM Erik Fonnesbeck

Make sure this isn't searching the referrer using a blank host or IP, which will always match the referrer.

55068970 11/16/2010 03:35 AM Erik Fonnesbeck

Fix case for testing the referrer check setting. Ticket #1011

efe259cf 11/15/2010 08:01 PM Ermal LUÇI

Remove these anchors they just provide overhead and are not really used much in pfSense.

d268d457 11/15/2010 07:55 PM Ermal LUÇI

Remove gre helping rules they are not anymore needed.

0dcdbc85 11/15/2010 06:50 PM Scott Ullrich

Send errors to 2>

0aa72c10 11/14/2010 11:05 AM Erik Fonnesbeck

Don't perform referer check if display_error_form is not defined (captive portal), just like as is done for the DNS rebind check. Ticket #1007

0532e54d 11/14/2010 10:10 AM Erik Fonnesbeck

Rework handling of ports for reflection on port forwards to work properly with port aliases. Ticket #672

856d2bf9 11/14/2010 06:06 AM Erik Fonnesbeck

Unset this reference before reusing the variable name to prevent corruption of groups.

21699e76 11/12/2010 11:51 PM Ermal LUÇI

Fix test for altq on vlans and wlan.

4656943e 11/12/2010 04:35 PM Jim Pingle

Fix a theoretical/potential XSS in the http_referer check warning.

5812e717 11/12/2010 11:53 AM Ermal LUÇI

Add whitespace to avoid breaking the resulting rule.

f27789bf 11/12/2010 11:52 AM Ermal LUÇI

Whitespace fixes.

f829d532 11/12/2010 11:51 AM Ermal LUÇI

Make sure there is a direction specified otherwise errors might occur.

9869cf3e 11/12/2010 11:49 AM Ermal LUÇI

Initialize rule keeping array to avoid possible caching effects on php.

cea355a5 11/11/2010 09:53 AM Erik Fonnesbeck

Separate this into the original case with the floating rule cases above it to fix some scenarios where the order was still wrong.

baaa8bb1 11/11/2010 05:58 AM Erik Fonnesbeck

Move this function to allow removing it from easyrule.

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.

f233231b 11/10/2010 11:14 PM Ermal LUÇI

Take into account if we have redirection active to allow even port 443.

30bd17f5 11/10/2010 11:14 PM Ermal LUÇI

Make the antilockout rule match the webgui and ssh(if enabled) rather than any traffic destined to pfSense itself.

dd18038e 11/10/2010 09:42 PM Ermal LUÇI
  • Call get_configured_interface_* functions only once in the code
  • Optimize the test if the passed interface is a vaild one
  • Fix the apply settings to actually do something rather than do nothing at all
  • Some style and whitespace fixes
e7d3fc15 11/10/2010 08:09 PM Ermal LUÇI

Small improvement no functional change.

fa112436 11/10/2010 07:40 PM Ermal LUÇI

Use php calls rather than forking to shell.

b06d7ebb 11/10/2010 07:34 PM Ermal LUÇI

Use exec and check return value of command to avoid priting messages of stderr to console.

35d26b25 11/10/2010 07:16 PM Ermal LUÇI

Not sure why sometimes works sometimes does not work when bound to localhost the lighttpd instance of CP. Back to previous setup! Though security of it is debatble.

e9d7afeb 11/10/2010 06:27 PM Ermal LUÇI

Ticket #904. Hmm fix the interface_has_gateway() too.

f6b30142 11/10/2010 06:25 PM Ermal LUÇI

Ticket #904. Actually correctly handle the assigned openvpn client as a dynamic gateway rather than breaking the behaviour of the system. Strange nobody has noticed broken gateway behaviour with openvpn assigned!

c422a169 11/10/2010 06:18 PM Ermal LUÇI

Actually was coorect before. 3rd parameter is length not index.

Revert "Correct this to make it actually work. This is also mentioned in Ticket #904 though it was already implemented."

This reverts commit 6f2cc3a680f984ccbb387301a26d022e6969e665.

0bb28795 11/10/2010 05:45 PM Scott Ullrich

Correct HTTP_REFERER check when using an IP Address vs the Firewalls hostname

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.

2545af04 11/10/2010 07:28 AM Erik Fonnesbeck

Remove csrf-magic include from functions.inc -- it was causing problems with console PHP scripts.

6f2cc3a6 11/09/2010 11:37 PM Ermal LUÇI

Correct this to make it actually work. This is also mentioned in Ticket #904 though it was already implemented.

7673cdb5 11/09/2010 10:17 PM Ermal LUÇI

Use a shell script rather than bad hack to execute php code for pppoe periodic reset.

12dfe8ca 11/09/2010 08:10 PM Ermal LUÇI

Fix display of queues on rules and layer7 containers.

9b2bc1af 11/09/2010 04:23 PM Scott Ullrich

Testing csrf-magic

678dfd0f 11/09/2010 12:14 PM Erik Fonnesbeck

Add a setting for the data type of values used with DHCP option numbers and input validation for each type. Fixes #962

58db1fc4 11/08/2010 10:42 PM Ermal LUÇI

Kill dhcplease before writing the hosts file so that it does not scramble the content from kqueue events.

08452bff 11/08/2010 06:55 AM Warren Baker

Cosmetic issue, add space before 'done', otherwise package XML name and done are combined.

c62d973d 11/05/2010 06:33 PM Warren Baker

Spelling fix.

de651e21 11/03/2010 09:00 PM Seth Mos

Change the dhcpd startup for isc dhcpd server 4.1

79eea0c1 11/03/2010 08:08 PM Ermal LUÇI

Activate code to allow ipsec to work normally.

9cb94dd4 11/03/2010 01:25 PM Ermal LUÇI

Ticket #980. Bring CP widget up to date. Also bind lighty for CP to 127.0.0.1 it should not be accessible otherwise.

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

a6607b5f 11/02/2010 07:14 PM Jim Pingle

More VPN log fixes, for consistency. Ticket #912

f856e762 11/02/2010 06:29 PM Jim Pingle

Fix typo (standart -> standard)

e9a95ac8 11/02/2010 03:43 PM Jim Pingle

Switch to a unified vpn-linkup and vpn-linkdown.

2c7feef7 11/02/2010 02:07 PM Jim Pingle

Fix l2tp interface naming. Fixes #985

917b0a56 11/01/2010 08:22 PM Jim Pingle

Use individual linkdown scripts.

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

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

9d46f40b 10/29/2010 08:22 AM Erik Fonnesbeck

Also mention that this allows access to the dashboard.

6bef0554 10/27/2010 08:55 PM Jim Pingle

Do some is_array() testing before renaming fields, otherwise empty variables can be accidentally created.

64ce9d72 10/27/2010 05:11 PM Jim Pingle

Do not require LDAP search base DN. Requiring this can prevent some valid LDAP configurations from properly authenticating. (See GDD-550841).

5ea2c125 10/25/2010 07:09 PM Jim Pingle

Add a note to the DNS Rebinding protection error letting the user know to try by IP address.

146f0fad 10/25/2010 06:06 PM Ermal LUÇI

Do not show on the queue/limiters list the disabled entries(optimized and cleaner version).

520ad1a4 10/25/2010 05:42 PM Ermal LUÇI

Do not show on the queue/limiters list the disabled entries.

52e5285f 10/25/2010 12:28 PM Ermal LUÇI

Make this more strict checking.

98d75ad4 10/22/2010 09:47 PM Ermal LUÇI

Be smart and correct; first check for opt*ip and after check for opt* otherwise it will never match the first case!

1feb93cf 10/22/2010 04:05 PM Ermal LUÇI

Mark this entry as an array before treating it as such otherwise php complains.

90e64fad 10/22/2010 03:49 PM Warren Baker

Check to see if it is not an array first - as per jim-p on IRC.

fc3e88f1 10/22/2010 02:54 AM Jim Pingle

Fix crl upgrade code.

fc54f29b 10/21/2010 07:11 PM Jim Pingle

Add ability to select reason codes for revocation. Reformat CRL edit screen a bit. Ticket #555

8e022a76 10/21/2010 06:33 PM Jim Pingle

Refresh OpenVPN CRL files when a CRL has a cert added/removed. Ticket #555

47319bfb 10/20/2010 11:13 PM Jim Pingle

Add upgrade code for importing CRLs. Ticket #555

28ff7ace 10/20/2010 07:41 PM Jim Pingle

Add more CRL functionality. Needs to wait on a new build for further testing.

d8912c6b 10/20/2010 06:43 PM Chris Buechler

move dhcpd.conf authoritative; so it's only there once, not once per interface.

50cafcf3 10/19/2010 08:08 PM Ermal LUÇI

Correctly call die() in the places needed. Also remove unused global.

f2a86ca9 10/19/2010 06:19 PM Jim Pingle

Rename 'name' to 'descr' for CA, Certificates, and CRLs, to gain CDATA protection and standardize field names. Ticket #320.

6751b3e7 10/19/2010 05:03 PM Jim Pingle

Generalize this function and use it in more places to reduce duplicated code.

9ff73b79 10/19/2010 04:51 PM Jim Pingle

Convert fullname field on users to descr, so it gains CDATA protection.

e988813d 10/19/2010 04:39 PM Jim Pingle

desc to descr in Load Balancer config, so they gain CDATA protection and standardize field names. Ticket #320.

c4f55084 10/19/2010 04:07 PM Jim Pingle

Update field name reference in code, it was changed to descr but this code was missed. (Is this code even needed? Doesn't seem to do anything.)

15864861 10/19/2010 04:00 PM Jim Pingle

Change the description field on sysctl tunables to be 'descr' and not 'desc' so they will gain CDATA protection. Ticket #320

f21c7979 10/18/2010 11:14 AM Ermal LUÇI

Use proper matching because the command might contain nice in it.

65996399 10/16/2010 04:19 PM Ermal LUÇI

Resolves #957. Correct the code to reflect what its supposed to do.

814bb2dc 10/16/2010 03:28 PM Ermal LUÇI

Bump config.

65167fcc 10/16/2010 03:27 PM Ermal LUÇI

Do not run anymore the cron job for monitoring check_reload_status since it has a monitoring process that does this through kqueue.

f5ea58da 10/15/2010 02:29 PM Ermal LUÇI

Ticket #927. Increase timeout to gice mpd the time needed to exit gracefully.

2c794549 10/14/2010 07:32 PM Ermal LUÇI

Ticket #950. Correctly handle failures while installing packages which might leave stale information behind. Also do not try to startup services twice. Rename uninstall_package_from_name to uninstall_package because the operation on packages is only done through package names.

ab0eced7 10/14/2010 06:58 PM Ermal LUÇI

We want to upgrade all of interfaces/gateways.

da6155e0 10/13/2010 09:57 PM Erik Fonnesbeck

Make sure this is an array before entering the foreach loop. Reported at http://forum.pfsense.org/index.php/topic,29118.0.html

5a171fb7 10/13/2010 07:02 AM Warren Baker

Wording fix.

24997966 10/12/2010 10:12 PM Ermal LUÇI

Ticket #942. Try to prevent empty entries and use implode to avoid problems.

df2a0f18 10/12/2010 10:01 PM Ermal LUÇI

Resolves #944. Actually bring down the vlan interface if it existed previously. This is a regression from the ppp dance/requests/whatever.

8901958c 10/12/2010 09:21 PM Jim Pingle

Add backend code to verify username against cn on login if set by user. Needs GUI code to set the option yet. Ticket #887

ce94b839 10/11/2010 10:33 PM Scott Ullrich

revert miniupnpd -d change

d2bdde27 10/11/2010 10:26 PM Scott Ullrich

Be more verbose with miniupnpd logs. otherwise practically nothing is logged.

f3704cb2 10/11/2010 07:16 PM Jim Pingle

Bail out here if a variable isn't an array like it should be.

fea89a63 10/11/2010 07:25 AM Warren Baker

Hard-coded pfSense to product_name for Growl alert notifications.

28436d13 10/11/2010 05:52 AM Erik Fonnesbeck

Fix text.

1ffa44bb 10/10/2010 04:09 PM Scott Ullrich

Kill apinger with a large axe until the TERM issues can be resolved

4dddf8c3 10/10/2010 01:12 PM Warren Baker

Cosmetic change from product_website to product_name

c3f4734d 10/10/2010 12:47 PM Warren Baker

Wording fix.

6adc8e32 10/10/2010 08:48 AM Marcus Brown

Fix the "all dynamic gateways are shown as default" problem reported here: http://forum.pfsense.org/index.php/topic,28960.0.html

A non-empty string will evaluate true with == operator.

26c8cc72 10/07/2010 05:21 PM Jim Pingle

Add function to convert pfsense slice name to product name.

aeebce1b 10/06/2010 04:18 AM Erik Fonnesbeck

Use mwexec_bg instead of exec to run a service's start command so PHP doesn't hang in the likely event that it spawns a background process.

aab78bd9 10/06/2010 01:19 AM Pierre POMES

Fix racoon.conf generation for localid_type=address. Ticket #936

1ced293c 10/05/2010 04:45 PM Marcus Brown

Avoid generating a dynamic gateway entry in the list if there is already one in the config for the interface.

86df2846 10/05/2010 03:26 PM Jim Pingle

Test if this variable is set before making a reference, for safety. Add reference back for speed.

43a22ee2 10/05/2010 03:19 PM Jim Pingle

This one looks safe, and might improve speed. Add it back.