René's URL Explorer Experiment


Title: exception fault in garbage collection · Issue #24 · ldx/python-iptables · GitHub

Open Graph Title: exception fault in garbage collection · Issue #24 · ldx/python-iptables

X Title: exception fault in garbage collection · Issue #24 · ldx/python-iptables

Description: I have not built a new version of the helper library if that has changed let me know. Simple test script to reproduce !/usr/bin/python import pprint import iptc for chain in iptc.Table(iptc.Table.NAT).chains: print vars(chain) table = ip...

Open Graph Description: I have not built a new version of the helper library if that has changed let me know. Simple test script to reproduce !/usr/bin/python import pprint import iptc for chain in iptc.Table(iptc.Table.N...

X Description: I have not built a new version of the helper library if that has changed let me know. Simple test script to reproduce !/usr/bin/python import pprint import iptc for chain in iptc.Table(iptc.Table.N...

Opengraph URL: https://github.com/ldx/python-iptables/issues/24

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"exception fault in garbage collection","articleBody":"I have not built a new version of the helper library if that has changed let me know.\n## Simple test script to reproduce\n# !/usr/bin/python\n\nimport pprint\nimport iptc\n\nfor chain in iptc.Table(iptc.Table.NAT).chains:\n  print vars(chain)\n\ntable = iptc.Table(iptc.Table.NAT)\ninp = iptc.Chain(table, \"eth1_masq\")\n\nfor r in inp.rules:\n    print \"S:\", r.src, \"-\u003e D:\", r.dst\n\n---- iptables in place to test\n# Generated by iptables-save v1.4.13 on Fri Apr 12 09:32:29 2013\n\n*raw\n:PREROUTING ACCEPT [57:5024]\n:OUTPUT ACCEPT [42:5188]\nCOMMIT\n# Completed on Fri Apr 12 09:32:29 2013\n# Generated by iptables-save v1.4.13 on Fri Apr 12 09:32:29 2013\n\n*filter\n:INPUT DROP [0:0]\n:FORWARD DROP [0:0]\n:OUTPUT DROP [0:0]\n:Drop - [0:0]\n:Reject - [0:0]\n:all2all - [0:0]\n:dmz12all - [0:0]\n:dropBcast - [0:0]\n:dropInvalid - [0:0]\n:dropNotSyn - [0:0]\n:dynamic - [0:0]\n:eth0_fwd - [0:0]\n:eth0_in - [0:0]\n:eth0_out - [0:0]\n:eth1_fwd - [0:0]\n:eth1_in - [0:0]\n:eth1_out - [0:0]\n:fw2dmz1 - [0:0]\n:fw2loc1 - [0:0]\n:loc12dmz1 - [0:0]\n:loc12fw - [0:0]\n:logdrop - [0:0]\n:logreject - [0:0]\n:net12dmz2 - [0:0]\n:reject - [0:0]\n:shorewall - [0:0]\n:smurfs - [0:0]\n-A INPUT -i lo -j ACCEPT\n-A INPUT -i eth0 -j eth0_in\n-A INPUT -i eth1 -j eth1_in\n-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A INPUT -j Reject\n-A INPUT -j LOG --log-prefix \"Shorewall:INPUT:REJECT:\" --log-level 6\n-A INPUT -j reject\n-A FORWARD -i eth0 -j eth0_fwd\n-A FORWARD -i eth1 -j eth1_fwd\n-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A FORWARD -j Reject\n-A FORWARD -j LOG --log-prefix \"Shorewall:FORWARD:REJECT:\" --log-level 6\n-A FORWARD -j reject\n-A OUTPUT -o lo -j ACCEPT\n-A OUTPUT -o eth0 -j eth0_out\n-A OUTPUT -o eth1 -j eth1_out\n-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A OUTPUT -j Reject\n-A OUTPUT -j LOG --log-prefix \"Shorewall:OUTPUT:REJECT:\" --log-level 6\n-A OUTPUT -j reject\n-A Drop -p tcp -m tcp --dport 113 -j reject\n-A Drop -j dropBcast\n-A Drop -p icmp -m icmp --icmp-type 3/4 -j ACCEPT\n-A Drop -p icmp -m icmp --icmp-type 11 -j ACCEPT\n-A Drop -j dropInvalid\n-A Drop -p udp -m multiport --dports 135,445 -j DROP\n-A Drop -p udp -m udp --dport 137:139 -j DROP\n-A Drop -p udp -m udp --sport 137 --dport 1024:65535 -j DROP\n-A Drop -p tcp -m multiport --dports 135,139,445 -j DROP\n-A Drop -p udp -m udp --dport 1900 -j DROP\n-A Drop -p tcp -j dropNotSyn\n-A Drop -p udp -m udp --sport 53 -j DROP\n-A Reject -p tcp -m tcp --dport 113 -j reject\n-A Reject -j dropBcast\n-A Reject -p icmp -m icmp --icmp-type 3/4 -j ACCEPT\n-A Reject -p icmp -m icmp --icmp-type 11 -j ACCEPT\n-A Reject -j dropInvalid\n-A Reject -p udp -m multiport --dports 135,445 -j reject\n-A Reject -p udp -m udp --dport 137:139 -j reject\n-A Reject -p udp -m udp --sport 137 --dport 1024:65535 -j reject\n-A Reject -p tcp -m multiport --dports 135,139,445 -j reject\n-A Reject -p udp -m udp --dport 1900 -j DROP\n-A Reject -p tcp -j dropNotSyn\n-A Reject -p udp -m udp --sport 53 -j DROP\n-A all2all -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A all2all -j Reject\n-A all2all -j LOG --log-prefix \"Shorewall:all2all:REJECT:\" --log-level 6\n-A all2all -j reject\n-A dmz12all -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A dmz12all -j Drop\n-A dmz12all -j LOG --log-prefix \"Shorewall:dmz12all:DROP:\" --log-level 6\n-A dmz12all -j DROP\n-A dropBcast -d 255.255.255.255/32 -j DROP\n-A dropBcast -d 224.0.0.0/4 -j DROP\n-A dropInvalid -m state --state INVALID -j DROP\n-A dropNotSyn -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -j DROP\n-A eth0_fwd -m state --state INVALID,NEW -j dynamic\n-A eth0_fwd -o eth0 -j ACCEPT\n-A eth0_fwd -o eth1 -j all2all\n-A eth0_in -m state --state INVALID,NEW -j dynamic\n-A eth0_in -j all2all\n-A eth0_out -j all2all\n-A eth1_fwd -m state --state INVALID,NEW -j dynamic\n-A eth1_fwd -o eth0 -j net12dmz2\n-A eth1_fwd -o eth1 -j ACCEPT\n-A eth1_in -m state --state INVALID,NEW -j dynamic\n-A eth1_in -j all2all\n-A eth1_out -j all2all\n-A fw2dmz1 -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A fw2dmz1 -j ACCEPT\n-A fw2loc1 -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A fw2loc1 -j ACCEPT\n-A loc12dmz1 -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A loc12dmz1 -j ACCEPT\n-A loc12fw -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A loc12fw -j ACCEPT\n-A logdrop -j LOG --log-prefix \"Shorewall:logdrop:DROP:\" --log-level 6\n-A logdrop -j DROP\n-A logreject -j LOG --log-prefix \"Shorewall:logreject:REJECT:\" --log-level 6\n-A logreject -j reject\n-A net12dmz2 -m state --state RELATED,ESTABLISHED -j ACCEPT\n-A net12dmz2 -d 1.1.1.1/32 -p tcp -m tcp --dport 53 -j ACCEPT\n-A net12dmz2 -p tcp -m tcp --dport 25 -j ACCEPT\n-A net12dmz2 -p tcp -m tcp --dport 80 -j ACCEPT\n-A net12dmz2 -j all2all\n-A reject -d 255.255.255.255/32 -j DROP\n-A reject -d 224.0.0.0/4 -j DROP\n-A reject -s 255.255.255.255/32 -j DROP\n-A reject -s 224.0.0.0/4 -j DROP\n-A reject -p igmp -j DROP\n-A reject -p tcp -j REJECT --reject-with tcp-reset\n-A reject -p udp -j REJECT --reject-with icmp-port-unreachable\n-A reject -p icmp -j REJECT --reject-with icmp-host-unreachable\n-A reject -j REJECT --reject-with icmp-host-prohibited\n-A smurfs -s 255.255.255.255/32 -j LOG --log-prefix \"Shorewall:smurfs:DROP:\" --log-level 6\n-A smurfs -s 255.255.255.255/32 -j DROP\n-A smurfs -s 224.0.0.0/4 -j LOG --log-prefix \"Shorewall:smurfs:DROP:\" --log-level 6\n-A smurfs -s 224.0.0.0/4 -j DROP\nCOMMIT\n# Completed on Fri Apr 12 09:32:29 2013\n# Generated by iptables-save v1.4.13 on Fri Apr 12 09:32:29 2013\n\n*mangle\n:PREROUTING ACCEPT [95:7000]\n:INPUT ACCEPT [87:4968]\n:FORWARD ACCEPT [0:0]\n:OUTPUT ACCEPT [81:12832]\n:POSTROUTING ACCEPT [79:12712]\n:tcfor - [0:0]\n:tcout - [0:0]\n:tcpost - [0:0]\n:tcpre - [0:0]\n-A PREROUTING -j tcpre\n-A FORWARD -j tcfor\n-A OUTPUT -j tcout\n-A POSTROUTING -j tcpost\nCOMMIT\n# Completed on Fri Apr 12 09:32:29 2013\n# Generated by iptables-save v1.4.13 on Fri Apr 12 09:32:29 2013\n\n*nat\n:PREROUTING ACCEPT [8:2032]\n:INPUT ACCEPT [0:0]\n:OUTPUT ACCEPT [1:60]\n:POSTROUTING ACCEPT [1:40]\n:eth1_masq - [0:0]\n:net1_dnat - [0:0]\n-A PREROUTING -i eth1 -j net1_dnat\n-A POSTROUTING -o eth1 -j eth1_masq\n-A eth1_masq -s 10.10.0.0/16 -j SNAT --to-source 1.2.3.4\n-A eth1_masq -s 10.10.0.1/32 -j SNAT --to-source 1.2.3.4\n-A net1_dnat -p tcp -m tcp --dport 53 -j DNAT --to-destination 1.1.1.1\nCOMMIT\n# Completed on Fri Apr 12 09:32:29 2013\n\n---\n\ngdb results\n\nStarting program: /usr/bin/python test2.py\n{'table': \u003ciptc.ip4tc.Table object at 0x7ffff3d50810\u003e, 'name': 'PREROUTING'}\n{'table': \u003ciptc.ip4tc.Table object at 0x7ffff3d50810\u003e, 'name': 'INPUT'}\n{'table': \u003ciptc.ip4tc.Table object at 0x7ffff3d50810\u003e, 'name': 'OUTPUT'}\n{'table': \u003ciptc.ip4tc.Table object at 0x7ffff3d50810\u003e, 'name': 'POSTROUTING'}\n{'table': \u003ciptc.ip4tc.Table object at 0x7ffff3d50810\u003e, 'name': 'eth1_masq'}\n{'table': \u003ciptc.ip4tc.Table object at 0x7ffff3d50810\u003e, 'name': 'net1_dnat'}\nS: 10.10.0.0/255.255.0.0 -\u003e D: 0.0.0.0/0.0.0.0\nS: 10.10.0.1/255.255.255.255 -\u003e D: 0.0.0.0/0.0.0.0\n\nProgram received signal SIGSEGV, Segmentation fault.\n0x00007ffff6e96d08 in ?? () from /lib/libc.so.6\n(gdb) bt\n#0  0x00007ffff6e96d08 in ?? () from /lib/libc.so.6\n#1  0x00007ffff6e9a38c in free () from /lib/libc.so.6\n#2  0x00007ffff7aadb6b in ?? () from /usr/lib/libpython2.7.so.1.0\n#3  0x00007ffff7acc774 in ?? () from /usr/lib/libpython2.7.so.1.0\n#4  0x00007ffff7aaf37b in PyDict_Clear () from /usr/lib/libpython2.7.so.1.0\n#5  0x00007ffff7aaf4d9 in ?? () from /usr/lib/libpython2.7.so.1.0\n#6  0x00007ffff7b4aa77 in ?? () from /usr/lib/libpython2.7.so.1.0\n#7  0x00007ffff7b4b414 in PyGC_Collect () from /usr/lib/libpython2.7.so.1.0\n#8  0x00007ffff7b3be26 in Py_Finalize () from /usr/lib/libpython2.7.so.1.0\n#9  0x00007ffff7b4971a in Py_Main () from /usr/lib/libpython2.7.so.1.0\n#10 0x00007ffff6e4401d in __libc_start_main () from /lib/libc.so.6\n#11 0x0000000000400621 in _start ()\n\n(gdb) \n","author":{"url":"https://github.com/f34rdotcom","@type":"Person","name":"f34rdotcom"},"datePublished":"2013-04-13T00:37:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/24/python-iptables/issues/24"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d11fe194-456c-bd43-25ca-111e3c4436a4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE1F2:2CF936:2183641:2C38ACB:6A5CA452
html-safe-nonce0221ab26d914c60eec1098ad57734d5fb1bb7e8842a39bb1d604809eea3501c3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUYyOjJDRjkzNjoyMTgzNjQxOjJDMzhBQ0I6NkE1Q0E0NTIiLCJ2aXNpdG9yX2lkIjoiMzAzNzExNjUyNTIwNTgyNDU5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb08497d1407c8e8054ce278d82657623a5274deafb486d19e7a2ba4047b82620
hovercard-subject-tagissue:13145261
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ldx/python-iptables/24/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ba1e6e8ef25ea9ecf2ce0915bee3e0daea49e8f83ec033b0d99f5412893944e4/ldx/python-iptables/issues/24
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ba1e6e8ef25ea9ecf2ce0915bee3e0daea49e8f83ec033b0d99f5412893944e4/ldx/python-iptables/issues/24
og:image:altI have not built a new version of the helper library if that has changed let me know. Simple test script to reproduce !/usr/bin/python import pprint import iptc for chain in iptc.Table(iptc.Table.N...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamef34rdotcom
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/ldx/python-iptables git https://github.com/ldx/python-iptables.git
octolytics-dimension-user_id456904
octolytics-dimension-user_loginldx
octolytics-dimension-repository_id1032167
octolytics-dimension-repository_nwoldx/python-iptables
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1032167
octolytics-dimension-repository_network_root_nwoldx/python-iptables
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/ldx/python-iptables/issues/24#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fldx%2Fpython-iptables%2Fissues%2F24
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fldx%2Fpython-iptables%2Fissues%2F24
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=ldx%2Fpython-iptables
Reloadhttps://github.com/ldx/python-iptables/issues/24
Reloadhttps://github.com/ldx/python-iptables/issues/24
Reloadhttps://github.com/ldx/python-iptables/issues/24
ldx https://github.com/ldx
python-iptableshttps://github.com/ldx/python-iptables
Notifications https://github.com/login?return_to=%2Fldx%2Fpython-iptables
Fork 187 https://github.com/login?return_to=%2Fldx%2Fpython-iptables
Star 753 https://github.com/login?return_to=%2Fldx%2Fpython-iptables
Code https://github.com/ldx/python-iptables
Issues 33 https://github.com/ldx/python-iptables/issues
Pull requests 2 https://github.com/ldx/python-iptables/pulls
Actions https://github.com/ldx/python-iptables/actions
Projects https://github.com/ldx/python-iptables/projects
Wiki https://github.com/ldx/python-iptables/wiki
Security and quality 0 https://github.com/ldx/python-iptables/security
Insights https://github.com/ldx/python-iptables/pulse
Code https://github.com/ldx/python-iptables
Issues https://github.com/ldx/python-iptables/issues
Pull requests https://github.com/ldx/python-iptables/pulls
Actions https://github.com/ldx/python-iptables/actions
Projects https://github.com/ldx/python-iptables/projects
Wiki https://github.com/ldx/python-iptables/wiki
Security and quality https://github.com/ldx/python-iptables/security
Insights https://github.com/ldx/python-iptables/pulse
exception fault in garbage collectionhttps://github.com/ldx/python-iptables/issues/24#top
https://github.com/f34rdotcom
f34rdotcomhttps://github.com/f34rdotcom
on Apr 13, 2013https://github.com/ldx/python-iptables/issues/24#issue-13145261
#1https://github.com/ldx/python-iptables/pull/1
#2https://github.com/ldx/python-iptables/pull/2
#3https://github.com/ldx/python-iptables/pull/3
#4https://github.com/ldx/python-iptables/issues/4
#5https://github.com/ldx/python-iptables/issues/5
#6https://github.com/ldx/python-iptables/pull/6
#7https://github.com/ldx/python-iptables/pull/7
#8https://github.com/ldx/python-iptables/pull/8
#9https://github.com/ldx/python-iptables/issues/9
#10https://github.com/ldx/python-iptables/issues/10
#11https://github.com/ldx/python-iptables/issues/11
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.