Commit Graph

8141 Commits

Author SHA1 Message Date
Bill Marquette
8ef95644a3 Reset $userent - it gets set somewhere and grants users full priviledges
after creation
2007-08-06 03:14:31 +00:00
Bill Marquette
0fb5206f46 Somehow requiring config.inc before guiconfig.inc was redirecting back to
login page.  config.inc get's pulled in through functions.inc include in
guiconfig.inc, no need for it here.

Reported-by: smos@
2007-08-06 02:57:58 +00:00
Bill Marquette
a24d988099 Fix field display on login screen 2007-08-06 02:49:13 +00:00
Bill Marquette
6cdb018129 fix field alignment 2007-08-06 02:42:43 +00:00
Bill Marquette
8ec2ea96e4 missed this page in the original backport commits 2007-08-06 02:24:19 +00:00
Scott Ullrich
e4298413c8 Sync NATT support from m0n0wall 2007-08-04 20:33:43 +00:00
Scott Ullrich
725dd10ae2 Sync NATT support from m0n0wall 2007-08-04 20:26:37 +00:00
Seth Mos
4ed746322f Static port the mobile ipsec port 4500 2007-08-04 20:21:42 +00:00
Scott Dale
18176fdcbe beta load balancer widget 2007-08-03 23:15:48 +00:00
Scott Dale
9624823bc7 reorganize ipsec code 2007-08-03 23:12:41 +00:00
Scott Dale
5d7f3e1453 improved load times for ipsec tunnels 2007-08-03 00:32:22 +00:00
Scott Ullrich
caae9b2c61 * The drop is locked in /etc/rc.firmware * Modify ttys after the correct file is moved into place 2007-08-02 18:46:44 +00:00
Scott Ullrich
33edf4b995 * Drop the lock before exiting * Fall back to RO on needed platforms before exiting 2007-08-02 18:44:36 +00:00
Scott Ullrich
d58803a8fa Only zap /kernels directory if it exists 2007-08-02 18:36:00 +00:00
Scott Ullrich
8dd92eaee8 * Ensure source kernel exists before blindly copying * Move embedded ttys back into place after upgrade 2007-08-02 18:31:25 +00:00
Martin Fuchs
ee1b024ea9 - correct behaviour of dhcpd.conf creation
- enable root-path
2007-08-02 11:43:04 +00:00
Martin Fuchs
dc3d25d27d DHCP remove duplicate option domain-name ind dhcpd.conf 2007-08-02 08:47:44 +00:00
Martin Fuchs
1ebf937f12 DHCP: domainname / HEAD > RELENG_1 2007-08-02 08:31:04 +00:00
Scott Ullrich
f9b3f262c4 Reinstall correct kernel after upgrade. 2007-08-02 07:32:11 +00:00
Scott Ullrich
0ca9fb6095 Reset slbd every 140 minutes as opposed to 300 minutes. 2007-08-02 02:14:23 +00:00
Martin Fuchs
53f926dfcf adapt DHCP-options HEAD <> RELENG 2007-08-01 22:12:52 +00:00
Martin Fuchs
6c23757bb8 Add TFTP and LDAP server options to dhcpd 2007-08-01 20:19:50 +00:00
Bill Marquette
9c55515a26 Users that have specific page access can now login 2007-08-01 18:44:41 +00:00
Scott Ullrich
6c038dc63c * Remove trailing space * Remove duplicate command accidently commited 2007-07-31 22:54:10 +00:00
Scott Ullrich
4313e61a52 Increase timeouts when using a 1000 hz. From the FreeBSD commit message: Change TCPTV_MIN to be independent of HZ. While it was documented to
be in ticks "for algorithm stability" when originally committed, it turns
out that it has a significant impact in timing out connections. When we
changed HZ from 100 to 1000, this had a big effect on reducing the time
before dropping connections.

To demonstrate, boot with kern.hz=100. ssh to a box on local ethernet
and establish a reliable round-trip-time (ie: type a few commands).
Then unplug the ethernet and press a key. Time how long it takes to
drop the connection.

The old behavior (with hz=100) caused the connection to typically drop
between 90 and 110 seconds of getting no response.

Now boot with kern.hz=1000 (default). The same test causes the ssh session
to drop after just 9-10 seconds. This is a big deal on a wifi connection.

With kern.hz=1000, change sysctl net.inet.tcp.rexmit_min from 3 to 30.
Note how it behaves the same as when HZ was 100. Also, note that when
booting with hz=100, net.inet.tcp.rexmit_min *used* to be 30.

This commit changes TCPTV_MIN to be scaled with hz. rexmit_min should
always be about 30. If you set hz to Really Slow(TM), there is a safety
feature to prevent a value of 0 being used.

This may be revised in the future, but for the time being, it restores the
old, pre-hz=1000 behavior, which is significantly less annoying.

As a workaround, to avoid rebooting or rebuilding a kernel, you can run
"sysctl net.inet.tcp.rexmit_min=30" and add "net.inet.tcp.rexmit_min=30"
to /etc/sysctl.conf. This is safe to run from 6.0 onwards.

Approved by: re (rwatson)
Reviewed by: andre, silby
2007-07-31 22:51:29 +00:00
Martin Fuchs
90b2b09333 added STUN,RTP,SIP to protocol-definitions 2007-07-29 21:24:04 +00:00
Bill Marquette
6f7c7c795d Add missing tree icons and javascript items 2007-07-29 14:24:49 +00:00
Bill Marquette
9bb4f0c564 Make group manager tree work again
Correctly toggles items on/off
	Removes checkbox which served no real value
	Split group manager into multiple files like most other screens
	refactored tree generation code

Known bugs:
	Initial page display incorrectly displays all tree items as allowed
	The changes to the group['pages'] array likely means auth won't work if you don't have "ANY" pages set

TODO:
	If you have all permissions set, instead of using individual pages, it should set array to ANY
	Allow for entire tree folder selection
2007-07-29 14:24:02 +00:00
Scott Ullrich
4fdff4ae15 Correct error string to read "pptp" instead of "WAN". 2007-07-28 23:27:13 +00:00
Scott Ullrich
d27d8cdccb Do not allow aliases to be named "pptp". 2007-07-28 23:25:13 +00:00
Ryan Wagoner
858fc95d8f remove duplicate upnp disabled message 2007-07-26 21:02:27 +00:00
Scott Ullrich
9412dc37d1 Backport username display feature in captive portal. Really not sure why it wasn't included in RELENG_* versions. 2007-07-26 18:05:00 +00:00
Seth Mos
4a505523b3 Quality graph alignment 2007-07-24 21:27:42 +00:00
Scott Dale
d1ef3e5ae0 show configuration screen to allow option to display detail IPsec info (will help with load times for many tunnels) 2007-07-24 03:48:33 +00:00
Scott Dale
88bcd1d262 show ipsec tab properly when mobile clients is enabled and no tunnel exists 2007-07-24 02:33:09 +00:00
Scott Ullrich
f462325b4e Show the IPSEC firewall rule interface when mobile ipsec is enabled 2007-07-23 18:10:00 +00:00
Ryan Wagoner
431484c8ef -move upnp_action to services.inc
-make sure to clear rules when stopping miniupnpd
-fix status_upnp and status_services pages so they use upnp_action and not the rcfile
2007-07-23 17:26:33 +00:00
Seth Mos
a097d3c06c Correct link too self 2007-07-23 10:57:26 +00:00
Seth Mos
0a48e4442a Fix botched config path and variables 2007-07-23 08:25:03 +00:00
Scott Dale
aa4ab704c3 only process update java when update available 2007-07-23 03:23:52 +00:00
Scott Dale
981f03e5a9 new ipsec widget 2007-07-23 03:20:36 +00:00
Scott Dale
81db9b7b4d add widget tab function 2007-07-23 03:19:53 +00:00
Scott Dale
b047196ead remove previous commit, moving function to index.php to support package installation 2007-07-23 03:19:29 +00:00
Scott Dale
b9b45ddb9d add tab for widgets function; check if file exists before loading 2007-07-23 03:06:50 +00:00
Scott Dale
c955b31520 add tab for widgets function 2007-07-23 03:06:08 +00:00
Seth Mos
15aea4cb3f Make the rrd gateway monitor ip setting accessible 2007-07-21 22:40:07 +00:00
Seth Mos
694870530c Add rrd graph settings page.
Bump config out of line with 1.2
Add rrd config upgrade code.
2007-07-21 21:47:37 +00:00
Scott Ullrich
e1cb5d69a9 s/Passwordlogin/Password login/ 2007-07-21 21:22:10 +00:00
Scott Ullrich
489c0062b8 Shutdown miniupnpd correctly. Ticket #1383 2007-07-18 21:52:28 +00:00
Scott Ullrich
bc48e8208b Remove bogus warning. 2007-07-16 20:27:02 +00:00