The first feature release since 1.6.0, and most of it is about sending someone a file. You can now send a friend a file straight from the chat, and a file offered in a room no longer crawls: rooms used to move files a kilobyte at a time at about 190 KB/s, capped at 100 MB, and they now use the same direct, checked stream as chat, up to 2 GB. Rooms also gained replies, pins, an announcement mode, a typing indicator, more reactions, formatting and a language flag; the chat can pop out into its own window; and an eMule or aMule install can be imported on first run. Around that sat a long run of audits — the eMule, KAD and server paths checked again against eMule’s own source so Ember stays on the right side of their ban rules, the Ember DHT, the rendezvous server, security, and finally a page-by-page pass over the interface so every screen looks and behaves like the others.
Before you upgrade
- The Ember DHT wire version is unchanged at version 4, so 1.7.0 and every 1.6 release see each other on the overlay normally. This is a compatible update; anything older than 1.6.0 is still invisible to all of them
- Friend codes now start with
ember3:, and 1.6.x cannot read one. The new code carries a random secret, so a public key seen in a room roster can no longer be used to look up anyone’s address. If a friend is still on 1.6.x, ask them to update or to send you their code instead — 1.7.0 still reads ember2: codes and bare IDs. Friends you already have carry over; while one of them stays on an older build, Ember keeps the old lookup for them for a limited time and their card says so. Friends > Reset code makes a new secret
- Sending a file in Friend Chat needs both of you on 1.7.0. A friend on 1.6.x will not see the offer
- Room transfers between two 1.7.0 members use the new stream; with a 1.6.x member they fall back to the old block protocol. A 1.6.x member cannot accept a file over 100 MB and drops the offer without answering, and the offer says so when it expires. Received room files now land in a new, unshared Channel Files folder beside Chat Files instead of in Downloads, which is shared by default
- The new room features degrade gracefully on 1.6.x. A reply reaches an older member as an ordinary line, formatting shows as the asterisks and backticks that were typed, the typing indicator and the new reactions are ignored, and the room’s language is relayed without being shown. Announcement mode is enforced by each member’s own app, so a member still on 1.6.x can post in an announcement-only room until they update
What’s New
Sending files to friends
- Send a friend a file from the chat. The file goes directly between the two of you over QUIC and is checked against the hash it was offered with as each piece arrives, so a file swapped or corrupted on the way is refused rather than saved. Received files land in a Chat Files folder, open only from there, and small ones can download automatically up to a size you set in Settings
- A firewalled sender still works. If the sender’s QUIC port cannot be reached, the file falls back to an encrypted stream on their TCP upload port after about three seconds, and two computers on the same home network find each other directly
- Progress moves as the bytes do. The card shows speed and time left and updates as data arrives, instead of jumping once per 256 KB checked chunk and looking stalled in between
- A warning on files that can run code. A program, shortcut or script — or a file disguised as something else, like
report.pdf.exe — carries a note to open it only if you trust the sender, in chat and on room transfers
- Free space is checked before a transfer is accepted, and a friend who is only reachable through a relay is shown as such, since files are not sent through relays
Room transfers
- Room files move over a direct stream, up to 2 GB, encrypted to the member they were offered to and checked as they land. When the stream cannot be made, the transfer falls back to the block protocol and keeps what was already verified
- Transfers live in a drawer under the member list, with speed and time left, an Open Folder button once a file arrives, and no offers from members you have ignored
Rooms
- Replies, pins and more reactions. Reply to a line and it quotes what it answers; the owner can pin up to three messages to the top of the room; reactions grow to twenty; and messages support formatting
- Announcement mode and typing. An owner can make a room announcement-only, and members see who is typing
- A room can be renamed, and names can be up to 32 characters. The room list and header always show the whole name, wrapping rather than cutting it off
- A default language for each room, chosen from a searchable flag picker and shown as a small flag in the room list, the header and Discover before you join. Room search matches language names too
- Room settings open in their own window, with rename, topic, welcome, language, invite policy, announcements, slow mode, key rotation, succession and delete laid out as cards
- The room list sorts, searches and sizes itself to the window, a room stays open while you look at another page, and a half-typed line is still there when you come back
Chat
- Pop the chat out into its own window and back again. The dock slides in and out, remembers the width you give it, and finds a conversation as you type its name
- Unread counts show the number, the same capped count everywhere, including on each friend’s Chat button, and declining a friend request now tells the other person
Library and sharing
- Import from eMule or aMule on first run or any time from Settings > Import (#126)
- Choose what to share without leaving the app, see how many files a folder will offer before you share it, and see subfolders marked as shared — or share a folder without them
- File details were reworked: a type icon, who the file is shared with, priority and friends-only changed in place, copy buttons for the path, hashes and eD2K link, and the upload ratio
- Friend Browse gained the Library’s categories, sorting, multi-select and ownership badges, and shows how many files a friend shares. Ember also tells you when someone views your shared files
- Rename a download while it runs, and see which network each source came from, which client it runs, and when the download folder refuses a write
- On Linux, an approved removable drive stays approved across a replug or reboot, recognised by its filesystem ID
Look and feel
- One design language across every page. Type sizes, dialogs, spinners, banners, empty states, status badges, tables, network tiles, chat bubbles, avatars and page spacing now come from shared definitions, and every page collapses at the same window widths
- Translations were filled in and tidied. Channel errors that seven languages still showed in English are translated, German uses the formal Sie throughout, counts read “1 file” rather than “1 files”, and the system file pickers are titled in your language
What’s Fixed
Staying in good standing on eMule, KAD and servers
- One connection per peer, and re-asks paced across restarts, so restarting Ember no longer looks like a client asking too often. Handshakes match vanilla eMule
- KAD traffic runs through an outbound governor matching eMule 0.72a’s tracker, and “New Connections / 5s” now limits the connections Ember opens rather than the ones it accepts
- Server work moved off the event loop, with shared-file offers and source requests paced the way servers expect, and a re-share is no longer read by a server as a republish
- One peer could end a keyword search that everyone else was still answering, and a pre-Unicode client could not read our folder names
Downloads and uploads
- Large files on slow drives were re-hashed on every launch. A hash now gives up only after five minutes without reading anything, instead of five minutes in total, so a multi-gigabyte archive on a USB drive finishes once and is remembered
- A download could strand just short of 100% on a gap smaller than 16 bytes, and a stall in the middle of a packet now ends the connection instead of reading on out of step
- A waiting download no longer holds a connection slot while it dials, disconnected waiters keep their place in your upload queue while they re-ask over UDP, and a reachable node stays reachable while KAD is disconnected
- Upload columns no longer add up to more than the limit, a live download no longer flashes Stalled, and a download no source has queued yet reads Waiting rather than Queued
- Marking a search result as spam no longer freezes the table, and the tab is re-rated the way eMule does it
Security and privacy
- Friends-only files stay friends-only on the friend who downloads them, instead of becoming public when they re-share
- A stranger can no longer probe whether a file hash belongs to a friend, and an unknown or friends-only file is answered exactly as not found
- Room message IDs are bound to their author, so an edit cannot claim someone else’s message, and hidden direction-changing characters are stripped from names in search results, collections and eD2K links
- The rendezvous server is harder to crowd out: relay sessions and connections are capped per client network and per IPv6 /64, replay protection is kept per key, and sealed intro registrations are verified
- Restoring a backup no longer sets the media player, and a network path is refused as one
The Ember DHT
- An audit of the DHT closed a dozen gaps, including relay and callback caps that could be dodged by rotating node IDs, a lookup a single responder could stall, one node being able to mint a file’s publishers, a Max Size of 0 hiding every Ember result, a publish schedule lost on every launch, and a false “Direct” on the Ember page
- Each incoming frame costs less, with junk and replayed records refused before any signature check, and a waking laptop keeps its contacts until they have had time to answer
Speed and the interface
- The event loop no longer waits on the database or the disk, the Library rescans only what changed, and only changed transfers are sent to the window
- Settings no longer waits for Save to apply the IP filter and private-address switches, which already took effect at once on the Security page
- A page-by-page review fixed keys reaching lists behind open dialogs, errors wiped by background refreshes, a search query lost on return, a Clear filters that could not clear spam hiding, a friend rename that never reached its card, and a selected download that lost its highlight on a striped row
Full Changelog
https://github.com/untaimed18/Ember-P2P/compare/v1.6.7...v1.7.0