Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
964dcb25 12/19/2014 08:34 AM Ermal Luçi

Enforce some more checking to avoid https://forum.pfsense.org/index.php?topic=85580.0

19ddaa31 12/19/2014 12:22 AM Chris Buechler

include $myid in these PSK lines. Ticket #4126

019c7b2d 12/18/2014 06:13 PM Renato Botelho

Simplify logic using a proper function as spotted by Ermal

0fcab48b 12/18/2014 03:52 PM Renato Botelho

Replace ; by newlines when upgrading custom_options from unbound packages, it's related to ticket #4090

02f65ece 12/18/2014 10:03 AM Renato Botelho

Add openvpn interfaces to group when they are created, it should fix #4110

afe81d69 12/18/2014 10:03 AM Renato Botelho

Check if interface exist before try to add it to group

55092b0e 12/17/2014 06:48 PM Renato Botelho

Bump latest_config version that I forgot on previous commit. Spotted by Jim Pingle

264d17a5 12/17/2014 06:25 PM Chris Buechler

syslogd can't just be HUPed to pick up its new config, as many of those
are command line arguments. Go back to 2.1x and prior behavior of TERM and
restart. Fixes source IP use with syslog among other config changes.

56c8376a 12/17/2014 06:17 PM Renato Botelho

Add a cron item to expire items from webConfiguratorlockout, also add config upgrade code. This fixes #4122

aafa7657 12/17/2014 05:27 PM Renato Botelho

Check if interface is disabled when configuring DHCP server. It fixes #4119

2ae99d06 12/17/2014 02:02 PM Ermal Luçi

Give the proper value for the logging level since even 0 is the correct value coming from GUI.

136217fd 12/16/2014 01:33 PM Renato Botelho

Make logic more visible as suggested by Ermal

43157c8f 12/16/2014 12:22 PM Renato Botelho

Teach interface_vip_bring_down() to deal with IP Alias over CARP

03226d75 12/15/2014 07:18 PM Renato Botelho

Use newline to separate unbound custom options during config upgrade, it should fix #4104

7dd5f0f7 12/13/2014 07:25 PM Chris Buechler

Where binding Unbound to *:53, set "interface-automatic: yes" so replies are sourced from the correct IP. Ideally this should always work this way, but setting this causes Unbound to bind to *:53, which shouldn't happen where specific interfaces are chosen. Ticket #4111

d3bf4a41 12/11/2014 09:47 PM Renato Botelho

Split ICMP and ICMPv6 types on Firewall Rules

- Remove redundant declaration of $icmptypes and move it to a common
place (filter.inc)
- Add missing ICMP types for v4
- Add ICMPv6 types
- Adjust javascripts to show correct options depending of IP Protocol...

52e97bcc 12/10/2014 11:58 AM Renato Botelho

Make sure this message is only displayed on console

c02acef2 12/10/2014 11:56 AM Renato Botelho

get_failover_interface() is already called inside get_interface_ip(v6), no need to call it twice. It should fix #4089

e2a319f3 12/08/2014 09:45 PM Renato Botelho

Use exit instead of return here, otherwise script's return code is always 0 and user with wrong password is authenticated

a4e07baf 12/05/2014 09:06 PM Chris Buechler

Disable RC4 ciphers in lighttpd

04d307d8 12/05/2014 05:39 AM Chris Buechler

dyn.dns.he.net uses a self-signed cert, disable verification for it.

514512dd 12/05/2014 05:19 AM Chris Buechler

Don't try to launch 3gstats unless it's on a valid device.

5ed9fab7 12/05/2014 05:10 AM Chris Buechler

Proper CA certificates are in place to validate SSL in these cases where it previously couldn't be, remove disabling of verification.

95bd66a0 12/05/2014 03:02 AM Chris Buechler

replace spaces with tabs

590aa3e7 12/05/2014 03:00 AM Chris Buechler

After discussion with Ermal, remove this to force consumers to send things
properly. I fixed the scenario in Unbound where it was sending IPs to
these functions rather than an interface, so this has no functional diff.

32a81561 12/05/2014 02:58 AM Jean Cyr

Don't include link-locals as unbound interface candidates

Unbound does not presently support link-local interfaces.

d0b5ddce 12/04/2014 05:52 PM Renato Botelho

Fix update url since now we have RELENG_2_2

47eb263d 12/04/2014 11:35 AM Ermal Luçi

Proper fix was put on f658bac
Revert "Can't skip this if booting, ends up breaking config. Ticket #4071"

This reverts commit effb3a3cfe4e57b781f35ba8a145eb627014d8ce.

e26effd3 12/04/2014 06:23 AM Chris Buechler

change the ordering of dhcpd_configure and unbound_configure here, claims on forum it fixes issue I can't seem to replicate.

679c54fc 12/04/2014 05:07 AM Chris Buechler

Merge pull request #1360 from jean-m-cyr/master

f302a333 12/04/2014 03:23 AM Jean Cyr

Link local interfaces don't have subnet.. don't create access-control statement

Selecting link local interface for unbound causes invalid access-control
statement in unbound config since link local address doesn't have
subnet.

effb3a3c 12/04/2014 02:43 AM Chris Buechler

Can't skip this if booting, ends up breaking config. Ticket #4071

e78509cc 12/03/2014 06:42 PM Chris Buechler

fix IPv6 static routes, is_ipaddrv6 returns true for strings including a
CIDR mask, which then ended up broken.

30640018 12/03/2014 05:05 PM Chris Buechler

Change our default resolv-retry back to OpenVPN's default. Changing this
didn't help the ticket where it was intended to help, which was later
fixed differently. This change in defaults is problematic in a lot of
scenarios, go back to the way things were before. Ticket #3894

c042bc3b 12/03/2014 03:28 AM Chris Buechler

Merge pull request #1357 from DasTestament/patch-1

d12e3d3c 12/03/2014 02:50 AM Chris Buechler

reload Unbound here, fixes some instances of PD-assigned v6 IPs missing from unbound.conf

a0e9e17d 12/03/2014 02:15 AM Chris Buechler

If get_interface_ip(v6) is passed an IP, return the IP.

Properly set up interface binding for v6 link local IPs. Ticket #4021

except had to comment out the fix for now because of #4062 to avoid config breakage.

3377dc9d 12/02/2014 11:59 AM Ermal Luçi

Preserve exit code lost from s/exit/return/

7f060014 12/02/2014 11:24 AM Ermal Luçi

Cleanup whitespace.

52550ca5 12/02/2014 11:01 AM Ermal Luçi

Remove exit from as much as possible backend code

1ff8e8f6 12/02/2014 10:07 AM Ermal Luçi

Comment out copy paste of v4 code. No need to delete arp entries on v6.

f74c9aba 12/02/2014 10:06 AM Ermal Luçi

Comment out copy paste of v4 code. No need to delete arp entries on v6.

9eabb248 12/01/2014 10:54 PM Chris Buechler

also take into account the "all" option in Unbound Network Interfaces when
setting 127.0.0.1 into resolv.conf.

4dd7ca80 12/01/2014 11:06 AM Dmitriy K.

Update filter.inc

Add missing gettext.

p.s: Is it really needed to log? Lots of rules causes lots of spam on ifaces without gw. Such kind of this logging should be controllable by user via option at least.

7ceff68a 12/01/2014 09:02 AM Ermal Luçi

Unlink temporary xml file to avoid filling up space with junk files

e3afacbb 11/29/2014 07:43 PM Chris Buechler

Only set i_dont_care_about_security_and_use_aggressive_mode_psk=yes where there is a P1 with aggressive+PSK enabled. Log a warning when such a configuration is in use.

9c97e4b8 11/29/2014 12:20 PM Phil Davis

Correctly delete xml file after restore and conversion to rrd

When doing "Generating RRD graphs" at bootup, the data is restored from /cf/conf/rrd.tgz into xml format files in /var/db/rrd. Those xml files are then convert to rrd files. After that, the xml files should be deleted - but the xml file path was not quite right, so they were not being deleted....

8c2a5a73 11/29/2014 11:45 AM Phil Davis

Fix bracketing of if statement in unbound

Stops message:
Warning: in_array() expects parameter 2 to be array, null given in /etc/inc/unbound.inc on line 607
The problem was introduced when lines 607-608 were added without adding these brackets.
IMHO programming standards should include ALWAYS using brackets for "if" and other similar statements. That way this sort of code addition accident does not happen. But I guess there are others who have different opinions.

978b8f50 11/29/2014 04:58 AM Chris Buechler

fix syntax on prefix6 for DHCPv6 PD

a96dc32e 11/29/2014 01:17 AM Chris Buechler

Add input validation on vpn_ipsec_settings.php. Fixes #4052.

5a663a5d 11/28/2014 11:30 PM Chris Buechler

Skip v6 WANs in Unbound access-control. Ticket #4023

80075b9e 11/28/2014 10:30 PM Chris Buechler

fix v6 access-control in Unbound, Ticket #4023

719db60e 11/28/2014 10:26 PM Ermal Luçi

Ticket #4009 Force serial console whenever the installer told us so.

f4620b36 11/28/2014 10:09 PM Chris Buechler

check if Unbound is enabled in addition to dnsmasq for v6 DNS assignment. Fixes #4051

b7960673 11/28/2014 09:54 PM Chris Buechler

Fix input validation for DNS resolver when localhost is enabled in resolv.conf and "all" chosen in Network Interfaces. While here, set something other than '' when all is chosen.

7b9dfd6b 11/28/2014 08:53 PM Ermal Luçi

Correct some logic and remove temporary files

7966b0df 11/28/2014 08:50 PM Ermal Luçi

Make restore one by one to help https://forum.pfsense.org/index.php?topic=84693.0

fea0b652 11/28/2014 03:48 PM Ermal Luçi

Correct typo on variable. Should help https://forum.pfsense.org/index.php?topic=84451.0

16d6c1df 11/28/2014 02:43 PM Renato Botelho

Add a parameter on platform_booting to help detect if it's on GUI on console and use it in appropriate places, it fixes #4049

5acce704 11/28/2014 02:15 PM Renato Botelho

Fix sapi name check to detect if it's on console, ticket #4049

e48a7cf4 11/28/2014 12:11 PM Ermal Luçi

Remove the . here they just confuse things as in Ticket #4049. Also check that the script is called from console to trigger the convertion and mounting of floppy.

d8648df4 11/28/2014 12:05 PM Ermal Luçi

Remove these booting settings since are useless

359655af 11/28/2014 12:00 PM Ermal Luçi

Remove these booting settings since are useless

42982b22 11/28/2014 11:50 AM Ermal Luçi

Bring back the old way of waiting for 3 times of 10seconds on bootup for a ppp type interface to come up. while here also do bringup of virtual interfaces only when not booting

6f1b89e9 11/28/2014 11:14 AM Ermal Luçi

Use function for determining if its ppp type

a9163efe 11/28/2014 11:13 AM Ermal Luçi

Cleanup some code and use function for easier management

f8f5ba1a 11/28/2014 04:10 AM Chris Buechler

Add option to disable auto-added access-control entries for users who want to manually manage ACLs. Ticket #4023

7a63d5d0 11/27/2014 08:44 PM Ermal Luçi

Fixes #4040 for pppoe use static route with -iface option to help when more than one pppoe has the same gateway. Also kill states when reloading apinger to catch up with new route

648661c5 11/27/2014 03:09 PM Ermal Luçi

Make the parsing of setkey -d(SAs) more reliable. Fixes #4043

4ce77a6c 11/27/2014 02:13 PM Ermal Luçi

Correct logic of skipping for gif/gre/bridge on top of _vips. Even though this is not anymore a problem in 10 since the vip is on the physical interface but for now its ok.

f72ea82a 11/27/2014 01:48 PM Ermal Luçi

Put the safety belts for rrds on its proper location. No need to create /tmp and change permissions on these paths

e318d592 11/27/2014 10:27 AM Phil Davis

Fix Unbound host_entries.conf warnings on console during boot

system_hosts_generate() tried to make /var/unbound/host_entries.conf at various times in the boot sequence before the main Unbound start code was called. But these early calls to unbound-related things did not have any check to see if /var/unbound was created yet....

3cd3cbd2 11/27/2014 09:43 AM Phil Davis

Setup rrd dir before calling create_gateway_quality_rrd

Stops error:
ERROR: opening '/var/db/rrd/WAN_DHCP-quality.rrd': No such file or directory
in system log during boot.
Forum: https://forum.pfsense.org/index.php?topic=84627.0

a7f79eda 11/27/2014 07:59 AM Ermal Luçi

Use the undocumented -q options of devd to reduce spamming on logs. pfSense scripts do their logging so not necessary to have devd in there.

f29e20a3 11/27/2014 07:46 AM Ermal Luçi

Do not run this during bootup

bf635e7d 11/27/2014 07:42 AM Ermal Luçi

Optimize

e546d2d1 11/27/2014 07:41 AM Ermal Luçi

Do not run this code during upgrade and if ost is booting up

08003661 11/26/2014 09:53 PM Ermal Luçi

Actually comment this code out since it causes more troubles than solves for any type

6878d797 11/26/2014 09:46 PM Ermal Luçi

Just indent code to make it more readble.

329c2bb3 11/26/2014 09:01 PM Ermal Luçi

Make at least the code correct here even though it does not make sense on what it does!

5b7c2403 11/26/2014 08:05 PM Ermal Luçi

Mute this since only spams logs when interface is not there

7d5fc0b3 11/26/2014 07:59 PM Ermal Luçi

Move these functions nearby since thy are related

383f20a1 11/26/2014 07:57 PM Ermal Luçi

Actually get the correct value here!

7bc73d5e 11/26/2014 07:54 PM Ermal Luçi

Actually consider parentmtu 0 here to get the real value when unassgined

3e8035da 11/26/2014 07:52 PM Ermal Luçi

Properly respect other configured MTUs for other vlans. Properly respect parent of vlan MTU if configured. Also avoid errors when possible. This helps VLANs MTU handling but all the other interfaces as gre/gif/... needs the same handling. It is better to require reboot on MTU changes especially on complex configurations.

31ddb935 11/26/2014 07:42 PM Ermal Luçi

Partially revert the previous modification on vlan mtu. The function job is to find the biggest mtu between vlans and let it do that

5e0a3256 11/26/2014 07:34 PM Ermal Luçi

convert_real_interface_to_friendly_interface_name() goes and checks the parent and this gives wrong information 99.9 percent of the time on scenarios like when this is called for unassigned vlans etc, while its real purpose is just to check if the interface is assigned and return the intermeddiate/config name of the interface. Leave the get_parent_option there in the function but it needs to be asked specifically for.

e2fcd0e3 11/26/2014 02:41 PM Ermal Luçi

Skip the interface being configured from the list to check the mtu

cb054444 11/26/2014 02:39 PM Ermal Luçi

Seems somehow globals.inc are not being sucked in on the GUIgit diff! Make this a requirement here!

2f8f9d5a 11/26/2014 01:41 PM Ermal Luçi

Add checks for requirement as array here. Reported-by: garga

ca301b52 11/26/2014 01:21 PM Ermal Luçi

Fix the function missing from config.inc. Spotted-by: garga

285ef132 11/26/2014 12:10 PM Ermal Luçi

Rather than set the g['booting'] on globals provide a function to test for that doing the right checks

e861812c 11/26/2014 11:30 AM Ermal Luçi

Remove the booting signal if not needed to fix some issues reported on the GUI

3d3dd668 11/26/2014 11:15 AM Ermal Luçi

Use the new available function

c683f627 11/26/2014 07:18 AM Chris Buechler

include 169.254./16 in unbound's DNS rebinding protection

e3045c51 11/26/2014 07:00 AM Chris Buechler

include Unbound access-control entries for local IPv6 networks reachable via static route. Ticket #4023

31afa084 11/26/2014 04:57 AM Chris Buechler

Skip interface subnets for IPv4 here, this is best handled via the NAT networks list. Ticket #4023

3bdf2a70 11/26/2014 04:39 AM Chris Buechler

Use the subnets automatic outbound NAT uses for tonatsubnets for Unbound's access-control config, as this is a good source of what networks are internal. Ticket #4023

95834f84 11/26/2014 02:20 AM Chris Buechler

correct logic here to omit 127.0.0.1 from resolv.conf when no DNS resolver bound there.

a46dc3c7 11/25/2014 09:01 PM Chris Buechler

fix typo