Commit Graph

9456 Commits

Author SHA1 Message Date
Ermal Luçi
00b0fad663 PHP is a hell of a language it just has oddities just to make you feel stupid! 2008-07-19 15:09:25 +00:00
Matthew Grooms
b4f8fa28b2 Silence the "Beginning upgrade to version 4.7" message. 2008-07-19 06:47:14 +00:00
Scott Ullrich
dc3b882357 Remove trailing blank line 2008-07-19 02:21:30 +00:00
Scott Ullrich
f7522c2b8a Correctly check if sysctl item is array 2008-07-19 02:21:10 +00:00
Scott Ullrich
ee7ff1f007 Add TCP Inflight 2008-07-19 02:16:29 +00:00
Chris Buechler
e79c47698a change this to a legit value (3, and any other non-zero number does the same thing as 1 which is what the correct value is) 2008-07-19 01:38:58 +00:00
Ermal Luçi
084a1fb364 Fix regression on interface list.(missed merge from RELENG_1_MULTI_ANYTHING) 2008-07-18 18:02:03 +00:00
Ermal Luçi
39571a2336 Describe only the functionality it does we know where we are at. 2008-07-18 16:48:49 +00:00
Ermal Luçi
8cb1c6e3a2 Do not create pipe/queue if it is disabled by the user. 2008-07-18 16:46:43 +00:00
Ermal Luçi
7807634c5b Remove last piece of accidentally slipped in code. 2008-07-17 21:02:21 +00:00
Ermal Luçi
f3768226c5 Remove accidentally slipped in code. 2008-07-17 20:57:37 +00:00
Ermal Luçi
9bb1524cb4 Replace create button with a gif image and text. 2008-07-17 16:52:18 +00:00
Ermal Luçi
ec656e20a5 Fix php oddities. How can empty/count return true for an empty/0 elements arrayscp shaper.inc root@192.168.10.65:/etc/incscp shaper.inc root@192.168.10.65:/etc/inc. 2008-07-17 16:37:17 +00:00
Ermal Luçi
cc72f35237 Improve javascrpt. 2008-07-17 16:24:38 +00:00
Ermal Luçi
1c3fd96b17 Hide advaned options under a 'Show advanced options' button. 2008-07-17 16:24:14 +00:00
Ermal Luçi
19190e1ab3 Improve it even for queues. 2008-07-16 22:57:22 +00:00
Ermal Luçi
2e1abb3150 Improve my crunkines with html. 2008-07-16 22:52:52 +00:00
Ermal Luçi
a83afb1f3f Improve my crunkines with html. 2008-07-16 22:49:02 +00:00
Ermal Luçi
12a72ca158 Catch up with javascript. 2008-07-16 22:41:05 +00:00
Ermal Luçi
ff0189e7d9 Better version with suggestions from Scott. 2008-07-16 22:40:56 +00:00
Ermal Luçi
b7d124fe7b Add javascript to show advanced portions of config options. 2008-07-16 22:34:22 +00:00
Ermal Luçi
94b85249c0 correctly show limiter tab on wizards page. 2008-07-16 22:33:05 +00:00
Ermal Luçi
77dc689425 Hide some options under an show button. 2008-07-16 22:31:26 +00:00
Ermal Luçi
1fa12d94c2 Remove 'Remove all' button and rename the create button to the new name! 2008-07-16 22:07:51 +00:00
Ermal Luçi
6d0c07eaff Rename for not confusing people! 2008-07-16 22:06:25 +00:00
Ermal Luçi
ae62bbcfae We have our own roll of dummynet now. 2008-07-16 21:03:22 +00:00
Ermal Luçi
48d418e829 Reread the config after the new settings are saved. 2008-07-16 20:49:18 +00:00
Ermal Luçi
64c7753b81 Create rules for dummynet propperly and add support on filter rule generation for differentiating between pipes and queues. 2008-07-16 20:41:27 +00:00
Ermal Luçi
a5fd67e1b7 Allow user to select dummynet pipes/queues. 2008-07-16 20:40:40 +00:00
Ermal Luçi
309ffde904 Correct some function definitions. 2008-07-16 19:53:24 +00:00
Seth Mos
b5e64c5050 Update pattern for rtable support 2008-07-16 19:48:13 +00:00
Ermal Luçi
afaf2b2eda Foreach only if it is an array to be on the safe side. 2008-07-16 19:38:22 +00:00
Ermal Luçi
d62ba478cd Fix some bugs and provide small style(9) to shaper.inc 2008-07-16 19:34:17 +00:00
Ermal Luçi
d3e5e7df15 Make dummynet page visible in the frontend under the "Virtual Interfaces" tab.
So people can think of pipes as virtual interfaces as it seem easier to grok.
2008-07-16 19:33:25 +00:00
Ermal Luçi
585a8faf8d Insert frontend code for dummynet(4). 2008-07-16 18:29:03 +00:00
Seth Mos
b4d480ffa6 Log Error to system logs when we don't have any gateway available 2008-07-16 15:08:28 +00:00
Seth Mos
5846d858a8 If somehow all members are marked, proceed with the configured XML settings 2008-07-16 15:06:12 +00:00
Ermal Luçi
e1f675e485 When switching to AON rules do not create nat rules for interfaces that have gateway.
This fixes some broken generated rules.

NOTE: That some more work is needed to make it comply to interfaces that are set as dhcp or to produce nat rules for interfaces other then WAN.
2008-07-15 15:12:22 +00:00
Ermal Luçi
63161b3f60 Correctly show interface addresses on Status->Interfaces page 2008-07-15 14:58:28 +00:00
Ermal Luçi
c25a6b6aed Introduce back end code for dummynet(4). 2008-07-14 21:50:10 +00:00
Ermal Luçi
42e64acaaa Add mising global definition. 2008-07-14 21:34:53 +00:00
Ermal Luçi
7f6afb290f Unbreak traffic shaper rules creation. 2008-07-14 21:33:35 +00:00
Ermal Luçi
6d7de776de Add myself to the Copyright. 2008-07-14 21:16:53 +00:00
Ermal Luçi
cbe4111fea Add other needed files so everything works as expected. 2008-07-14 21:12:35 +00:00
Ermal Luçi
fed2cb61f4 This is not needed anymore. 2008-07-14 21:10:57 +00:00
Ermal Luçi
d5c8fe831c Missed previous merge config. 2008-07-14 21:09:05 +00:00
Ermal Luçi
f1f60c926a * Merge multiple PPPoE/PPTP interfaces from RELENG_1_MULTI_ANYTHING
* Much improved rule generation speed
* Many bug fixing in general of the interface handling

NOTE: this is the other half of changes
2008-07-14 21:01:53 +00:00
Ermal Luçi
67ee1ec5ec * Merge multiple PPPoE/PPTP interfaces from RELENG_1_MULTI_ANYTHING
* Much improved rule generation speed
* Many bug fixing in general of the interface handling

NOTE: this is only half part of the changes the other half will come after
2008-07-14 20:43:59 +00:00
Seth Mos
cbdf9821cc Bump execution timeout to 15 minutes on upgrades 2008-07-14 16:47:17 +00:00
Matthew Grooms
469dc3c05a Correct a the spelling of accessible in the IPsec mobile access page. 2008-07-14 15:42:34 +00:00