Commit Graph

8839 Commits

Author SHA1 Message Date
Scott Ullrich
86af45ecbe Ensure $pkg is defined. Send pkg_delete errors to /tmp/pkg-delete_errors.txt 2011-01-06 17:48:33 -05:00
Scott Ullrich
64974db724 Fix package dependency check code now that we no longer nuke /var/db/pkg/ before operating on packages 2011-01-06 17:37:49 -05:00
Scott Ullrich
28ed552d3d Strip off the space between @depend and the package name. Otherwise it will return a space in front of the pkgname 2011-01-06 16:53:32 -05:00
Scott Ullrich
550fea7a19 Do not unlink file, it's handled by behind the scenes pkg-utils.inc code 2011-01-06 16:39:12 -05:00
Scott Ullrich
7aa9ab00ab Fix typo 2011-01-06 16:06:03 -05:00
Scott Ullrich
608b154df2 Shorten repo download message 2011-01-06 15:58:37 -05:00
Scott Ullrich
ca99d6a642 Do not show already installed messages which fill up the textarea too many times 2011-01-06 15:55:59 -05:00
Scott Ullrich
0c78d2d084 Include pkg-utils.inc 2011-01-06 15:49:49 -05:00
jim-p
72b7aa4a8e Also CDATA protect the detail field. Fixes #1168 2011-01-06 13:53:38 -05:00
jim-p
d865241edd Don't run mb_convert_encoding on descr field, it's cdata protected in the config now and this just causes some characters to be lost on input. Ticket #1168 2011-01-06 13:52:52 -05:00
Scott Ullrich
9d308f58da Do not nuke /var/db/pkg now that 2.0 has better handling 2011-01-05 16:50:08 -05:00
Scott Ullrich
9b1936193f Reinstall packages on bootup during console. Ticket #1156 2011-01-05 16:44:30 -05:00
Ermal
7d62c4c873 Ticket #491. Correct username/password name fields so upgrade works correctly. 2011-01-05 21:10:48 +00:00
Ermal
6ae19856e0 Actually use sigkillbypid. 2011-01-05 20:43:45 +00:00
Ermal
e7af9a80c6 Send a HUP to racoon which is equivalent to the reload-config racoonctl command which seems to not work in 0.7.3 of ipsec-tools. 2011-01-05 20:41:12 +00:00
Warren Baker
99fbc94a86 Forgot to up the array count. 2011-01-04 21:16:14 +02:00
Warren Baker
64c8631376 Add kern.ipc.maxsockbuf to upgrade config and remove extra whitespace. 2011-01-04 21:15:00 +02:00
Ermal
807fd6cd35 Unbreak dns server colletion. Pointyhat: myself 2011-01-04 18:32:52 +00:00
Scott Ullrich
abe7607f69 Add sysctl for maximum socket buffer sizing. Set to 42621444. This is needed for some heavily loaded servers running unbound, squid, etc 2011-01-04 12:27:31 -05:00
Ermal
aa7c49b9d7 Ticket #943. Sleep 1 second to give dns time to reload. 2011-01-03 22:52:59 +00:00
Pierre POMES
e7c9af97ea Ticket #1141. Add missing sasl.inc 2011-01-03 17:47:08 -05:00
Ermal
3381819876 Oops remove forgotten line and correct variable name error that seems to have existed from long time. Even though the file read is not used in pfSense this days! 2011-01-03 21:53:07 +00:00
Ermal
e1daff07b2 Use glob instead of forking cat with glob patterns. Also use file() instead of forking cat just for reading a file. This might help with the issue reported on Ticket #943 which seems like a timing issue even though the dns events happen before newip events. 2011-01-03 21:49:24 +00:00
Ermal
55c51af729 Ticket #1152. Call rc.newwanip even on openvpn linkup event to do the correct reloading of gateways and services. Add a safe belt to avoid a recursion in openvpn itself from rc.newwanip. 2011-01-03 21:29:28 +00:00
Ermal
3dfc2d1a82 When the parent interface of a pppoe is assigned do not remove the interface from ng_ether since this will break ppp clients of netgraph with this interface as parent. This solves http://forum.pfsense.org/index.php/topic,31247.75.html 2011-01-03 19:45:16 +00:00
Scott Ullrich
4682fb7d6b Turn zlib compression back on. Tested by and reminded by Pierre Pomes. Ticket #198 ... Apparently lighttpd was not compressing the php pages so this should be turned back on according to Pierre Pomes (and tested by him). 2011-01-03 13:12:07 -05:00
gnhb
5e1f9bb4f1 Remove uncessesary function call.
This function call is extraneous. mpd will automatically shut down existing mpd processes
gracefully because we call it with the "-k" command line switch.

In addition, this call causes mpd to be started twice in rapid succession when users have
"dial on demand" enabled. This can lead to problems with orphaned netgraph nodes which can
only be cleaned up via reboot.
2011-01-03 20:21:31 +07:00
gnhb
c8d2306934 Reshuffle code a bit. Prevent potential race condition between one mpd instance
shutting down and the second one starting.

There's no need to kill mpd before restarting it since we always start it with
the "-k" flag which means "wait for existing mpd process to exit gracefully before starting."
2011-01-03 20:18:24 +07:00
Pierre POMES
1edfb2de94 Ticket #1141. Typo error, use ->user to enable auth 2011-01-02 15:34:45 -05:00
Pierre POMES
2cd8d942d6 Ticket #1141. Add necessary stuff for smtp auth using sasl 2011-01-02 15:30:44 -05:00
Ermal
02e9880edd Improve parse_config to not be recursive for no reason. This fixes some strange cases of config lock being left held and blocking GUI. 2010-12-30 19:45:28 +00:00
Erik Fonnesbeck
eebccaca85 Fix PHP warning related to recent update of apc extension. 2010-12-30 02:49:25 -07:00
jim-p
f2141df0da Allow entering an arbitrary subnet for outbound NAT translations. 2010-12-29 16:11:26 -05:00
Scott Ullrich
2388a97db3 Nuke newline 2010-12-29 15:48:57 -05:00
jim-p
09315582d7 Add address pool support to outbound NAT. Allow specifying a subnet for outbound NAT rules (via a subnet of proxy arp VIPs) or a host-type alias for outbound NAT rules, and give the user a choice of pool options for address selection from within the pool. 2010-12-29 14:04:30 -05:00
Ermal
66bcba1bcd Ticket #802. During a config restore detect if the vlan interfaces need reassignment too. This might be problematic for other type of interfaces on 2.0! 2010-12-28 22:39:51 +00:00
Ermal
c3583058a0 Add radius port and radius accounting port to config if supplied. 2010-12-28 22:10:39 +00:00
Pierre POMES
8f5c3d8d8a Ticket #1116: anonymous sainfo may be used only for single phase2 ipsec VPN's 2010-12-28 16:23:36 -05:00
Chris Buechler
a82e6d3733 fix text 2010-12-28 00:09:43 -05:00
jim-p
0f28864752 Don't include rfc1918 in bogons 2010-12-27 20:20:55 -05:00
Ermal
e240969e05 Allow any port to go out for CP. This should unbreak traffic of CP rdr! 2010-12-28 00:38:29 +00:00
Scott Ullrich
6622e126ed Unlink needs_package_sync after one pkg has installed OK which means that our internet connection is up. 2010-12-27 13:40:58 -05:00
Chris Buechler
3ec4b9dedf update bogons 2010-12-25 15:43:29 -05:00
Scott Ullrich
7dbbaecd11 More misc pkg install txt fixups 2010-12-25 13:51:51 -05:00
Scott Ullrich
f169e2742a More misc pkg install txt fixups 2010-12-25 13:50:04 -05:00
Scott Ullrich
73e52b99e7 Add newline after restoring libs 2010-12-25 13:45:13 -05:00
Scott Ullrich
4c6a49d7f8 backup and restore libs in correct location 2010-12-25 13:40:13 -05:00
Scott Ullrich
2b216e5199 misc text formatting fixes (tabs) 2010-12-25 13:38:23 -05:00
Scott Ullrich
b2dd7ab44d Only backup libraries at the beginning of the deinstall cycle. 2010-12-25 13:04:28 -05:00
Scott Ullrich
7102210a07 Add tab 2010-12-25 13:03:24 -05:00