Project

General

Profile

Download (43.3 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
ea9d29fa 12/30/2005 07:19 PM Scott Ullrich

Use if(isset($wlcfg['channel']))

7d0f4544 12/29/2005 07:48 PM Scott Ullrich

Do not return so early so that pfsync gets redirected to loopback

Ticket #761

5e99d81a 12/29/2005 12:08 AM Scott Ullrich

Bring the WAN interface up regardless.

Ticket #757

9d1973b0 12/28/2005 12:37 AM Scott Ullrich

Up the interface

e7aa7560 12/27/2005 10:12 PM Scott Ullrich

Do not setup STP on wireless interfaces

3789e4df 12/27/2005 09:46 PM Scott Ullrich

Setup STP correctly when interfaces are not wireles

2d1e01b0 12/22/2005 01:04 AM Scott Ullrich
  • Output . for all sleep()
  • Notify when done
  • No need to create interface again, it already exists
9123cef8 12/22/2005 12:04 AM Scott Ullrich

If we've waited for over 30 seconds, then simply exit

a16dab37 12/22/2005 12:03 AM Scott Ullrich

If we've waited for over 30 seconds, then simply exit

44837e6b 12/20/2005 10:47 PM Scott Ullrich

Only process when booting

df792110 12/20/2005 07:16 PM Scott Ullrich

Do not enable STP on wireless interfaces

467c2c89 12/18/2005 09:51 PM Scott Ullrich

Destroy carp interfaces before config so that after sync deleted interfaces are destroyed

b3a66d90 12/18/2005 07:10 PM Scott Ullrich

Bring bridge up later

a591b9cb 12/18/2005 07:07 PM Scott Ullrich

Bring bridge up later

c60e4f51 12/18/2005 06:35 PM Scott Ullrich

$bridges_total++ after each new bridge bringup

77712c1e 12/18/2005 06:33 PM Scott Ullrich

Adjust bringup order. Bring up bridge on wan too

0c6ee817 12/15/2005 12:05 AM Scott Ullrich

Echo out when waiting to bring up carp final

82a7eb4a 12/12/2005 11:13 PM Scott Ullrich

Bring up optional and or LAN interface too

fafdfe28 12/12/2005 10:57 PM Scott Ullrich

Down the bridge then bring it up

6651e3ec 12/09/2005 04:26 AM Scott Ullrich

Bring bridgeX up

43715f8b 12/09/2005 04:25 AM Scott Ullrich

Bring bridgeX up

fb798612 12/07/2005 12:45 AM Scott Ullrich

MFC 8313
If no stationname is set, we still need stationname in front of the "pfsense" default we add.

007ce569 12/03/2005 04:11 AM Scott Ullrich

If carp is not enabled then do not process

cb77ff27 12/03/2005 03:03 AM Scott Ullrich

If carp is not enabled then do not process

0856c4ac 11/29/2005 06:59 AM Scott Ullrich

MFC 8165
Add 802.11g protection mode. (ticket #715)

d7a6517a 11/27/2005 08:41 PM Scott Ullrich MFC 8080
  • Do not process hotplug events from pppoe
  • Cleanup kill by pid function, accept a real pid (dhclient depends on this)
f4c9d138 11/21/2005 02:20 AM Scott Ullrich

No need to use () when setting string variables.

34959279 11/20/2005 05:17 AM Scott Ullrich

Use fwrite to write out ath command

191a8175 11/19/2005 11:26 PM Scott Ullrich MFC 7836 - Minor nitpicks
  • Surround all variables within "" with {}
  • Output the command we are running for athctrl.sh
a59abc65 11/19/2005 09:35 PM Scott Ullrich MFC 7828
  • Always test string variables with == "string"
  • Test against set variables, not the thin air
  • Make distance work due to $distance never being tested correctly
  • Make channel work due to $channel never being tested correctly
  • Dont check if wpa_supplicant is running, just try to kill it
f134033e 11/16/2005 03:07 AM Scott Ullrich

MFC 7717
Add wireless distance tuning.

027f9e05 11/16/2005 02:43 AM Scott Ullrich

MFC 7683
Fix getting dhclient pid correctly.

454756b9 11/16/2005 02:43 AM Scott Ullrich

MFC 7677
Fix wpa_supplicant startup issue and fix macaddress filtering backend function (ticket 684).

b67d192d 11/16/2005 02:38 AM Scott Ullrich

MFC 7667
Fix wpa_supplicant startup issue and fix macaddress filtering backend function (ticket 684).

c3fe3ad8 11/13/2005 08:51 PM Scott Ullrich

dhclient -cf -> dhclient -c

bd649a3b 11/13/2005 02:15 AM Scott Ullrich

Go back to 6's dhclient. I don't feel like chasing all this crap back down.

dabfd937 11/13/2005 02:08 AM Scott Ullrich

Add -nw to dhclient command

b57ecc88 11/13/2005 12:09 AM Scott Ullrich

Remove commented out code while here.

827d67e2 11/13/2005 12:08 AM Scott Ullrich

Do not check if hostapd is running. Simply kill it.

af61b685 11/12/2005 10:56 PM Scott Ullrich

Switch back to FreeBSD 5's dhclient

009510f8 11/11/2005 07:12 PM Scott Ullrich

MFC 7511
olsrd gets told to load 'interfacename'_olsrd.conf, but the ticks get stripped in the call... so olsrd looks for interfacename_olsrd.conf (just a guess, did not look into it to much)

Ticket #681

2ffe4644 11/11/2005 07:09 PM Scott Ullrich

MFC 7509
Bring carp interface up in carp.sh too for debugging

94b636a6 11/11/2005 07:05 PM Scott Ullrich MFC 7507
  • Don't forget to ++ the counter
  • Usleep before bringing up the interface
9669a414 11/08/2005 05:43 PM Scott Ullrich

Assign carp the old way since we are now done debugging

fb8383e5 11/07/2005 05:23 PM Scott Ullrich
  • Hold down timer for 45 seconds
  • Sleep for 5 in between bringing up carp
512fa4d7 11/07/2005 01:19 AM Scott Ullrich

Use full path to sysctl

930c30dc 11/05/2005 12:31 AM Scott Ullrich

Hold down for 60 seconds before switching to primary. If for some reason the backup fails the machine will assume master immediately.

96f4c37f 11/05/2005 12:24 AM Scott Ullrich

Execute carp.sh twice. It doesn't pick up all addresses on the first run!?

59927f60 11/04/2005 05:17 AM Scott Ullrich
  • Execute file on bootup
  • Sleep for 30 before bringing up final interfaces
26646fc5 11/04/2005 05:10 AM Scott Ullrich

Do not execute file on bootup. Let the final carp routine bring up the carp interfaces

bda04df3 11/04/2005 05:03 AM Scott Ullrich

Work around some weird race condition where half the carp information is not populated.

f6189feb 11/04/2005 04:52 AM Scott Ullrich
  • Do not close early
  • Do not exec multiple times
25530ad8 11/04/2005 04:39 AM Scott Ullrich

Write out carp commands to a temp file and execute on bootup/

a08220d5 11/04/2005 04:09 AM Scott Ullrich

Sleep for 15 seconds before changing advskew

a3553d1b 11/04/2005 04:05 AM Scott Ullrich

Revert to old carp methods

c64262f8 11/02/2005 06:28 PM Scott Ullrich

Surpress handback for 15 seconds after suppress_prempt reads 0.

Without this change a active SIP call will experience a 13 second "drop". With this change there is no drop during handback.

Tested-at: Bluegrass.net

0ec2c68b 10/29/2005 10:27 PM Scott Ullrich

unmute kernel spew before echoing done and returning

7e2c0453 10/29/2005 07:55 PM Scott Ullrich

Only echo done when booting

7cc7e84d 10/29/2005 04:40 PM Scott Ullrich

Remove the LAN IP address if user has cleared value

Ticket #654

61cbb183 10/26/2005 12:21 AM Scott Ullrich

echo "done.\n"; if carp is not configured

f70c887f 10/25/2005 01:24 AM Scott Ullrich

MFC 7138
Back out alias fix and return to 1.566

a262450f 10/24/2005 09:24 PM Scott Ullrich

Add ste interface to compatible ALTQ interfaces

cc936773 10/24/2005 09:14 PM Scott Ullrich

Add space after ppp-linkup

389741e5 10/24/2005 09:01 PM Scott Ullrich

MFC 7125
If ppp-linkdown script exists, add it to mpd for pptp and pppoe

b393ce28 10/21/2005 10:05 PM Scott Ullrich

MFC 7035
Fix bug with turbomode and reboot (hopefully) Removed a space that shouldn't be there.

da1dab20 10/21/2005 10:03 PM Scott Ullrich

MFC 7034
Fix bug with turbomode and reboot (hopefully)

14bd11b8 10/20/2005 05:26 PM Scott Ullrich

MFC 7016
Add vlan to altq capable list.

a205d904 10/19/2005 03:55 PM Scott Ullrich

MFC 7010
Only hold down boot while waiting on PPPOE to come up for a maximum of 30 seconds.

3c18fbc9 10/16/2005 11:57 PM Scott Ullrich

Echo done after configuring carp

80ec5eaa 10/16/2005 10:07 PM Scott Ullrich

MFC 6906 6907
Use /var/etc/ for storing configuration files MFC: ASAP (By sullrich)
Use /var/etc/ for storing configuration files MFC: ASAP (By sullrich)

51535829 10/16/2005 08:43 PM Scott Ullrich

MFC 6899
Allow bridging on ath0 + wpa

5acd3d7e 10/16/2005 08:41 PM Scott Ullrich

MFC 6897
Write out to /tmp/ file commands used when adjusting mtu during bridging operations

96812f11 10/16/2005 08:40 PM Scott Ullrich

MFC 6894
Force all members of a bridge to the bridging from interface mtu.

01ae6c40 10/16/2005 08:39 PM Scott Ullrich

MFC 6892
Setup span tree on all ports correctly.

e1c8cdf5 10/16/2005 05:34 PM Scott Ullrich

MFC 6871
If WAN is pppoe, hold down boot until connection is established This will help anyone with PPPOE on WAN and DHCP on OPTx not get incorrect gateways assigned.

8a8c0a8e 10/16/2005 05:21 PM Scott Ullrich

MFC 1.178
successfully kill hostapd if changing settings back from WPA to WEP (fix by lsf, noticed by marcusah)

749b7a33 10/16/2005 12:34 AM Scott Ullrich

Correct sysctl location

17c7054b 10/15/2005 05:57 PM Scott Ullrich
  • pfsync0 should already exist, do not create
  • assign syncdev and bring up at same time to match FreeBSD's pfsync rc.d script
6008210b 10/14/2005 08:47 PM Scott Ullrich
  • Major rewrite of CARP/PFSYNC init code. Remove a bunch of if() and for() to make the code 100* more readable
  • When bringing up CARP, set its advskew to 200 and when we are finally up at the end of the boot sequence assign the normal ADVSKEW

Patch-tested-by: BillM

7370613f 10/13/2005 12:12 AM Scott Ullrich
  • Various safety checks
  • Return next available slot correctly
ce33da32 10/12/2005 11:45 PM Scott Ullrich

Make get_number_of_bridged_interfaces() a little more industrial strength by actually looking at the bridge numbers instead of the quantity of bridges

af1b4b28 10/12/2005 11:34 PM Scott Ullrich

Missing }

4f9a78d9 10/12/2005 11:33 PM Scott Ullrich

Do not call ifconfig on non-existant interfaces when testing

0d429e43 10/12/2005 11:31 PM Scott Ullrich
  • Correctly bring up a new bridge
  • Correctly destroy a bridge when no longer used
d5ec969c 10/12/2005 09:51 PM Scott Ullrich

Remove debugging line

1132ff91 10/12/2005 08:33 PM Scott Ullrich

Start at 0

f78d2412 10/12/2005 08:31 PM Scott Ullrich

Use consistent variable names

bfca2bba 10/12/2005 08:30 PM Scott Ullrich

Trim whitespace

1fb9cd47 10/12/2005 08:28 PM Scott Ullrich

Change get_number_of_bridged_interfaces() behavior

38287b63 10/12/2005 08:19 PM Scott Ullrich

Correctly return # of bridges

26eb3795 10/12/2005 08:17 PM Scott Ullrich

Set $x = 0 before for()

41404ef1 10/12/2005 07:34 PM Scott Ullrich

Sync with 1.2

f9118d49 10/11/2005 11:06 PM Scott Ullrich

Sleep between down, delete and destroy. Race conditions are bad, mmmmkay?

bf276410 10/11/2005 10:57 PM Scott Ullrich

Return a numerical value instead of "bridge{$x}"

4cbeed35 10/11/2005 10:50 PM Scott Ullrich

Return a numerical value instead of "bridge{$x}"

dba4049f 10/11/2005 10:41 PM Scott Ullrich

++ bridge count

588a183b 10/09/2005 11:40 PM Scott Ullrich

Move wan gateway to interfaces->wan->gateway

a3484b5c 10/09/2005 09:41 PM Scott Ullrich

Correctly define () brackets

38a3e74e 10/09/2005 09:29 PM Scott Ullrich

Test for active bridge better

e2f56f0d 10/09/2005 09:20 PM Scott Ullrich

Down bridge before deleting and destroying