User manual

Descriptions of each screen and setting in the admin page.

Introduction

Admin page layout

The parts of the admin page and what each one does.

The whole admin page: from the top, the header, the status cards, the LINKS and GUILD bands, the tabs and the operations log, with values such as online users along the bottom edge.
Admin page — “Operations log”
HeaderThe server state (Running) and the host name. On the right: the light/dark theme switch and the Chat, Help and Settings buttons
Online users to ActivityThe Online users, Shared files, CPU, Memory, Disk, Network and Activity cards: the current state of the server and the last 24 hours. See “Dashboard” for details
LINKS, GUILDThe size of the network joined through links and guilds. Shown only while connected
TabsSwitch between Operations log, Online users, Registered users, Channels, BAN list, Linked servers and Guild
ChatChannels joined as Console, private messages from users, and server notices. The button shows the number of new items
HelpHow to use the page, and About (version, developer, website and more)
SettingsServer settings. Choose a section from the contents on the left. The language of the admin page is switched at the top right
Bottom edgeOnline users, shared files, memory, network, uptime and totals (logins, searches, transfers), plus the version

Hover over the “?” next to a setting (or select it with the keyboard) to see what the setting does.

Introduction

Dashboard

The current state of the server, the last 24 hours, and the operations log.

The Online users, Shared files, CPU, Memory, Disk, Network and Activity cards with the LINKS and GUILD bands. Each card has a line showing the trend.
Admin page — the cards at the top
Online usersUsers online and the capacity, users by level, and uptime
Shared filesThe number of shared files (Files) and their total size (Size)
CPUCPU usage (1-min avg), and the CPU name and frequency
MemoryMemory used by naptify-server and its share of the PC’s memory
DiskRead and write speed (1-min avg), free space and usage
NetworkReceive (RX) and transmit (TX) speed (1-min avg) and totals. P2P file transfers between users are excluded
ActivityCounts of logins, searches, transfers and browses
LINKS, GUILDServers joined through links and guilds, with users (Users), files (Files), total size and records (MAX). A bar shows each server’s share of the users
Operations logA record of logins, logouts, searches, browses, transfers, operator actions and more. The lower pane shows operator action notices. Drag the divider to change the heights
Pause, Clear, CopyPause the operations log, clear what is shown, or copy it
Display optionsChoose what the operations log shows, such as login and logout messages, search requests, file transfers and browse requests

The line at the bottom of each card shows the last 24 hours. Each card uses its own scale.

Server and connections

Connection settings

Settings for where users connect and for connections from outside.

The Connection settings section: the Host name settings, D-DNS.JP, Listening port settings, TLS (naptify-client), Automatic port opening (UPnP) and External port check, local2global, Access restrictions and Console cards.
Settings — “Connection settings”
Host nameThe host name users enter in their clients. Also used when redirecting users to this server. Below the field, a list shows the externally visible IP address, what the host name resolves to and the verdict (Match, Mismatch, Not reachable from outside, Could not check). When they do not match, the likely cause and the effect are shown too.
Display nameThe server name shown to users. If left blank, the host name is shown.
D-DNS.JPLinks a D-DNS.JP account. Once linked, the server tells D-DNS.JP automatically whenever the IP address changes (no update tool such as DiCE is needed).
Session capacityThe maximum number of users connected at the same time.
Login timeoutHow long a new connection may take to finish signing in (60 seconds by default). Connections that take longer are closed.
Per-IP connection capThe maximum number of connections from one IP address. 0 means unlimited. Connections from this PC or the LAN are never limited.
New logins per minuteThe maximum number of new logins accepted per minute. 0 means unlimited.
Enable reconnect cooldownRefuses rapid reconnects for 180 seconds.
Bind addressThe address to listen on. Use 0.0.0.0 (or :: for IPv6) to listen on all interfaces.
Listening portThe ports that accept connections from clients. Multiple ports can be specified.
Also listen on IPv6For each 0.0.0.0 entry, also listens on the IPv6 address ::.
RedirectThe redirect ports that serve as the entry point, and whether distribution is enabled.
TLS (naptify-client)Encrypts connections from naptify-client (“Accept TLS”, on by default). Uses the D-DNS.JP certificate (the same as admin HTTPS), or a self-signed certificate created automatically. Shows the certificate in use, its expiry and its fingerprint (SHA-256); with a self-signed certificate, give this fingerprint to users.
Automatic port opening (UPnP)Asks the router to forward the listening ports to this PC. “Open and check now” shows what the router said and whether the port was reached from outside. Off by default.
External port checkChecks reachability from outside and obtains the external IP address through D-DNS.JP.
local2globalAt sign-in, replaces the IP address of users who connect from the server’s LAN with the external IP address; transfers, direct browse, whois and links all use the replaced address. The external IP address is normally detected automatically.
Access restrictionsWhat to do with logins from a host name, IP address or network: Always deny login, Deny only failed logins, Clear consent and re-authenticate, or Add to the ban list.
ConsoleThis server’s Console name (Console username) and the connection speed shown for it (Console speed), as returned to compatible clients.

Each card is saved with its own Save button. The display name and the host name given to linked servers take effect the next time the server starts.

Server and connections

Operation

Settings for who can open the admin page, update checks, startup and language.

The Operation section: the Management access, Management HTTPS, Update check, and Startup and language cards.
Settings — “Operation”
Access scopeWhere the admin page can be opened: This computer only, LAN only, or External access. “LAN only” allows only PCs on the same LAN (no password needed)
Require administrator loginAsks for a login to open the admin page. Required for external access. The user name and password are separate from registered users
Management HTTPSHTTPS encryption when the page is published with External access. D-DNS.JP issues and renews the certificate (Let’s Encrypt). Available only while linked with D-DNS.JP
Update checkAsks the distribution site now and then and tells you when a newer release exists. Only the product, version, OS and CPU are sent. Downloading and installing are up to you
EndpointWhere the update check asks. Only addresses beginning with https:// are accepted. Saving it empty restores the default (the distribution site)
Open the admin page at startupOpens the admin page in your browser when the server starts. Off by default. Takes effect from the next startup
Register in StartupStarts naptify-server when you sign in to Windows and keeps it in the notification area. It is not a Windows service, so it runs only while you are signed in
Language file nameA language file other than Japanese and English (a .lng file in the languages folder). One file holds both the protocol messages and the admin page and tray texts. If blank, Japanese and English are used

Remove the Startup registration before uninstalling naptify-server by deleting its folder.

Server and connections

Data and logs

Settings for database backups and restores, how long logs are kept, and the diagnostic log.

The Data and logs section: the Database backup, Logs and notices, and Diagnostic log cards.
Settings — “Data and logs”
Database backupBacks up main.sqlite every hour when it has changed. “Back up now” runs a backup by hand
Restore databaseRestores from a backup generation or from an SQLite file for PC migration. See “Backup and restore” for the steps
Retention daysOne retention period for statistics, audit records, log files in the logs folder and backups. 90 days by default
Notify server bansShows this server’s automatic bans (download and queue floods, access rules) and bans received from linked servers to Moderators and above and in the operator notices. On by default
Diagnostic logFor the span chosen in “Keep it on for” (1 hour, 6 hours or 24 hours), records everything and writes the server’s diagnostic lines and why each connection ended to logs\diagnostic-YYYYMMDD.log. Returns to normal when the span ends

Users and moderation

Login settings

Settings for who can log in, terms acceptance, password and user name rules, and password reset emails.

The Login settings section: the Login restrictions, Terms acceptance, Password rules, Forbidden user IDs, Generated password issuing and SMTP cards.
Settings — “Login settings”
Allow unregistered loginWhether users who are not registered can log in, and their initial level (User or Leech)
Use common passwordUses a common password. Logins that do not match it are refused
Allow two-byte characters in usernamesAllows user names such as Japanese ones. When off, only letters, digits and _ [ ] { } – @ ^ $ can be used
Multi-loginLets one registered user sign in from several devices at the same time (off by default). When off, a second sign-in is refused as before. Switching does not disconnect connected devices. See Multi-login for details
Terms acceptanceSends the terms at login and blocks search, browse and download until the user replies with the acceptance phrase. Messaging is never blocked
Password rulesThe minimum password length and forbidden passwords. A password equal to the user name is always refused
Forbidden user IDsRefuses user names that contain a listed string (substring match, not case-sensitive). Level names are always reserved
Generated password issuingIssues an initial password when a user is registered with a blank password. The value is shown right after registration and in the operations log
SMTPThe SMTP server used only for password reset emails sent by an administrator. “Test connection” checks the connection without sending mail

Users and moderation

User management

Lists of online and registered users, actions on users, and the display names of user levels.

The Online users list with the menu opened by right-clicking a user: Refresh, Send IM, Info, Browse, Disconnect, Delete account, Muzzle, Cloak, BAN, Register user, Edit, Level and more.
“Online users” — the right-click menu
Online usersUsers who are online (Name, Level, Status, Shared files, Software, Speed, IP address, Server). Use * and ? in “Name filter”. A multi-login user takes one row, with the number of devices after the name and the IP addresses of all devices separated by commas
Registered usersRegistered users (User, Level, Status, Points, Downloads, Uploads, Last IP address, Last visit). The “Online rate” column shows the share of time online, averaged over 7 days
User actionsThe menu opened by right-clicking a row: Send IM, Info, Browse, Disconnect, Delete account, Muzzle, Cloak, BAN (ID BAN, IP BAN), Register user, Edit, Level and more. Select several rows to act on them together. For a multi-login user, Info shows each device’s IP address, port, software and sign-in time
AddRegisters a user from Registered users. Leave the password blank to issue an initial password automatically
EditChanges a registered user’s password, adjusts points, adds or removes a friend, and sets the email address for password reset emails
User level display namesThe level names shown to clients (in the User management section of Settings). Names set here cannot be registered as user names
Keep connection details for Leech usersKeeps the last visit time and source IP of Leech users (in the User management section of Settings). Only the most recent visit is kept. Off by default

Users and moderation

Ban / block settings

Managing the BAN list, and settings for ban durations, blocked clients and blocked filenames.

The BAN list with the User, IP address, Banned at, Expires and Reason columns.
“BAN list”
BAN listAll bans (User, IP address, Banned at, Expires, Reason)
Add banEither the user or the IP address is enough, and the wildcards * and ? are allowed. The duration can be Forever. The ban is also sent to linked servers
UnbanLifts a ban. A reason can be entered
Default ban durationThe number of days used for bans given without a duration (the Bans card in Settings). 31 by default, or 7 when imported from FaceNap
Blocked clientsRefuses logins by client name. Enabled rules are checked from the top, and the first match is refused (Exact, Starts with or Contains)
Blocked filenamesRefuses shares whose file name (the part after the last \ or /) contains a listed string. Case and full-width/half-width are distinguished

You can also ban from the BAN item of the right-click menu in Online users (ID BAN or IP BAN). The user is banned and then disconnected.

Sharing, chat and points

Sharing / search settings

Settings for search results and frequency, limits on shared files, minimum shares, and transfer requests.

The Sharing / search settings section: the Search, Shared file limits, Minimum share and Transfer request limit cards.
Settings — “Sharing / search settings”
Default resultsThe number of search results. A smaller number requested by the client is kept
Limit results per userThe maximum number of results returned from one user’s shares
Limit searches and browses per minuteThe maximum number of searches and browses combined per minute
Search linked serversSearches linked servers as well. Local search continues when off. The maximum is set in “Linked result limit”
Shared file limitsLimits on shared files per user and for the whole server. Existing shares stay; only new ones are refused. “Pause share registration and search” pauses share registration, search and browse
Minimum shareWhat to do with users who share too little (Disconnect or Leech), judged by the number and total size of shared files, with a grace period after login
Transfer request limitWhen download requests exceed the limit, new requests are stopped for a while

Sharing, chat and points

Channels

The channel list, channel registration, and channel settings.

The channel list with the Name, Users, Capacity, Level, State, Topic, BAN, Operators and Voices columns.
“Channels”
ChannelsAll channels (Name, Users, Capacity, Level, State, Topic, BAN, Operators, Voices)
Register channelRegisters a channel with its name, topic, level and capacity. It can also be made Private (hidden from the list) or an Anonymous channel
Channel actionsThe menu opened by right-clicking a row: Join (as Console), Properties, Add channel, Delete and Copy channel name
Channels per user, Server channel limitHow many channels one user can be in (up to 15) and how many channels the server can have (the Channel settings card in Settings)
Allow users to create channelsWhether users can create channels. Registered channels stay available when off
Automatic forced entryAfter login, users are placed in registered channels in display order. Only the channel password is bypassed; other restrictions still apply
Save channel logsWrites joins, leaves and messages to the logs folder. One retention period for all channels
Flood BlockLimits repeated channel messages and emotes from User level and below, and mutes for a while. Moderators and above can unmute by hand

After joining a channel as Console with Join, you can read and post in it from Chat in the header.

Sharing, chat and points

Messages

Chat in the admin page, and settings for private messages, offline messages, announcements, the login notice and the MOTD.

The Chat page: the list of conversations (channels and private messages) on the left, and the channel messages and members on the right, with the message box below.
“Chat”
ChatOpened from Chat in the header. Shows the messages and members of channels joined as Console, private messages from users, and server notices. You can also post and reply
Private messagesThe maximum IM size (8192 bytes by default), counted in the sending client’s encoding. Oversized messages are not sent
MessagesMessages for users who are offline, delivered at their next login. On by default
Announcement botSends a multiline message (Interval, Maximum per user, Sender name, Message). Counts reset only when the message changes
Login noticeSends one multiline message after a successful login (Sender, Message)
MOTDText sent line by line at login, right after the version and host name lines (MOTD text). Variables such as $user$ and $users$ are replaced with each user’s values when sent (the card lists them). Lines starting with “;” are not sent, and users with the -MOTD user mode do not receive it. MOTD requests from clients get the same content

Sharing, chat and points

Points

Settings for points earned and spent through searches, transfers and messages, and the restrictions based on them.

The Points section: whether points are enabled, the initial grant, earning and spending values, the negative balance limit, and the search and browse/queue restrictions.
Settings — “Points”
Enable runtime point featuresTurns earning, spending and point restrictions on or off. Saved values and administrative adjustments remain when off
Limit user transfers to Mod+Only Moderators and above can send points with >point username amount
Initial grantPoints given to a new user
Channel message creditPoints earned by posting in a channel
Accepted search costPoints spent when a search is accepted
Requester transfer costPoints spent by the user who requests a download
Sharer transfer rewardPoints earned by the user who shares the file
Negative balance limitHow far a balance may go below zero. With 0, balances never go negative. Users at the floor are refused searches and download requests
Search restrictionRefuses searches from users whose shared file count or shared size falls short. Moderators and above, and friends, are exempt
Browse/queue restrictionRefuses browsing other users’ lists and joining download queues for users who share too little. Moderators and above, and friends, are exempt

Each user’s points are shown in the Registered users list and can be adjusted with Edit.

Server-to-server connections

Managing and configuring links between servers run by the same operator.

The linked server list with the Host name, Host and port, State, Users, Files, File size and Connected for columns.
“Linked servers”
Linked serversAll linked servers (Host name, Host and port, State, Users, Files, File size, Connected for). The state is Not connected, Connecting, Connected or Connected (via …)
Add serverSet the host name, port, password, remote password, authentication (Resolve host name or Check password), LAN address, compression, Connect on its own (at startup and after a drop), reconnect interval, Use as redirect target, and a comment
Connect nowStarts connecting to the selected linked server
Link settingsRun as hub, Synchronize BAN list, Synchronize registered accounts, Accept remote users, Synchronize blocked file list and Direct link limit (the Linked servers section of Settings)
Extended reportA legacy report.php-compatible feature. Anyone who connects to its dedicated port (1228 by default) gets one plain-text table of the whole network (the Extended report section of Settings)

Deleting a linked server takes effect after a restart.

For the difference between Link and Guild, see Guild.

Server-to-server connections

Guild

Managing cooperation with servers run by other operators.

The guild list with the Host name, Address, Status, Users, Files, File size and Connected for columns.
“Guild”
GuildAll guild peers (Host name, Address, Status, Users, Files, File size, Connected for). The status is Connected, Connecting, Not connected, Disabled or Stopped
Add serverSet the peer host name, port, connect-to host (optional), shared key (hex), auto reconnect and a comment
Shared key (hex)At least 16 bytes (32 hex digits). Register the same key on the peer server. A key made with “Generate key” cannot be shown again after saving
Connect nowStarts connecting to the selected peer

Guild peers are only servers that have registered each other. A server cannot be both a link and a guild peer.

Guild is unavailable while this server is linked with a server that does not support it, such as FaceNap or SlavaNap.

Operation

Backup and restore

Automatic database backups, and restoring from a backup generation or a file.

The Database backup card: Back up now, a backup generation with Restore selected, and an SQLite file for PC migration with Restore file.
Settings — “Database backup” in “Data and logs”
Database backupBacks up main.sqlite every hour when it has changed. Kept for the same period as logs (90 days by default)
Back up nowBacks up right away
Restore selectedRestores from the generation chosen in “Backup generation”
Restore fileRestores from the file chosen in “SQLite file for PC migration”
What is restoredSettings, users, audit records, statistics and secrets. The logs folder and the shares of logged-in users are not included

Steps

  1. Open Data and logs in Settings.
  2. Choose the generation in Backup generation and select Restore selected. When moving from another PC, choose the file in SQLite file for PC migration and select Restore file.
  3. Restart the server. After the restart, every client must reconnect and upload its shares again.

Operation

Migration from FaceNap

Importing settings, registered users, bans, channels and linked servers from FaceNap.

The Import section: the FaceNap folder box with the Browse…, Search and Review buttons, and what to import (Basic settings, Registered users, BAN list, Channels, Linked servers).
Settings — “Import”
Basic settingsServer settings from the FaceNap settings file (config), and the MOTD (motd). Settings that FaceNap does not have keep their current values
Registered usersRegistered users from users. Current users are kept and users with the same name are overwritten. Users can sign in with their FaceNap passwords
BAN listBANs from bans. A ban for the same user name and IP address is overwritten. Expired bans are not imported
ChannelsRegistered channels from channels. Choose the channels to import from the list; their channel messages (chmotd.channel-name) come too. A channel with the same name is overwritten
Linked serversLinked servers from servers. A linked server with the same host name and port is overwritten
Encrypted passwordAllows logins with the FaceNap encrypted password (the FaceNap compatibility section of Settings). The encryption key is the same value as FaceNap’s encryption key

Steps

  1. Open Import in the contents of Settings.
  2. Enter the path of the FaceNap folder (a path on this server’s PC) in FaceNap folder and select Search. When the page is open on the server’s PC, you can also pick the folder with Browse….
  3. Check Import for each item you want and select Review.
  4. Check the overwritten items and the rest in Import review, then run the import. The database is backed up automatically just before the import, and the server restarts automatically afterwards. Connected users are disconnected for a moment.

Only config, motd, users, bans, channels, servers and chmotd.channel-name directly in the FaceNap folder are read, and nothing is written to the folder. The import adds to the current data and does not erase it.

To undo an import, use Restore database.

Operation

Troubleshooting

Common symptoms and where to look.

A result of the external port check: port 8888 shows “Not reachable from outside (no answer — the router may not be forwarding this port)”.
Settings — a result of “External port check”
Users cannot connect from outsideRun External port check in Connection settings. “No answer” points to port forwarding on the router; “refused or did not arrive” points to the router’s forwarding target or a firewall or security software
Users cannot connect by host nameCheck the result under Host name settings. “Mismatch” means the dynamic DNS record may not have been updated
D-DNS.JP updates have stoppedFollow the notice in the notification area and check the email address, password and host under D-DNS.JP in Connection settings
Naptify Server is already running.Open the admin page from the tray icon
Another Naptify Server is using the same data folder, or the folder permissions are insufficient.Stop the other Naptify Server, or check the folder permissions
The admin page could not start listening.Check that no other program is using the same port
Check the username and password.The admin page login failed. Enter the user name and password set under Management access in Operation (they are separate from registered users)
The cause is unclearChoose a span under Diagnostic log in Data and logs, then look at logs\diagnostic-YYYYMMDD.log

If the problem remains, please let us know on the Support page.