Editing
Capabilities and Flags
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Network context flags (nflags) === The set of available network context flags is specific to Linux-VServer and applied to all processes contained within a network context. Below is a list of flags available in 2.1.1 and above. {| class="wikitable_list" ! Bit ! Mask ! Name ! Tag ! Description |- | style="text-align: right" | 0 | style="font-family: monospace" | 0x00000001 | INFO_LOCK | L | Prohibit further context migration |- | style="text-align: right" | 3 | style="font-family: monospace" | 0x00000008 | INFO_PRIVATE | | Context cannot be entered |- | style="text-align: right" | 8 | style="font-family: monospace" | 0x00000100 | SINGLE_IP | | Enable special handling of network contexts with a single IP only |- | style="text-align: right" | 9 | style="font-family: monospace" | 0x00000200 | LBACK_REMAP | | use loopback-virtualisation (will only work in 2.3.0.xx or greater) |- | style="text-align: right" | 10 | style="font-family: monospace" | 0x00000400 | LBACK_ALLOW | | if set, allows guests without LBACK_REMAP to connect to 127.0.0.0/8 |- | style="text-align: right" | 25 | style="font-family: monospace" | 0x02000000 | HIDE_NETIF | | Hide foreign network interfaces (ie: network interfaces not carrying and IP belonging to the guest) |- | style="text-align: right" | 26 | style="font-family: monospace" | 0x04000000 | HIDE_LBACK | | hides the real loopback-address from the guest (rewrites to 127.0.0.1 when queried) (will only work in 2.3.0.xx or greater) |- | style="text-align: right" | 32 | style="font-family: monospace" | 0x0001<<32 | STATE_SETUP | IO | Enable setup state |- | style="text-align: right" | 34 | style="font-family: monospace" | 0x0004<<32 | STATE_ADMIN | O | Enable admin state |- | style="text-align: right" | 36 | style="font-family: monospace" | 0x0010<<32 | SC_HELPER | I | Enable state change helper |- | style="text-align: right" | 38 | style="font-family: monospace" | 0x0040<<32 | PERSISTENT | | Make network context persistent. Allows you to configure a network context to use a certain IP with specific flags, and quickly run processes at later points with long pauses between them, rather than re-creating it every time a process needs to be executed. |}
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information