Subscription headers for providers
A provider controls how LimCore shows and updates its subscription with headers in the subscription response. The set is compatible with Happ's headers (their docs) and with what Remnawave sends: a panel set up for Happ works with LimCore too. LimCore needs no Provider ID — every header below works without one.
Contents
1. How to send them
- As a response header of the subscription request:
ping-color: availability. Names are case-insensitive. - As a line in the subscription body when there is no panel:
#ping-color: availabilityon its own line among the server links (the body may be base64 too). When both come, the header wins. - Yes/no:
1ortrueturns on,0orfalseturns off. - Non-Latin text (titles, announcements): send
base64:followed by the UTF-8 text in base64; HTTP headers are ASCII only.
2. Two kinds of headers
Subscription headers (section 3) belong to one subscription and are read on every update of it: two providers of one user each keep their own values, and you can change them at any time. If you stop sending a header, its decision stays; only traffic data, announcements and links (marked "cleared") mirror the last answer and go away with the header.
Where the user has a choice of their own (ping look and colour), it ranks above the header: Settings default to "As the provider sets", and until the user changes that, you decide.
App settings (section 4) are app-wide: fragmentation, mux, ping type, per-app proxy. As in Happ, they apply once — when the user adds your subscription. After that the user changes them, and subscription updates don't overwrite them.
3. Subscription headers
| Header | Values | What it does | When no longer sent |
|---|---|---|---|
profile-title | text or base64:… | Subscription name (up to 25 characters). | kept |
subscription-userinfo | upload=…; download=…; total=…; expire=… | Traffic (bytes) and expiry (unix time) in the subscription's status line. total=0 means unlimited. | cleared |
profile-update-interval | hours | How often the subscription updates in the background. | cleared |
support-url | URL | Support button; t.me links get the Telegram icon. | cleared |
profile-web-page-url | URL | Provider's website button. | cleared |
announce | text or base64:… | Announcement under the subscription (up to 200 characters). | cleared |
subscription-ping-onopen-enabled | 1 / 0 | Ping the subscription's servers every time the app opens. | kept |
ping-result | time / icon | Show ping as a number in ms or a coloured dot. The user's choice in "Settings → Ping → Ping result" wins. | kept |
ping-color | latency / availability | What the ping colour means: latency — by delay (green up to 300 ms, yellow up to 800 ms); availability — green for every server that answers, red "Timeout" otherwise. The user's choice in "Settings → Ping → Ping color" wins. | kept |
subscription-pin | 1 / 0 | Pin the subscription above the others. | kept |
subscriptions-sort-type | without / ping / alphabet | Server order: as sent, by ping, alphabetically. | kept |
subscription-sort-type | without / ping / alphabet | Same as subscriptions-sort-type. | kept |
subscription-auto-update-open-enable | 1 / 0 | Update the subscription when the app opens. | kept |
subscription-auto-update-enable | 1 / 0 | Background updates of the subscription. When the subscription is added it also sets the app-wide switch. | kept |
subscription-request-timeout | 5–15 | Seconds to wait for the subscription to answer. | kept |
routing-enable | 1 / 0 | Turn the subscription's routing on or off. | kept |
subscription-autoconnect | 1 / 0 | Connect to one of the subscription's servers when the app opens. | kept |
subscription-autoconnect-type | lastused / lowestdelay / random | Which server autoconnect picks. | kept |
notification-subs-expire | 1 / 0 | Remind about expiry 3 days before. | kept |
sub-expire | 1 / 0 | Expiry banner on the subscription's card. | kept |
sub-expire-button-link | URL | "Renew" button in the banner. | kept |
sub-info-textsub-info-colorsub-info-button-textsub-info-button-link | text or base64:… | Info block on the subscription (up to 200 characters). | cleared |
new-url | URL | Replace the subscription URL for every user. | kept |
new-domain | domain | Replace only the domain; the path stays. | kept |
fallback-url | URL | Backup URL used when the main one fails. | kept |
change-user-agent | text | User-Agent of this subscription's requests. | kept |
subscription-always-hwid-enable | 1 / 0 | Always send the HWID; the user can't turn it off. | kept |
hide-settings | 1 / 0 | Hide viewing and editing of the subscription's server configs. The user can turn it off in the subscription's «Edit»; the header then no longer applies to it. | kept |
hide-url | 1 | Don't show the subscription URL. The user can turn off «Encrypted subscription» in the subscription's «Edit»; the header then no longer applies to it. | kept |
subscriptions-expand-now: 1 is a one-off action: after the update the subscription opens on the home screen.
A routing profile comes in the routing header (a happ://routing/… link); its format and behaviour are on the routing page (Russian).
4. App settings
| Header | Values | What it does | Platforms |
|---|---|---|---|
ping-type | proxy / proxy-head / tcp / icmp | How ping is measured. | Android, Windows, Linux |
proxy-ping-mode | default / double / keepalive | Proxy ping mode. | Android, Windows, Linux |
check-url-via-proxy | URL | URL for proxy pings. | Android, Windows, Linux |
subscription-auto-update-enable | 1 / 0 | Background updates of the subscription. When the subscription is added it also sets the app-wide switch. | Android, Windows, Linux |
app-auto-start | 1 / 0 | Start the app when the device boots. | Android, Windows, Linux |
xray-tun-enable | 1 / 0 | "Xray TUN" mode instead of hev. | Android |
tun-enable | 1 / 0 | TUN mode (with proxy-enable: mixed mode). | Windows, Linux |
proxy-enabletun-enable | 1 / 0 | System proxy mode. | Windows, Linux |
tun-type | default / xray / singbox / tun2proxy | TUN core. | Windows, Linux |
tun-mode | system / gvisor | TUN network stack. | Windows, Linux |
user-agent-geo-files | chrome-android / chrome-win / firefox / firefox-win / safari-ios / safari-mac | User-Agent for geo file downloads. | Android, Windows, Linux |
socks-auth-mode | auto / manual / from-json / disable | Local SOCKS authorization. | Android, Windows, Linux |
socks-auth-user | text | SOCKS user (manual mode). | Android, Windows, Linux |
socks-auth-password | text | SOCKS password (manual mode). | Android, Windows, Linux |
http-auth-mode | auto / manual / from-json / disable | Local HTTP authorization. | Android, Windows, Linux |
http-auth-user | text | HTTP user. | Android, Windows, Linux |
http-auth-password | text | HTTP password. | Android, Windows, Linux |
inbound-http-enable | 1 / 0 | Local HTTP proxy. | Android, Windows, Linux |
inbound-socks-port | 1–65535 | Port of the local SOCKS5 proxy. One equal to the HTTP proxy's port is not applied. | Windows, Linux |
inbound-http-port | 1–65535 | Port of the local HTTP proxy. One equal to the SOCKS5 proxy's port is not applied. | Windows, Linux |
dns-from-json-enable | 1 / 0 | Tunnel DNS from the server's JSON config. | Android, Windows, Linux |
sniffing-enable | 1 / 0 | Domain and protocol sniffing in Xray. | Android, Windows, Linux |
server-address-resolve-enable | 1 / 0 | Resolve server addresses in advance over DoH. | Android, Windows, Linux |
server-address-resolve-dns-domain | https://… | DoH server for it. | Android, Windows, Linux |
server-address-resolve-dns-ip | IP | IP of that DoH server. | Android, Windows, Linux |
mux-enable | 1 / 0 | Mux. | Android, Windows, Linux |
mux-tcp-connections | -1…1024 | Mux TCP concurrency. | Android, Windows, Linux |
mux-xudp-connections | -1…1024 | Mux XUDP concurrency. | Android, Windows, Linux |
mux-quic | reject / allow / skip | QUIC handling in Mux. | Android, Windows, Linux |
fragmentation-enable | 1 / 0 | TLS ClientHello fragmentation. | Android, Windows, Linux |
fragmentation-packets | tlshello / 1-3 … | Which packets to split. | Android, Windows, Linux |
fragmentation-length | range | Fragment length. | Android, Windows, Linux |
fragmentation-interval | range | Delay between fragments, ms. | Android, Windows, Linux |
fragmentation-maxsplit | range | Maximum number of parts. | Android, Windows, Linux |
noises-enable | 1 / 0 | UDP noise packets. | Android, Windows, Linux |
noises-packet-type | rand / randrange (PC) / str / hex / base64 | Noise format. | Android, Windows, Linux |
noises-rand-range | a byte range such as 0-255 | For randrange noise: the packet bytes are random within this range. PC only. | Windows, Linux |
noises-packet | value | Noise content. | Android, Windows, Linux |
noises-rand | range | Random noise of this length (same field as noises-packet). | Android, Windows, Linux |
noises-delay | range | Delay between noise packets, ms. | Android, Windows, Linux |
per-app-proxy-mode | off / on / bypass | Per-app proxy on Android. | Android |
per-app-proxy-list-set | package ids, comma-separated | Replace the app list. | Android |
per-app-proxy-list | package ids, comma-separated | Add apps to the list. | Android |
per-app-proxy-mode-windows | off / on / bypass | Per-app proxy on Windows. | Windows |
per-app-proxy-list-windows-set | exe names | Replace the Windows program list. | Windows |
per-app-proxy-list-windows-add | exe names | Add Windows programs. | Windows |
per-app-proxy-mode-linux | off / on / bypass | Per-app proxy on Linux. | Linux |
per-app-proxy-list-linux-set | program names | Replace the Linux program list. | Linux |
per-app-proxy-list-linux-add | program names | Add Linux programs. | Linux |
per-app-proxy-block-list-windows-set | exe names | Replace the Windows block list: these programs' connections always fail. | Windows |
per-app-proxy-block-list-windows-add | exe names | Add Windows programs to the block list. | Windows |
per-app-proxy-block-list-linux-set | program names | Replace the Linux block list. | Linux |
per-app-proxy-block-list-linux-add | program names | Add Linux programs to the block list. | Linux |
exclude-routes-set | subnets, comma-separated | Replace the networks that bypass the VPN. | Android, Windows, Linux |
exclude-routes | subnets, comma-separated | Add networks that bypass the VPN. | Android, Windows, Linux |
proxy-ping-timeout | 5–15 | Ping timeout in seconds. | Android, Windows, Linux |
xray-tun-mtu | 1280–9000 | MTU of the VPN interface. | Android |
user-agent-geo-files | chrome-android / chrome-win / firefox / firefox-win / safari-ios / safari-mac | User-Agent for geo file downloads. | Android, Windows, Linux |
5. HWID and Remnawave
Every subscription request carries device data for Remnawave's HWID Device Limit:
| Request header | Contents |
|---|---|
x-hwid | device id, 16 hex digits (the user can turn sending off unless you send subscription-always-hwid-enable) |
x-device-os | Android, Windows or Linux |
x-ver-os | OS version |
x-device-model | device model |
user-agent | LimCore/<version> or your change-user-agent; handy for matching LimCore in Remnawave Response Rules |
When the panel refuses, LimCore explains why from Remnawave's answer headers:
| Response header | What the user sees |
|---|---|
x-hwid-max-devices-reached, x-hwid-limit | the subscription's device limit is reached |
x-hwid-not-supported | the provider needs the HWID: turn on sending it |
x-hwid-active | nothing, informational |
6. Not supported
LimCore receives these Happ headers but doesn't apply them — they change nothing:
| Header | Why |
|---|---|
custom-tunnel-config | a sing-box tunnel config: LimCore runs Xray's own TUN |
no-limit-enabled | No Limit mode is Happ's own |
no-limit-xhttp-enabled | No Limit mode is Happ's own |
manual-block-user-agent | the subscription User-Agent isn't editable in LimCore |
per-app-proxy-list-invert | not yet; use per-app-proxy-mode: bypass |
hide-vpn-icon | Android always shows the VPN key |
color-profile | iOS only in Happ; LimCore themes are the user's |
include-all-networks-enable | iOS only |
exclude-local-networks-enable | iOS only |
exclude-apns-enable | iOS only |
dont-use-filter | Happ Premium filter |
block-bind-to-tunnel-enable | not supported |
subscription-alternative-hwid-enabled | not supported |
subscriptions-collapse | whether a subscription folds is the user's choice |
7. Examples
Remnawave. "Subscription settings" → "Custom response headers" (or Response Rules with responseModifications.headers for LimCore only — match a user-agent containing LimCore):
ping-color: availability
ping-result: time
subscription-ping-onopen-enabled: 1
subscriptions-sort-type: without
support-url: https://t.me/your_support
nginx in front of any panel:
location /sub/ {
proxy_pass http://panel;
add_header ping-color availability always;
add_header subscription-ping-onopen-enabled 1 always;
}
Without a panel — lines at the top of the subscription file:
#profile-title: base64:TXkgVlBO
#ping-color: availability
#subscription-ping-onopen-enabled: 1
vless://…
vless://…
8. How to check
- See what the subscription sends:
curl -sD - -o /dev/null -A LimCore https://your-url. - In LimCore update the subscription (its "⋮" menu → "Update"). Subscription headers apply at once.
- App settings apply only when a subscription is added: remove it and add it again on a test device.
- If something didn't apply: "Settings → Logs" and send them to the developer, or write to us.
Questions and wishes: support@limcore.org or Telegram. Русская версия.