Seth Mos
dbaa0e3402
Fix VLAN upgrade code properly. That's what I get for blind coding.
...
Testing bridging code now
2009-06-08 14:39:08 +02:00
Seth Mos
fcf5afa07b
Fix butchered upgrade code in the end of the file
2009-06-08 12:49:39 +02:00
Seth Mos
ab23589557
Add missing quote
2009-06-08 12:49:39 +02:00
Seth Mos
21ee12a6c9
Add missing ; to prevent parse error
2009-06-08 12:49:39 +02:00
Seth Mos
983061e421
Try to fix "key element can not be a reference"
2009-06-08 00:31:42 +02:00
Ermal Luçi
f421cbcc24
Fix laggport configuration. Reported-by: http://forum.pfsense.org/index.php/topic,16734.0.html
2009-06-07 16:29:26 +00:00
Seth Mos
8c1b604d31
Actually use the counter
2009-06-07 01:16:30 +02:00
Seth Mos
0105ae3d0f
Add bridge upgrade code for 1.2 -> 2.0
...
Like the vlan upgrade code this uses slot 38 to make sure it will not run on a 2.0 configuration.
This is blind coded and needs testing. Please help testing.
2009-06-07 01:07:53 +02:00
Seth Mos
2523c92318
Since we still needed upgrade code for vlans from 1.2 to 2.0 I added the upgrade at spot number 39 which is just before the user manager upgrade code.
...
This should make sure that we won't accidentally try to convert a 2.0 install. Good thing we left some spots open!
This is blind coded upgrade code path, it needs testing and I need some volunteers to help please.
2009-06-07 00:45:45 +02:00
Seth Mos
a87afa7cb8
Revert mwexec back to exec. They are very different functions.
...
mwexec() has a mute flag which can be true or false, exec, returns a
array in the 2nd argument and the return code in the 3rd.
We require the output from the command.
2009-06-06 02:45:15 +02:00
Seth Mos
347c58b353
Supress foreach warning on empty array()
2009-06-05 23:35:01 +02:00
Ermal Luçi
39fbee97c8
Fix lagg interfaces creation. Reported-by: http://forum.pfsense.org/index.php/topic,16734.0.html
2009-06-04 11:42:02 +00:00
Scott Ullrich
f0c3eea0f6
Use is_dir, not is_file for detecting directory existance.
2009-06-02 18:37:11 -04:00
Scott Ullrich
e1d234115b
Oops, plip was already there, at the bottom.
2009-06-01 17:57:26 -04:00
Scott Ullrich
a42d1da22e
Add plip exclusion
2009-06-01 17:54:23 -04:00
Seth Mos
a164029fe7
Make sure that the apinger messages end up in the load balancer tab
2009-05-31 23:23:02 +02:00
Chris Buechler
52cca3a46c
fix route deletion
2009-05-31 16:31:32 -04:00
Chris Buechler
b04eb23bff
clarify log message
2009-05-31 15:55:09 -04:00
Ermal Luçi
a6d821bcad
Update functions to add other anchors for before {nat,rdr} rules and {nat,rdr}early rules. Further more no need to call filter_configure since the anchors can be loaded separately from the main ruleset.
2009-05-31 13:44:10 +00:00
Scott Ullrich
6bfccde711
Set hostname then call hostid onestart
2009-05-31 02:32:19 -04:00
Scott Ullrich
4aecfb7ac2
Set hostid earlier in boot
2009-05-30 18:17:41 -04:00
Scott Ullrich
76f59429cd
Setup the host GUID which is required for ZFS
2009-05-30 18:09:14 -04:00
Scott Ullrich
202e537914
Ensure /var/db/racoon exists
2009-05-30 16:51:09 -04:00
Ermal Luçi
d02a500dff
Fix captive portal multinterface rule gfeneration.
2009-05-30 18:23:35 +00:00
Scott Ullrich
0e11e13894
Unbreak english
2009-05-30 02:27:33 -04:00
jim-p
ea8a58ea64
Unbreak pkg-utils.inc. Extra space made it rather unhappy. Reported on IRC and in the forums.
2009-05-30 00:40:04 -04:00
Seth Mos
dc3dedbbf9
Correct swapped values
2009-05-30 00:41:11 +02:00
Ermal Luçi
a9b2e638f8
Present a new package option filter_rules_needed which has a function name to be called if the package needs to create firewall rules. The function should have a switch statement one with 'nat' option wich is called for nat/rdr and one with 'rule' option which is needed for rules. This will help on removing from filter.inc all the packages hardcoded includes and rules and give some more dynamicity. The rules by this function will be included on rules.nat.packages and rules.packages on /tmp partition and called by anchors include file when filter reloads(still this has to come).
2009-05-29 21:49:50 +00:00
Ermal Luçi
2dcf4150a8
Move all address handling of rules to the filter_generate_address. Remove checking for addresses on the beggining of generate_user_filter_rule since we have better way of checking this now.
2009-05-29 21:49:50 +00:00
Ermal Luçi
f91bc86fd9
Fix still the address extraction.
2009-05-29 18:31:11 +00:00
Scott Ullrich
c432da9cac
Full path to chmod
2009-05-29 00:38:31 -04:00
Scott Ullrich
0cc5b3f4de
Ooops, clear-on-reload is preenting dnsmasq from starting.
2009-05-28 18:39:11 -04:00
Scott Ullrich
aa5d3ff60d
Adding --clear-on-reload:
...
--clear-on-reload
Whenever /etc/resolv.conf is re-read, clear the DNS cache. This
is useful when new nameservers may have different data than that
held in cache.
2009-05-28 18:34:29 -04:00
Scott Ullrich
739b97d989
Use --all-servers:
...
--all-servers
By default, when dnsmasq has more than one upstream server
available, it will send queries to just one server. Setting this
flag forces dnsmasq to send all queries to all available
servers. The reply from the server which answers first will be
returned to the original requestor.
2009-05-28 18:27:33 -04:00
Ermal Luçi
33bf187481
Fix the issue reported on http://forum.pfsense.org/index.php/topic,16559.0.html . Basically a missing convertion from 'source'/'destination' to target.
2009-05-28 13:01:31 +00:00
Scott Ullrich
324d622f16
Hide error.
2009-05-28 03:20:24 -04:00
Scott Ullrich
0aca91d076
Ensure 127.0.0.2 points out 127.0.0.1.
2009-05-28 03:03:29 -04:00
Seth Mos
857ce5f348
Fix the function that checks if a link is to be included or excluded.
...
Multiple alarms can be returned which requires different parsing.
Scott will test this
2009-05-28 00:01:24 +02:00
Ermal Luçi
5cd26039aa
Start sshd after the interfaces and routing have been configured.
2009-05-27 17:13:04 +00:00
Scott Ullrich
4b4271d324
Do not include shmop twice
2009-05-22 14:40:45 -04:00
Ermal Luçi
35e4f68e3c
Merge backup_vip_function to the synchronize code where its only used.
2009-05-22 17:08:43 +00:00
Ermal Luçi
d3b6dd4caf
Revert "Include pfsense-utils for backup vip function."
...
This reverts commit 2ff7127957 .
2009-05-22 17:07:38 +00:00
Ermal Luçi
2ff7127957
Include pfsense-utils for backup vip function.
2009-05-22 17:06:38 +00:00
Ermal Luçi
f3ebffee04
Do not spam the logs. Reported by http://forum.pfsense.org/index.php/topic,16382.0.html .
2009-05-22 17:01:34 +00:00
Ermal Luçi
6e8f7b537d
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!
2009-05-22 16:51:12 +00:00
Ermal Luçi
3cfb799dff
Fix ipfw rule syntax.
2009-05-22 15:31:33 +00:00
Ermal Luçi
fca3947278
Fix the rule to actually match on multiple interfaces.
2009-05-22 15:26:47 +00:00
Ermal Luçi
b27f1caf39
Make the CP interface check code more buller proof.
2009-05-21 23:02:04 +00:00
Ermal Luçi
f8b1131038
Make CP multi-interface capable.
2009-05-21 21:44:58 +00:00
Scott Ullrich
868a5b990a
Adding Ciphers Ciphers aes128-ctr,aes256-ctr,arcfour256,arcfour,aes128-cbc,aes256-cbc for the tin foil hat wearing folks.
2009-05-21 16:41:27 -04:00