{"id":20338183,"url":"https://github.com/billryan/ipfilter4xd","last_synced_at":"2026-02-06T03:32:15.886Z","repository":{"id":3160142,"uuid":"4190648","full_name":"billryan/ipfilter4xd","owner":"billryan","description":"ipfilter4xd is used for P2P software such as transmission, utorrent \u0026 etc. to block the ip(ipv4) which aren't XiDian.","archived":false,"fork":false,"pushed_at":"2013-02-24T11:11:12.000Z","size":116,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-22T08:55:13.052Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/billryan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-01T08:12:47.000Z","updated_at":"2019-02-25T13:55:54.000Z","dependencies_parsed_at":"2022-08-19T11:42:11.964Z","dependency_job_id":null,"html_url":"https://github.com/billryan/ipfilter4xd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/billryan/ipfilter4xd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fipfilter4xd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fipfilter4xd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fipfilter4xd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fipfilter4xd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billryan","download_url":"https://codeload.github.com/billryan/ipfilter4xd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fipfilter4xd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29148159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T21:11:57.614Z","updated_at":"2026-02-06T03:32:15.868Z","avatar_url":"https://github.com/billryan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿ipfilter4xd\n===========\n\nipfilter4xd is used for P2P software such as transmission, uTorrent \u0026amp; etc. to block the ip(ipv4) which aren\u0026#39;t XiDian.\nipfilter4xd用于P2P软件(例如transmission, Ktorrent, uTorrent等)设置blocklist以阻止非西电的IPV4地址主机与本机交换文件，避免了在使用P2P软件下载外校的BT资源(如北邮人，六维BT)时浪费宝贵的校内3G流量(ipv4 only, but ipv6 free).\nipfilter.dat采用的是P2P format. 绝大多数P2P软件应该都能支持这种格式。其他学校的把ipfilter.dat换成自己学校之外的IP段即可. 如果想完全屏蔽掉所有ipv4的地址，ipfilter.dat里边填`0.0.0.0-255.255.255.255`就行了。ipfilter.dat可以用任一文本编辑器打开.  \n\n使用方法\n========\n将ipfilter.dat置于P2P软件所需要的位置即可，`batch-win7.bat`文件为批处理脚本，Win7下双击即可将ipfilter.dat置于指定位置。为了让你的P2P软件支持IP过滤，第一步当然就是开启ipfilter功能啦~更为详细的配置请往下走^\\_^\n\nuTorrent\n--------\n在Windows下我想大多数人用的应该是uTorrent吧，这也是众多BT站首推的下载软件，小巧强大！将ipfilter4xd这个repository clone后双击运行batch-win7.bat即可，当然，你也可以从网页右上角点击「download」下载后解压，殊途同归。  \nuTorrent也许还需要做一些小小的改动，可参考下图：\n选项-\u003e设置-\u003e高级-\u003eipfilter.enable 找到ipfilter.enable并设置其为true，大功告成！\n中文简体版\n![中文简体版](http://m3.img.libdd.com/farm3/128/4181BD7CA616B5C15262E8047714C380_800_399.jpg)\nOptions \u003e Preferences \u003e Advanced then find ipfilter.enable. set the value to true then press ok.\nEnglish\n![English](http://users.digiex.net/insanenutter/guides/ipfilter/utorrent.jpg)\n如果你使用的是uTorrent绿色免安装版或者是网页版，可试着将ipfilter.dat置于相应运行目录下，置于有没有效果我就无从得知了...\n\ntransmission\n-----\ntransmission的强大不必多说，Linux和MAC OS X下的用户还是比较多的，具体的配置可以到你家终端里去找男人... 网络上的配置可以到https://trac.transmissionbt.com/wiki/ConfigFiles\n下查看，transmission还支持网络升级blocklist，填入ipfilter.dat 的URL应该也OK  \n\nKtorrent\n----\n在自己的桌面环境还是GNOME的时候一直用的是transmission，后边转移到KDE时就换成了Ktorrent, 原因是transmission新升级的版本不支持下载时选择不同的文件夹，现在使用Ktorrent感觉也蛮好使的，不过ipfilter得换，ipfilter-ktorrent.txt就是给Ktorrent用的，在Ktorrent的「IP过滤」下打开这个文件就行了。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Fipfilter4xd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillryan%2Fipfilter4xd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Fipfilter4xd/lists"}