Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ipsetd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ale
ipsetd
Commits
2f85fe33
Commit
2f85fe33
authored
11 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
add some pretty big caveats to the doc
parent
802d3692
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.rst
+27
-8
27 additions, 8 deletions
README.rst
with
27 additions
and
8 deletions
README.rst
+
27
−
8
View file @
2f85fe33
...
...
@@ -52,14 +52,33 @@ currently provided by ``ipsetd``.
Managing replicated ipsets
~~~~~~~~~~~~~~~~~~~~~~~~~~
Use the ``ipsetc`` command to manipulate sets. It supports the
``add``, ``del`` and ``create`` commands, using the same syntax as
``ipset``.
Note that ``ipsetd`` assumes full control of the ipset you create with
it: if you perform local changes (perhaps using the ``ipset``
tool), they will not be replicated and will lead to inconsistencies
in the cluster.
Use the ``ipsetc`` command to manipulate sets, as you would use the
standard ``ipset`` tool. The *add*, *del* and *create* commands are
supported, using a syntax similar to that of ``ipset``. For example::
$ ipsetc --create blacklist hash:ip
$ ipsetc --add blacklist 82.94.249.234
will create and populates an IP-based hash set called *blacklist*.
Caveats and TODOs
~~~~~~~~~~~~~~~~~
Note that ``ipsetd`` expects full control over the ipset that it
manages: if you perform local changes (perhaps using the standard
``ipset`` tool), they will not be replicated and will lead to
inconsistencies in the cluster.
Note also that, due to the log-based nature of the underlying RAFT
protocol, commands are not executed synchronously with requests, so
there is no way to retrieve or display their output or exit status.
This means that you should make sure that the ipset commands are
syntactically correct before invoking ``ipsetc``, or they will
silently fail when applied by the individual nodes in the cluster.
There is currently no way to remove nodes from the cluster (must
implement *LeaveCommand*).
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment