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

problem in running firewall #66

@kabagaba

Description

@kabagaba

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions