Commit Graph

8287 Commits

Author SHA1 Message Date
Scott Ullrich
c5af8bf92a multiple vlans + spoofmac result in unexpected behaviour
Ticket #1514

Introduction
I have an acceptable workaround, so the problem is not urgent, but before i fiogured out the workaround, is was severely impacting performance (3 interfaces not operating). I am a network specialist and I am available to assist wherever possible. If the issue si considered seriousenough for a fix, I can assist in more detailed pinpointing using tcpdumps on test-platforms.

Symptoms
If a interface is using vlan tagging for virtual interfaces and also the untagged interface is using MAC address spoofing, communication fails on the tagged vlans.

Description
On interface rl1 is untagged the WAN connection. This requires a spoofed MAC address, eg using <spoofmac>00:03:6b:f7:3b:3f</spoofmac>. On interface rl1 is also a vlan/tagged interface, eg vlan0 using rl1 and vlan tag 5. The tagged interface vlan0 expects to use the original MAC address of the interface rl0. But the issue is that interface rl0 is only processing incoming packets with destination mac address spoof_mac_rl1.

Workarounds (no code change required)
acceptable configure the <spoofmac>00:03:6b:f7:3b:3f</spoofmac> on all vlan interfaces connected to interface rl1
funny start a tcpdump on the vlan interface. This will put the interface in promiscuous mode and it will process all packets. Now the packets destined for the original MAC address (and active on the vlan interface)
bypass Do not use tagged interfaces on a interface with spoofmac

Remarks
It is very confusing that when a vlan is created, the GUI a refernece shows to the physical/original MAC address, even when the MAC addres of the untagged interface is
2007-11-01 18:14:16 +00:00
Scott Ullrich
d6c797416c Adding keep alive host to IPsec causes warning in webGUI
Ticket #1509
2007-11-01 17:54:41 +00:00
Seth Mos
f0a3ac473b Fix courtesey of Billm, hackathon 2007 conversation.
Forgotten commit.
2007-10-29 22:00:56 +00:00
Seth Mos
ee5f368f27 Define ifconfig command 2007-10-29 05:59:27 +00:00
Seth Mos
c8cf69f3aa Fix typo in variable 2007-10-28 23:06:59 +00:00
Daniel Stefan Haischt
8f4423e5c4 * removed scriptaculous. It will be added while building the ISO
or embedded image.
2007-10-28 02:19:35 +00:00
Bill Marquette
c24d0dd0c9 Fix for Ticket #1494 was committed from my first stab at the fix and not the actual fixed code and ended up in ticket #1496 2007-10-26 02:05:51 +00:00
Seth Mos
a7dca53c35 Remove private networks 2007-10-25 10:36:03 +00:00
Seth Mos
0e36d24573 Update bogons list, it is severly out of date 2007-10-25 09:37:58 +00:00
Martin Fuchs
c1a4aacad2 Ticket 1709: fixed typo in OpenVPN cfg-page 2007-10-24 19:41:22 +00:00
Martin Fuchs
88a82fc434 Add Codemasters ArchLord MMORPG to traffic shaper 2007-10-23 20:44:51 +00:00
Martin Fuchs
6d61e0a0e8 Ticket 1709: fexed typo in OpenVPN cfg-page 2007-10-23 20:12:19 +00:00
Seth Mos
b295e815d4 Remove size headers since they seem to screw up IE 2007-10-21 16:18:32 +00:00
Seth Mos
063b934c23 Fix layout and units 2007-10-21 06:41:19 +00:00
Seth Mos
a7a31a1ef5 Commit missed include file change 2007-10-21 06:30:49 +00:00
Seth Mos
2f80d451c6 Commit wireless frontend code 2007-10-21 06:24:24 +00:00
Seth Mos
308d99b11c Improve wireless stats 2007-10-21 06:18:34 +00:00
Seth Mos
e969845321 Commit wireless statistics 1st round 2007-10-21 04:16:34 +00:00
Seth Mos
d972060281 List the available Gateways on the rules edit screen 2007-10-20 00:56:32 +00:00
Bill Marquette
4e41f51817 lint 2007-10-19 22:00:27 +00:00
Bill Marquette
5e6741c8d5 Fix Javascript errors. Thanks JSLint!! 2007-10-19 21:21:22 +00:00
Scott Ullrich
bc2e3070a5 Remove the beastie boot loader prompt and return to prior freebsd behavior. 2007-10-19 21:19:54 +00:00
Seth Mos
4fca7c1100 Add function that returns the interface which belongs with the gateway 2007-10-19 21:17:28 +00:00
Bill Marquette
674d0fc1db ratio load balancing should actually work 2007-10-19 21:11:59 +00:00
Seth Mos
519352daf7 Fix default gateway bit 2007-10-19 21:00:24 +00:00
Bill Marquette
fb748ac44a Ticket #1482 - set the source to an interface that is inside the subnet definition 2007-10-19 20:52:35 +00:00
Scott Ullrich
f15f4b4d41 Relax the ip address check and allow duplicate ip address entries. 2007-10-19 20:46:05 +00:00
Scott Ullrich
87e629404e Relax the ip address check and allow duplicate ip address entries. 2007-10-19 20:39:10 +00:00
Seth Mos
b11353e7af Lookup the gateway ip for rules which reference gateways by name 2007-10-19 20:11:51 +00:00
Seth Mos
402a813bd8 Commit function that looks up the gateway ip by name from the Gateways array 2007-10-19 20:02:42 +00:00
Bill Marquette
ec3cedf7aa Ticket #1476 - use convert multibyte instead of just specialchars 2007-10-19 19:48:16 +00:00
Seth Mos
a94e9f6629 Improve fall through logic 2007-10-19 19:40:28 +00:00
Seth Mos
3b9758deb4 Check if array exists 2007-10-19 19:36:41 +00:00
Seth Mos
2be84cfa88 Add descriptive text and link to the gateways page 2007-10-19 19:26:35 +00:00
Bill Marquette
78e63d6497 Ticket #1464, only allow y* or n* 2007-10-19 19:17:59 +00:00
Seth Mos
d173230c70 Add prelimenary Routing page.
Allow multiple gateways on one (static) interface
2007-10-19 19:10:16 +00:00
Bill Marquette
84b2829775 Ticket #1494 - when wrapping at 32bits, the difference is 32bits - last + current, not some massive negative number 2007-10-18 21:53:21 +00:00
Bill Marquette
b4b3cf425b why add 30 seconds to uptime if we have been up greater than 60 seconds? 2007-10-18 03:23:36 +00:00
Bill Marquette
639aaa954c MFC of change [19782] per request from sullrich@
Scale state table size with memory, never allocate more than 10% system ram, this leads to 12K states on 128M and 102K on 1G systems - this should be a good default
2007-10-17 23:51:26 +00:00
Seth Mos
468b0d65e7 Optimize last 10 seconds of load times on the dhcp leases page.
Only populate arp array once, then check if it exists
2007-10-17 20:10:21 +00:00
Seth Mos
fc25933498 Speedup ARP page by using diag_dhcp_leases.php page code for parsing the dhcpd.leases file 2007-10-17 06:09:26 +00:00
Bill Marquette
fe2f1e1af7 save button needs to be inside form 2007-10-17 05:01:39 +00:00
Seth Mos
b05248a9f0 Correctly check the disabled bit 2007-10-17 04:59:32 +00:00
Bill Marquette
a2dab9bc71 Ticket #1462: Make the save button only appear if you change an assignment 2007-10-17 04:48:18 +00:00
Scott Ullrich
ae2ea68c42 Ensure that all form elements have an id. 2007-10-17 02:13:46 +00:00
Bill Marquette
709cc6e0f2 global s/[wW]ebGUI/webConfigurator/ - brought up via ticket #1427 2007-10-17 00:25:25 +00:00
Seth Mos
3702685f11 Alphasort the status menu 2007-10-17 00:15:35 +00:00
Bill Marquette
9579868fce Ticket #1427 - webConfigurator is a better choice, it is used everywhere else 2007-10-16 23:54:21 +00:00
Bill Marquette
5ad936b6e4 Ticket #1427 - use webGUI instead of webConfigurator 2007-10-16 23:51:19 +00:00
Scott Ullrich
d575aa70b1 Correctly set rowhelper input textbox sizes. 2007-10-16 18:30:35 +00:00