Project

General

Profile

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

# Date Author Comment
ddb71e4c 05/09/2012 05:51 PM Warren Baker

Handle HTTPOnly and Secure flags on cookies

a2463716 03/12/2012 07:28 PM Ermal LUÇI

Looking at pw code : chars are invalid in a comment fieldgit diff! Replace those to just space

fa3ee91d 02/08/2012 07:59 AM Ermal LUÇI

Another try to eliminate the warning 'PHP Warning: Cannot modify header information - headers already sent by (output started at /etc/inc/authgui.inc:201) in /usr/local/www/guiconfig.inc on line 47'

b357f0a6 01/25/2012 08:28 PM Jim Pingle

Include admin user in bootup account sync

a82b1ab1 01/23/2012 07:13 PM Jim Pingle

Be more careful when creating and removing a user, to only alter a user if it really matches the passwd entry. Fixes #2066
pw usershow likes to ignore what you want even with -n and if the user is numeric and doesn't exist, it fetches by uid. Can cause major problems if you try to remove a numeric user.

6daf497b 11/14/2011 01:42 PM Ermal LUÇI

Ticket #1052. Merge patch referenced in ticket.

4d89e4d7 10/25/2011 03:06 PM Jim Pingle

Do not pass the ldap port separately, but add it to the LDAP URL. PHP's ldap_connect() ignores the passed port parameter if the first parameter is a URL instead of a hostname.

099e764a 10/05/2011 02:15 PM Jim Pingle

Include certs.inc before calling lookup_ca in auth.inc. Fixes #1927

b015aa8c 09/28/2011 11:48 PM Ermal LUÇI

Check that we have user password otherwise strange things happen if tehre is nothing stored in the config

5e17f20d 08/08/2011 04:24 PM Ermal LUÇI

Correct array key typo mistake. Ticket #1052

b473da5f 07/15/2011 04:46 PM Ermal LUÇI

Ticket #1052. Enforce certificates if they are present for authenticating to ldap. Allow to select a CA under ldap type authentication backend to be used for this.

84924e76 06/28/2011 07:26 PM Ermal LUÇI

Add proper checks in auth code for testing if the section has been set in the config. Also do the same in the ugprade code

fbfd675a 04/08/2011 12:59 PM Jim Pingle

Add an IPsec xauth permission. Try to use the nologin shell first (just unlock the account). Ticket #1202

4fc3855f 03/02/2011 07:47 AM Seth Mos

Make it possible to turn off successful login messages, this should quiet the console, system logs

ee4fc984 01/26/2011 10:17 AM Ermal LUÇI

Silence warnings.

17dd7ff3 01/10/2011 03:45 AM Chris Buechler

allow 127.0.0.1 and localhost for HTTP_REFERER checks

65f7fba8 12/10/2010 09:53 PM Scott Ullrich

Correct webConfgurator auth/error messages

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

7ac98d0b 12/04/2010 12:30 AM Erik Fonnesbeck

Switches must come after the user name when using pw lock/unlock.

cdab65cc 12/03/2010 11:56 PM Erik Fonnesbeck

Remove authorized_keys file when there are no authorized keys for the user.

76ffdf90 12/01/2010 12:35 AM Scott Ullrich

Add successful user for sshlockout

88ecfc58 11/30/2010 11:46 PM Scott Ullrich

Reword auth error message to match ssh for the most part

9ae11a62 11/29/2010 10:39 PM Scott Ullrich

Revert "Add Active Directory group membership checking Ticket #1009"

This reverts commit ef17372492fb3d271497160a816eba64b3bcf436.

ef173724 11/29/2010 10:36 PM Scott Ullrich

Add Active Directory group membership checking Ticket #1009

ed32aef7 11/21/2010 05:36 PM Erik Fonnesbeck

Don't consider the HTTP referrer check as passing if it was skipped. Ticket #1027

0f806eca 11/21/2010 05:23 PM Erik Fonnesbeck

Upon restoring a config, replacing whole sections, or editing config.xml in edit.php, prevent possible accidental lockout from DNS rebind and HTTP referrer checks by disabling them until reboot or the next time they pass, whichever comes sooner. Ticket #1027

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

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

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

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

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

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

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

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.

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.

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

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

25fec9b3 09/28/2010 03:13 PM Jim Pingle

Test before working on what could be an empty value, otherwise it ends up set and causing an unexpected duplication. Fixes duplicate groups when editing users, as reported here: http://forum.pfsense.org/index.php/topic,26612.0.html

6dcd80af 09/08/2010 05:04 PM Ermal LUÇI

Check for proper type.

cbe49517 08/17/2010 08:44 PM Ermal LUÇI

Avoid a warning on this code when there is no member for a group.

052e65ef 08/15/2010 10:42 PM Scott Ullrich

Adapt to use 2.0's accounts

7b5c56ea 08/02/2010 08:04 PM Jim Pingle

Make sure this variable is an array before performing array operations upon it.

868c6826 07/28/2010 09:03 PM Ermal LUÇI

Move the required once in a more appropriate place.

b0c231e4 07/28/2010 05:53 PM Jim Pingle

Don't maintain a membership for the 'all' group when it includes everyone. Just return it for everyone if the 'all' group is requested. For the count of the 'all' group, just return a count of all the users on the system. Fixes #613

d5b1ac99 07/27/2010 09:45 PM Ermal LUÇI

Require radius.inc if the webGUI is using radius as the method.

f3e0a111 07/14/2010 01:14 PM Jim Pingle

Flip this back the other way, the group operation will fail if the user isn't set yet.

f301a34c 07/14/2010 01:13 PM Jim Pingle

Silence this command

3e251b12 07/12/2010 09:31 PM Erik Fonnesbeck

Add SSH tunneling privilege to list of available privileges.

df8d74de 07/12/2010 09:11 PM Jim Pingle

Lock out shell accounts that have no OS access, or are expired/disabled.

d8d2d3e4 07/12/2010 09:02 PM Jim Pingle

Add check for user-ssh-tunnel to give users access to the ssh tunnel shell

1ed86bc6 07/12/2010 08:56 PM Jim Pingle

Flip this test around so it is easier to follow/read.

5af2baf7 07/12/2010 08:54 PM Jim Pingle

Sync groups first, since users may rely on group changes.

739c78ac 07/12/2010 05:37 PM Jim Pingle

Make sure a user gets deleted from the 'all' group.

a137fedd 07/12/2010 04:52 PM Jim Pingle

Clean up this code.

a39675ec 07/12/2010 04:40 PM Jim Pingle

Remove home directory when deleting a user.

f17f9f28 07/09/2010 01:19 PM Jim Pingle

Bypass the DNS Rebind attack checks if accessing by IP address.

f5e74456 07/06/2010 09:29 PM Jim Pingle

Check for locally configured IPs in DNS rebind checks, so people who port forward from WAN to the LAN IP can still work.

86b21903 07/06/2010 09:03 PM Jim Pingle

Add a text box where someone can enter in alternate hostnames for the system to bypass the DNS rebind checks.

14eab6fb 07/06/2010 08:32 PM Jim Pingle

Add a checkbox to disable DNS rebinding checks if needed.

7319dc73 07/06/2010 07:26 PM Jim Pingle

More fixes for DNS rebinding checks (Most of this code is Scott's, with some minor fixes by me)

c8dc187c 07/06/2010 06:55 PM Scott Ullrich

Correct check

c371754a 07/06/2010 06:51 PM Scott Ullrich

Correct check

11ecbf13 07/06/2010 06:36 PM Scott Ullrich

Check for 127.0.0.1 as well

3821f3da 07/06/2010 06:36 PM Scott Ullrich

Oops, correct check

b6022a23 07/06/2010 06:35 PM Scott Ullrich

Add localhost as a valid host for SSH forwarding cases

0321fa1b 07/06/2010 06:27 PM Jim Pingle

Wrap the dns rebind check in a test to see if our error function exists. If it doesn't, it's probably being called from captive portal, so skip the check. Fixes #721

4b49a8a9 07/06/2010 05:55 PM Jim Pingle

Move the skel dir to /etc/skel, where it's easier to manage from a build point of view.

5a554f30 07/06/2010 04:10 PM Jim Pingle

Slight fix to dyndns check

9b13f84b 07/06/2010 03:51 PM Scott Ullrich

Check dyndns hostnames as well for DNS Rebind issues

cc89c9e5 07/01/2010 09:35 PM Scott Ullrich

^ Potential

6266cf99 07/01/2010 09:25 PM Scott Ullrich

Binding -> Rebinding

1ba06f44 07/01/2010 09:25 PM Scott Ullrich

Comment what we are doing here and add the ticket #.

ce46b5da 07/01/2010 09:12 PM Scott Ullrich

More dns-rebind checks. Ticket #708

29293dce 06/29/2010 08:51 PM Jim Pingle

Give users with ssh access a real shell, but make sure that admin still gets /etc/rc.initial

77f7e3bf 06/29/2010 08:29 PM Jim Pingle

Set a skeleton directory for pw

0d5ff383 06/29/2010 08:26 PM Jim Pingle

Let pw handle the creation of the home directory rather than do it in php.

af31b277 06/29/2010 08:06 PM Jim Pingle

Give users who have "all" privileges shell access. Part of ticket #614

2708e399 06/25/2010 05:08 PM Jim Pingle

Remove some redundant code and make sure admin's home directory is /root - Fixes #218

e879fc81 06/22/2010 02:29 PM Ermal LUÇI

Fixes #613. Add correctly users to all users group.

80b292f3 06/17/2010 09:54 PM Ermal LUÇI

Do not include functions.inc just for pfSenseHeader which is not really the best place to use!

f23e6363 06/17/2010 09:44 PM Ermal LUÇI

Fixes #660. Simplify some code and correctly do an exit after a redirect is issued. Thanks-to: Efonne for analysis.

0914b6bb 05/24/2010 05:49 PM Ermal LUÇI

Use mwexec where it does not make sense to use popen for something that does not take any parameters. Create a function to actually remove a user from its groups when the user itself is deleted.

883b2552 05/13/2010 05:03 PM Seth Mos

Correct the shell for the admin account, this should be /etc/rc.initial. Not /bin/sh

5adb44fb 05/11/2010 09:08 AM Seth Mos

Fix creation of admin user account with uid of 0. This fixes ticket #574

38564fde 05/10/2010 02:42 PM Seth Mos

Allow the webui admin account to have a duplicate user ID of 0.
Make sure to create that account before attempting to modify it's attributes

7a938f1b 04/27/2010 02:55 PM Ermal LUÇI

Ticket #389. Correctly make the ldap object picker work and handle various errors.

02647583 04/27/2010 02:07 PM Ermal LUÇI

Ticket #378. Correctly handle a timeout of 0 to mean never timeout.

92140621 04/20/2010 09:14 PM Ermal LUÇI

Allow users to send in the same POST authentication info and post fields. This will be allowed by authentication code if the special post var 'postafterlogin' isset.

9a985f9e 03/29/2010 04:48 PM Ermal LUÇI

Simplify code.

95feeb92 03/13/2010 08:31 PM Chris Buechler

fix text

6e815096 03/12/2010 04:23 PM Ermal LUÇI

Add includes needed. Fix typo.

019e6c3f 03/11/2010 04:58 PM Jim Pingle

Fix bug where user wasn't being removed from groups upon deletion.

fb0f22c0 03/09/2010 05:54 PM Ermal Luçi

Add a function to get user groups based on authentication server. Use this function to show the groups the user i member of on Diag Authentication.

864336aa 03/04/2010 03:55 PM Ermal Luçi

Remove the authentication fallback it does not have any meaning now.

409105ec 03/03/2010 05:21 PM Ermal Luçi

Remove dead code.

6306b5dd 03/03/2010 04:17 PM Ermal Luçi

Overhaul the user login system to use the Servers tab as its base.

Fix quite a few problems down the way.

7c52ac05 03/03/2010 12:41 AM Ermal Luçi

Remove unused var and stale comment.

cc686d98 03/02/2010 08:19 PM Ermal Luçi

Add the neccesary foo for radius.inc to work.