Title: Problems with --state · Issue #11 · ldx/python-iptables · GitHub
Open Graph Title: Problems with --state · Issue #11 · ldx/python-iptables
X Title: Problems with --state · Issue #11 · ldx/python-iptables
Description: I need a rule for statefull firewall but i cant create it: In [42]: mstate = iptc.Match(r,'state') In [43]: mstate.state = "RELATED" --------------------------------------------------------------------------- AttributeError Traceback (mo...
Open Graph Description: I need a rule for statefull firewall but i cant create it: In [42]: mstate = iptc.Match(r,'state') In [43]: mstate.state = "RELATED" ----------------------------------------------------------------...
X Description: I need a rule for statefull firewall but i cant create it: In [42]: mstate = iptc.Match(r,'state') In [43]: mstate.state = "RELATED" ----------------------------------------------...
Opengraph URL: https://github.com/ldx/python-iptables/issues/11
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problems with --state","articleBody":"I need a rule for statefull firewall but i cant create it:\n\n```\nIn [42]: mstate = iptc.Match(r,'state')\n\nIn [43]: mstate.state = \"RELATED\"\n---------------------------------------------------------------------------\nAttributeError Traceback (most recent call last)\n/home/leonardo/python-iptables/\u003cipython-input-43-6efafb390601\u003e in \u003cmodule\u003e()\n----\u003e 1 mstate.state = \"RELATED\"\n\n/usr/lib/pymodules/python2.7/iptc/__init__.pyc in __setattr__(self, name, value)\n 358 def __setattr__(self, name, value):\n 359 if not name.startswith('_') and name not in dir(self):\n--\u003e 360 self.parse(name.replace(\"_\", \"-\"), value)\n 361 else:\n 362 object.__setattr__(self, name, value)\n\n/usr/lib/pymodules/python2.7/iptc/__init__.pyc in parse(self, parameter, value)\n 303 if not self._module.extra_opts:\n 304 raise AttributeError(\"%s: invalid parameter %s\" %\n--\u003e 305 (self._module.name, parameter))\n 306 \n 307 _optarg.value = value\n\nAttributeError: state: invalid parameter state\n```\n","author":{"url":"https://github.com/leleobhz","@type":"Person","name":"leleobhz"},"datePublished":"2012-07-22T21:56:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/11/python-iptables/issues/11"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b3195825-caa8-2ca2-1da3-2034081808b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A696:1C23F8:1BDF810:2544A44:6A5D4B80 |
| html-safe-nonce | 315499da4ba66f3b5973654b129a0d898b09cffb8c1d5f741ec2715960f7c615 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjk2OjFDMjNGODoxQkRGODEwOjI1NDRBNDQ6NkE1RDRCODAiLCJ2aXNpdG9yX2lkIjoiMTMzODYyNjk2NzMyODM0NDk2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1a22e6c908735686bc17834e8f700fc5c9eaa45c4c60cbe4b8dedb78c99c7742 |
| hovercard-subject-tag | issue:5769061 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ldx/python-iptables/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47ccc5610851379783815e79b4a85e2606704024e425cb8eda50c4ff56eaf808/ldx/python-iptables/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47ccc5610851379783815e79b4a85e2606704024e425cb8eda50c4ff56eaf808/ldx/python-iptables/issues/11 |
| og:image:alt | I need a rule for statefull firewall but i cant create it: In [42]: mstate = iptc.Match(r,'state') In [43]: mstate.state = "RELATED" ----------------------------------------------------------------... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | leleobhz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/ldx/python-iptables git https://github.com/ldx/python-iptables.git |
| octolytics-dimension-user_id | 456904 |
| octolytics-dimension-user_login | ldx |
| octolytics-dimension-repository_id | 1032167 |
| octolytics-dimension-repository_nwo | ldx/python-iptables |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1032167 |
| octolytics-dimension-repository_network_root_nwo | ldx/python-iptables |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width