Commit Graph

6859 Commits

Author SHA1 Message Date
Chris Buechler
e3d345ab3a err, this defeats the entire purpose of NAT-T for clients behind the firewall, let's not do this. 2009-11-08 19:07:21 -05:00
Scott Ullrich
7a6a0c0a7d Stop spamming the logs with config_unlock() is depricated please use unlock(). 2009-11-07 22:37:44 -05:00
Chris Buechler
4937fc88d1 Don't add port on no nat rules. Fixes #120 2009-11-07 20:51:40 -05:00
unknown
297ed624ca Fix "Filter rule association" "Pass" option 2009-11-07 03:57:04 -05:00
Scott Ullrich
093bcebcd3 Move newer xmlreader code to xmlreader.inc. Restore old xmlparse code to xmlparse.inc. Default to the older xmlparse.inc but add a flag check if /cf/conf/use_xmlreader is present the newer code will be included instead until the remaining bugs can be resolved with it (see rcs for many). 2009-11-06 22:33:15 -05:00
Scott Ullrich
26433cb842 Adding newer xmlreader code to it's own file so that it can be turned and off until remaining bugs are fixed 2009-11-06 22:28:00 -05:00
Scott Ullrich
d1f9da0af2 Nuke old dev bootstrap code that is no longer in use 2009-11-06 20:24:25 -05:00
Ermal Luçi
cf222376e2 Relax some very strict cases. 2009-11-03 17:27:49 +00:00
Ermal Luçi
f5881023b3 Be more strict on shaper checking and what is written to config. Clean up whitespace while here. 2009-11-03 17:12:29 +00:00
Ermal Luçi
154deb0278 Unbreak returning the real mem and web interface in general. Pointy-hat-to: Scott. 2009-11-03 12:30:43 +00:00
Scott Ullrich
8217d34d20 Fallback to using hw.realmem and hw.physmem sysctl's when we cannot probe the available memory from bootup log file. RouterStationPRO is an example 2009-11-02 21:35:55 -05:00
Ermal Luçi
361a1b3ed4 The wizards do not set the rule type and queues should be enabled even on block rules so add the queues to the rules even if the type of rule is not set(which means pass btw). This unbreaks the traffic shaper wizards and block shaping rules. 2009-11-02 17:57:36 +00:00
Chris Buechler
2580f58440 remove unnecessary cat 2009-11-02 04:41:57 -05:00
Scott Ullrich
84fa0d60e1 Turn off IPSEC net.inet.ip.ipsec_in_use when IPSEC is disabled 2009-10-28 15:46:33 -04:00
Scott Ullrich
ad6722c52e Set sysctl net.inet.ip.ipsec_in_use=1 when starting racoon 2009-10-28 10:56:19 -04:00
Scott Ullrich
6734081ade Revert "Fix no nat rules where ports 1024:65535 is added Resolves #120"
This reverts commit 8763e56d20.
2009-10-27 21:13:41 -04:00
Scott Ullrich
8763e56d20 Fix no nat rules where ports 1024:65535 is added Resolves #120 2009-10-27 20:40:45 -04:00
Scott Ullrich
9d933d9497 Handle secondary DNS correctly for 3G 2009-10-26 12:50:21 -04:00
Scott Ullrich
1d894eafbf Switch over to handling DNS from ppp.linkup allowing mulitple 3G cards to coexist on the same box 2009-10-26 12:43:46 -04:00
Scott Ullrich
295e19dd97 Add PPP logging tab 2009-10-26 01:48:52 -04:00
Scott Ullrich
ffeb5acffb Handle uping interfaces a bit more sanely 2009-10-26 01:40:36 -04:00
Scott Ullrich
7284d8506c Revert interfaces_bring_up changes 2009-10-26 01:27:51 -04:00
Scott Ullrich
2ebf39457d Check to see if interface exists 2009-10-26 01:26:22 -04:00
Scott Ullrich
a6bce4360c Add space between interface and real interface brackets 2009-10-26 01:09:46 -04:00
Scott Ullrich
36bf235ee5 Add and use ppp-script 2009-10-26 00:25:44 -04:00
Scott Ullrich
bb26581c50 Move " 2009-10-25 23:53:23 -04:00
Scott Ullrich
f532da19e3 Remove extra " 2009-10-25 23:48:45 -04:00
Scott Ullrich
08f03cdfbf Add newline 2009-10-25 23:41:19 -04:00
Scott Ullrich
87519eb79c Fix typo (missing ]) 2009-10-25 23:22:41 -04:00
Scott Ullrich
7a6f7c5582 Show when configuring interfaces on bootup for newly added interfaces (qinq, ppp, etc) 2009-10-25 23:17:10 -04:00
Scott Ullrich
5ad9b2a7d7 Call rc.linkup after up event 2009-10-25 22:49:00 -04:00
Scott Ullrich
b8103b0691 Return up instead of running 2009-10-25 22:26:00 -04:00
Scott Ullrich
2a1226ad9b Simplify logic 2009-10-25 22:03:18 -04:00
Scott Ullrich
30cee7b255 Add dns server discovered with ppp 2009-10-25 21:47:22 -04:00
Scott Ullrich
8995a99c4b Remove booting newline: 2009-10-25 21:07:53 -04:00
Scott Ullrich
410cdac44d Set booting to true.. not TRUE 2009-10-25 20:55:17 -04:00
Scott Ullrich
568b135890 When a real interface is passed to get_real_interface() simply pass it back 2009-10-25 20:37:18 -04:00
Scott Ullrich
77ccab82c0 On second look, turn on PPP interfaces at the get_interfaces_with_gateway level 2009-10-25 20:06:29 -04:00
Scott Ullrich
23557bc3f6 Add nat on rules for PPP 2009-10-25 19:57:49 -04:00
Scott Ullrich
ec054b7cc4 s/interface_bring_up/interfaces_bring_up/ 2009-10-25 19:24:10 -04:00
Scott Ullrich
891546ea85 Full wlan name is returned now. Use it 2009-10-25 19:15:04 -04:00
Scott Ullrich
b99256c132 Add misc comments 2009-10-25 19:02:20 -04:00
Scott Ullrich
a293433141 Use get_real_interface() and does_interface_exist() 2009-10-25 19:02:06 -04:00
Scott Ullrich
cddb1be2e9 Do not specify a wlan # and let freebsd decide and return the interface that was created before renaming. 2009-10-25 18:31:24 -04:00
Scott Ullrich
19e83210b0 Refactor wireless code a hair making it work on 8.x 2009-10-25 17:31:15 -04:00
Scott Ullrich
88157f66b9 Take into account hostap type interfaces 2009-10-25 17:04:33 -04:00
Scott Ullrich
1039405943 Unbreak wireless on 8.x 2009-10-25 16:37:57 -04:00
Scott Ullrich
064b183b19 Silence foreach() error when no PPP interfaces exist 2009-10-23 14:24:35 -04:00
Scott Ullrich
58ebf6bbbc Setting the VIP to the VHID ID has to be the
single most brain-headed decision in the history
of man-kind.  Do this correctly by finding the first
available vip interface.
2009-10-23 14:16:37 -04:00
Scott Ullrich
00380613e8 Unbreak find_interface_ip for normal interfaces 2009-10-23 13:44:11 -04:00