Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
feae85bc 11/20/2010 07:40 PM Scott Ullrich

Increase vfs.read_max to 32. See http://ivoras.sharanet.org/blog/tree/2010-11-19.ufs-read-ahead.html .. This can help dramatically if using Squid or any other packae that does a lot of hard disk reads.

c049daef 11/20/2010 05:19 AM Jim Pingle

Disable this test, it was causing some package file downloads to be skipped for me, and nothing else seems to set/use this variable anywhere.

e3924384 11/19/2010 03:44 PM Jim Pingle

Reorder some code and combine the nobind test with the lport code to ensure only the needed options are used in any given combination.

ad88ff3f 11/19/2010 03:34 PM Ermal LUÇI

Cleanup some code and properly handle failure of pkg_fetch_recursive.

5708241f 11/19/2010 03:31 PM Jim Pingle

When the local port is left blank on an OpenVPN client, use 'lport 0' to direct the client to use a random source port. Fixes #1025

d08b0064 11/19/2010 03:21 PM Ermal LUÇI

Clarify message.

0cdf4e87 11/19/2010 03:17 PM Ermal LUÇI

Use correct extension of tgz rather than tgz for automatically discovered dependencies.

c132bdb0 11/19/2010 12:12 AM Ermal LUÇI

Honor the config parsed var if set.

1883455a 11/19/2010 12:10 AM Ermal LUÇI

Hopefully now the reinclusion of config will not override vars.

d8333a24 11/19/2010 12:03 AM Ermal LUÇI

Use full path when we might not have full environment setup.

01a6e665 11/19/2010 12:02 AM Ermal LUÇI

globals.inc is better first.

d9426abc 11/19/2010 12:00 AM Ermal LUÇI

More safety belts.

d465a277 11/18/2010 11:44 PM Ermal LUÇI

Fix fetching of package list.

21bc451b 11/18/2010 06:56 PM Ermal LUÇI

Add myself to the copyright. Have modified enough the file.

4830e56a 11/18/2010 05:31 PM Erik Fonnesbeck

Some fixes for the upgrade code for captive portal users.

8784a3bb 11/18/2010 04:13 PM Erik Fonnesbeck

Remove the old field even if empty in rename_field.

d7bf3178 11/18/2010 01:04 PM Erik Fonnesbeck

Various fixes and improvements for the DNS rebind and HTTP referrer checks.

  • Only compare with full host from referrer, since someone can put whatever they want at the left side of the period to the left of the domain name.
  • Now can check for hostname as well, not just hostname.domain, in referrer check....
2addd5b2 11/18/2010 12:57 PM Ermal LUÇI

Fix problem with syslog adding/removing for pacakges. Fix sync pacakges to call the right functions. Optimizations and code cleanup along the way.

fa15f4ae 11/17/2010 10:45 PM Ermal LUÇI

Clear up some code.

d98d6f7f 11/17/2010 10:42 PM Scott Ullrich

Boost timeout for file downloads to 60 seconds

eab543ed 11/17/2010 08:17 PM Ermal LUÇI

Ticket #1017. Move the fwrite and fd_log initializing to a function. Name the function pkg_debug to properly show what is its purpose and also make it write something only when $debug is set.

4c3d9312 11/17/2010 07:47 PM Ermal LUÇI

Ticket #1017. Put a @ before each fwrite to silence errors. Also setup the log file in the beginning rather than on each individual function.

1ae5c631 11/17/2010 07:36 PM Ermal LUÇI

Resolves #1018. Provide a more unique host name for the file.

53d41b68 11/17/2010 05:34 PM Erik Fonnesbeck

The way this option is currently defined, the configuration variable is always set; for this case, isset is not the correct condition. Reported at http://forum.pfsense.org/index.php/topic,30153.0.html

a219c643 11/17/2010 03:35 PM Erik Fonnesbeck

Add workaround for referrer check to not be triggered on the previous IP address when redirected by the setup wizard.

cfcebf07 11/17/2010 10:32 AM Renato Botelho

Fix typo

aeaa7358 11/16/2010 10:59 PM Ermal LUÇI

Make the pkg_fetch_recursive code stronger and try also to fetch from freebsd repo when fails to fetch from pfSense one.

1b28121f 11/16/2010 10:11 PM Ermal LUÇI

Correctly form the url from where to fetch packages if a base is not specified. This unbreaks packages on amd64! Also do no remove a package which is required by other installations.

fe81116d 11/16/2010 07:56 PM Ermal LUÇI

Correct variable name.

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....
55910da7 11/16/2010 04:29 PM Ermal LUÇI

Tighten check even more. Ticket #1006.

b878ad36 11/16/2010 04:21 PM Ermal LUÇI

Ticket #1006. Make sure to interpret the response as needed. First check if we got 0 and then check if we have a faultCode().

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>

ba8e0870 11/14/2010 12:36 PM Erik Fonnesbeck

Copy /boot/loader.conf.local to the newly imaged slice. Ticket #892

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.

7f8d463f 11/10/2010 06:43 PM Ermal LUÇI

Bring interfaces up only if there is a mismatch to allow them to be reassigned.

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.

f0ce6758 11/10/2010 10:03 AM Erik Fonnesbeck

Add option to System: Firmware: Settings for running gitsync after installing an update, hidden/disabled if git has not been installed yet.

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.

fea09886 11/09/2010 04:26 PM Scott Ullrich

Revert

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

Testing csrf-magic

5626a349 11/09/2010 03:28 PM Scott Ullrich

Set session.use_trans_sid to true

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.

4395500c 11/08/2010 06:44 AM Warren Baker

Recent move (d32d3970d58683d02f89073103eb595eaa8f395f) of routed/ items required additional files to be updated to reflect correct path.

d32d3970 11/06/2010 10:20 PM Scott Ullrich

Add routed/ items to obsoleted files. Force removal of file so that directories can be included in the future

277d55d7 11/06/2010 09:02 PM Scott Ullrich

Ignore /var/etc directory to avoid these kinds of errors: tar: /var/etc/openvpn/client1.sock: tar format cannot archive socket

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.

5fb9e6d3 11/01/2010 05:20 PM Jim Pingle

Various sync fixes to ensure sections are pushed even if empty, otherwise the last entries of these sections cannot be deleted and have that deletion sync to the secondary.

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.

da51f26c 10/27/2010 09:13 PM Ermal LUÇI

Ooops use meant logic.

f48b6205 10/27/2010 08:56 PM Ermal LUÇI

Ticket #975. Properly initialize variables to avoid caching issues. Also check an array exists before trying to foreach to avoid errors.

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

5bb6e1f5 10/25/2010 07:29 PM Jim Pingle

If there are no aliases, push an empty aliases array. Fixes #961

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.

db8e9e53 10/25/2010 12:35 PM Ermal LUÇI

Ticket #943. Call the update procedure directly to not do an unecessary loop.