Skip to content
This repository has been archived by the owner on Jun 27, 2018. It is now read-only.

problem in running firewall #66

Open
kabagaba opened this issue Sep 23, 2016 · 0 comments
Open

problem in running firewall #66

kabagaba opened this issue Sep 23, 2016 · 0 comments

Comments

@kabagaba
Copy link

mininet@mininet-vm:~/pox$ ./pox.py log.level --DEBUG forwarding.hub pox.misc.firewall1
POX 0.2.0 (carp) / Copyright 2011-2013 James McCauley, et al.
INFO:forwarding.hub:Hub running.
DEBUG:misc.firewall1:Enabling Firewall Module
DEBUG:core:POX 0.2.0 (carp) going up...
DEBUG:core:Running on CPython (2.7.6/Mar 22 2014 22:59:56)
DEBUG:core:Platform is Linux-3.13.0-24-generic-x86_64-with-Ubuntu-14.04-trusty
INFO:core:POX 0.2.0 (carp) is up.
DEBUG:openflow.of_01:Listening on 0.0.0.0:6633
INFO:openflow.of_01:[00-00-00-00-00-01 1] connected
INFO:forwarding.hub:Hubifying 00-00-00-00-00-01
ERROR:core:Exception while handling OpenFlowNexus!ConnectionUp...
Traceback (most recent call last):
File "/home/mininet/pox/pox/lib/revent/revent.py", line 231, in raiseEventNoErrors
return self.raiseEvent(event, _args, *_kw)
File "/home/mininet/pox/pox/lib/revent/revent.py", line 278, in raiseEvent
rv = event._invoke(handler, _args, *_kw)
File "/home/mininet/pox/pox/lib/revent/revent.py", line 156, in _invoke
return handler(self, _args, *_kw)
File "/home/mininet/pox/pox/misc/firewall1.py", line 36, in _handle_ConnectionUp
policies = self.read_policies(policyFile)
File "/home/mininet/pox/pox/misc/firewall1.py", line 32, in read_policies
policies[row['id']] = Policy(EthAddr(row['mac_0']), EthAddr(row['mac_1']))
File "/home/mininet/pox/pox/lib/addresses.py", line 105, in init
raise RuntimeError("Expected ethernet address string to be 6 raw "
RuntimeError: Expected ethernet address string to be 6 raw bytes or some hex

guys can u please tell me, how to sort it out this issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant