{"id":16161941,"url":"https://github.com/jessedp/vim-ipsec","last_synced_at":"2025-04-07T03:32:05.573Z","repository":{"id":101652193,"uuid":"115550441","full_name":"jessedp/vim-ipsec","owner":"jessedp","description":"ipsec.conf syntax highlighting for vim","archived":false,"fork":false,"pushed_at":"2020-06-19T00:21:47.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T08:19:40.018Z","etag":null,"topics":["ipsec","ipsec-vpn","strongswan","vim","vim-plugin","vim-plugins"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","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/jessedp.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":"2017-12-27T19:16:37.000Z","updated_at":"2018-01-05T17:58:43.000Z","dependencies_parsed_at":"2023-06-07T08:00:28.354Z","dependency_job_id":null,"html_url":"https://github.com/jessedp/vim-ipsec","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessedp%2Fvim-ipsec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessedp%2Fvim-ipsec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessedp%2Fvim-ipsec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jessedp%2Fvim-ipsec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jessedp","download_url":"https://codeload.github.com/jessedp/vim-ipsec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247588020,"owners_count":20962842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["ipsec","ipsec-vpn","strongswan","vim","vim-plugin","vim-plugins"],"created_at":"2024-10-10T02:28:24.674Z","updated_at":"2025-04-07T03:32:05.541Z","avatar_url":"https://github.com/jessedp.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"vim-ipsec\n===\n\nipsec.conf syntax highlighting plugin for vim.\n\nThis updates Bruce Christensen's [ipsec.conf syntax highlighting](http://www.vim.org/scripts/script.php?script_id=312) \ninto a plugin because it's built for freeswan-1.91 (so a bit dated) and I'm lazy, so use \n[Plug](https://github.com/junegunn/vim-plug/) to automatically install/update things everywhere via my common .vimrc\n\n*note*: I'd provide install instructions for Plug or other plugins managers that I don't use, but see the lazy comment above. Also, if you use one, you should know how to do that\n\nTailored (for the most part) to StrongSwan \u003e 5.0\ndocs from: https://wiki.strongswan.org/projects/strongswan/wiki/ConnSection\n\n### Goals\n* support StrongSwan \u003e 5.0\n* get close to linting \n\t- only highlight values accepted for a param - eg. a value of \"yes\" should not look okay for a param of \"leftid\"\n\t- try to match highlights with appropriate values eg...\n\t\t- if we have a yes/no, say \"rekey\", that's a Boolean\n\t\t- if something has multiple types, say \"fragmentation\", call that something else - Operator, currently\n\t\t- yes, my type defs could use some work \u0026/or be customized\n* remove/kind of ignore deprecated params - (eg. authby may not be included (error state), or without directly defined allowed parameters (crappy/don't care highlighting)\n* remove parameters that are ... non-existant. imagine that.\n\n### todo \n* maybe reorder things to be slightly logical groupings\n* replace ipsecEq where it should be (both easy/defined nextgroups and removing dupes that are no longer matching anyway)\n* figure out how to chain ipsecEQ into specific groups (like ipsecYN) to ease linting (ie, parse param=value globally instead of grossly including =\n* fix ipsecAddressRange :/\n* left|rightauth - try to support the crazy \"ike:blah....\" syntax\n* not done: left|rightcert, left|rightcert2, left|rightcertpolicy, mark\n* ipv6 match rule in ipsecIpAdress\n* need comma delimited for left|rightdns, left|rightsourceip, ciphers, more?\n* left|rightgroups, left|rightgroups2 (comma delimted strings)\n* left|rightid, left|rightid2\n* left|rightprotoport (deprecatated, though)\n* left|rightsourceip\n* left|rightsubnet\n* left|rightupdown (path regex again)\n* mediated_by, me_peerid \n* xauth_identity (another 'id')\n### WOULD BE NICE\n* some referential integrity (ie, options that are only allowed when other params have a particular value)\n* this probably requires lots of vimscript-fu and/or just passing most everything off to a real script\n\n\nAnd if you've read this far you may be questioning what I consider lazy...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessedp%2Fvim-ipsec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjessedp%2Fvim-ipsec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjessedp%2Fvim-ipsec/lists"}