Scott Ullrich
182fa1201a
Add \n to avoid rule breakage
2008-10-28 04:17:53 +00:00
Chris Buechler
41ccfc4488
add missing newline
2008-10-28 04:08:16 +00:00
Scott Ullrich
e8dba7460f
Reload interface being worked on, not blindly lan
2008-10-27 22:51:03 +00:00
Scott Ullrich
bbcc0a41d4
Note that when enabling a LAN interface that enables "Full firewalling and nat modes"
2008-10-27 03:28:05 +00:00
Scott Ullrich
64f7a1ae76
Latest config is 5.3
2008-10-27 00:40:50 +00:00
Scott Ullrich
19525ae765
Use $g['product_name']
2008-10-26 20:43:48 +00:00
Scott Ullrich
cd718d54e4
Use $g['product_name"]
2008-10-26 20:42:50 +00:00
Scott Ullrich
1c44a77db8
Output welcome message after various items are mounted (so we have grep)
2008-10-26 20:05:24 +00:00
Scott Ullrich
c4e3f59fcd
Grab product_name from globals.inc
2008-10-26 19:46:10 +00:00
Scott Ullrich
04d26657a3
If for some reason an invalid element gets written out in config.xml
...
such as a blank fieldname, pfSense resstores the previous configuration.
However after restoring the configuration the WAN looses its configuration,
default gateway goes bye-bye, etc. Call reload_all() if we restore
a backup to ensure that the firewall is left in a working state.
2008-10-25 21:17:54 +00:00
Scott Ullrich
65c4d1ad6e
Increase icmplim to 750
2008-10-25 21:16:13 +00:00
Scott Ullrich
f6b761fb9f
Restore correct stub
2008-10-24 22:08:21 +00:00
Scott Ullrich
ab757ebc84
Add additional text that might explain what this script does
2008-10-24 00:17:01 +00:00
Scott Ullrich
0c68311c6b
Use tabs to seperate option and text
2008-10-24 00:15:37 +00:00
Scott Ullrich
d56e44ba31
Show the backup date and time available for RESTORE
2008-10-24 00:13:39 +00:00
Ermal Luçi
22f9a7b0e4
Another optimization which avoids passing the rules twice just to knwo that ipfw is needed.
2008-10-23 22:51:03 +00:00
Scott Ullrich
76e74f41d4
Correct 0 - Array error
2008-10-23 22:49:51 +00:00
Ermal Luçi
abb31ea43d
Add stub functions for code that references old names(mostly pacakges).
...
Suggested-by: Scott
2008-10-23 21:59:55 +00:00
Ermal Luçi
85a5da131c
* Rename get_current_wan_address to get_interface_ip
...
* Rename get_real_wan_interface to get_real_interface
* Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
* Cleanup some code when passing or remove some unused one.
2008-10-23 21:51:53 +00:00
Ermal Luçi
cb00b7342f
Improve vlan interface code to try to activate as much as possible on the parent, this allows to not maintain a supported list.
2008-10-23 20:57:05 +00:00
Scott Ullrich
332ccd2b14
Add newline
2008-10-20 22:53:40 +00:00
Scott Ullrich
adb0c767a0
Look for <pfsense>
2008-10-20 22:36:30 +00:00
Scott Ullrich
f45e6a3b96
Check for bogus decrypted config.xml
2008-10-20 22:33:19 +00:00
Scott Ullrich
864bbcddfa
Correct tagfile_deformat() call
2008-10-19 21:16:34 +00:00
Ermal Luçi
52d6ad5136
Oops, use tunnel address not network.
2008-10-19 14:39:23 +00:00
Ermal Luçi
0c56453c8c
Clenup some more when bringing down an interface.
2008-10-19 14:34:34 +00:00
Ermal Luçi
4367b5f627
Bring order and simplify logic.
2008-10-19 14:05:41 +00:00
Ermal Luçi
adec685108
Clear the arp entries for the interface going down.
2008-10-19 13:32:55 +00:00
Ermal Luçi
d8acd70624
Slightly change order of commands for dhcp.
2008-10-19 13:29:04 +00:00
Ermal Luçi
80bf3f4aac
Refactor some code so frontend does not need to know about details that might change
...
during development.
2008-10-19 13:20:32 +00:00
Ermal Luçi
f620d00d37
style(9)
2008-10-19 09:47:51 +00:00
Ermal Luçi
87a2efd1d8
Move from $debugging to $g["debug"].
2008-10-19 09:39:21 +00:00
Ermal Luçi
b042cfd6fd
Remove unused var.
2008-10-19 09:33:48 +00:00
Ermal Luçi
40aa6f2072
Mpd4 handles itself mss even with reduced mtu on pppoe case.
2008-10-19 09:07:28 +00:00
Ermal Luçi
b4914b78ba
When interface is configured for pppoe and mtu is also configured then adjust the pppoe mtu c
...
orrespondingly as to us this means pppoe mtu and not parent interface mtu.
2008-10-19 09:03:43 +00:00
Ermal Luçi
9a12451b3a
Do not try to generate rules for the known interface groups or should we?
2008-10-19 07:50:51 +00:00
Ermal Luçi
c5a568d943
* Cleanup some logic for loading ipfw module which might improve somewhat rules speed on very large rulesets. The best option is moving this to rules generation itself which would really speed up things but i will check it later on.
...
* Fix scrub rules generation since it was 'broken' by generating mss-clamping for all interfaces which might be the reason for some slow transfers reported. Remove generation of mss clamping by pf in pppoe case since we handle this in mpd4 and seems to be a better fit for this.
2008-10-19 07:30:24 +00:00
Scott Ullrich
e6d436e8d0
If <prefix> does not exist, then call safe_mkdir on it.
2008-10-19 03:38:28 +00:00
Scott Ullrich
64a0b4e4ec
Only attempt to run plugins if directory exists
2008-10-19 03:24:34 +00:00
Scott Ullrich
5025a56c9f
* Add run_plugins() function
...
* Use run_plugins() function in filter.inc
* Add plugin hook for parse_config and write_config
2008-10-19 03:19:22 +00:00
Ermal Luçi
c08360648a
Cleanup some not needed code and use the correct debug var.
...
A lot of code references $debug as var but actually there is only $g['debug'] and $debugging that are defined!!
2008-10-18 14:06:22 +00:00
Ermal Luçi
cf30589944
When creating vlan interfaces from console fill all the needed information.
2008-10-18 13:57:56 +00:00
Ermal Luçi
b9004dfedf
Restore accidentally removed code with bigpond removal which is causing issues with pppoe/pptp.
2008-10-17 14:33:23 +00:00
Scott Ullrich
4b6e75fff9
Check for valid IP address using is_ipaddr
...
Suggested-by: Ermal
2008-10-15 17:32:59 +00:00
Scott Ullrich
cc8ad8a7ad
Misc style fix and checking to see if this is noticed by GIT
2008-10-15 17:29:11 +00:00
Scott Ullrich
915ffd5f8b
Actually insert the interface address when the option is specified.
2008-10-14 18:24:34 +00:00
Ermal Luçi
7c36f9e050
Revert this and see if it affects any of problem reported on latest builds.
2008-10-13 22:40:48 +00:00
Scott Ullrich
8fe7e7c855
Add global debug where needed
2008-10-13 00:35:28 +00:00
Scott Ullrich
269d60620b
Only show debug Running commands if $debug is enabled
2008-10-13 00:33:17 +00:00
Scott Ullrich
37f36cdaad
Read in tabcontrols.php and properly eval()
2008-10-12 19:37:46 +00:00