secchan: Switch in-band control traffic by hand only on OpenFlow TCP ports.
authorBen Pfaff <blp@nicira.com>
Thu, 18 Dec 2008 19:17:36 +0000 (11:17 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 18 Dec 2008 19:17:36 +0000 (11:17 -0800)
commita8f8875b392e10bdade8d2abeb909a229d0f5a11
tree784e3f844d3784769b5d420ebb56a957ac58f4b2
parentc5fa5e4b115c3a92d87f293c311d6b67d05c2b42
secchan: Switch in-band control traffic by hand only on OpenFlow TCP ports.

To run services, other than the controller itself, on the same IP and MAC
as the controller, sophisticated controllers such as NOX need to have some
insight into the controller's location, etc.  Before this commit, this
was not possible, because any traffic to or from the controller's MAC
address was switched "by hand" by secchan, without involving the controller
at all.

After this commit, only traffic to or from the controller's MAC *and on
the OpenFlow TCP or SSL port* is switched by hand, which should fix the
problem.
secchan/in-band.c