{"id":19666641,"url":"https://github.com/xaionaro-go/mswfapi","last_synced_at":"2026-04-28T17:32:52.321Z","repository":{"id":71636423,"uuid":"121640696","full_name":"xaionaro-go/mswfAPI","owner":"xaionaro-go","description":"A Linux-based solution designed to replace Cisco FWSM module","archived":false,"fork":false,"pushed_at":"2018-04-03T17:57:48.000Z","size":321,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T12:16:51.743Z","etag":null,"topics":["api","declarative","fwsm","ipset","iptables","linux","netfilter"],"latest_commit_sha":null,"homepage":"","language":"Go","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/xaionaro-go.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-15T14:44:33.000Z","updated_at":"2018-04-18T16:37:21.000Z","dependencies_parsed_at":"2023-05-13T03:00:22.014Z","dependency_job_id":null,"html_url":"https://github.com/xaionaro-go/mswfAPI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xaionaro-go/mswfAPI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaionaro-go%2FmswfAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaionaro-go%2FmswfAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaionaro-go%2FmswfAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaionaro-go%2FmswfAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xaionaro-go","download_url":"https://codeload.github.com/xaionaro-go/mswfAPI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xaionaro-go%2FmswfAPI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: 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":["api","declarative","fwsm","ipset","iptables","linux","netfilter"],"created_at":"2024-11-11T16:28:24.564Z","updated_at":"2026-04-28T17:32:52.300Z","avatar_url":"https://github.com/xaionaro-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nMSWF uses [https://github.com/xaionaro-go/fwsmConfig](https://github.com/xaionaro-go/fwsmConfig) to work with FWSM-compatible configuration files and setup a Linux machine to do the same job using [https://github.com/xaionaro-go/networkControl](https://github.com/xaionaro-go/networkControl). There're two interfaces: Web-interface for dummies and SSH-interfaces for Cisco-lovers.\n\n![interfaces](https://raw.githubusercontent.com/xaionaro-go/mswfAPI/master/doc/interfaces.png)\n![mswfAPI](https://raw.githubusercontent.com/xaionaro-go/mswfAPI/master/doc/mswfAPI.png)\n![files](https://raw.githubusercontent.com/xaionaro-go/mswfAPI/master/doc/files.png)\n\n# Install\n\n```sh\ncd /root\ngit clone git@devel.mephi.ru:noc/fwsm-config.git\n\ngit clone https://github.com/xaionaro-go/mswfAPI\ncd mswfAPI\nmake\n```\n\n# Post-install\n\nInstalling additional runtime-dependencies\n```sh\napt-get install -y bwm-ng\n```\n(it's used by URI /fwsm/status)\n\nDefine passwords in conf/app.conf:\n```\nuser0.login = someLoginHere\nuser0.password_sha1 = sha1hashhere\nuser1.login = anotherLogin\nuser1.password_sha1 = anothersha1hash\nuser2.login = mswfShell\nuser2.password = someClearPassword\n```\n\nDefine also JSON Web Tokens (JWT) secret in conf/app.conf:\n```\njwt_secret = someSecretHere\n```\n\nInstall Web-shell: [https://github.com/xaionaro/mswfWebControl](https://github.com/xaionaro/mswfWebControl)\n\nInstall SSH-shell: [https://github.com/xaionaro-go/mswfShell](https://github.com/xaionaro-go/mswfShell)\n\nCreate file `/root/fwsm-config/dynamic` and initialize git repository in `/root/fwsm-config` (`(cd /root/fwsm-config \u0026\u0026 git init \u0026\u0026 git add dynamic \u0026\u0026 git commit -a -m 'initial commit')`). `/root/fwsm-config/dynamic` is a FWSM-compatible configuration file.\n\n# Run\n\n```sh\nrevel run github.com/xaionaro-go/mswfAPI prod\n```\n\n(localhost:9000)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxaionaro-go%2Fmswfapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxaionaro-go%2Fmswfapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxaionaro-go%2Fmswfapi/lists"}