古いニュース
14 June 2020, Version 1.2.0 Released
This is an evolution release, hence the minor version bump.
Several cases of bad input (from network) causing assertion failures were fixed. In particular, bad DHT response after a security token lookup or invalid G2 input streams were fatal.
There was also a critical bug, originating from a harmful code typo, which led gtk-gnutella to serve unvailable file chunks from partial files, as if they were available, resulting in unintended download corruption on the remote end!
Thanks to Laurent Gil's efforts, it is now possible to run gtk-gnutella
from a Docker container. See https://github.com/angegar/gtk-gnutella-docker.
Running within docker raised some issues about sbrk()
and
thread_self()
, which were fixed.
The computation of the build date was fixed, to avoid corner cases where gtk-gnutella would complain it was "old" when freshely compiled from up-to-date sources in a git tree whose "master" branch was only infrequently updated.
The file selector was fixed, to avoid displaying grayed-out folders, a setup wich did not allow one to actually select directories in the preferences.
Many improvements were done to allow smoother uploading for servents with more bandwidth than the recipients. Instead of drastically limiting upload bandwidth (which was negatively impacting everyone), we are now monitoring and adjusting our uploading speed to avoid congestion on the remote end. When stalling happens, we also react quickly to reduce the available bandwidth of the connection, not that of all connections to whom we are uploading.
We also no longer rely on MaxMind GeoIP for providing the IP -> country mappings. Their distribution mode now requires a specific licence which seems totally incompatible with the gtk-gnutella's distribution mode. Instead, we are now using IP2Location, and the GEO_LICENCE file now lists the conditions under which these data are re-distributed (gtk-gnutella transforms the data into a form that it can digest, so we are distributing a modified, derived work, not the original).
If you are still using a version of gtk-gnutella earlier than the 1.1.x series, you are strongly encouraged to upgrade. Starting from this release, we are now considering these versions too old to connect to.
Improvements
- Let --compile-info show which
malloc()
is used. - It is now possible to run gtk-gnutella from a Docker container.
- Added details in the README file about required packages to compile.
- Use gradual bandwidth penalty when uploads are stalling.
- Added upload bandwidth capping.
- Forcefully reduce request chunk if b/w is limited.
- Emit a Retry-After header on 416 replies.
- On HTTP 416, emit a Last-Modified header.
- Switched to IP2Location for mapping IPs to countries, dropping MaxMind GeoIP.
- Upload tab now shows our own partial completion ratio, not just "(partial)".
- Detect abuse from HTTP clients not reading payloads.
- Enforce Retry-After softly.
- Ban them when they abuse of the browse-host feature.
- Smarter detection of duplicate incoming Gnutella connections.
Bug Fixes
- [GTK2] Fixed file selector to avoid greyed-out folders.
- [GTK2] Guarantee updating of properties when refresh button is clicked.
- Added emergency path during startup should
sbrk()
fail. - Fixed instructions following build.sh run.
- Fixed possible
thread_self()
instability at startup. - Fixed backward portability issue with the BFD library.
- Fixed computation of build date.
- Fix 2 harmful typos, affecting serving of partial files.
- Regenrate Configure to fix gccversion usage bug.
- Restored compilation of a standalone local shell.
- Remove executable permissions on C source file!
- Rename our ARC4 interface on systems with native
arc4random()
. - Updated all files to fix obsolete FSF postal address.
- Avoid banning hosts issuing legitimate upload requests.
- Implement GNU extension
malloc_usable_size()
when using ourmalloc()
. - UHC: when hardwired list is exhausted, reload it.
- Make Content-Range and Content-Length prioritary headers.
ban_allow()
: was never returning BAN_FORCE.download_reply()
: reload available ranges after 416 if needed.download_stop_switch()
: forgot to remove passive queue indication.gtk_gnutella_exit()
: must close UPnP layer before HTTP.http_send_status()
: reworked to avoid undue header truncation.node_g2_read()
: fixed faulty assertion.pb_token_found()
: be more robust against unexpected input.search_gui_close_search()
: avoid crash when emptying search list twice.update_available_ranges()
: revisited range processing logic.upload_416_extra()
: was generating non-compliant headers.vmm_dump_pmap_log()
: fixed deadlock.download_moved_with_bad_sha1()
: always reset fileinfo.file_info_reset()
: also discard previous TTH info.
Under the Hood
- Added temporary "xk" country code for Kosovo.
- Added
vmm_type_pointer()
to determine region type. - Add lingering period for unreferenced file_descriptor objects.
- Add shell command "show files -d" to list currently used file_descriptor.
- Raise minimum b/w scheduling slot to 256 bytes per second.
- Fixed
HashGenericCat()
in Jmakefile, leading to wrong .c dependency. - Fast assertions are a must for GTKG nowadays, always compile with them.
- Do not post multiple randomness generation messages.
- Split bit_generic routines into .ht and .ct.
- Reserve
file_object_close()
for user code. - Made it possible to compile with TRACK_MALLOC again.
- Improved "thread elements" shell command to trace callback function names.
- Avoid VMM magazine allocation when running with TRACK_MALLOC.
- Enhanced TRACK_MALLOC to be able to trap
xalloc()
as well. - Enhanced TRACK_MALLOC debugging power with MALLOC_CATCH_MALLOC.
- Extended
bool_to_string()
to display value if not 0 or 1. - TEQ: optimize I/O events by posting them directly to I/O queue.
- VMM pmap logging shows allocated size per fragment type.
- Removed gone / probably gone logic for discovered threads.
- Ensure
thread_atexit()
callbacks run in discovered threads. - Ensure
walloc0()
redirects to underlying zeroing routines, for statistics. - Simplified shell I/O condition management and logging.
- Separate Gnutella and HTTP (upload) banning categories.
- STATIC_ASSERT: use a more compact version for less verbose errors.
- Made thread exit value read-only in
thread_atexit()
callbacks. - Emit thread mask in crash logs upon detected deadlock.
- ADNS: the cache is now thread-safe and cached replies shuffled.
- ADNS: added expiring periodic callback for cached DNS entries.
- Added new "adns_debug" property for ADNS debugging.
- Avoid
g_memmove()
which has been deprecated. - Added
ripening_contains()
andripening_update()
routines, not used yet. - Optimize ripening table when no value is kept.
- Use aging table to track download mesh sending times.
- Use 429 instead of 550 for "Too Many Requests".
- Remind less often about banning status.
- Let emulated
alloca()
cleanup when thread exits. - Ensure
alloca_stack_direction_compute()
is never inlined. - Smarter detection of duplicate incoming Gnet connections.
- xmalloc: must "embed"
xstrdup()
andxstrndup()
. - xmalloc: simplified allocation entry points.
- xmalloc: ensure stricter memory alignment when
xmalloc()
replacesmalloc()
. ban_delay()
: fixed to return remaining ban time.ban_force()
: read incoming data beforeshutdown()
.ban_vendor()
: GTKG earlier than version 1.1 deemed too old.bitcmp()
: usememcmp()
for byte comparison.bool_to_string()
: added carp trace to help spot the culprit.cq_cancel()
: fix logic to return TRUE if event was NULL.crash_deadlocked()
: no longer dump stacks.crash_handler()
: enter thread crash mode before signal cleanup.crash_time_internal()
: usethread_safe_small_id()
in raw mode.download_queue_delay_switch()
: explicitly turn off queuing if switching.download_queue_v()
: explicitely reset passive queuing info.download_reply()
: Content-Length not necessary if Content-Range.download_send_push_request()
: trace server GUID.erbtree_foreach()
: added cheap safety assertion.evq_trampoline()
: cleanup event if cannot signal thread.extract_retry_after()
: ensure amount in seconds is the only value.fi_pick_rarest_chunk()
: be smarter about selected chunk.fi_pick_rarest_chunk()
: ensure first free chunk is available.hcache_fill_caught_array()
: fix array fill logic.http_send_status()
: ensure generated header has trailing CRLF.local_shell_mainloop()
: must flag "writable" on POLLHUP.mingw_exception_log()
: use static variables and be more careful.natpmp_handle_discovery_reply()
: trace inconsistent replies.natpmp_handle_mapping_reply()
: trace inconsistent replies.parq_upload_send_queue()
: tie PARQ upload queue and upload.pcache_pong_received()
: also validate changing ports.- rand31: avoid race condition during intial seeding.
random_pool_append()
: ensure no endless recursion, ever!send_pproxy_error_v()
: remove dead code.shell_handle_event()
: alwayswrite()
when having pending data.shell_handle_event()
: on exception, setup EOF/shutdown.shell_write_data()
: make sure to flush as much as possible.sig_compute_pc_index()
: be paranoid about optimization.signal_name()
: contort to avoid gcc-10 warning.signal_trap_with()
: avoid kernel signal desynchronisation.signal_uncaught()
: dump stack trace if harmful signal.sorted_array_lookup()
: sort array if they forgot to do it!spinlock_deadlocked()
: capture lock status early.stacktrace_atom_lookup_and_store()
: trace race conditions.stacktrace_load_symbols()
: do nothing if too early.thread_create_full()
: keep async exit callback separated.thread_deadlock_check()
: disable locks when deadlock is certain.thread_deadlock_check()
: only dump stacks of involved threads.thread_stack_check_overflow()
: also log used stack size.upload_remove_v()
: create better logging message.vmm_malloc_inited()
: now only called internally.xmalloc_show_settings_log()
: trace chosen memory alignment.zgc_zalloc()
: transformed some assertions into verbose ones.
14 July 2019, Version 1.1.15 Released
This release is a maintenance one fixing several minor bugs and two annoying
ones
- The semi-reliable UDP layer could crash due to an assertion that started to trigger with the introduction of an explicit flush before the message times out for transmission.
- Due to an overseen condition, we were not able to serve seeded files when Partial File Sharing is enabled. A seeded file is a completed file that still lies in the downloaded directory but is not part of the library directories.
The OOB banning code for hosts that never claim their OOB hits was also revisited to prevent problems with hosts that query a popular file and then get submerged by hits and thus refrain to claim the additional hits. We are now much more tolerant to avoid accidentally banning innocent hosts.
On Windows, the disassembling of machine instructions was enhanced to further improve the ability to correctly issue symbolic stack traces when encountering assertion failures or during crashes.
Finally, the Geo IP databases were refreshed.
Improvements
- OOB: increased timeout for OOB hit delivery.
- OOB: switch to unreliable notification if semi-reliable UDP fails.
- OOB: raise the bar for banning after unclaimed OOB hits.
- Dynamic Hits: let us forward hits that bear a small amount of results.
- Count amount of banning we have to do for OOB querying hosts.
Bug Fixes
- Rename statx struct to statistics to avoid name collision.
browse_host_read_html()
: fixed English typo.dl_util_query()
: forgot to restore old signal handler.file_info_restrict_range()
: was not serving seeded files!main()
: do not let the supervisor process restart on crash!
Under the Hood
- Added
thread_stack_diff()
to compare stack pointers. - Added
PLURAL()
macros. - Added
clz64()
to count leading zeroes on a 64-bit quantity. - Added
OP_CTZ()
andOP_CLZ()
to work on op_t quantities. - Added
pattern_memrchr()
andpattern_strrchr()
implementations. - Jumbo patch to use
vstrrchr()
instead ofstrrchr()
. BIT_GENERIC_BIT()
does not need the base argument.- Factorized prefix-matching from sorted array.
- pattern.c: fix compiling with old gcc (version 4.4)
- pattern.c: forgot to include "endian.h".
- str: avoid "char" as parameter or return type, use "int".
- Windows: if not a "registered product", leave logs in current dir.
- Windows: enhanced stack unwinding.
- Windows: added option to debug backtraces "on crash" only.
- Windows: when backtracing, also parse another MOV instruction.
- Windows backtrace: also parse "add xx,%esp".
compat_poll()
: can now usepoll()
on Windows.evq_close()
: warn when EVQ is not terminated after 2 seconds.file_info_moved()
: no warning on file size if file still partial.main()
: set a different product nickname for supervisor.mingw_analyze_prologue()
: handle cases where no SP adjustment done.mingw_exception()
: also log symbolic thread name if available.mingw_exception()
: disable signals on stack overflow.mingw_exception()
: interpret exception information differently.mingw_exception_log()
: if PC looks invalid, try to intuit caller.mingw_file_rotate()
: preserve extension during renaming.mingw_ftruncate()
: it is OK if current offset is beyond truncation.mingw_get_return_address()
: enhanced scanning for prologue.mingw_get_return_address()
: validate next PC by checking CALL before.mingw_get_return_address()
: validate stack pointer before access.mingw_thread_sig_deliver()
: special-case signals for current thread.pattern_compile()
: must useWALLOC0()
for allocating!pattern_strstr_tiny()
: fixed starting condition for aligned processing.rwlock_upgrade_from()
: don't wait for readers in pass-through mode.rwlock_wait()
: dump lock waiting queue when tracing sleeps.rwlock_wait()
: trace summary when logging contention / sleeping.str_private()
: declare non-leaking parts for TRACK_ZALLOC.teq_monitor()
: trace pending events as well.- thread-test: for interrupt tests, timeout if no interrupt received.
thread_backtrace_capture()
: avoid recursion and disable signals.thread_id_stack_used()
: fixed for decreasing stacks.ut_frag_pmsg_free()
: be more robust, avoid internal assertion.vmm_crashing_alloc()
: better abort explicitly if no memory.wmove()
: make sure it's a no-op with TRACK_ZALLOC.
4 October 2018, Version 1.1.14 Released
This release mostly improves the core routines and fixes a few important bugs.
Due to a bug in the usage of the RX buffers, we were not correctly parsing data returned in "chunked" transfer-encoding by HTTP/1.1 servers. This affected the UPnP logic.
The UPnP port unmapping done when the program shuts down was also not being able to complete successfully because we were preventing the HTTP connection from going on during the shutdown. Not critical because there is a lifetime attached to all mappings, but always best to properly clean-up when leaving.
The algorithm used to pick random chunks to download was also revisited to ensure a uniform selection within the whole file ranges that remain to be fetched.
At startup time, the DHT code no longer expires keys when reloading data. This could create crashes during the operation, with no other remedy than to erase all the DHT database files manually to be able to recover!
The background task layer was also causing crashes (at exit time though) because it was not recording whether it was running "user" code as opposed to "kernel" code.
The SDBM code was also improved to allow concurrency and, in particular, a "loose" iteration scheme which does not need to grab the database lock during the whole iteration process. It is also possible to perform a concurrent database rebuilding.
The thread runtime now has an improved deadlock detection engine, based on a topological sort, that can definitely tell whether we are deadlocked. When the deadlock is detected, we can also have more information about the threads participating in that deadlock condition, to assist debugging.
On Windows, a bug in our mingw_dlerror()
emulation caused it
to always fail once an error had been recorded, leading to un-decorated
subsequent stack traces, which really do not help on that platform!
There was also a concurrency bug in the processing of network queries. Every time the library was rescanned, it could trigger a crash due to a memory zone being declared private and was in fact shared between threads. The crash occurred only when a query was received on the Gnutella network whilst the library was rescanned.
The semi-reliable UDP layer TX side was revisited to maximize chances that reliable messages get through completely.
The pattern matching code was revisited thoroughly. A new algorithm (2-Way
String Matching) now complements the Quick Search algorithm and an initial
benchmarking is done to compare our own matching routines with native libc
versions of strstr()
, strlen()
,
strchr()
and memchr()
. The fastest routine is then
selected, to ensure optimal performances. There is also a unit-test program
ensuring proper semantics for the pattern search flags.
New Features
- Added UDP scheduler message statistics by priority.
Improvements
- [GTK2] Catch column resize events to persist widths quickly.
- Added "shutdown -x" to stop the program and continue session next time.
- Added --resume-session option to request explicit continuation.
- Improved pattern matching with new algorithm and runtime benchmarking.
- Persist current_peermode to restart in same mode after crash.
- Record compilation date and time for the crashlog.
- When running with no GUI, relax mem requirements to become ultra.
- Use minimum download chunk size to align requested download offsets.
- Added statistics for OOB hit notifications we process.
- Extensive improvements of the SDBM code to allow concurrency.
- Semi-reliable UDP TX layer now sends messages more aggressively.
- Reduce memory footprint of compiled patterns for short patterns.
Bug Fixes
- No longer supply -lgthread-2.0 and -lresolv at link time.
- DHT: do not expire keys when reloading data at startup.
- Restored alphabetical listing of command options in the man page.
- The --use-poll argument was not mentioned in the manual page.
- UPnP: fixed XML logging.
- UPnP: was not correctly unmapping ports on servent shutdown.
crash_time_internal()
: protect against recursions in raw mode.file_info_retrieve()
: must restore proper mtime for seeded files!filter_apply()
: fixed suffix matching to allow whole match.http_data_ind()
: could not process chunked data!iov_contiguous_size()
: fixed destructive implementation.pslist_last_count()
: fixed off-by-one error.recursive_scan_step_build_partial_table()
: removed assertion.statx_opx()
: usefabs()
on double.word_vec_init()
: zone cannot be private.zgc_subzone_defragment()
: fixed improper assertion.
Under the Hood
- Added hidden --no-build-version option.
- Added cstr_{b,f,l}
cpy()
routines to supplantg_strlcpy()
- Added
strpcpy()
which returns pointer to last copied trailing NUL. - Added
vmm_move()
to move allocated VM regions to better places. - Added G_FALL_THROUGH and fixed fall-through in switch cases.
- Added assertions in embedded lists for insertions / removals.
- Added new
_mark_removed()
and_link_mark_removed()
for lists. - Added
is_ascii_ident()
to check "\w" (word) in ASCII. - Added
ULONG_SWAP()
. - Added
op_roundup()
andop_ptr_roundup()
to round to upper aligned boundary. - Added stats datapoint iterators and ability to remove outliers.
- Added G_FAST and G_NO_OPTIMIZE compilation directives.
- Added support for case-insensitive pattern matching.
- Added
zone_info()
to request zone allocation stats. - Added p[s]
list_shift_data()
to remove head when NULL is valid data. - Attempt relocation of hash tables arenas once in a while.
- Always capture and display the routine name in assertions.
- Disable parallel make execution in src/if.
- Fixed indentation for "if" and "else" leading to gcc 7.x warnings.
- Fixed logging fast assertion macros to allow just one string.
- Declare property choices[] array static and const!
- Optimize
h_strnjoinv()
with newstrpcpy()
. - Optimize memory for the gnet property init_list[].
- Optimized
ctz64()
to make it more obvious. - Protect events and subscribers with magic tags.
- Removed http_buffer_t, completely obsoleted by pmsg_t.
- Show zalloc settings at startup and in "memory show options".
- Simplify code for read-lock upgrading and releasing.
- Strings now hold persistent "truncated" flags, for formatting.
- The watcher layer now auto-initializes.
- Use the Mersenne Twister as an additional random source.
- Use
s_carp()
instead ofs_warning()
for reporting "deep" important warnings. - Use new
vstrstr()
,vstrlen()
,vmemchr()
andvstrchr()
for optimized runtime. - Windows: added
ftruncate()
emulation. - Windows: fixed
stat()
andfstat()
, with proper st_dev and st_ino fields. - enamed
hash_table_size()
ashash_table_count()
for consistency. - When log messages are truncated, signal it visually with trailing "+++".
- VMM: use smarter core allocation under long-term strategy.
anti_window_shift_hack()
: hide normal output if not debugging.compat_longjmp()
: record usage location and trace duplicate use.crash_invoke_inspector()
: do not hardwire parent stdout / stderr.crash_restart()
: always log the given message.crash_setcctime()
: avoid using "time" as parameter name.crash_vmea_usage()
: trace calling routine.entropy_seed()
: also initialize random "previous entropy".fi_pick_chunk()
: fixed selection of first chunk.fi_pick_chunk()
: revisited random chunk selection algorithm.file_object_find()
: loudly warn on file mismatch.get_iconv_charset_alias()
: do not copy trailing ' ' in charset name.halloc_dump_stats_log()
: was not logging realloc_via_xprealloc.hrealloc()
: usevmm_move()
and attempt to optimize VM space.log_handler()
: emit stacktrace for glib, GTK or Pango warnings.mingw_dladdr()
: use win32 DLP layer to check for new libraries.mingw_dlerror()
: fixed to follow POSIX semantics.mingw_fix_stat()
: trap ERROR_NOT_READY errors correctly.node_timer()
: periodically try to move QRT arenas in VM space.- parse.h: remove
NON_NULL_PARAM()
on function with assertions. rwlock_upgrade_from()
: must only count read-locks from current thread.s_logv()
: default log message max length raised to 3500 bytes.search_oob_pending_results()
: randomly discard hits if too many.search_request_preprocess()
: warn if TCP query contains a "QK".sequence_backward_iterator()
: fixed case of one-way lists.stacktrace_pretty_filepath()
: move to latest /src/.str_chr()
: optimized to usevstrchr()
if we can NUL-terminate.str_destroy()
: ensure we do not call on a thread-private string.str_s2c()
,str_2c()
,str_dup()
: handle already NUL-terminated strings.str_s2c()
: ensure we do not call on a thread-private string.thread_suspend_others()
: skip threads not marked as "valid".- timestamp: be paranoid and protect against invalid time_t inputs.
vmea_capacity()
: changed semantics to report initial capacity.vmm_mmap_anonymous()
: identify foreign regions more quickly.word_vec_make()
: simplified code a bit.wrealloc()
: if size does not change, attempt awmove()
.xallocate()
: be more aggressive when forcing VMM allocation.- xmalloc: allocate via standalone VMM regions if possible.
- xmalloc: revisited plain VMM block allocation and freeing.
- xmalloc: use checksums to validate chunk headers.
xreallocate()
: ensure VMM space improves when reallocating.zcreate()
: flag created zones as "user" ones.zgc()
: only run for long-lived processes.
22 October 2017, Version 1.1.13 Released
This release primarily addresses issues that were left-over in 1.1.12. Do not use that previous release, migrate from 1.1.11 to 1.1.13 directly!
The main issue was that of Partial File Sharing. Numerous bugs, dating from 7 years or more, were lurking because my local configuration had switched PFS off for testing, and it had never been turned back on! In particular, completed files were not properly shared, it was not possible to upload their THEX since it was not recomputed, and the files were not properly indexed in the Query Routing Table due to bugs in the background task layer.
In case of a crash, we now dump the value of all the Gnutella properties to be able to spot configurations that deviate from the norm. Too many bugs were reported and ignored because they could not be reproduced, often due to not having the same setup when attempting to debug!
Another nasty bug was fixed: it was not possible to change the IP support configuration without causing an immediate crash. The reason is due to a change that was integrated in 1.1.12 to allow IPv6 UDP traffic from G2 nodes. The problem was that this created an extra client stack on top of the low-level UDP traffic scheduler and it was not properly cleaned-up when switching IP configurations, leading to an assertion failure!
New Features
Improvements
- Append all Gnutella properties to the crashlog file.
- At startup, do not needlessly request TTH if we have it cached already.
- Optimized requests for library scan / QRP rebuild, avoiding multiple events.
- Allow TTH computation for seeded files.
- Obsolete and stale entries are now removed from the SHA1 cache.
- [GTK] Added GUI events on more fileinfo changes.
- [GTK] Show information about recomputed TTH for seeded files.
- Prune unshared entries from SHA1 cache at startup.
- Persist information about seeded files in the ASCII fileinfo database.
- Remove unneeded libraries from the default GTK2 ldflags.
Bug Fixes
- Was not able to properly seed completed files; fixed
shared_file_path()
. - Was not always updating QRP on the UP side after a library change.
- Could have background tasks stuck after cancelling a multi-ref'ed one.
- Dynamic querying timeout was not properly computed (made too small).
- Changing from "IPv6 & IPv4" to "IPv4 only" mode caused a crash.
- Restored ability for "shutdown -r" to work.
Under the Hood
- Added
prop_to_typed_string()
. - Added
s_where()
to log a stacktrace on stderr only. - Added
tt_slice_size()
to compute slice length per leaf in the TTH. - New
crash_dumper_add()
to register crash dumper callbacks. - No panicing when thread cannot block but was actually suspended.
- Was unduly offsetting stacktrace by one extra level.
bg_sched_sleep()
: don't reduce runcount on exiting task!bg_sched_timer()
: added run count consistency check.bg_sched_timer()
: fixed logging of task's run time.bg_task_cancel()
: log task address as well, not just the task name.bg_task_wakeup()
: must clear user sleeping flag.crash_restart_notify()
: use smartercrash_exit()
.crash_try_reexec()
: suspend other threads as a precaution.deflate_flushed()
: suppressed soft assertion.dq_results_expired()
: fixed improper timeout computation.fi_free()
: cut any pending reference by uploads!fi_tigertree_check()
: more verbose in case of errors.file_info_moved()
: must update fi->modified as well.file_info_remove_source()
: removed unused discard parameter.file_info_retrieve()
: also validate that DONE is consistent.file_info_shared_sha1()
: do not share bad files.get_file_to_upload_from_urn()
: factorized code.huge_update_hashes()
: enforce one sync of SHA1 cache every minute.huge_verify_callback()
: useshared_file_indexed()
.node_udp_disable()
: was not disabling the G2 UDP IPv6 node.parse_and_append_cache_entry()
: discard obsolete / stale entries.qrt_compressed()
: fixed outdated comments.qrt_diff_1()
: was never considering change.request_sha1()
: don't request TTH if we have it cached.shared_file_fileinfo_unref()
: clear fileinfo pointer.shared_file_from_fileinfo()
: copy TTH atom as well, if any.shared_file_is_shareable()
: be stricter for partial files.shared_file_path()
: must process sf->fi correctly!upload_file_present()
: loudly warn when completed file changed on disk.upload_file_present()
: loudly warn when file not shareable.verify_update()
: loudly warn when "progress" callback stops processing.
20 September 2017, Version 1.1.12 Released
This release fixes a very critical bug that was only manifesting when Partial File Sharing was turned on, and which caused possible memory corruption (leading to a sure crash later) when enqueuing new files for downloading.
New Features
- Throttle browsing requests to one per hour from a given IP.
- Limit uploads to stalling hosts to 1, regardless of user settings.
- [GTK2] Show proper average data speed on completed uploads.
Improvements
- Added "WSHR" vendor code for WireShare.
- Added "ENVY" vendor code for Envy.
- Do not attempt costly operations after a crash / auto-restart.
- Updated FAQ -Uploads and Sharing-
- Use 64-bit variables for bandwidth computations.
- Make sure early stalling is not always reported for the same IP.
- Use even HTTP outgoing bandwidth as the last measure when stalling.
Bug Fixes
- Allow IPv6 UDP traffic from G2 nodes.
- Be sure to use destructive list iteration with
tmalloc_free_magazine()
. - Critical upload HTTP statuses are now fully sent.
- Must give plain (untranslated) strings to
send_upload_error()
. bg_task_finished()
: now calls saferbg_task_dead()
.file_object_open_from()
: also catch EROFS when opening file.node_bye_v()
: do not callnode_remove_v()
for G2 nodes.vendor_code_get_name()
: fixed validation of unknown code tokens.verify_next_file()
: fixed wrong argument order in log message.
Under the Hood
- bfd_util: reworked mutex grabbing in an attempt to avoid deadlocks.
binary_hash()
: disperse bits in initial hash value.check_for_events()
: optimize path if timeout is 0 or we collect events.cq_event_called()
: only zero variable holding event when asked!cq_zero()
: now always nullify the event, as the name suggests.crash_setmain()
: avoid spurious warnings with recent gcc.english_strerror()
andsymbolic_errno()
made thread-safe.inputevt_timer()
: factorized common code into newinputevt_handle()
.socket_udp_flush_queue()
: do not process anything if we cannot devote time.stack_sym_trylock()
: avoid deadly recursions through stack lock dumping!thread_sig_handle()
: use atomic exchange operation to clear pending set.u32_ptr_hash()
: discard lower bits of the multiplication as well.upload_timer()
: clear the stall flag when it is over.- Added
aging_record()
to simplify code for plain keys. - Added
cq_event()
to acknowledge reception of events we do not track. - Added "inputevt_trace" property for tracing dispatched I/O callbacks.
- Added
english_strerror()
to guarantee English messages. - Added
thread_signal_has_pending()
andthread_signal_process()
. - Added "lock_sleep_trace" and "lock_contention_trace" properties.
- AJE: changed pool #0 filling policy and reseeding checks.
- Ensure
misc_init()
is called before using lookup tables. - Simplify is_ascii_*() by performing table lookup.
- Thread runtime now allows a signal handler to run within another one.
- Updated UHC list, fixed obsolete port numbers.
- Use new
cq_event()
in thread callout events to avoid possible leaks. - Watchdog: revisited logic to do more under lock protection.
11 November 2016, Version 1.1.11 Released
This release fixes a portability issue on FreeBSD and introduces a main core feature and minor new GUI features.
The main feature is the addition of "equivalence classes" defining word aliases, used when sharing files and querying for them.
Currently, the only supported equivalence class deals with naming of series. Indeed, there are various conventions that can be used to represent these, and it makes searching inefficient: either one will lookup for all the possible variations, or one will miss some of the files.
For instance, episode #8 of an hypothetical season #4 can be represented by any of these strings:
{ "s04e08", "4x08", "408", "04x08", "0408" }
Thanks to the equivalence class, a file bearing one of these strings can be searched for (and located successfully) by using any of the other strings. Of course, since this is a local processing, the more servents out there are deployed with this aliasing support, the more efficient the feature becomes!
There are also new GUI features: the "Clear completed" button from the Download pane is now doing someething useful, and the current page of different notebooks is remembered across sessions. The only one which is not restored on normal resuming is the main notebook tab. It will be restored if GTKG is restarted after a crash, but otherwise the application will always start up within the Network tab.
In the Uploads tab, upload requests coming from a G2 servent will now be flagged with a "[G2]" tab right after the IP address. This helps seeing how the Gnutella and G2 network unification is evolving.
New Features
- Flag uploads coming from G2 servents with a "[G2]" tag after IP address.
- Added alias support in sharing/querying.
- Made the "Clear completed" button in Downloads/Tools do something useful.
- Moved "Clear completed" button to the bottom right of the download pane.
- Remember fileinfo notebook tab number across sessions.
- Remember main notebook tab number across sessions, only restored after crash.
- Remember Gnet stats notebook tab number across sessions.
- Remember download info / tools notebook tab number across sessions.
Improvements
- Added --cleanup to explicitly request for final memory cleanup sequence.
- Updated Italian translation.
- Updated GeoIP databases.
Bug Fixes
- Leaf nodes could end-up being connected to more ultrapeers than configured.
- Fixed monitoring of alien threads, important when GTK file selector is used.
Under the Hood
- Debian compatibility level changed from 4 to 5.
- Make sure we can deal with older pkg-config, which needs leading arguments.
- Use "embedded" symbols for
xmalloc()
,xfree()
and friends. - Added "query_trace" property to trace all queries which were searched.
- Moved halloc-based string functions like
h_strdup()
to dedicated hstrfn.c. - Expanded search mask to 64 bits to be able to hold all digits and letters.
- Count aliased queries and hits from aliases.
- Pre-compute shared file media type at record creation time.
- Pass query limits to
st_search()
to avoid needless pattern matching. - Added
h_strsplit()
andh_strsplit_set()
. - Added
strvec_append_with()
to expand vector by appending another vector. crash_assert_logv()
: don't callcrash_mode()
if assert failure was recorded.entropy_clock_time()
: mix the entropy nonce through hashing for more diffusion.node_can_accept_connection()
: only send headers back when handshaking.qrp_add_file()
: optimized to avoid computing word length if not required.thread_stack_check_overflow()
: ignore virtual addresses outside stack range.vmm_init_once()
: ensure any shared library for stacktrace unwinding is loaded.
1 September 2016, Version 1.1.10 Released
This is mostly a bug-fixing release and should be the last update on the 1.1.x release tree, before important core changes in the upcoming 1.2.
Improvements
- FAQ cleanups.
- Added the ".ape" file extension to the default list of shared files.
- Remember hosts to which a TCP connection failed recently to avoid hammering.
- Updated French and Turkish translations.
- Updated GeoIP databases.
Bug Fixes
- Don't embed build date if SOURCE_DATE_EPOCH is set for reproducibile builds.
- Missed ":" in variable substitution request, in scripts/nm-list
- nm-list: fixed date computation on BSD systems.
Under the Hood
- Need TLS 2.12 to generate an X.509 self-signed certificate.
- Added
G_PRINTF()
hint totls_logfmt()
andtls_cert_log()
to avoid warnings. - Fixed CPP file inclusion protection symbol for lib/mime_type.h.
- Added the "ape" MIME type linked to the ".ape" file extension.
- Ensure we do not suspend threads during an interrupt.
- Track where context was taken in our setjmp wrappers to ease debugging.
- Keep track of "once" initializations in case we end-up recursing.
- Trace which new lock is overflowing the lock stack.
- once: make sure we can insert routine in our tracking table.
- once: arbitrarily limit nesting level in one thread to 32.
dht_update_size_estimate()
: return if our KUID was not initialized yet.keys_reclaim()
: we can have values attached to key if we can remove it.symbols_load_from()
: must release write lock when falling back to pre-computed.thread_element_block_until()
: was not checking for concurrent unblocking.thread_element_block_until()
: revisited signal handling.thread_suspend_others()
: don't wait for busy threads already marked suspended.- walloc: prevent race condition on walloc_stopped being set.
6 March 2016, Version 1.1.9 Released
This is mostly a bug-fixing release.
It fixes an important bug in the UPnP discovery path that led to a crash when it found more than one UPnP device on the network.
It also introduces a new Glossary that can be displayed to explain some terms that may be hard to understand for newcomers, so that they may in turn benefit from the tooltips and the information in the FAQ.
On Windows, one important change is that we now force all memory
allocations from the external DLLs to use our own malloc()
implementation. This proves that one of the DLLs is exhibiting a memory leak.
Plugging that leak will unfortunately require that a garbage collector be
implemented. Measurements indicate that 4K leak every second on average,
which eventually leads to an out-of-memory crash after a few days (2 to 3),
preventing high uptimes on Windows. The leak is not originating from
gtk-gnutella's code.
Improvements
- [GTK2] Added menu to display the new glossary window.
Bug Fixes
- Define PTHREAD_STACK_MIN to 0 in case it is not supplied by <pthread.h>.
can_become_ultra()
: don't account for upload fds if no upload will take place.compat_sleep_ms()
: fixed the fallback implementation usingcompat_poll()
.dht_route_parse()
: ensure we never use uninitialized variables.entropy_collect_host()
: no longer attempt to get the host IP addresses.file_locate_from_path()
: if pathname is qualified, duplicate argument!ftw_foreach()
: prevent memory leak on error path.thread_lock_deadlock()
: avoid de-referencing NULL if possible.upnp_discovered()
: avoid segfault when we have to pick the first device.
Under the Hood
- Disable warnings about the mem vtable being deprecated in recent glib.
- Suspend threads created after a global suspension is in effect.
- Warn when we cannot find a thread to record / release a lock.
- Added a new crash-level for deadlocks.
- Added optional debugging code to track reading threads on a read-write lock.
- Added
spinlock_in_crash_mode_raw()
for raw spinlocks to avoid deadly recursion. - Additional debugging code to track read spots per thread on a read-write lock.
- Added backtrace capture when threads are contending for a lock.
- On deadlocks, suspend the other threads and log origin quickly before handling.
- New strategy in lock "deadlock" routines: ignore when in pass-through mode.
- Do not perturb the lock waiting state of the crashing thread on a deadlock.
- Revisited
thread_lock_deadlock()
. - Check for stack overflowing each time a lock is grabbed and recorded.
- Added thread diversion support.
- Added
thread_halt()
to forcefully halt concurrently crashing threads. - Refactored memory checks to avoid systematic locking in
mem_is_valid_ptr()
. - Try to divert crash processing to main thread when triggered in a sub-thread.
- On deadlock condition, attempt to collect stacktraces of other threads.
- Add the current process PID and the last crash level to the crash log.
- Use raw logging routines in spinlock / mutex deadlock tracing.
- Added
crash_getpid()
for safe original PID computation, even across afork()
. - Add dump of all the thread stacks to the crash log if we can't
fork()
. - Moved
equiv()
andimplies()
definitions to "casts.h". - Added
xxx_to_string_grp()
to optionally format xxx with thousand groupping. - Adding win32 dynamic library patcher to trap
malloc()
in all required DLLs. - Windows: with win32dlp, no need for monitoring committed memory.
- Renaming of legacy G_GNUC_XXX into G_XXX for concision.
- Renamed G_N_ELEMENTS as N_ITEMS.
- Moved gcc-specific macros to a dedicated file.
- Added pragmas to shut up spurious warnings with the clang 3.4.1 compiler.
- On the lock recording path, we can now use
thread_get_element()
safely. - Made sure symbols are thread-safe and properly locked.
- If stacktrace dumps could intertwine, prefix the second with the thread ID.
- Allow for nested lock waiting sequences.
- Added SIGSYS to the list of harmful signals we want to catch.
- Added THREAD_F_WAIT to let
thread_create()
wait for the new thread to start. - Windows: was not reconstructing correct stack frame pointer for WINAPI calls.
- Windows: improved backtracing through routines using a large amount of stack.
- Made
signal_enter_critical()
andsignal_leave_critical()
thread-safe. - Made
signal_in_handler()
thread-safe. - No longer block signals when waiting for a read-write lock.
- Prevent signals during logging, to avoid recursion if logging from handler.
- rwlock: when waiting for too long, deadlock only when no activity is seen.
- Added
hash_table_is_locked()
. - Added
compat_gettid()
and use it to record the system thread ID. - Added support for
thread_interrupt()
andthread_os_kill()
. - Windows: make sure
s_read()
can return EINTR and handle it properly. - Windows: added support for
sigprocmask()
,sigsuspend()
and friends. - xmalloc: count and loudly trace allocation attempts made from signal handler.
- omalloc: loudly warn when invoked from signal handler.
- VMM: warn when memory allocation / freeing attempted from signal handler.
- VMM: use groupped formatting for region sizes or large numbers.
- Make sure we do not dispatch thread signals when running in an interrupt.
- Added
s_minicarp_once()
and a circular buffer to avoid memory allocation. - Monitor when we issue blocking syscalls to flag signal handlers as safe/unsafe.
- Added plumbing to allow
longjmp()
orsiglongjmp()
in a signal handler. booleanize()
: use version not causing any jump, for speed.clamp_strlen()
: use same optimization asutf8_strlen()
to compute length.mingw_analyze_prologue()
: fixed MOVL immediate offset parsing.mingw_exception_log()
: simplify processing on stack overflows.mingw_getdtablesize()
: don't call_getmaxstdio()
, hardwire 2048 instead.mingw_signal()
: only callsignal()
for SIGSEGV.mingw_sigraise()
: only log sent signal when asked to.mingw_waitpid()
: fixed compilation warning given that WAIT_OBJECT_0 is 0.mingw_win2posix()
: added mapping for ERROR_INVALID_USER_BUFFER.mingw_win2posix()
: added mapping of ERROR_NO_SYSTEM_RESOURCES to ENOMEM.mingw_write()
: for Windows 7 and maybe later, do not callwrite()
.mutex_is_owned()
: optimized by avoidingthread_self()
call if mutex not locked.prop_save_to_file()
: use file's timestamp, not the current time.rwlock_not_owned()
: ignore errors when the rwlock layer is in pass-through.s_logv()
: made recursion detection thread-safe.s_logv()
: use raw time computation when running in signal handler.s_minierror()
: enhanced to enter crash mode immediately and show thread ID.s_rawlogv()
: force "raw" mode when running in a signal handler.s_stacktrace()
: downgrade from decorated to plain stack before skipping traces.signal_name()
: added more items to signals[], so cache linear lookup result.spinlock_grab_try_from()
: no crashing mode, don't say we locked if we couldn't.stacktrace_get_symbols()
: make sure we're running this only once.stacktrace_unwind()
: detect recursion in a thread-safe way.stacktrace_unwind()
: use gcc-style unwinding if recursing or within malloc.str_vncatf()
: added verbose assertion to ensure string is not overflowing.symbols_name_only()
: simplified code.symbols_name_only()
: simplify processing if we don't have to format an offset.thread_check_suspended()
: account forthread_find()
returning NULL.thread_cond_waiting_element()
: don't create the cond stack until necessary.thread_exiting()
: do not reset the QID range on Windows for an exiting thread.thread_id_name()
: be robust if called during crashes.thread_launch_trampoline()
: do not harvest entropy, this slows down creation.thread_lock_got_swap()
: missed accounting of new lock in discovered thread.thread_lock_waiting_element()
: warn when we detect recursive lock waiting.thread_preallocate_element()
: also pre-allocate the lock stack.thread_sig_handle()
: don't handle signals if thread is supposed to be blocked.thread_small_id()
: bet on the QID lookup success.thread_sp()
: simpler version defeating compiler optimizations.tm_localtime_raw()
: use exact time, as this is used during logging.xmalloc_thread_alloc()
: refuse to allocate if within a signal handler.
18 December 2015, Version 1.1.8 Released
This is an emergency bug-fixing release.
It addresses systematic crashes on some platforms, right at startup time, and prevents random deadlocks on OS/X.
The systematic crash was due to an innocent change, which actually perturbed the order of the initialization routines and, depending on the conditions, caused an assertion failure during one of the thread startup. Curiously, the error manifests randomly and does not seem to depend on the OS but rather on other subtle environment issues: one Linux distribution could be fine whilst another was hit by the bug.
13 December 2015, Version 1.1.7 Released
This release adds support for new features:
- TLS upgrade of existing connections.
- Inbound HTTPS connections.
- Use of a supervisor process to relaunch gtk-gnutella on crashes.
The TLS upgrade allows connections that have started without TLS to negotiate TLS on the fly without having to reconnect. They are flagged as "e" to show that encryption was dynamically added, as opposed to "E" which indicates an initial TLS connection.
Certificates are now automatically generated and this allows HTTPS connections from browsers. For now this is of limited use, but it will come handy in the near future when building a web-enabled GUI.
To be more resilient against crashes, gtk-gnutella now automatically
launches a supervisor process that will launch the real gtk-gnutella as a
child process and monitor its fate, restarting a new process when the old one
failed. This is far more robust than having the process
re-exec()
itself at crash time since there are some crashing
conditions that do not even allow the process to go that far in the crash
handling...
On Windows, provided you have installed Cygwin's gdb, crash logs will now contain a gdb backtrace of the failing process, making analysis of what went wrong easier than with a simple stack trace.
Your previous GUID and KUID will be regenerated the next time you restart due to a new algorithm used to detect that a configuration file is not accidentally reused on another machine: the host name is now included, instead of just the physical file information. So when moving a disk to another machine, or simply cloning an existing virtual machine, we are no longer going to reuse these IDs which are supposed to be unique by properly detecting that the information was copied over.
A bug in open_read()
caused the Geo IP database to not be
loaded on Windows.
Finally, all the options given to gtk-gnutella can now be abbreviated as long as they are not ambiguous (i.e. enough is given to make them non-ambiguous). For instance, given the current set of options, --p would be ambiguous but --s will always mean --shell. However, --pi is not ambiguous and refers to --ping.
Improvements
- By default, gtk-gnutella now supervises its children to restart them.
- Now allows incoming HTTPS connections.
- Added support for Gnutella connection upgrade to TLS.
- Added support of RFC-2817 for upgrading to TLS within HTTP/1.1.
- Dump symbolic stack when crashing in supervised mode with our parent.
- VMM: added new flag to signal OOM condition and be aggressive with the cache.
- Options can now be abbreviated as long as they are not ambiguous.
- Added support for Virtual Memory Emergency Allocation (VMEA).
- Pulled latest translations from Transifex.
Bug Fixes
- Make sure
node_by_guid()
cannot return a G2 node! - VMM: fixed memory allocation logic during crashes.
open_read()
: fixed logic on Windows when no renaming is requested.- Make sure we don't restart nor pause a failing process on --shell or --ping.
Under the Hood
- Added
spopen()
, a simplepopen()
bypassing the shell. - Added Windows-specific PROT_GUARD protection type for
mprotect()
. - Added
log_show_pid()
to direct the logging layer to show or hide the PID. - Added library support for file locks.
- Added
compat_process_exists()
andcompat_kill_zero()
. - Added ability to dynamically limit
walloc()
usage, remapping toxmalloc()
. - Added ability to disable
halloc()
at runtime, remapping it toxmalloc()
. - Added specific PID file for locking out the supervisor process.
- Do not install periodic
xgc()
andzgc()
unless running in a long-term process. - Refactored
main()
initializations to limit memory usage in the supervisor. - Windows: stop fatal recursion when the VMM layer extends the pmap.
- Windows: revisited exception logging to give more details and simplify code.
- Windows: reworked stack overflow detection logic.
- Windows: added
launch()
andspopen()
support. - Windows: added support for
wait()
andwaitpid()
on launched processes. - Windows: launch gdb in a separate thread to get symbols when crashing.
- Windows: re-worked early init code to allow memory allocation.
- Windows: will now be building with gnutls-3.4.5.
- Windows: added
getppid()
support. - Windows: added
getuid()
,geteuid()
,getgid()
andgetegid()
emulations. - Windows: try to have
SymInitialize()
done as soon as possible. - Windows: added support for getrusage(RUSAGE_CHILDREN).
- Make sure the logic used to construct fallback path is consistent.
- Refactored Windows socket initialization.
- Refactored
setproctitle()
, addinggetprogname()
andsetprogname()
as well. - Revisited
crash_mode()
to include the notion of criticity level. - Switched
rand31()
to the Park and Miller algorithm. - SDBM: added
fadvise()
hint for page accesses, with a "random" access mode. - Use
short_time_ascii()
instead ofshort_time()
in log messages. - TLS: use our own random number generators.
- TLS: use new types, with the _t trailing prefix.
- TLS: added support for a global audit log, available since gnutls 3.0.
- TLS: added vectorized push routine.
- TLS: added generation of private server key at startup if missing.
- TLS: don't need anonymous server credentials if we have a certificate.
- TLS: added generation of self-signed certificate at startup if missing
- TLS: removed ARCFOUR-40 from the list of overrides for GnuTLS 3.4.5.
- TLS: enhanced to support GnuTLS 3.x and allow HTTPS connections.
- TLS: the "custom I/O" push/pull routines are now the norm.
- TLS: normalized logging to always use G_STRFUNC for non-informative messages.
SHA1_process_message_block()
: make sure SHA1 is correct on big-endian systems.cq_init()
: always warn if callout queue exists, regardless of its thread.cq_init()
: loudly warn if the callout queue was created automatically before.crash_generate_crashlog()
: dump thread locks before current stack.crash_init()
: now callsstacktrace_init()
with immediate symbol loading.crash_invoke_inspector()
: also attempt to launch gdb on Windows.crash_invoke_inspector()
: force emission of decorated stacks.crash_try_reexec()
: do notexec()
ourselves when we have a supervising parent.download_get_server_name()
: when name changes, reset some internal attributes.entropy_seed()
: make sure we're correctly seeding our KISS RNG.file_locate_from_path()
: tweaked for Windows to add implicit "." in PATH.gtk_gnutella_atexit()
: do nothing if we're already crashing.gwc_parse_dispatch_lines()
: avoid using "eof", it shadows a global on Windows.hash_table_replace()
: fixed logic when inserting into a fix-sized table.kuid_random_fill()
: userandom_key_bytes()
to generate unique KUID.mingw_exception()
: maintain exception recursive depth per thread.mingw_execve()
: redesigned to avoid using external resources.mingw_fcntl()
: added F_RDLCK (read-lock) support for F_SETLK operations.mingw_fcntl()
: return ENOSYS for unimplemented parts, not EINVAL!mingw_signal()
: be thread-safe, in case of concurrent updates.mingw_sigraise()
: trace signal, since it could be the prelude to a crash.node_can_accept_connection()
: even when "offline", accept nearby hosts.node_is_now_connected()
: watch out for disconnected nodes after RX injection.pncs_convert()
: avoid using the stack, prefer a thread-private buffer.sdbm_set_volatile()
: forgot to grab lock on entry.sdbm_thread_datum()
: avoid too many re-allocation overhead, sacrificing memory.settings_random_save()
: now merge randomness instead of just superseding it.shell_exec_thread_list()
: use configured stack size if available.signal_perform_cleanup()
: trace signals we get during cleanup.spinlock_crash_mode()
: dump PID as well in case process forked.stack_print_decorated_to()
: switch to lighter tracing if we hit an OOM.thread_launch()
: warn once ifpthread_attr_setstacksize()
returns an error.thread_launch_register()
: force new PROT_GUARD protection on red-zone page.tls_handshake()
: log IP:port and whether remote is client or server.tm_init()
: now controls whether to start the time thread.unique_file_token()
: include the hostname into the unique file ID.vxml_parser_remove_buffer()
: application logic was done only when debugging!xallocate()
: when crashing, useomalloc()
for small blocks, instead ofsbrk()
.
8 November 2015, Version 1.1.6 Released
This is a bug-fixing release.
This time it focues on Windows, which apparently exercised some bugs in common code with other platforms -- so some fixes are going to benefit to everyone even though the bugs did not manifest themselves as often.
Improvements
- Increased default and max for "max_leaves" to account for modern systems.
- Pulled latest translations from transifex.
- Updated GeoIP databases.
Bug Fixes
- Fixed memory leak on the error path of OOB / G2 query hit sending.
- Fixed memory leak on the file upload path.
aging_insert()
: was not properly handling freeing of keys, causing leaks.- Fixed property description message for "max_leaves".
- Windows: no HEAP_NO_SERIALIZE flag on
HeapAlloc()
since we're multi-threaded. mingw_valloc()
: fixed monitoring of unreserved VM space.- Windows: optimized the inital VM space reservation.
rpc_delay()
: avoid int overflowing, which would make delay negative!node_udp_sr_data_ind()
: do not crash if UDP was disabled or port was 0.- Fixed crashes in the
omalloc()
layer.
Under the Hood
- Make sure an initial GMT offset is computed before the time thread starts.
- Compact the aging structure on 64-bit platforms.
- Fixed possible race between
evq_trampoline()
andevq_event_discard()
. - Added safety assertions: a removed item must belong to the list.
- Fixed typos in safety assertions.
- EVQ: closed race condition betweeen queues recreated in same thread ID.
- Use getrlimit(RLIMIT_AS) to get the available space, not RLIMIT_DATA.
- Windows: try harder to compute a relevant break value with sbrk(0).
- Windows: added cpp trap for
dup()
. - Windows: fixed fcntl(F_DUPFD) implementation which was not thread-safe.
- Windows: dump symbolic PC on stack overflows, after basic information.
elist_remove()
: assert that removed item must be part of some list.evq_event_discard()
: be quiet when removing event for the event queue thread.evq_event_discard()
: correctly handle cancelable events.evq_trampoline()
: factorize removal of triggered item from queue list.evq_trampoline()
: fixed logging message to use copied value.getgateway()
: on Linux, cache previously computed value in case netlink fails.getgateway()
: on Linux, the netlink socket can return EAGAIN onrecv()
.main_command_line()
: optimized and simplified!malloc_init_vtable()
: be sure to set G_SLICE=always-malloc on Windows.mingw_exception()
: skip printing of stacktrace if we got a stack overflow.mingw_getrlimit()
: implement a better RLIMIT_DATA query.mingw_getrlimit()
: return different max / current values to account for usage.mingw_signal()
: always record signal handler in our internal list of handlers.mingw_valloc()
: don't complain about non-hinted allocations when crashing!mingw_valloc()
: uses_minicarp()
to limit resource consumption.mingw_valloc()
: when nearing out-of-memory, take data segment into account.mingw_vmm_init()
: accelerate initialization, reducing amount of system calls.mingw_win2posix()
: handle 0 to avoid warnings when called with no error.mingw_win2posix()
: mapped ERROR_BAD_EXE_FORMAT to ENOEXEC.mingw_win2posix()
: mapped ERROR_NETNAME_DELETED to EHOSTUNREACH.mingw_win2posix()
: uses_minicarp()
instead ofs_warning()
to see "culprit".omalloc_allocate()
: was releasing spinlock too soon in read-only mode.omalloc_chunk_allocate_from()
: fixed bug when header dissolution was required.publisher_handle()
: simplified code by factorizingshared_file_unref()
call.s_minicarp()
ands_minicrit()
: carefully avoid stdio when dumping stack.sdbm_close()
: ensure we sync pending dirty data when database is not volatile.sdbm_name()
: return path to the .pag file if no name was explicitly given.settings_init()
: when computing max VM space, use max from RLIMIT_AS, not cur.socket_create_and_bind()
: on Linux systems, force SO_REUSEADDR beforebind()
.- sort-test: reduce verbosity by default.
thread_suspend_others()
: silently suspends itself if concurrently asked to.udp_sched_write_error()
: don't dump a stack trace on send errors we expect.
8 October 2015, Version 1.1.5 Released
This is a bug-fixing release.
Most of these bugs were discovered by investigating why gtk-gnutella was
frequently crashing on OS/X platforms. Why other platforms were not having
the same problems remains a mystery, since all these bugs were not specific
to OS/X, apart from the vmm_munmap()
bug -- since mmap()
is
only used on OS/X due to its lack of the sendfile()
system
call.
One of the fixed bugs could lead to a crash when the network connection was broken (e.g. a cable unplugged or a WiFi connection terminated).
Improvements
- UHC: re-engineered the random choice of UHCs in the pre-established list.
Bug Fixes
qrt_patch_compress_done()
: fixed race withqrp_comp_done()
.- xmalloc: prevent deadlock when freeing deferred blocks on the allocation path.
pmap_remove_from()
: protect from exceptional corner case to avoid crash.ut_frag_pmsg_free()
: don't requeue an unsent message synchronously.- VMM: fixed race condition in
vmm_munmap()
that could lead to failures. - omalloc: fixed chunk management when memory alignment is required.
Under the Hood
well_state_discard()
: fixed missing indexing of array pointer.- thread-test: avoid mixed output by using atomic I/Os to stderr for messages.
- thread-test: main testing entry points now clearly flagged in output.
signal_trampoline()
: be verbose and lenient when our pre-condition fails.evq_event_discard()
: fixed message to log the name of the registering thread.hash_list_lookup()
: was mistakenly returning a const value.thread_private_set_extended()
: ensure a NULL free routine clears any old one.crash_mode()
: removed redundant call tothread_suspend_others()
.rand31_random_seed()
: avoidpopcount()
, prefer modulo with a prime number.hash_offset_init_once()
: avoidentropy_minirand()
, causes dealocks on Windows.uhc_send_ping()
: if we cannot contact selected UHC, try with another one.- omalloc_chunk_*
protect()
: ensure chunk is consistent with page boundaries. - More assertions in
omalloc()
to ensure we're not corrupting memory. - Use global mutex to protect
symbols_xxx()
calls, simplified stacktrace code. - Reduced UHC retry time from 1 hour down to 3 minutes.
- Revised UHC list.
- More thread-safe refactoring for other stringification routines.
9 September 2015, Version 1.1.4 Released
This release is mostly a bug-fixing release.
One major bug (leading to crash) was found in the G2 frame parsing layer: a carefully crafted G2 packet sent to GTKG could crash it, leading to a Denial of Service. For that reason, an upgrade to 1.1.4 is strongly recommended.
The only major new feature is the added cleanups of the TTH cache and the crash log directory, to make sure we do not keep useless files on the disk forever.
Because the Phex servent is no longer maintained, there is now a workaround for that particular servent to ensure it can correctly download from GTKG.
Improvements
- [GTK2] Added tri-state column sorting in "property editor" preference pane.
- [GTK2] Show icon + warning message when we have no TCP listening socket.
- Added an "install-strip" target to all Makefiles to install with stripping.
- Can no longer edit properties flagged as "internal" through shell or GUI.
- Added new "session_start_stamp" property to hold the true starting time.
- Added support for TTH cache cleanup.
- Added automatic cleanup of the crash log directory.
- New shell command "random stats" to display the statistics on random layer.
- Workaround for Phex: always send X-Gnutella-Content-URN in upload replies.
- Updated GeoIP database.
Bug Fixes
upnp_natpmp_discovered()
: detect when UPnP layer was shutdown and abort.- Fixed bad definition of XXTEA key, which led us to use only its first 4 bytes.
node_g2_read()
: need to only read 3 bytes usually to determine frame length.thread_sp()
: tweaked to defeat gcc 5.x optimization leading to a NULL return.- File moving: notify main thread as soon as file is completely copied.
update_available_ranges()
: lack of X-Available means file is full on server.
Under the Hood
- Windows: added
getppid()
andstatvfs()
emulation, plusrmdir()
support. - Improved the unpredictability of our random numbers.
- Loudly warn if attempting a file-descriptor operation on a revoked descriptor.
- Added
compat_sendfile()
with fallback to emulated version when necessary. - Added
compat_statvfs()
for portability and code simplification. - File moving operations now use
sendfile()
if available. - XFMT: made it loudly clear that comment nodes are ignored for now.
- VMM: when debugging, trace large allocation spots.
- VMM: raised maximum page cache lifetime from 3 to 15 minutes.
page_cache_find_pages()
: treat user memory as if under short-term strategy.filepath_basename()
: optimize code when G_DIR_SEPARATOR is '/'.- Optimized
CMP()
to avoid branching regardless of the arguments. - Added
ftw_foreach()
to traverse a file system and process each entry. mingw_readdir()
: do not change errno if it was left untouched by_wreaddir()
.- Let mingw_{opendir,readdir,closedir} use normal types, not generic ones.
mingw_stat()
: added workaround for trailing "/" or "/." in paths.etree_traverse_internal()
: minor optimization to avoid trailing +1 each time.- Added
etree_sort()
andetree_sort_with_data()
to sort children of all nodes. - Changed signature of decoding base16 and base32 routines.
- Regenerated Configure to fix the
fdopendir()
compile test. - Make sure pointer hashing distributes its trailing bits evenly.
elist_merge_sort()
: don't update tail, just do one single pass at the end.vmm_dump_pmap_log()
: copy pmap data, then process dumping without locks.
8 April 2015, Version 1.1.3 Released
This is mainly a critical bug-fixing release, addressing a huge shortcoming in 1.1.2: all Shareaza leaves are incorrectly flagged as being fakes and are being removed quicktly from ultrapeers, creating network churn and instability. Everyone running gtk-gnutella as Ultrapeer must upgrade to 1.1.3 quickly.
Releasing quickly after 1.1.3 is also a pretext for improving stability on Windows platforms, especially after restarts: because Windows does not support the "close on exec" flag on file descriptors, restarted processes were left with several instances of a listening socket bound to the same port, causing havoc as behaviour is totally undefined and was most probably leading to the inability for the process to get any incoming connections.
On Windows, we now also monitor the memory usage more closely, in order to avoid the C runtime from issuing a (blocking) popup signalling a fatal memory allocation error should it run out of space.
More generally, the VMM layer is now capable of trapping fatal memory allocation errors and handling them more efficiently. In particular, when everything has failed, the layer can request a brutal restart of the process. Under less dire circumstances, a graceful restart will be requested.
This was also an occasion to revisit the long-term allocation strategy in the VMM layer and optimize it in order to further limit fragmentation of the VM space. Even though avoiding fragmentation matters mostly for 32-bit applications, this also limits the amount of individual memory region mappings the kernel has to maintain and gtk-gnutella has to keep track of.
Finally, a last-minute bug fix where a user reported a deadlock in the QRP processing code. After investigation, it turned out that there was indeed a recursive locking on a spinlock that had escaped all real-life testing out there so far!
Improvements
- [GTK2] Added popup menu icon in front of "force push mode" for sources.
- [GTK2] Added warning icon in status bar when kernel runs short of net buffers.
- Increased default node connection timeout and size of the quick connect pool.
- Updated the shell "status" command to display "!IP" on net buffer shortage.
- Updated FAQ along with French and Turkish translations.
- Updated GeoIP databases.
Bug Fixes
- Fixed invalid test for "fake" Shareaza that led to network instabilities.
- Made QRP lock a mutex to allow for recursive locking through
qrp_comp_done()
.
Under the Hood
- On out-of-memory conditions, attempt to auto-restart if possible.
- Windows: monitor committed memory, crashing before the kernel would kill us.
- Added
crash_restart()
and controlling routines to request smooth restart. - On network buffer shortage (ENOBUFS), stop TCP connections for a while.
- UPnP: protect upnp_mapping objects given to callbacks with reference counts.
- Adjusted lock tracking when locks are disabled, fixing lock swapping.
- Windows: remember socket descriptors so that we can close them on
exec()
. - Refactored code for listening sockets to warn when bound port is already used.
- When shutdowning in "crash mode", skip most of the memory cleanup.
rwlock_destroy()
: make sure to write-unlock the lock if it was owned.waiter_ack()
: don't panic if waiter was not notified, but loudly complain.upnp_map_natpmp_publish_reply()
: trace given port on NAT-PMP mapping errors.upnp_discover()
: force selection of IPv4 interface for UPnP discovery.thread_unsuspend_others()
: relaxed hard assertion into a soft one.alloc_pages()
: try harder on OOM conditions to allocate from the page cache.socket_connect_finalize()
: fixed wrong errno processing forconnect()
.socket_connect_prepare()
: no need for SO_REUSEADDR for connecting sockets.
21 March 2015, Version 1.1.2 Released
This is mainly a bug-fixing release, addressing rare crashes that have been happening in production. It also contains several improvements.
It fixes a user-reported bug whreby it was not possible to properly configure the download paths using the GUI -- that led to application crashes due to the incomplete support for discovered threads (which GTK is using underneath to manage the dialog box).
Another bug was caused by the HTTP header parsing logic which did not allow "." in header names. That made it refuse to parse headers sent by some UPnP devices, such as "BOOTID.UPNP.ORG" or "CONFIGID.UPNP.ORG", prevening UPnP mappings from being installed.
Hapening rarely but still annoying, there was a bug on the error handling
path of write errors to the TX network stack, leading to assertion failures
in the mq_tcp_putq()
routine. That was because the
qrt_compressed()
routine was not handling task cancellation
properly. The likelyhood of hitting that bug when running as a leaf node was
very low.
On the improvement side, the search list is now highlighting searches for which we have associated downloads by displaying the text in green. Further tweaks were made to our GTK2 code to make sure the changes are reported "real time" when the state changes, which was not always the case before (one needed to go over a search by explicitly clicking on it to update the display in the search list).
The SHA1 computation code was also further optimized to be as fast as possible, reducing file hashing time by two! Since SHA1 hashing happens regularily in gtk-gnutella to collect entropy, optimizing the SHA1 computation affects more than just file verification.
Improvements
- [GTK2] Added translation URL in the "About" GUI dialog.
- [GTK2] Highlight searches with registered downloads by using green text.
- [GTK2] Added tri-state column sorting to the "upload history" panel.
- FAQ: added new entry explaining how to get the magnet of a shared file.
- Map the "collection" G2 query tag to the Windows / Linux "archive" file set.
- Map the "torrent" G2 query tag to the "torrent" file set.
- Added support for "rom", "wordprocessing" and "subtitle" G2 query media types.
- Further optimized SHA1 computation, now going about twice faster for files.
Bug Fixes
page_cache_insert_pages()
: fixed incorrect write-lock upgrade logic.pmap_insert_region()
: must recompute insertion index if we extend the pmap!- tmalloc: fixed thread magazine accounting in the depots.
- Did not commit back to database after updating the DHT key request count.
routing_chunk_move()
: must check messages carefully when chunk was moved.route_message()
: beware ofcheck_duplicate()
which can remove the node.thread_element_matches()
: pay more attention to discovered threads.thread_find_tid()
: skip thread elements not marked as being valid!node_shutdown_mode()
: must correctly account for shutdowning G2 nodes!bogons_changed()
: forgot to close opened file descriptorupload_stats_load_history()
: added missing break in switch.qrt_compressed()
: was not handling QRP compression task cancellation properly.
Under the Hood
- Added hostile ranges.
- Updated GeoIP databases for IPv4 and IPv6.
- Throttle the amount of PUSH messages we can send for a given remote server.
- Legitimate Shareaza nodes cannot be flagging themselves as ultrapeers.
- Windows: stack unwinding made safer with more memory checks to avoid faults.
- UPNP: attempt rediscovery of port mapping devices every hour, if missing one.
- UPNP: attempt rediscovery of port mapping devices every hour, if missing one.
- Added new TSIG_OVFLOW signal sent when a thread overflows its stack.
- Fixed race condition between concurrent
waiter_refcnt_dec()
calls. - Added logging of layer which reports a TX error in case of assert failure.
- Track the last seen time (activity) of discovered threads other than main.
- Prevent glade-2 from outputting support files now, since we patched them.
- Added tracing of funny X-Falt lines we are seeing when demsh_debug is set.
- Added tracing of funny X-Alt lines we are seeing when dmesh_debug is set.
- Added tracing of funny X-Nalt lines we are seeing when dmesh_debug is set.
- Added crash hook for the thread layer.
- Added TX layer write-fault mechansim to help detect user error handling bugs.
- Syntaxic adjustments to make the latest guile happy with definitions.
- The GUI will now display current bandwidth by default, instead of the average.
mingw_exception()
: write shorter messages in case of stack overflows.thread_element_reset()
: forgot to reset te->stack_base to NULL.header_append()
: allow "." in header names.thread_join_internal()
: nothread_cancel_test_element()
on foreign thread!thread_find_element()
: avoid leaving routine without unlocking mutex!cond_wait_until()
: now correctly handle underlying cond variable mutation.thread_block_timeout()
: don't panic if main thread already unblocked.dir_entry_filename()
: made the Windows version thread-safe.hfield_dump()
: fixed formatting of continuation lines.dmesh_collect_locations()
: only parse the last timestamp when many given.xmalloc_thread_free()
: always handle blocks in the cross-thread free list.- Hide
strtok_free()
, forcing clients to use newstrtok_free_null()
.
2 September 2014, Version 1.1.1 Released
This is mostly a bug-fixing release.
Improvements
- Share Opus files by default, added opus and webm to search filters.
- No longer automagically unshare directories that do exist currently.
- Revamped peek/poke functions because GCC generated unoptimized code for these.
Bug Fixes
- Avoid crash when we cannot parse the remotely supplied push-proxy URL.
- Fixed crash when entering "local:" as search term.
- Fixed crash when gtk-gnutella was stopped from terminal and put to background.
- Fixed crash on "Reverse DNS lookup" queries from the GUI node pane.
- Fixed GtkSpinButton "adjustment with non-zero page size" deprecation message.
- Handle G_SEARCHPATH_SEPARATOR in shared base directory correctly.
Under the Hood
shared_file_get_index()
: fixed lower boundary of assertion.fi_find_aggressive_candidate()
: prevent division by 0 if no starving download.- Fixed possible race condition between
bg_task_wakeup()
andbg_sched_sleep()
. - Regenerated Configure to allow BFD library detection for newest versions.
teq_post_rpc()
: use linearily increasing timeouts to limit logging.str_vncatf()
: made recursion checks before callings_minicarp()
thread-safe.ut_frag_pmsg_free()
: avoid SIGSEGV when fragment was already acknowledged.deflate_add()
: refuse further data when the TX deflate layer had an error.search_dequeue_all_nodes()
: must also iterate on G2 nodes.cq_heartbeat()
: only log delay adjustements when running with cq_debug > 0.g2_node_handle()
: silence warnings when not debugging.- Allow
xfl_find_freelist_index()
to work with gcc 4.9 and optimizations. keys_offload()
: do not process if the key layer was shutdown.
2 July 2014, Version 1.1.0 Released
This is a major release introducing new features and making gtk-gnutella a multi-threaded application with drastic performance boosts for background tasks like file hashing or library rescanning.
Another major feature is the added support for the G2 search protcol: we are connecting to G2 hubs as a leaf, answer to search / browse requests from G2 hosts. We also use G2 to issue our own searches. Finally, we freely exchange files with G2 hosts (downloading and uploading).
The G2 protocol was further extended to make sure G2 query hits convey as much information as Gnutella query hits, in particular for alt-loc propagation and TLS support. The G2 semi-reliable UDP layer is also leveraging the new features designed for the corresponding Gnutella layer (cumulative and extended acknowledgments), gracefully falling back to legacy features if the remote host is not able to understand the new features.
A critical bug was fixed: reception of carefully crafted invalid DHT messages would lead to an immediate crash, an open door for Denial of Service (DoS) attacks. That bug has been present since 0.97 (release of August 2011).
Last but not least, the code base has now been checked by Coverity. There was a very low defect rate of 0.26 (amount of true defects per thousand lines of code) and all problems were fixed.
New Features
- Multi-threading support (file hashing, library rescan, DNS, etc...)
- Added support for the G2 search protocol, connecting as leaf mode to G2.
- Turned gtk-gnutella into a random number server through the "random" command.
- Removed Bitzi support since the service has shutdown.
- Added the --no-dbus command-line option to prevent D-BUS notifications.
- [GTK] Added GUI enabling of the G2 protocol for searches.
- [GTK] Added spin-button to set the amount of G2 hub connections to maintain.
- [GTK] Report amount of G2 hubs to which we are connected.
- [GTK] Show amount of G2 host browsing served, in the upload stats pane.
Improvements
- [GTK2] Added tri-state column sorting to "Downloads" and "Uploads" panes.
- Better entropy collection to initialize the pseudo random number generators.
- Externally visible randomness (e.g. GUIDs) is now cryptographically strong.
- We now pick random DHT nodes to send back from the whole routing table
- Some entropy collected is persisted, for better reseeding in next session.
- Added time change detection when switching from/to Daylight Saving Time.
- QRP query routing now uses LimeWire's logic, less strict than the GTKG one.
- The shell "status" command now reports the amount of G2 hub connections.
- Detect OOB proxy MUID conflicts for leaf queries.
- Added the "stats drop" shell command to show dropped message statistics.
- Improved random selection of files being matched in the library (local hits).
- When a PUSH request fails to connect back, ban target IP:port for 5 minutes.
- Configure: correctly detect the BFD library even if no -liberty.
- Crash handler now records and logs the ID and name of crashing thread.
- Updated gtk-gnutella.appdata.xml to the latest specifications.
- Updated the FAQ, along with translations to French and Turkish.
Bug Fixes
- DHT bucket merging was incorrectly handling removal of nodes from table.
- Reception of improper DHT messages could lead to an immediate crash (DoS).
ut_frag_pmsg_free()
: rescheduling of expire event was in wrong block.base16_encode()
: would cause buffer overflow when destination too small.- Rotate OOB token keys less often, to avoid expiration whilst in transit.
socket_udp_event()
: ignore empty datagrams.- Fixed host cache updates to avoid setting "out of bounds" property values.
hcache_find_nearby()
: was missing a "break" in the case for HOST_GUESS.- Scheduled static checking by Coverity, found 81 problems requring a fix.
- Fixed TCP message size computing bug, which could corrupt the TCP stream.
- Configure: fixed endianess detection of IEEE-754 floats on Solaris.
- Was never configuring TCP quick ACKs due to a missing "break" statement.
omalloc()
could crash when configuring read-only objects.- Ensure we never insert any "unusable host" in the push-proxy set.
keys_update_value()
: forgot to persist back updated expiration timestamp.- Properly flag UDP route as deflatable when GGEP "Z" is seen in queries.
- Flag UDP route as supporting semi-reliable UDP when query flags are parsed.
Under the Hood
- GUESS now avoids querying hosts to which we are connected via TCP
- GUESS: count the amount of hosts reached by query, since G2 queries a cluster.
- GUESS: increased cached lifetime of query keys to a little less than 1 day.
- GUESS: defer hosts we cannot requery to avoid constantly looping over them.
- GUESS: fixed host atom leak when message is synchronously dropped.
- GUESS: invalidate cached query keys on IP or listening port change.
- Added a thread management layer on top of the POSIX thread layer.
- Added support for safe inter-thread signals, handled by our thread layer.
- Expanded the set of atomic operations we can perform.
- Added read-write locks, now used by the VMM layer.
- Addded multi-threaded goodies: barriers, dams, event queues, cond variables.
- VMM: closed race condition during allocations.
- Added support for permanent thread-private data.
- Added primitive
fork()
handling in a multi-threaded environment. - Made float formatting code thread-safe, removing need for funnelling.
- The ADNS now always runs in a separate thread.
- Provide both thread-private (hashtable) and thread-local (array) variables.
- Added new "thread list" shell command to monitor running threads.
- Added "task list" shell command to list currently defined background tasks.
- Added the "thread stats" shell command to dump thread statistics.
- Added "lib show callout" shell command to display callout queue information.
- Added "lib show files" to show opened files via
file_object_xxx()
. - Made sure PROTECT_ATOMS and ATOMS_HAVE_MAGIC are orthogonal settings.
- Moved the reference count of atoms to the tracking hash table.
- Callout queue runs the idle callbacks if not scheduled in the last 30 secs.
- Logging timestamps are now emitted with a millisecond accuracy.
- Improved
g_assert_not_reached()
to propagate the routine name as well. - Re-architected file_objects to allow permission checking on opened files.
- Introducing
tqsort()
, a multi-threaded quicksort for sorting large arrays. - Do not mark SIGPROF as harmful to allow profiling.
- Added a thread-magazine allocator, used by
walloc()
andvmm_alloc()
. - Allow execution of some shell commands in a separate thread.
- Added our own plain one-way and two-way list implementation.
- Added optimized item freeing for embedded lists holding
walloc()
'ed objects. - Added thread-local ARC4 random streams for increased throughput.
- Added global and per-thread WELL and CMWC random number generators.
- Added Fortuna-like algorithm (AJE -- Alea Jacta Est) for gathering entropy.
- Added support for fixed-size hash tables, entirely held in a static buffer.
hash_table_replace()
: optimized to avoid twohash_table_find()
calls.- Protect query hit generation against concurrent library rescans.
- No longer close all file descriptors in main, since threads use them.
- Semi-reliable UDP: only send last fragment of large message to unknown hosts.
- Semi-reliable UDP: make sure remote side is ACK-ing sent fragments only.
- Semi-reliable UDP: avoid endless loops if unsent ACK message is dropped.
- Semi-reliable UDP: added TX accounting for dropped and physically sent ACKs.
- Semi-reliable UDP: was not releasing data structure for dropped ACKs.
- QRP support for generation of 1-bit patches, and optimized 1-bit handling.
make_room_internal()
: removed bug catcher from 2006, which never triggered.- Cleaned up Gnutella handshaking to emit an Accept if the remote sent one.
search_results_process()
: do not record last hop as hostile on relayed hits.- Do not attempt to OOB-proxy queries in
search_request()
! host_timer()
: fixed wrong cut-off by "quick connect pool".- Added script to auto-generate enums along with symbolic and English text.
options_parse()
: fixed parsing of values immediately following the option.- Shuffling of large arrays now performed using PRNGs with greater period.
- Renamed "struct mutex" as "struct lmutex" to avoid conflicts on Solaris.
st_search()
: randomly shuffle results only when we have more than we can send.- Windows: added emulated
clock_gettime()
andclock_getres()
. - Dispatch entropy to PRNGs only once every 30 seconds at most.
- Simplified
rand31()
, restoring its full period, and redesignedrand31_u32()
. sdbm_rebuild()
: was not properly catching errors during copy.prop_get_def()
: switched toHCOPY_ARRAY()
to avoid any size problemskmsg_handle()
: avoid dereferencing a potentially NULL pointer.route_max_forward_ttl()
: take a reference instead of a by-value parameter.parq_upload_remove()
: fixed assertion, which was always evaluating to TRUE.- Report errors if we cannot set a file non-blocking or request close on
exec()
. - Base32 decoding could fail spotting bad input due to short base32_map[] array.
search_matched()
: was not counting the amount of skipped results in a search.getgateway()
: properly fallback to netstat parsing whensocket()
fails.roots_fill_closest()
: avoid memory leak on the error path.- Fixed UDP TX schedulers to allow both IPv4 and IPv6 message sending.
- Make sure only developers will use autogen to regenerate the property files.
dh_route()
: only compress UDP query hits when GUESS queryier supports them.dh_route()
: do not attempt UDP compression if message sent via reliable UDP.- Count UDP compression attempts and failures, including in semi-reliable UDP.
31 December 2013, Version 1.0.1 Released
This is a minor release correcting a grave bug causing gtk-gnutella to think all other gtk-gnutella out there are hostile.
Other minor improvements are present, as well as low-level bug fixes. The most visible change is that filenames with parentheses are now mangled to have the parentheses turned into brackets, instead of being left as-is. This allows filename cut-n-paste into shell commands, without having to use the shell auto-completion to escape the parentheses.
Improvements
- Generate a NM/1.0 HTTP-like header at the top of the pre-computed nm list.
- [GTK] Avoid GUI flickering when widget sensitivity is changing quickly.
- Replace "()" with "[]" in filenames for easier cut-n-paste in shell commands.
- Windows: improved stack unwinding.
Bug Fixes
- Fixed grave bug, making all GTKGs appear hostile.
qrp_close()
: must disable periodic monitoring during shutdown.filename_to_utf8_normalized()
: fixed broken if/else logic in loop.
Under the Hood
- Updated the GeoIP databases.
- Added a Keywords entry for lintian in the gtk-gnutella.desktop file.
- Fixed license link to point to GPL-2 on Debian systems.
- Added gtk-gnutella.appdata.xml for distributions that need such a file.
- Renamed icon.xpm as icon.48x48.xpm and icon.32x32.xpm as icon.xpm.
- TLS: disabled SVN signature verification code, since we no longer use SVN.
- Define our own G_STRFUNC, do not use the version from GLib.
vmm_resize()
: fixed wrong implementation when vmm_crashing is true.- Semi-reliable UDP: drop traffic to host temporarily if we can't send messages.
- Use a 5-minute TLS ban to avoid reconnecting to host with TLS when it failed.
download_mark_active()
: do not reset fi->recv_last_rate on HTTP follow-upsbsched_heartbeat()
: fixed wrong delay computatation, usetm_elapsed_ms()
.gtk_gnutella_exit()
: always emit final "cleanly exited" info.zalloc_stack_accounting_ctrl()
: used wrong lookup key, leading to crashes.mingw_valloc()
: handle initial non-hinted allocations larger than page.signal_trap_with()
: fixed improper return value computation forsigaction()
.
1 September 2013, Version 1.0.0 Released
This is a major release correcting a few bugs and adding small but interesting features such as the ability to limit dropping of received UDP messages, making the DHT keys and values persistent across sessions, SDBM file auto-compaction at startup, and last but not least, rarest-chunk downloading to optimize download efficiency when facing partial sources.
New Features
- Let users define a maximum lease time for UPnP and NAT-PMP mappings.
- Made DHT keys and values persistent across sessions.
- When there are partial sources for a file, download the rarest chunks first.
Improvements
- [GTK1] Optimize massive updating of the download source list.
- [GTK] Dynamically update the list of available chunks in the file (blue line).
- Files used to persist information across sessions are now auto-compacted.
- The UPnP layer can now monitor more types of Internet Gateway Devices.
- After unclean shutdown, rename existing core file in crash directory.
- Detect servers that choke when receiving pipelined HTTP requests.
- Added the Mersenne Twister Pseudo-Random Number Generator.
- Remember when user requests an auto-restart, to keep the same session going.
- Increased maximum download buffer size to 1 MiB and default to 128 KiB.
Bug Fixes
- [GTK2] Set height of the pref/upload window (paths to files) to 100 pixels.
- [GTK1] Fixed wrong enum value usage (c_fi_sources instead of c_src_num).
- [GTK] Download source details were incorrect sometimes for queued downloads.
- [GTK] Reserve display of partial file indication (PFS) to partial sources.
- DHT traffic accounting was broken when semi-reliable UDP was introduced.
- Was wrongly keeping orphan DHT contacts and removing alive ones!
- Fixed wrong restarting DB key computation for DHT values (preventing crashes).
- Fixed improper "good" alt-loc flagging from uploaders, leading to wrong mesh.
- Fixed English typos in comments and user-visible messages.
- Avoid selecting the magic fw-fw file index for partial files in query hits.
- Fixed wrong propagation of duplicate messages with higher TTL.
Under the Hood
- Fixed
posix_memalign()
so that we can now run with glib 2.36 and upwards. - [GTK] Update available ranges when the core sends a "range changed" event.
- Added UDP datagram read-ahead to minimize local kernel drops (RX queue full).
- Added UDP read-ahead statistics.
- Ensure "DHT values" and "DHT raw data" SDBM files are consistently reloaded.
- Fixed
omalloc()
memory usage accounting. str_at()
: fixed harmful typo causing it to seg-fault with negative offsets.- Do not send X-Features / X-Token on follow-up HTTP requests.
upnp_dscv_probed()
: plugged memory leak.- UPNP: extract the Service Control Protocol Definition (SCPD) URL.
- UPNP: monitor gateway with
GetStatusInfo()
if noGetTotalPacketsReceived()
. - Some UPnP devices can advertize an API and yet return 401 (action invalid).
bigkey_hash()
: more robust in case we encounter a big key and support is off.udp_sched_write_error()
: don't panic if we get an unexpected UDP write error.- Jumbo patch: replaced most gm_[v]
snprintf()
with str_[v]bprintf()
calls. - Count truncated incoming UDP messages.
http_got_header()
: fixed harmful typo causing mishandling of chunked output.- After 3 X-Nalt reports, move source from download mesh to the banned mesh.
- Leave banned entries in the bad mesh for at least 5 minutes.
cq_free()
: release mutex to prevent loud warning a shutdown time.- When the the crash handler child fails, append decorated stack from parent.
download_data_received()
: extend fileinfo when file size is unknown.- Moved HTTP range parsing / handling from core to library (re-architectured).
- Benchmark sorting routines at startup and select the most efficient.
socket_udp_flush_timer()
: do not process queued datagrams during shutdown.- Make
rand31()
more random, especially on the low-order bits. - Added computation of chi-squared cumulative distributions.
- Made
entropy_random()
5 times faster on average. - Prefer
random_value()
overrandom_u32()
followed by bit masking. - The random layer now uses the Mersenne Twister, excepted for
random_bytes()
. hash_keyset_lookup()
: was not always spotting first tomb correctly.- Let small hash tables be denser than larger ones.
- Tweaked hash tables and derivatives for smaller memory footprint.
guess_pmsg_free()
: make sure pool does not contain host before adding it back.http_send_status()
: was not properly detecting too large HTTP headers.- Semi-reliable RX UDP: re-ack everything well before the whole message expires.
- Adjust maximum DHT value count per IP/network dynamically with DHT size.
- Be careful when truncating body on an HTTP kept-alive connection.
ensure_unicity()
: assume pidfile is locked when lock owner bears our PID.- Added protection when writing important files on filesystems like "ext4".
- PARQ: accept to move an upload to the "dead" queue even if we wait for QUEUE.
- Made GTK2 the default GTK version since GTK1 is not 64-bit safe.
11 November 2012, Version 0.98.4 Released
This is an important release correcting severe bugs affecting the overall wealth of the system: the PARQ upload queue was not properly restored, the DHT was not always sending correct values back (resulting in failed lookups), and SDBM (our hash-on-disk database) had two well-hidden bugs that could cause crashes at startup or that compromised regular runtime operations.
This release also introduces an interesting improvement: we are now using a reliable UDP layer to transfer out-of-band query hits, ensuring that these important messages are properly sent and received and never lost.
The SPAM-detection on query hits received via UDP was too eager to discard results from perfectly valid sources, causing improper loss of results from your queries.
We were also wrongly sending out more queries than necessary: a long-standing bug caused locally-issued OOB-proxied queries to be re-emitted a second time, and we were re-forwarding duplicate queries (received with higher TTL than before) to all the leaves. Although not harmful, these two bugs were wasting some of the outgoing bandwidth when running as a ultra node.
New Features
- Plugged support for "OOB Proxy Veto".
- Added a Semi-Reliable UDP layer for Gnutella for safe OOB hit delivery.
- Report and display available file size when handling hits for partial files.
Internationalization
- Added French and Turkish translations of the FAQ.
- Updated French and Turkish translations.
- Fixed typo in a German translation.
- Cleanup of the English FAQ, updating obsolete answers.
Improvements
- [GTK] Show different icon and tooltip when port mapping done through NAT-PMP.
- [GTK] Flag results from servents with a banned GUID in the "Info" column.
- [GTK] Windows version now compiled with GTK 2.24.10.
- Non-sharing servents can now be promoted to ultra peers (in automatic mode).
- Be stricter about vendor messages origin: ignore them if from wrong protocol.
- Strip GGEP "NP" key from relayed queries.
- Use higher-priority UDP messages for important or time-sensitive data.
- Use semi-reliable UDP to transfer critical data (query hits).
- Make sure the queries we OOB-proxy have a GGEP "SO" key for secure OOB hits.
- Ignore unsecure OOB hit promises from hosts known to support secure OOB.
- Use some of our connected ultra nodes when filling UHC pongs.
- Updated GeoIP databases.
- When resuming from crashes, do not stop session-only searches.
- Persist selected search media types from session to session.
- Report last modification time + available size of partial files in hits.
- Added "webm" and "zoo" to the list of file extensions that can be shared.
- Display unexpected command-line argument before usage output.
- The shell "status" command now shows how port mapping was done, if any.
- Do not forward "What's New?" queries to leaf nodes with empty routing tables.
Bug Fixes
- Avoid segmentation fault if GUESS 0.2 cache is empty.
- Avoid SDBM crash when clearing database which had big keys/values present.
- Use signed arithmetic to compute compression ratios.
- Consider x.x.x.0 as a possibly valid IPv4 address.
- Was not correctly parsing the saved PARQ queue, causing undue forgetting.
- Fixed key accounting in DBMW.
- SDBM was sometimes not iterating over unflushed dirty LRU pages.
- Fixed wrong DHT value response message format.
- Fixed crash when attempting to browse host on a queued source.
- Do not route duplicate queries with higher TTL to leaves.
- Prevent sending of duplicate (locally issued) OOB-proxied queries.
- Fixed startup crash bug on Ubuntu machines.
- Changed the Debian menu icon to use the one which is 32x32, as lintian wants.
- Fixed auto-restart function on 64-bit Windows.
Under the Hood
- [GTK] Darken the color used to display partial results (yellow -> dark gold).
- Various PARQ cleanup to smooth QUEUE callback operations.
- Fallback to pre-computed symbol file when loaded symbols are garbage.
- Relax
file_path_set()
andopen_read()
to gracefully handle relative paths. get_folder_basepath()
: protect against unsuitable environment variables.- Recompute the amount of banned fds dynamically as config parameters change.
- Detect series of unclaimed OOB hits from a host to ignore further queries.
- Changed MUID marking strategy in queries to better accomodate OOB proxying.
- Added a UDP TX scheduler to optimize datagram sending by priority.
- Enhanced the incremental zlib operations, reusing objects across operations.
- Added new official ISO 3166 country codes.
node_read()
: was wrongly resizing the message buffer for each message!- Refactored aging table to lower memory footprint (by 6 pointers per entry).
- On Windows, keep last 3 stdout/stderr logs, created when launched from GUI.
- Send important UDP messages with a "control" priority.
- Count TCP push-proxy requests aimed at firewalled-to-firewalled connections.
- Patch UDP PUSH messages aimed at initiating firewall-to-firewall transfers.
- Count received PUSHes requesting FW-FW transfers, plus those targeting us.
dht_init()
: do not reset the KUID if DHT disabled at startup.- Detect whether we are restarting after a clean shutdown or after a crash.
bg_task_terminate()
: don't panic at shutdown when handling unaccounted tasks.- Reserve only about 40% of the available virtual memory space on Windows.
- Always discover port-mapping devices, even if they won't be used.
- Ensure reasonable TTL and hops for PUSH messages from UDP we will route.
- The shell "nodes" command now displays the gnet port along with the address.
- Added metaconfig check for
malloc()
superseding. - New switch
--disable-malloc
added tobuild.sh
to prevent supersedingmalloc()
. - When launching gdb during crash, ask for threads and thread stacks as well.
- External IP changes were not waiting for 3 hosts in 3 different CIDR ranges.
- Removed too restrive permissions in the man page (COPYRIGHT section).
- Shell meta-chars in executable path do not prevent loading symbols via BFD.
- Added more DHT statistics.
4 June 2012, Version 0.98.3 Released
New Features
- [GTK] Added per-search GUESS statistics line, which can be hidden by users.
- [GTK] Display amount of downloads associated with search in the search label.
- Added property to control usage of unused Gnutella bandwidth by GUESS.
- Added "memory check xmalloc" shell command to monitor the xmalloc freelists.
- On Windows, generate a gdb-like stack trace in the crash log file.
Improvements
- [GTK] Optimized rendering of main statistics page.
- [GTK] Show more accurate message for queued downloads on completed files.
- Shell now displays properties with appropriate surrounding type markers.
- Limit pongs sent to transient nodes in order to save some bandwidth.
- Avoid sending too many pongs on uncompressed connections.
- Added README.Windows to document compile instructions for Windows.
- Avoid "
write()
failed: EPIPE" messages from the shell for local client writes. - Added GUESS link cache size to the general statistics pane.
- GUESS now uses a dynamically computed outgoing bandwidth limit.
- Allow failed TLS connections to be retried without TLS, transparently.
- Added "-a" switch to the shell "version" command to display glib/GTK/TLS info.
- Added -p switch to the "stats" shell command to pretty-print numbers.
- Memory optimization of commonly used data structures to reduce footprint.
- Always generate a crashlog file, even when dumping a core.
- PARQ: switch actively queued download to another when file has been completed.
- Attempt to immediately restart download after failed SHA1 + TTH verification.
- At startup, compute TTH if available and SHA1 checking failed.
- When switching PARQ 1.0 downloads, switch IDs if queue position is favorable.
- Updated translation strings, and fixed French translation.
Bug Fixes
- #3286824"Crash at startup / 0.96.9 / FreeBSD AMD64"
- Fixed %G formatting bug whereby a zero following a dot would be missed.
- Prevent auto-restart when they explicitly request a shutdown.
- Fixed grave bugs in the virtual memory layer, some being Windows-specific.
- PARQ was not properly computing amortized per-slot time.
- Avoid random shell connection failures on Windows.
- An un-parseable token in a shell command led to an assertion failure.
- Fixed the "alignment optimized" code branch of
msort_with_tmp()
. - Fixed bad copy-n-paste that could lead to
malloc()
freelist corruption. - Fixed GUESS corner-case crash when handling an RPC timeout.
- [GTK] Avoid crash when user clears the upload statistics (#3501181).
- On Windows, be smarter when reserving the initial amount of virtual space.
- GUESS: always wakeup sleeping queries if we have bandwidth.
Under the Hood
- Improved thread-safety of the VMM layer.
- Removed perl4-ism in Perl scripts.
- Updated IPv4 and IPv6 geo databases.
- Attempt to drive a deadlock crash as far as possible to collect debug info.
- When logging from another thread (not main), include the small thread ID.
- Switched
halloc()
toxpmalloc()
instead ofwalloc()
. - Added thread-private zones for blocks <= 512 bytes for faster allocations.
- Optimized access to thread-private information, via a lock-free fast path.
- Exit with a zero status when terminating through a regular signal or request.
- Some UTF-8 optimizations and low-level fixes.
- Also log the faulting PC when we get a harmful signal.
- Use the BFD library, if available, to extract symbols from the executable.
- Restored ability to have usable stack unwinding on Windows.
- Extended crash log information to include full OS name and CPU architecture.
- Sort SHA1s in the search.xml file.
- Clear whole routing table when switching between Ultra and Leaf modes.
- Protect
xfree()
from algorithmic complexity when handling bursts. - Added xmalloc garbage collector to reclaim fragments from freelist.
- Allow the "TLS handshake failed" string to be translated.
- Consider IPv4 addresses x.x.x.0 as non-routable.
- Now uses own hash table and hash set implementations.
- Strengthened entropy collection and ARC4 initial seeding.
- Randomly propagate GUESS 0.2 hosts among GUESS 0.2 servents.
- Assume we're not firewalled right after initial UPnP or NAT-PMP configuration.
- Avoid compiler warnings on Windows.
- Make sure
random_value()
returns uniformly distributed random numbers. - Added ability to filter dumped traffic by IP address.
- Changed %F to display whole mantissa before switching to scientific notation.
- Ensure memory allocated from the heap is aligned properly.
- Show amount of detected CPUs at startup.
- Added version numbers to the crash log file name.
- Avoid complexity attacks on the hash table.
30 December 2011, Version 0.98.2 Released
This is a minor patch to support systems running latest Ubuntu systems,
and maybe others which create multiple threads for GTK programs: our
xmalloc()
implementation replaces the system's malloc()
but
it was not safe to use in multi-threaded environments.
GUI improvements
- [GTK] Added option to discard results from banned GUIDs (set by default).
- [GTK] Display results from servents with a banned GUID in "hot pink".
Other improvements
- Updated turkish translation.
- Added IPv6 geo-localization database (from Maxmind).
- Added dynamic IPv6 hostile support.
16 December 2011, Version 0.98.1 Released
This is a minor patch to support systems running glib-2.30.2 and above.
11 December 2011, Version 0.98 Released
This is a major release, adding "IPv6-Ready" features. It also fixes long-lasting bugs in various areas and contains some other low-level improvements.
During the building of this release, Dennis MacAlistair Ritchie passed away. Gtk-gnutella would not exist in its current form without the earlier work of Dennis, the co-inventor of C. This release is dedicated to the memory of that great computer scientist. Farewell, Dennis!
New Features
- Added "IPv6-Ready" support.
- Enhanced the shell "memory" command to display various allocator stats.
- Added the "pid" and "version" shell commands.
- Added the "command" shell command to print the server's command line.
- Added -r option to "shutdown" shell command to request a restart.
- Added the --no-restart and --restart-on-crash gtk-gnutella options.
- Added the shell "date" command displaying ISO time with ms accuracy.
Improvements
- Ignore Bitzi ticket timeouts on missing entries for explicit user retries.
- Added routing table statistics.
- GUI: show file creation times for local searches in the info summary.
- Optimized page cache coalescing by avoiding two successive binary lookups.
- Added -f option to "shutdown" shell command to initiate a fast shutdown.
- Allow "echo command | gtk-gnutella --shell" a chance to work on Windows.
- Ban duplicate GUIDs to avoid them being the target of PUSH requests.
- Updated French translation for 0.98.
- Revisited TX stack flow-control logic when there is a compressing layer.
- Don't send Hops-Flow messages to nodes not supporting it.
- Use full compression for ultra <-> ultra connections.
- Internationalization now works on Windows.
Bug Fixes
- Fixed harmful cleanup of routing table when cycling over naturally.
- Fixed bug in
add_file()
when adding multiple partial files to a query hit. - Fixed DHT lookup when path protection kicks in and clears the closest node.
- Fixed handling of relative position lists, causing unfair PARQ scheduling.
- Prevent preferences from being shown from tray icon when already shutdowning, fixing #3376952.
- Hide tray icon at shutdown time.
- Enabled loading of hostiles file on Windows.
- Fixed crash on mis-parsed IPv6 address.
- Make sure node is still connected before routing its queries.
- Avoid crashes when asked to deflate 0 bytes.
- Fixed dynamic querying to avoid duplicate messages to probed nodes.
- GUESS must forget about query if the query key was not correct.
- Do not send translated messages in node handshaking replies.
dualhash_insert_key()
: fixed insertion to avoid possible assertion failures.- Avoid wrong "activity timeout" indications for ultra <-> ultra connections.
- Make sure we do not include "non-shareable" files in query hits.
- Fixed the "node add" and "node drop" shell commands.
Under the Hood
- Fixed remote token validation for git versions.
- Count and report in statistics the amount of cached GUESS 0.2 hosts.
- Fixed improper message queue status computation (warn zone / delay).
- XML parser was not handling illegal byte sequences in UTF-8 buffers.
- Fixed creation time (GGEP "CT") to send actual filesystem creation time, not the filesystem last modification time.
- Enforce configured IP protocols, preventing connection to other protocols.
- Added
malloc()
replacement. - Clear "last dmesh sent" timestamp in uploads when client switches resources.
- Construct build date from git's HEAD commit, if available.
- Added options to the "shutdown" shell command to trigger the crash handler.
- Propagate Windows exception information into the crash log.
- On Windows, propagate the PC at which the exception occurs in the crash log.
- Force "idle" tasks to be scheduled once in a while.
- Increased frequency of the main callout queue heartbeats by 4.
- Arrange for a crash log to be generated even when
fork()
fails. - Loudly warn when string formatting leads to truncation of the message.
- Added regression tests for
str_vncatf()
. - Added floating point formatting routine from Robert G. Burger, allowing
str_vncatf()
to format floating point numbers natively. - Added Windows startup debugging support and fixed Cygwin startup.
- Remap all
g_xxx()
logging routines to our own message logging layer. - Added "update-potfiles" target to refresh the POTFILES.in list.
- Frozen PARQ upload queue slots don't count as "wanted" by the queue.
- Added "qhit_bad_debug" property to control logging of bad query hits.
- Stack unwinding routines now stop at the first non-text address they reach.
- Added dynamic memory usage statistics collection.
- Propagate self-assessed symbol quality into the crash log, if not good.
- Make sure we open all files in binary mode on Windows.
- Packaged regex 0.12 to supply POSIX
regcomp()
on systems lacking it. - Raise the default number of allowed fds to 2048 on OS X.
- Added SDBM testing and benchmarking program.
- Don't publish NOPE entries in the DHT for nodes with a bad GUID.
- Added "tx_deflate_debug" and "tx_debug_addrs" properties.
- TX deflating layer can postpone Nagle flushing up to 2 seconds.
- Updated Geo IP database.
11 September 2011, Version 0.97.1 Released
Version 0.97.1 is a bug-fixing release, addressing critical bugs that slipped through in the 0.97 release but which happen only in particular conditions.
The project also switched from SVN to git. This affects the version number which no longer includes a single SVN revision but instead uses the combination of a counter for the number of changes since the last release plus git's abbreviated commit ID. Tagged releases do not contain any build information.
Bug Fixes
- Fixed bootstrapping problems on IPv6 enabled hosts [bug #3376322].
- Forgot to clear global HTTP handle on GHC errors [bug #376322].
- Typo caused crash when processing alternate locations in firewalled mode with PFSP enabled.
- Forgot to clear pending THEX downloads on download stops.
- Make sure we remove the SHA1 of de-indexed files from the shared set.
- Handle "message too large" errors when sending on UDP.
Under the Hood
- When running as ultra node, use GUESS introduction pings when requesting a query key so that the remote ultrapeer can passively discover us.
- Do not count GUID collisions with our own GUID when we see our own IP:port!
- Added some gcc 4.6 hot / cold routine tagging for better optimizations.
-
netmask_to_cidr()
: was not using the proper metaconfig symbol to activate the usage of__builtin_popcount
. -
Updated
build.sh
to build an app bundle for OSX with target=osxbundle. - Added dmg to the default extension list for shared files.
- Added OS X integration support: menu bar is now on the OS menubar on top, the application does a clean exit on cmd-q and the application continues to run when only the window is closed.
- Use the downloads folder on Windows 7 and Vista for completed downloads.
- Updated the geographic IP mapping database.
- Integrated spell check of the French translation from stegozor.
- Turned zalloc_always_gc to FALSE by default.
Integrity checks for the source tarball
Size: 17084243 bytes urn:bitprint:CSSLL7MMGXF62RB6TGL6KXSEVL52AWIG.WK4P24R32DKY2SMGGYHLRMS4TQKRZYQSV5X56LI SHA1 (gtk-gnutella-0.97.1.tar.bz2) = 14a4b5fd8c35cbed443e9997e55e44aafba05906
PGP Signature (286 bytes)
Thanks to everyone who contributed to this bug-fix release in the form of feedback, bug reports or patches.
gtk-gnutella team
18 July 2011, Version 0.97 Released
Version 0.97 is a major release, fixing critical long-standing bugs and introducing handy new features.
New Features
- Added HTTP request pipelining.
- Added GUESS (Gnutella UDP Extension for Scalable Searches).
- Added the ability to look for specific media types.
- Added the ability to query for partial files as well.
- Added "What's New?" queries.
- Added smart search stopping / resuming options.
- Added command-line option
--minimized
; useful when auto-starting gtk-gnutella.
Improvements
- Improved unpredictability of random numbers. Continuously collect new randomness from message events (RX, TX, dropping).
- No longer uses download overlaps as soon as we know the TTH of the file.
- When the download queue is auto-frozen due to lack of space, monitor the filesystem to auto-unfreeze when enough space is available again.
- Can configure different amount of limits for various kind of search results.
- [GTK2] Added missing configuration option for case-insensitive sorting.
- [GTK] Flag search results bearing an alien IP as such, using both a tag (alien) and a color (deep pink).
- [GTK] Added option to discard results bearing an alien IP (TRUE by default).
- [GTK] Added option to restart session-only searches that still have pending downloads registered (FALSE by default).
- [GTK] Search details now include a line to display available metadata.
- [GTK] Fill in the Bitzi metadata column on the fly as results come in when we have cached ticket information available.
- [GTK] Show media type filter attached to query, when known, in the search detail window.
Bug Fixes
- Fixed *grave* routing bug whereby TTL was wrongly trimmed down by one extra step. Furthermore, the trimming threshold was wrong, which in effect caused ultrapeers to drop queries with TTL <= 2.
- Fixed *grave* routing bug: was sending TTL>1 queries twice on the same connection when running as ultrapeer.
- Fixed *grave* routing bug: was not properly forwarding duplicate OOB-proxied queries with a higher TTL (MUID was not altered the second time).
- Make sure ~ expansion is done for path variables when changed at runtime. Fixes bug #3215847.
- Was not processing updates of "search_reissue_timeout" from the GUI!
- Filename sanitizer led to a crash when given a filename with leading spaces.
- TTH downloads would crash when not receiving any data back.
- An off-by-one bug prevented proper token validation, causing GTKG to not properly recognize the latest releases.
- Avoid crash when attempting to connect to a node that would be internally flagged as "useless".
- Fixed chunk selection algorithm to properly request from servers providing partial files.
- Various "crash at shutdown time" type of fixes (occuring rarely and randomly).
- Plugged hole leading to a file completing but not being checked for its SHA-1 when we have a few sources competing against each-other and all these sources end up ignoring data to preserve their connection.
- Fixed crashes with GTK2 on some platforms at quit time by ignoring duplicate "quit" requests.
- Fixed race condition that could lead to an incomplete QRP configuration.
- Fixed important LRU cache management bug in the SDBM layer, which was causing data loss in persisted databases.
- Head pings had their GGEP "PUSH" key improperly parsed.
- [GTK] Was not saving the column size of the search list.
- Fixed cause of random crashes in the VMM layer on systems using mmap() to serve uploaded files.
Miscellaneous
- Dutch translation updated.
- French translation updated.
- By default, auto-clear completed and failed chunk downloads.
- Changed user-visible connection state wording: "Connected" -> "Receiving" or "Awaiting data".
- Added documentation for DHT "NOPE" values.
- Allow one to disable partial file sharing in general, enabling it only for rare files (no full copy present).
- Moved SDBM files to dedicated directories, either "gnet-db" or "dht-db".
- Added visual indication that the download queue is frozen.
- Added GUI configuration for "tth_auto_discovery".
- [GTK] New colors for search results, to quickly spot partial hits, alien hits, hits with media-type mismatch and hits from firewalled sources with no push-proxy listed.
- [GTK] Added expert-level configuration for the DHT mode, for whether DHT keys/values should be kept in memory, and for the SPAM SHA1 look-up table.
- Option --disable-ipv6 was removed from build.sh: we now always compile with IPv6 when Configure detects OS support.
Under the Hood
- Tweaked aggressive chunk selection logic.
- Let the RX link layer use the configured socket RX buffer size to determine the maximum amount of data that we can attempt to read in one system call, when the input layer cannot let us know how much data is pending.
- Ensure we only keep valid address and port information when merging PUSH servent addresses for a given GUID.
- Make sure fast assertion routines are never inlined or it would perturb stack traces due to missing offsets.
- When building search request, be careful to not include unnecessary bloat at the end of the extension block or other GTKG nodes will drop the query.
- DHT statistics now show local k-ball info along with the theoretical one.
- Added probalistic model to randomly avoid cached DHT values too far from the key's theoretical k-ball during value lookups.
- Smarter handling of "duplicate DHT values" (coming from the same publisher). We now allow fetching of these duplicates and retain different versions of the same value if we find a discrepancy (due to caching or partial re-publishing).
- PUSH flooding detection no longer bans offending hosts, but only regulates the traffic by dropping flooding requests.
- Compact extensions of forwarded queries to remove needless bloat: the XML is compacted, legacy HUGE requests to return URNs in hits are dropped, GGEP payload that are large enough are possibly compressed.
- s390(x) has IEEE 754 floats.
- Handle GGEP "u" in queries (SHA1 and bitprint URNs).
- Avoid showing "negative" retry delays.
- Turned some debugging-only assertions off.
- Fixed bad test that led to a crash when receiving improper FIND_NODE messages.
- Removed dependency to libxml2: now uses built-in XML support.
- Converted bitzi cache to a persistent SDBM-based database.
- Faster Bitzi request scheduling.
- The Gnutella routing table now dynamically adjusts its size.
- Deprecated GGEP "GTKGV1" in query hits, replacing it with "GTKGV".
- Make sure we never send back duplicate SHA1 hits, even if they are sharing twice the same file from different directories.
Integrity checks for the source tarball
Size: 16876186 bytes urn:bitprint:DNIHSCW4JFGXAI5HZ6JRTV6N54OJVNI6.N44WDAPJVSWWOUE4SNRFNNANHKZ7SNHGONRKQCI SHA1 (gtk-gnutella-0.97.tar.bz2) = 1b50790adc494d7023a7cf9319d7cdef1c9ab51e
PGP Signature (286 bytes)
Thanks to everyone who contributed to this bug-fix release in the form of feedback, bug reports or patches.
gtk-gnutella team
April 1st, 2011 -- Binary for Microsoft Windows Available!
Version 0.96.9 has been ported to Microsoft Windows and is now available for downloading.
All the gtk-gnutella features are available and the program runs on Windows with the same low-CPU and low-memory usage as when running under UNIX-like operating systems, including the gtk-gnutella shell (but then you have to launch it through the command line, not through the GUI by double-clicking on the icon).
Porting was done by your gtk-gnutella development team, by creating a thin POSIX-like layer on top of which the rest of the code can run without changes compared to the UNIX version. Note that this has nothing to do with Cygwin, and the resulting program is a native executable not requiring any Cygwin library.
You can download the installer and the PGP signature as usual.
Enjoy the quality of gtk-gnutella on Windows!
gtk-gnutella team
14 March 2011, Version 0.96.9 Released
Version 0.96.9 is the stable yearly release.
New Features
- Added UPnP and NAT-PMP support.
- Added a "log" command to the shell to manage logfiles.
- Added --gdb-on-crash switch, auto-activated when no core dumps are possible.
- Configures a crash directory as ~/.gtk-gnutella/crashes.
- [GTK] Added visual feedback for UPnP and NAT-PMP configuration status.
Improvements
- Better handling of uploading servers that also publish in the DHT.
- Added Global Host Cache as a last-resort bootstrapping mechanism when UDP is not working.
- Search results from firewalled hosts are now displayed in "dark slate gray"
- Message statistics now include a line per DHT message type instead of aggregating all DHT messages in the same basket.
- Always use ARC4 random number generator.
- Continuous entropy collection to make the random number sequence more random.
- Raised default ultrapeer connections in leaf mode to 4, maximum now being 5.
- ASCII parentheses are no longer considered evil characters and are not stripped from filenames anymore.
- Trailing spaces and periods are stripped from filenames because Windows does not like them.
- When stdout and stderr are different files, critical messages (assertion failures, crashes) are duplicated to stdout.
- [GTK] Added visual feedback icon for the DHT status.
- [GTK] Show green/yellow/red uploading status icons indicating increasing warning levels after which we declare that uploads are stalling.
- [GTK] Show DHT alt-loc queries on a per-file basis.
Bug Fixes
- Prevented random crash at shutdown time (improper cleanup ordering).
- Prevent crash when running on linux kernels patched with grsecurity.
- Fixed improper hop count display (always showing 2147483647) in horizon stats.
- Fixed bad GUI status for files: do not say "SHA1 failed" unless it's true.
- Fixed message statistics which were reading payload size from the header instead of relying on what was actually read.
- OOB proxying code was not considering MUID collisions, causing memory leaks.
- Was not always reconnecting to other Gnutella nodes when missing slots.
- Fixed old bug triggered by setting "listen_port" to 1 multiple times.
- Magnets created from search results did not include push proxies.
- [GTK2] Was not saving tree view column positions in the statistics pane.
- [GTK2] Fixed broken DND so that files can be drag 'n' dropped from local searches and the download view to other desktop apps now.
- [GTK] New users were never able to see the preset filters in the menu.
Under the Hood
- Fresh bogus IP lists and geo IP database.
- Updated SPAM detection rules.
- Updated Gnutella bootstraping logic due to changing environments.
- Cached DHT security tokens are now regularily expired.
- Tuned DHT maintenance traffic down, using statistical methods to further avoid needless RPCs.
- Clear empty databases at startup, attempt to shrink them otherwise.
- Fixed uninitialized memory read detected by valgrind.
- Made SDBM more robust when facing errors.
- Errors encountered during SDBM operation are now reported at exit time.
- If I/O errors were detected during operations of a persisted DB, request key checking at next startup.
- Added CPU frequency scaling detection (Linux and Windows only) to be able to properly determine whether we are overloading the CPU.
- Removed ShareMonkey URL support: they went out of business.
- Use the DHT routing table as a source for new node addresses when the host caches are depleted, before attempting to contact the UHCs.
- Throttle UDP pings so that we do not bombard a single host with many requests.
- Limit Gnutella connection attempts to a given host to one per 2 minutes.
- DHT routing table size now adjusts dynamically, lowering maintenance traffic.
- Throttle received DHT lookups as a precaution against abuse from rogue nodes.
- At startup time, sort cached host entries to put the most recent ones first.
- Optimized QRP table merging loop.
- Improved behaviour when facing stalling uploads.
- Only send "DHT" in Gnutella pongs if the DHT runs in active mode.
- Implemented DHT attack-prevention rules to guard against Sybil attacks.
- Added arc4random() default implementation for systems without it.
- Robustified query hit parsing so that we can filter out invalid hits.
- [GTK2] Completely migrated GtkFileSelection to GtkFileChooser.
Integrity checks for the source tarball
Size: 16669486 bytes urn:bitprint:JOJFJI6VCURXPTTFVTYJ3BMMFMF3JSSQ.MLDGSRTGH3J7OPVBHRRZ2XKVK5M7MBNGQDMEWWA SHA1 (gtk-gnutella-0.96.9.tar.bz2) = 4b9254a3d5152377ce65acf09d858c2b0bb4ca50
PGP Signature (286 bytes)
Thanks to everyone who contributed to this bug-fix release in the form of feedback, bug reports or patches.
gtk-gnutella team
21 March 2010, Version 0.96.8 Released
Version 0.96.8 is a stable release, containing critical bug fixes for the previous release 0.96.7
Bug Fixes
- Removed an obsolete assertion now that gtk-gnutella supports NOPE DHT values. This was causing a crash each time a NOPE value was received in response to push-proxies queries in the DHT.
- Fixed memory alignment problem for non-forgiving CPU architectures.
- The virtual memory manager would crash when the kernel starts allocating pages in zones we wrongly thought were already used.
- Fixed long-standing bug in the Query Routing Table protocol where a RESET message with the wrong table size could sometimes be sent, causing the remote node to close the connection.
- Make sure an ultrapeer is not publishing NOPE values in the DHT if support for the DHT was disabled by user, which would be triggering a fatal assertion failure.
Under the Hood
- Fixed Makefile to ensure proper compilation under Gentoo's build scripts.
- Push-proxy client support now makes sure there is a space after a leading GET or HEAD word in the HTTP request.
- The DIME parsing layer now given more information in case of an error.
- Let THEX downloads peruse any supplied Content-Length information from the server (applicable only when the output is not chunked).
- The VMM layer is now smarter at identifying foreign pages when allocating blocks larger than a single page.
- When sending BYE messages, do not shutdown the socket layer if using TLS.
- Compilation cleanup for SunOS, Sun Studio, and versions of GTK < 2.5.0.
Limitations
They are really identical to the ones present in version 0.96.7.
- DHT code is currently sub-optimal for firewalled hosts.
- Manual bandwidth tuning is currently necessary to allow for efficient DHT usage. Allow at least 8 Kib/s out, 15 KiB/s out being better. Also increase the lookup bandwidth to 32 KiB/s in and 6 KiB/s out, the defaults of 8 KiB/s in and 2 KiB/s out being very conservative.
- DHT is enabled by default with a fixed (manually tunable) configuration. There is no auto-tuning and no adaptation to traffic conditions yet. You need to explicitly disable the DHT if you don't want to benefit from it.
Integrity checks for the source tarball
Size: 16275481 bytes urn:bitprint:6KCK5T6JYBJF5T4AHRIF5C55CPA3K423.7DFFFGSMPZMLZFG7OLLOBFSKBX2PKYHJTYYAMDA SHA1 (gtk-gnutella-0.96.7.tar.bz2) = f284aecfc9c0525ecf803c505e8bbd13c1b5735b
PGP Signature (286 bytes)
Thanks to everyone who contributed to this bug-fix release in the form of feedback, bug reports or patches.
gtk-gnutella team
07 March 2010, Version 0.96.7 Released
Version 0.96.7 is a stable release. The list below shows the most important bug fixed and improvements since the previous release.
Bug Fixes
- Fixed memory leaks.
- Do not unduly rewrite fileinfo trailers on restart, messing with the "mtime" filesystem information.
- We were never forwarding to other ultra nodes queries that did not have a TTL of exactly 1 (severe bug impacting the network).
- Queries not kept for a local file match were most often dropped and not forwarded (severe bug impacting the network).
- Corrected detection of largefile support in Configure.
- Fixed oversight in token validation, to be able to verify older versions.
- Fixed metaconfig unit for systems without kqueue().
- PARQ complained about lack of X-Queued header even if HTTP status was not 503.
- Fixed sending of QUEUE callbacks to avoid hammering remote host, or stopping alltogether at the first timeout detection.
- Was sometimes failing to reconnect to more nodes after disconnections.
- Inverted logic was causing repeated UHCs queries when under the minimum amount of peer connections, causing undue traffic.
- Tigertree verification would sometimes crash and delete the wrong slices after a TTH mismatch.
- Fixed crashes at shutdown time due to inappropriate dropping of new messages in the message queues.
- Fixed crashes at shutdown time due to improper checking in the dynamic query cleanup code.
- Fixed invalid boundary test when server shrinks the requested file chunk.
- Unfreeze all PARQ entries from the IP after serving a quick slot, or we could have several frozen entries for that IP with no possible escape.
- Receptions of "GIV" and "QUEUE" were not checking whether the remote address was an hostile one.
- Changed the Bitzi ticket-requesting URL, as the previous one was no longer responding correctly.
- Fixed push-proxy support: requests (LIME/21) now only use v1 and acks (LIME/22) only use v2 because this is what LimeWire expects. GTKG was sending LIME/21v2 which confused LimeWire, in effect disabling the ability of GTKG to act as a push-proxy.
- GUI node flags were not updated upon reception of a Push Proxy Acknowledgement (indicating the node became one of our push-proxies).
- Fixed status bar which lost the GTKG URL as soon as a new version was announced.
- Fixed crash when a compressed connection was closed and had never been given any data to compress.
- Fixed behaviour on DHT value lookups when the key exists but is not holding the proper value types.
- Fixed HTTP partial range merging logic.
- Fixed logic for push-fallback on connection timeouts.
- Fixed improper GUI status display when connecting to a push-proxy.
- Could wrongly discard a perfectly good push-proxy.
- Prevent "found more recent metainfo" warnings at next startup by properly flushing the metainfo database at shutdown time.
- The "Force push mode" menu entry could have no effect if gtk-gnutella had determined the host did not require a push.
- Avoid innocuous duplicates in the persisted download file.
Improvements
- Better resuming of downloads on session restarts.
- Increased success rate on downloads from firewalled hosts.
- Completed support for DHT publishing: DHT is now fully functional.
- DHT bandwidth usage is now disaplayed in the GUI.
- Added support for GGEP XQ (eXtended Query) as used by LimeWire for search terms longer than about 30 characters.
- Try to decipher incorrectly encoded query flags from buggy Shareaza.
- Parse incorrectly formatted X-Alt header from buggy Shareaza.
- Implemented PFSP 1.0a: now emits and handles new X-Available header.
- Added some MIME types and file extension mappings.
- Added comand-line switch --compile-info to print some information that is hardcoded at compile-time.
- Persist known TTH roots in magnets.
- Swapped leaf and ultrapeer slots for GGEP UP in compliance with LimeWire which does not follow the published specification (so we don't either now but we are compliant with the de-facto standard).
- Will now remove uncompressed ultra connections when full and getting a new compressed one.
- Whitelist can now support TLS hosts and will refresh DNS mappings regularily.
- Improved granularity of the background task used to scan the library in order to prevent noticeable processing freezes as much as possible.
- Redesigned the output of the shell "status" command to show more information and display status flags (shown as icons in the GUI).
- Added liberal parsing of urn:sha1: and urn:bitprint to cope with clueless sites using hexadecimal instead of base32 to encode the hashes.
- Added -v option to the shell command "props" to also display values along.
- Added real shell-like string parsing, and fixed escaping to work correctly.
- Added the ';' separator to be used to separate mutiple shell commands.
- Allow crashes and fast assertions "soft" failures to be timestamped.
- Don't answer to UDP pings from bad nodes, which include "alien" hosts.
- Loop through the TCP push-proxies more quickly until one can relay our push.
- Passively revitalize PUSH routes and wakeup starving downloads.
- Attempt to collect push-proxies passively from relayed query hits.
- A completed file waiting for being moved accross filesystems will now be flagged as such in the GUI "Downloads" pane.
- Detect and fix improper 503 HTTP status code replies when 416 was meant (broken HTTP replies from Foxy, Shareaza, and maybe others).
Under the Hood
- DHT (Distributed Hash Table) is now enabled by default.
- Reduced blackout period between two DNS server name lookups to 30 minutes.
- Updated PFSP specifications (partial file sharing) to version 1.0a.
- More statistics.
- Always use exact time when logging, not the cached time.
- Align to LimeWire's settings for DHT expiration and republishing periods.
- Do not emit any PFSP header when seeding a finished file.
- Even if bandwidth is tight, force emission of the X-Hostname header under certain circumstances because this information is precious.
- No longer constantly monitors for unsolicited UDP traffic, which will save precious CPU cycles.
- Improved malloc tracking by reporting symbolic names in stack frames.
- Optimized ultrapeer TX compression settings to reduce memory requirements, saving 288 KiB of RAM per Gnutella node connection (leaf or ultra).
- Increased default amount of ultrapeer connections to 42.
- Optimized memory footprint of the simple hashtable and allow it to be downsized as well.
- Consider a HEAD Ping message to be unsolicited UDP traffic.
- New shell command "memory dump" available when malloc stats compiled in.
- Some documentation held in SVN cannot be packaged on Debian, so it was moved to a separate directory that is left out from the packaging manifest.
- SDBM improvements for greater runtime performance and data consistency.
- Added DHT root node caching (k-closest nodes of a target KUID).
- Tuned DHT node lookups for more performance.
- Can now hold the SPAM look-up table in an SDBM database instead of memory.
- The directory holding "incomplete" files is now lock-protected to prevent two different gtk-gnutella instances from using the same one.
- Added long-due zone garbage collector, called when gtk-gnutella is "idle".
- Tuned block size to avoid wasting too many bytes in zones.
- Improved the virtual memory management layer to limit fragmentation, especially for servents running over long periods of time (weeks).
- Revised the vitrual memory management page-caching algorithm.
- Politely deny handshaking with peers presenting an X-Auth-Challenge header or an FP-Auth-Challenge one.
- Added support for firewalled alternate location collection and propagation through the X-Falt header (requires that the "fwalt/0.1" feature be advertised in X-Features).
- Added a non-persistent "alien" cache to keep track of IP:port of nodes that do not belong to the Gnutella network.
- Increased the buffer size of datagram sockets to 32KiB to allow reception of bigger messages: it is not uncommon to get OOB query hits larger than 4KiB.
- Count (and show) amount of launched SHA-1 and TTH file verifications.
- Translation updates.
Limitations
- DHT code is currently sub-optimal for firewalled hosts.
- Manual bandwidth tuning is currently necessary to allow for efficient DHT usage. Allow at least 8 Kib/s out, 15 KiB/s out being better. Also increase the lookup bandwidth to 32 KiB/s in and 6 KiB/s out, the defaults of 8 KiB/s in and 2 KiB/s out being very conservative.
- DHT is enabled by default with a fixed (manually tunable) configuration. There is no auto-tuning and no adaptation to traffic conditions yet. You need to explicitly disable the DHT if you don't want to benefit from it.
Integrity checks for the source tarball
Size: 16273432 bytes urn:bitprint:XODKKQMZ2IMQRFZV4BLTCO4UCGYOGVVB.O5ONBJQOY5PK35S5PG7HJDQPZD3XMW2H2Q2IQLQ SHA1 (gtk-gnutella-0.96.7.tar.bz2) = bb86a54199d219089735e057313b9411b0e356a1
PGP Signature (286 bytes)
Thanks to everyone who contributed to this release in form of feedback, bug reports, patches or translations!
gtk-gnutella team
29 March 2009, Version 0.96.6 Released
Version 0.96.6 is a stable release. The list below shows the most important bug fixed and improvements since the previous release.
Bug Fixes
- #1932909 "columns in search window do not scale properly".
- Fixed improper HTTP chunking when outputting chunks larger than 64 KiB.
- #2628899 "tries to download from my old self after IP changes".
- Was not always resuming the interrupted SHA-1 computation of a finished file when servent was closed in the middle of processing.
- Fixed bad range checking test in the download part.
- Was not paying attention to the "give_server_hostname" property and instead sent "HNAME" GGEP extensions in query hits provided a non-empty name was defined as the "server_hostname".
- Fixed improper upload slot counting which introduced race conditions, sometimes leading to having more slots used than the configured maximum (in addition to the "quick" upload slots).
- Prevent occasional crashes at shutdown time, during subsystem cleanups.
- Fixed corner cases where we could lose a server hostname and downright bug where we discarded the hostname after a DNS lookup if the subsequent connection attempt did not succeed.
Improvements
- Refuse to share certain directories: /, $HOME, $GTK_GNUTELLA_DIR, and the incomplete and corrupted directories.
- Downloads GUI: added checkboxes to invert the select/filter patterns.
- Downloads GUI: added "Modified" column and detail showing the time-stamp of the last file modification.
- Optional beautification operations on filenames: strip leading "-", remove consecutive "_" and prevent "_" surrounding punctuation characters.
- Fixed significant performance issue in the Gtk+ 1.2 front-end: update of upload statistics was O(n) but is now O(1).
- Background TTH file verification now lights an icon in the GUI.
- Show TTH tree depth in the download "Details" pane.
- Update the bitzi meta-data info box when a query finishes, so that it is not required to click on the result again after requesting bitzi data.
- Added MIME type column for search results.
- Added "Last Request" and "Last Upload" columns to the Upload History.
- Almost complete DHT support (missing only publishing of data), but code needs to be explicitly enabled by setting "enable_dht" to TRUE. The DHT knows how to look for alt-locs for files and push-proxies for firewalled hosts, and will store local data for others to query.
- New shell commands "stats", "download", "echo".
- It is now possible to rename files being downloaded (through GTK2 or shell, no support in GTK1).
- Added more filename extensions to the built-in search filters.
- Switch resources after getting an HTTP error if the connection is kept alive and the error permits follow-ups (non-busy conditions).
- Improved ability to switch resources after file completion by ignoring trailing swarming data, to keep the connection alive.
- Bitzi tickets are refreshed when explicitly requested, avoiding reuse of stale meta-data.
- Completed files are displayed during hash verification.
- Only propagate good alt-locs for files we are downloading, i.e. addresses of hosts which we know to be serving that file because we contacted them.
- Many new statistics counters.
- Allow scheduling of special downloads without considering per-host limits, as these are of a much shorter duration (THEX and browse host requests).
- Always seed completed files, regardless of their size (no PFSP minimum as with partial files), when their SHA-1 has been verified.
- Incorrectly encoded Bitzi meta-data is translated to Unicode.
- Browse-host responses are sorted alpha-numerically on relative pathnames to allow users to relate files together if they don't understand GGEP "PATH".
- Improved routing of PUSH messages by also looking whether targeted hosts happen to be one of our immediate neighbours.
- Updated Norwegian Bokmal and Spanish translations.
Under the hood
- Parse legacy Shareaza THEX URIs "urn:tree:tiger/:" (extra "/" here).
- Handle non-standard X-Thex-URI headers if peer provides a valid X-Content-URN header (Shareaza 2.1.0.0).
- Also attempt to give priority to the last "pfsp_last_chunk" bytes of downloaded files, since that can contain important indexing information to enable pre-view of partial video files.
- More MIME types known (derived from file extensions).
- Can now download THEX data at a tree depth of 11 for files larger than 1 GiB.
- Can download sub-optimal THEX data, as non-optimal data is better than none, but keeps looking for THEX data at the optimal tree depth nonetheless.
- Re-implemented scanning of shared directories as a background task so that the process (not just the GUI) is fully responsive during the whole scan.
- Let the background task scheduler compute the proper amount of ticks to use for each task.
- Upload statistics now record the file's SHA-1, so that we can consolidate partial file sharing with library sharing statistics, with the filename being forced to the library's filename.
- Avoid starting moving a completed file if there is not enough space on the targeted file system.
- Recognize and propagate the "DHT" GGEP extension in pongs.
- Added support for "DHTIPP" GGEP extension in pings, used for DHT bootstrap.
- Added more entropy to the random number seed.
- Plugged a few memory leaks.
- No longer send SHA-1 queries on the Gnutella network. They are now performed through the DHT, which has the suitable topology to do so efficiently.
- Fixed UDP bandwidth computation, and removed any limit on UDP incoming.
- Updated list of hostile IP address ranges, Geo-IP data, spam patterns and spam samples.
- Property loading from files was in O(n*n), made it O(n).
- Now detect property files being blindly copied over from another gtk-gnutella's config directory and reset properties whose value needs to be unique.
- The GUID and the KUID (Kademlia ID, the DHT node ID) were made sticky.
- Optimization of QRP lookups in tables ranging from 16k to 2M slots.
- Limit amount of hits to 10 per query hit packet, as LimeWire chokes otherwise.
- Limit amount of alt-locs in hits to 10 or LimeWire chokes.
- Keep connection alive when reporting an HTTP error to allow remote resource switching if necessary.
- Emit and parse new X-Downloaded header, apparently introduced by LimeWire.
- Added parsing of X-FW-Node-Info headers to grab push-proxies from firewalled hosts, as well as gather the proper GUID and host address/port.
- Emit X-FW-Node-Info if node is firewalled but continue to list our push-proxies in the standard X-Push-Proxies header.
- Avoid endless aggressive chunk splitting during swarming.
- Proper parsing of comma-separated values in Accept and other Accept-Encoding HTTP headers.
- Reject UDP packets from unspecified addresses.
- Drain more data out of the UDP receive buffer to prevent it from filling up.
- Strip at most 5 trailing characters from words when building the QRP table, thereby inserting less radices and making the table more sparse.
- Removed workarounds for dealing with broken 0.96.2 nodes and earlier 0.95.x.
- Extended syntax for push:// exact sources in magnets to be able to supply all the known push-proxies, even if that is an empty set. Since downloads are persisted as magnets, this also allows keeping all the previously known push-proxies across sessions.
- Upgraded PARQ to version 1.1 (mostly specification cleanups).
- Added additional anti-hammering for cases where many files on the same server are queued and gtk-gnutella is configured to launch more than 1 connection per IP. Connection attempts to the same server are now limited to 5 per minute.
Limitations
- DHT code is still experimental, although functional: configuration of parameters can only be done through the shell, and there is no support for publishing yet.
What is the DHT good for?
Now that gtk-gnutella supports the DHT (an acronym standing for Distributed Hash Table), what are the direct benefits for gtk-gnutella users?
If you enable the DHT code in gtk-gnutella, you will be able to benefit from these new features:
- Use source-less magnets. The DHT can locate files by their SHA-1. Websites like Bitzi collect this information along with further metadata about files. Bitzi also provides magnet links you can readily drag and drop onto gtk-gnutella's main window or copy and paste into its search box to search and download the desired file. Of course, magnet links can also be manually constructed as long as you know the SHA-1 of the file. Contrary to regular Gnutella searches, the DHT will find quickly (in less than a minute usually) whether someone has published that it was sharing the file.
- No spam or fakes. Look up the content you want at places you trust (like Bitzi). Magnet links can link to known sources, too, but usually don't. Therefore, they are conveniently short, look like URLs and can be posted anywhere: forums, blogs, index sites, emails, IRC etc. As they link to content instead of a specific location, they are practically permantly valid and never expire. Using your trusted communities to exchange magnet links gives you the benefit of avoiding all spam and fakes that you may suffer from with regular searches.
- Better success with firewalled sources. As firewalled hosts publish their push-proxies in the DHT, you can start a download by using only a push: source (consisting only of the servent's GUID) and gtk-gnutella will be able to lookup the DHT for you and find what the current push-proxies are for that host. Again, it is very quick and if that host has published its push-proxies, gtk-gnutella will find them.
- Faster downloads. With the DHT, you can acquire additional alternate locations for files and use native Gnutella swarming abilities to very efficiently and reliably download files.
- Improved session resuming. If you shut-down gtk-gnutella and restart it later, it will lookup for new push-proxies (the old ones that were persisted are probably obsolete) and new sources for the files which are pending in the queue, possibly re-seeding some downloads that were orphan (without active sources) for a long time.
If something has been published in the DHT (sources for files identified by their SHA-1, push-proxies for firewalled hosts identified by their GUID), it will be found in a matter of seconds. If the search is unsuccessful, it means the data is not present at this time in the DHT. There is no horizon consideration as in Gnutella searches. The only requirement is that you know how the published data is keyed in order to find it.
The key to make all that possible is to use a Gnutella servent that is capable of joining and querying the global Gnutella DHT, currently supported by LimeWire (and all its derivatives) and gtk-gnutella. The next release will add DHT publishing to gtk-gnutella to make it fully productive.
Who should activate the DHT code? Ideal nodes are leaf nodes which are not firewalled, then ultrapeers. If your peer is firewalled, you can still enable the DHT code but it will be less efficient currently for the network. The more nodes are present in the DHT, the longer they stay connected, the more powerful the DHT becomes.
Integrity checks for the source tarball
Size: 15739240 bytes urn:bitprint:GGKBP2G6CBFTHEJ6BCQKV3EMB4RKMEU5.BJ6GG3CKCHWOAT64HG6C7ZIKEUDPQNB4KP3PIDQ SHA1 (gtk-gnutella-0.96.6.tar.bz2) = 319417e8de104b33913e08a0aaec8c0f22a6129d RMD160 (gtk-gnutella-0.96.6.tar.bz2) = 0dae6af9ac64fa8d75980cafd55c5a3e9eb18dfe SHA256 (gtk-gnutella-0.96.6.tar.bz2) = 1e9e9952658134448675a991aca583b2a6bcacdc144b8a81628e1505b4567e8f
PGP Signature (186 bytes)
Thanks to everyone who contributed to this release in form of feedback, bug reports, patches or translations!
gtk-gnutella team
2 April 2008, Version 0.96.5 Released
Version 0.96.5 is a stable release. The list below shows the most important bug fixed and improvements since the previous release.
Bug Fixes
- #1870957: Wrong sign could cause out-of-bounds read and potentially a crash.
- Firewalled status was not re-verified after a port change if the previously used port was open.
- Fixed issue that caused the local peer cache to degenerate.
Improvements
- Client-side support for tigertree hashes (TTH/THEX).
- Replaced navigation tree by tabs.
- Redesigned download user-interface to make it more accessible.
- Added some selectable pre-defined search filters.
- Bitzi tickets are displayed in full raw indented XML.
- Display Bitzi and ShareMonkey URLs as search result details.
- Topless mode is available at run-time via command-line switch.
- Added default shared filename extensions: .7z, .bittorrent, .oga, .ogv, .spx, .tbz2
- Removed default shared filename extensions: .doc
- Updated translations: Japanese, Norwegian Bokmal, French.
Under the hood
- Changed default to dual use of IPv4 and IPv6 instead of IPv4-only.
- Support the "as" (Alternate Source) key in magnet links.
- Eszett (ß) is finally normalized to "ss" in search queries.
- Avoid display updates for elements not currently visible.
- Take full advantage of persistent HTTP connections to fetch multiple files from the same peer through over the same connection if scheduling permits.
- Improved TLS support and blocking detection.
- Updated list of hostile IP address ranges, bogons, Geo-IP data, spam patterns and spam samples.
Integrity checks for the source tarball
Size: 13634700 bytes urn:bitprint:QBMJUJBSF5IJ5UOCJFFBWXHARFI4PYQW.G55HBDRFR2FZNXH6GZNJA3MW7KWH62ZH7SIMBTA SHA256 (gtk-gnutella-0.96.5.tar.bz2) = 02c0f661f112739c011e0a12ebfc58d8fcb8ce6f660cc03be610ba664050b529 SHA1 (gtk-gnutella-0.96.5.tar.bz2) = 80589a24322f509ed1c2494a1b5ce08951c7e216 RMD160 (gtk-gnutella-0.96.5.tar.bz2) = 1f7b58b45955d940e19284110ad78bb6410cd3c6
PGP Signature (186 bytes)
Download the sources
[ Download via magnet-link from Gnutella | Direct HTTP download (13 MiB) ]
Thanks to everyone who contributed to this release in form of feedback, bug reports, patches or translations!
gtk-gnutella team
2007年7月11日, Subversion リポジトリーの場所が変更されています
SourceForge にホストされている全プロジェクトのSubversionリポジトリーの場所が変更されています。svnで既にgtk-gnutellaをチェックアウトされているのでしたら、以下のコマンドをご利用ください:
svn switch --relocate \ https://svn.sourceforge.net/svnroot/gtk-gnutella/trunk/gtk-gnutella \ https://gtk-gnutella.svn.sourceforge.net/svnroot/gtk-gnutella/trunk/gtk-gnutella
この後、svn update を再び行えるようになります。
Subversion を使ってチェックアウトされたことがないのでしたら、以下のコマンドでリポジトリーからソースコードを取得できます:
svn co https://gtk-gnutella.svn.sourceforge.net/svnroot/gtk-gnutella/trunk/gtk-gnutella
2007年7月7日, バージョン 0.96.2 がリリースされました
バージョン 0.96.4 は安定版としてリリースされます。以下にあるのは前回のリリース以降に修正されたバグや改良点です。
修正されたバグ
- ミスマッチを検出した時にはダウンロードを再実行しますが、その時のオーバーラップの確認が不正確でした。
- ネットワークキューが頻繁にクラッシュを引き起こすバグ (バグ #1601523) が修正されました。
- 25日以上連続稼働させている場合に、イベントのタイミングにより失敗するバグがありましたが、これが修正されました。
- TLSを利用した接続でストールが発生するバグが修正されました。
- 検索のリトライがタイムアウトしないバグ (バグ #1568205) が修正されました。
- 検索履歴にある項目の順序が誤っているバグ (バグ #1568206) が修正されました。
- 起動時の簡易接続の制限が守られずに、頻繁に接続を繰り返す問題がありましたが、これが修正されました。
- FreeBSD での関数 sendfile() に対する SF_NODISKIO フラグの使用法が誤っていました。
- 現在使用中のポートを 0 に変更するとクラッシュする可能性がありましたが、これが修正されました。
- 関数 iconv() の誤って使用していたために、長い文字列の誤変換を引き起こす可能性がありましたが、これが修正されました。
- 生成されるファイル名の長さが正しく制限されずにクラッシュを引き起こす問題がありましたが、これが修正されました。
- 名前空間の問題により起こる NetBSD でのコンパイル時の問題が修正されました。
- Solaris での標準入出力に使用されるファイル記述子の数が0から255になるような対応策が施されました。
改良箇所
- Finished downloads are now seeded for the whole session or until they are manually purged, if partial file-sharing is enabled.
- Martijn van Oosterhout氏から提供されたパッチにより、TigertreeハッシュおよびTHEXがサーバー側でサポートされました。
- スパムフィルターが改良されました。
- ドラッグ&ドロップへのサポートが若干よくなりました。
- 起動時にUHCのみが使用されるようにGWebCacheが取り除かれました。
- シェルインターフェイスが改良されました。
- これよりダウンロードを一旦停止できるようになります。
- Added a simple query syntax for easier creation of result filters.
Under the hood
- Added support for HEAD Pings and Pongs which improves the download mesh.
- Implemented for Out-of-Band result delivery protocol v3 which protects against certain kinds of forged results.
- Improved aggressive swarming logic so that files are completed more quickly and efficiently when nearing completion.
ソース tarball のチェックサムは:
- SHA256 (gtk-gnutella-0.96.4.tar.bz2) = 543ead5b650cb18cecd8148b7683f2fb057d26c665ac74214714c2caa7baa726
- SHA1 (gtk-gnutella-0.96.4.tar.bz2) = 03893f83b44f677a6cc8af277115f40b6d208a18
- urn:bitprint:AOET7A5UJ5TXU3GIV4TXCFPUBNWSBCQY.OX2JFS62JOD35RHOIZJ6EJ6VNRAODGMMBL3KALQ
Thanks to everyone who contributed to this release in form of feedback, bug reports, patches or translations!
gtk-gnutella チーム
2006年11月9日, バージョン 0.96.3 がリリースされました
バージョン 0.96.3 は安定版としてリリースされます。いくつかのバグが修正され、改良されています。
以下にあるのはこのリリースでの変更箇所です。
修正されたバグ
- ARM アーキテクチャに影響する可搬性の問題が修正されました。
- 設定するピアモードが自動設定の場合、ウルトラピアが不要にリーフピアに戻されてしまう問題がありました。
- [GTK2] 偽りのアサーション失敗やメモリ破損を引き起こす可能性のあったバグが修正されました。
- 特定の場所で表示される数字が、短く切り詰められてしまうかもしれないバグが修正されました。
- 履歴が消去された場合は upload_history ファイルをリライトします。
- コンパイル時に IPv6 サポートが無効にされている場合、アサーション失敗によってクラッシュを起こす可能性がありましたが、これが修正されました。
- 問題のあった関数 utf8_is_valid_data() が修正されました。
- 訳文中の細かな間違いが修正されました。
- IPv6 サポートが無い場合でも Cygwin でコンパイルできるようになりました。
更新箇所
- フランス語の翻訳が更新されました。
- 有害IPアドレスのリストが更新されました。
- ブートストラップキャッシュのリストが更新されました。
- セルビア共和国およびモンテネグロ共和国のための国 (地域) 名・コードが更新されました。
改良箇所
- トルコ語の翻訳。
- 新しいシェルコマンド: online, offline, props, status.
- The search list allows selection of multiple items and applying actions to them now.
- gtk-gnutella のアプリケーション・ウィンドウを隠すトレイアイコンが追加されました。この機能を利用するには Gtk+ 2.10 またはそれより新しいバージョンが必要です。
- 不必要に多くの送信元を使うとのないように、ファイルごとのダウンロード数の既定値が 40 に制限されました。
- Keep certain irrelevant columns empty for "local:" searches instead of showing bogus data.
- Debian 派生のシステムで、gtk-gnutella を自分でコンパイルするための方法を記載した README.Debian を追加しました。
内部では
- Rewrote "fast" assertions so that they are sufficiently portable and do not mess with debugging. Thus they are always enabled now which reduces code size signifcantly.
- SQLite 無しでも TLS キャッシュが保存されるようになります。
- 現在の Gnutella ユーザの総人口からするとあまり有効ではないので、Gnutella スロットおよびベンダーの予約を無効にしました。
- GWebCache の更新を行いません。
- Configure bails out now if a mandatory dependency e.g., libxml2, GLib, zlib isn't available.
- コードをよりきれいにするため、GCC のコンパイル・フラッグに -Wshadow を追加しました。
ソース tarball のチェックサムは:
- SHA256 (gtk-gnutella-0.96.3.tar.bz2) = 6079661ffeb78ae480cf37cf9954d0c437d415363aa4133268b732700b52be80
- SHA1 (gtk-gnutella-0.96.3.tar.bz2) = 7469d4ea685c387f38e927efeb8b9947a9ec72e3
- urn:bitprint:ORU5J2TILQ4H6OHJE7X6XC4ZI6U6Y4XD.PE75OTYXNJILFDZFSWSHGSTLYNFKGLLHWPMG3DI
gtk-gnutella チーム
2006年10月17日, バージョン 0.96.2 がリリースされました
バージョン 0.96.2 は安定版としてリリースされます。いくつかの重大なバグが修正され、改良されています。
以下にあるのはこのリリースでの変更箇所です。
修正されたバグ
uname() が不正な値を返す問題
(バグ #1467793) が修正されました。おかしな HTTP 受信確認応答 (ACK)
(バグ #1467681) が修正されました。- Fixed bug #1422526
`Drop results' should prepend, not append, to filters
. - 動的検索クエリーのロジックのバグにより、他のリーフピアが gtk-gnutella のウルトラピアから殆ど検索結果を受信できない問題がありましたが、これが修正されました。
- 64ビットプラットフォームでナビゲーションツリーを使うとクラッシュするバグが修正されました。
- 一部の翻訳メッセージカタログでの書式ミスマッチが修正されました。
更新箇所
- フランス語、日本語およびウクライナ語の翻訳が更新されました。
- 有害IPアドレスのリストが更新されました。
- ブートストラップキャッシュのリストが更新されました。
- 国 (地域) 名とコードのリストが更新されました。
改良箇所
- イタリア語の翻訳。
- マグネットリンクのサポートが完成に近付いてきました。マグネットはドラッグ & ドロップまたは上部にある検索ボックスに入力することで gtk-gnutella に渡すことができます。また、検索結果画面やダウンロード画面の右クリックメニューからマグネットを生成できるようになりました。
- SHA-1を元にしたスパムフィルタリング。
- 特定のスパムに対しては内部機能で検出します。
- [GTK2] ダウンロード画面が全面的に見直されました。
- [GTK1] Downloads can be sorted albeit the sorting does not persist.
- Compiling the topless is variant is now as easy as
./Configure -Oders -Dd_headless
. --help
のようなコマンド行オプションがいくつかサポートされました。gtk-gnutella --shell
でローカル・シェル・インターフェイスを実行します。- 新しいシェルコマンド、
nodes
およびshutdown
が追加されました。 - 明らかにディスク容量が不足している場合はダウンロードを中止するようになります。
- Caching of TLS-support allows automatic use of TLS.
- ~/.gtk-gnutella/whitelist では
tls:
もサポートします。 - 検索結果の画面でいくつかの表示欄が追加されました (デフォルトは非表示)。
- Diverse IPv6 settings can be configured in the GUI now.
IPv4 および IPv6
の設定ができるようになります (デフォルトではIPv4 のみ
)。- SHA-1の無い検索結果はデフォルトで表示されないようになります。
- 有害IPアドレスからの検索結果を表示しないようにする事が可能になります (デフォルトでは非表示)。
-
One's own shared files can be search by using the prefix
local:
for searches. Local searches uses regex syntax unlike Gnutella searches.local:
alone will list all shared files. Local searches results allow drag & drop and generation of magnet links. - Socker を使うことで 1-1024 の TCP および UDP ポートにアクセスできるようにします。
- ワイルドカード・アドレスの代わりに、任意のアドレスに対してソケットをバインドできるようになります。
- Support of IPv6-to-IPv4 Transport Relay Translators (RFC 3142).
内部では
- 断片化を防ぎ、性能を向上するために mmap() を元にしたメモリ割り当てを行います。
- ソケットオプション TCP_DEFER_ACCEPT をサポートします (Linux)。
-
Support of accept() filter
dataready
(FreeBSD). - /dev/poll をサポートします (Solaris および IRIX)。
- 多元 (マルチソース) ダウンロードを行うにあたって、その一つひとつの送信元ごとにファイル記述子が必要になるような事はせずに、ダウンロードする一つのファイルに対して使用するようファイル記述子を共有します。
- ダウンロードバッファのフラッシュに pwrite(), pwritev() を使います。
- コマンド行オプション --log_stderr または --log_stdout が指定されている場合、SIGHUP でログを再オープンします。これはトップレス (コンソール) モードで役立つかと思います。
- Disabled following of HTTP redirects.
-
Support of
deflate
transfer-encoding for all downloads. - 圧縮 UDP パケットをサポートします。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.96.2.tar.bz2) = a7c2db6223bbabff3581edc6f8b45106
- SHA1 (gtk-gnutella-0.96.2.tar.bz2) = 59baec3659ad40bb07ba50b29b942facf584043f
- urn:sha1:LG5OYNSZVVALWB52KCZJXFBPVT2YIBB7
gtk-gnutella チーム
2006年3月14日、Subversion に移行しました
2006年3月14日現在、開発は SourceForge の Subversion で行われています。gtk-gnutella の最新版を手に入れるためにまだ CVS をお使いでしたら SVN リポジトリーに移行して下さい:
svn co https://svn.sourceforge.net/svnroot/gtk-gnutella/trunk/gtk-gnutella gtk-gnutella
ソースを更新するには:
svn update
これまでの CVS と違って、匿名利用者と開発者の SVN との間でタイムラグが発生することはありません。
2006年2月22日, バージョン 0.96.1 がリリースされました
バージョン 0.96.1 は安定版としてリリースされます。先日発見・報告された、いくつかのバグが修正されています。
以下にあるのはこのリリースでの変更箇所です。
修正されたバグ
- リストにある検索がホスト閲覧のみの場合に起こる問題 (バグ #1421196) が修正されました。
- 不完全なダウンロードがディスクに書き出される場合にはダウンロードバッファをリセットします (これにより、バグ #1429981 を修正)。
- GTK1版で実行する度に大きくなり続けるサイドバー (バグ #1421940) が修正されました。
- チャンクの完了を誤検出する問題が修正されました。これはダウンロードを必要以上に中断させていました。
- ダウンロードのステータスで、送信元からの通信速度を誤って倍に表示していました。
- ダウンロードペインでの取得範囲欄の内容が不正確になる事がありました。
改良箇所
- キューに入っている有効なダウンロードに対しても PFS の指示内容が表示されます。
- ダウンロードの途中経過を表示する際に、バッファ処理されているデータを考慮に入れます。
- ダウンロードでは、これより同じ接続先から行われた HTTP 接続の数を表示するようになります。
- メインウィンドウを正しい位置に配置するよう試みます。
基本設定の変更
- 接続がタイムアウトになる最短秒数が 15 秒に設定されます。
- Gnet 接続において、他のベンダーに割り当てるスロットの数が全体の 90% にまで上げられました。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.96.1.tar.bz2) = 6529379cc105c1e98f501a67e8e875fd
- SHA1 (gtk-gnutella-0.96.1.tar.bz2) = 28540c4e78f4c3513ac15b95228a98d17ace2091
- urn:sha1:FBKAYTTY6TBVCOWBLOKSFCUY2F5M4IER
gtk-gnutella チーム
2006年1月24日, バージョン 0.96 がリリースされました
バージョン 0.96 は安定版です。これより必ずこのバージョンを使うようにして下さい。以前の全てのバージョンは有効期限切れとなり、この新しい gtk-gnutella には接続できなくなります。また Gnutella ホストのウェブ供給システム (GWebCache) にもアクセスできなくなりますので、ハードディスクに保存されているキャッシュファイルを削除してしまうと、起動時にウルトラピアと接続できなくなります。
以下にあるのは、0.95.x の最後の安定版以降に行われた変更です。
新機能
- ホストの (HTML および Gnutella プロトコルでの) 閲覧を行えます。
- TLS および IPv6 がサポートされました。
- ウクライナ語、ギリシャ語、ノルウェー語 (ブークモール) および中国語 (簡体字) の翻訳が加わりました。
- D-BUS がサポートされました、アプリケーション間での通信が可能になります。
- ホットキーが追加されました: F2, F8 および F9 (メニューの「表示」以下を御覧下さい) です。
- 検索はこれより有効期限が与えられ、これを過ぎると打ち切られます。この期限は変更可能です。
改良箇所
- UTF-8 の処理が最適化されています。
- ロケールに合わせてファイル名を変換することができるようになります、これにはエンコーディングの自動判別が利用されます。
- QRP および検索フィルターにおいて、全般的に性能が改善されています。
- オランダ語、ドイツ語および日本語の翻訳が更新されています。
- 一部の表示欄で並べ替えがうまく働かない問題がありましたが、これが修正されました。
内部では
- システムコール epoll() / kqueue() がサポートされます。
- PARQ の残り時間に関してより楽観的になります、また QUEUE の応答がない時は PARQ は一時退避します。
- NFS 互換のセッションロック方式が採られました。
- 気の利いたプロパティ・ブラウザーが実装されました。環境設定ダイアログの「バグ解析」タブで、例えば「debug」を入力してみて下さい。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.96.tar.bz2) = 4e1cd518ac2995f29952274e880cd6ec
- SHA1 (gtk-gnutella-0.96.tar.bz2) = 29628c5a88d2e2e4167ec85cdc72ca4cf5108b7d
- urn:sha1:FFRIYWUI2LROIFT6ZBONY4WKJT2RBC35
gtk-gnutella チーム
2005年11月22日, バージョン 0.96b がリリースされました
0.96b は来たる 0.96 のβ版です。0.95x 系は11月26日に有効期限が切れようとしていますので、必ずこのβ版を使用するようにして下さい。
新機能
- 前回より始められたホストの (HTML および Gnutella プロトコルでの) 閲覧機能が取り敢えず完成しました。こちらからも相手のホストを閲覧できます。
- TLS および IPv6 がサポートされました。
- ギリシャ語、ウクライナ語、簡体字中国語の翻訳が加わりました。
- D-BUS がサポートされました、アプリケーション間での通信が可能になります。
- ホットキーが追加されました: F2, F8 および F9 (メニューの「表示」以下を御覧下さい) です。
- 検索はこれより有効期限が与えられ、これを過ぎると打ち切られます。この期限は変更可能です。
改良箇所
- UTF-8 の処理が最適化されています。
- ロケールに合わせてファイル名を変換することができるようになります、これにはエンコーディングの自動判別が利用されます。
- QRP および検索フィルターにおいて、全般的に性能が改善されています。
- ドイツ語、オランダ語および日本語の翻訳が更新されています。特にオランダ語の訳が完全なものになりました。
- 一部の表示欄で並べ替えがうまく働かない問題がありましたが、これが修正されました。
内部では
- システムコール epoll() / kqueue() がサポートされます。
- PARQ の残り時間に関してより楽観的になります、また QUEUE の応答がない時は PARQ は一時退避します。
- NFS 互換のセッションロック方式が採られました。
- 気の利いたプロパティ・ブラウザーが実装されました。環境設定ダイアログの「バグ解析」タブで、例えば「debug」を入力してみて下さい。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.96b.tar.bz2) = 5ecd6baa91a19250217fd6911c6a932f
- SHA1 (gtk-gnutella-0.96b.tar.bz2) = f9664cdc08639b7455b5e14f05cb891176404296
- urn:sha1:7FTEZXAIMONXIVNV4FHQLS4JCF3EAQUW
gtk-gnutella チーム
2005年7月31日, バージョン 0.95.4 がリリースされました
バージョン 0.95.4 はバグ修正リリースです。複数あるバグが修正されました。現時点でこれが最も安定しているバージョンですので、このバージョンの GTKG にアップグレードすることを勧めます。
- ダウンロードするのに最後のバイト・データのみが必要な場合には、ダウンロードが完了しないというバグが修正されました。
- ホスト閲覧サポートを準備中です、あなたが共有しているファイルを他のサーバントが閲覧できるようになります (あなたが閲覧することはできません)。標準では他のサーバントからは閲覧できないようになっています。
- ネットワークが一時的に機能しなくなった後には、GTKG は再びオンライン・ステータスを検出するようになります。
- デスクトップ・ファイルとアプリケーション・アイコンが正しくインストールされるようになります。
- ダウンロード (ファイル・ペインのステータス欄) の並べ替えが改善されました。
- UTF-8 サポートでのバグが修正されました。
- Doxygen 文書が更新されました。
- 日本語およびスペイン語の翻訳が更新されました。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.95.4.tar.bz2) = 4e6ea65149100c882f9b2c4ff7ca8dc1
- SHA1 (gtk-gnutella-0.95.4.tar.bz2) = 1a1773a28d5bf4aa988468911f48787a28519aa0
- urn:sha1:DILXHIUNLP2KVGEENCIR6SDYPIUFDGVA
gtk-gnutella チーム
2005年5月22日, バージョン 0.95.3 がリリースされました
バージョン 0.95.3 はバグ修正リリースです。複数あるバグが修正されました。これらのバグは、ある局面において問題を引き起こす傾向があるようですので、皆さんにこのバージョンにアップグレードする事を勧めます。
- 潜在的なサービス妨害 (DoS) 問題の修正。
- アサーション失敗をもたらす OOB 応答コードの修正。
- [GTK1] フィルター編集で有効オプションと削除ボタンを再び表示。
- 巨大なファイル (4 GB 以上) を不注意に切り詰めてしまう問題の修正。
- 64 ビットプラットフォームへの互換性の問題を修正。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.95.3.tar.bz2) = bde94b95622f895294bffac8cecbe67a
- SHA1 (gtk-gnutella-0.95.3.tar.bz2) = 1efeb54c8637f785e3a67e093c27fdf96974318b
- urn:sha1:D37LKTEGG73YLY5GPYETYJ757FUXIMML
gtk-gnutella チーム
2005年5月10日, バージョン 0.95.2 がリリースされました
バージョン 0.92.2 はバグ修正リリースです。複数のバグが修正されました。このバージョンにアップグレードする事を強く勧めます。
- gtk-gnutella のウルトラピアとそのリーフの間で必要とされるトラフィックの、4倍以上のトラフィックを発生させていました。
- ファイアウォール状況の検出の改良: ファイアウォールの内部にいないのなら、gtk-gnutella が以前のようにあなたがファイアウォール内にいると言ってくることはありません。
- 一部のバージョンの Glade で起こるビルド問題が修正されました。
- 細かなバグが修正されました。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.95.2.tar.bz2) = 59725fb818dcedc5573df3894c50f1a0
- SHA1 (gtk-gnutella-0.95.2.tar.bz2) = 885a5bf9793989d9ab40a8d2d3970378532e8b35
- urn:sha1:RBNFX6LZHGE5TK2AVDJNHFYDPBJS5CZV
gtk-gnutella チーム
2005年5月6日, バージョン 0.95.1 がリリースされました
バージョン 0.95.1 は安定版としてリリースされます。0.95 以前と比べて安定性が飛躍的に向上しましたので、0.95 で何らかの問題を抱えていたのなら、それらはこのバージョンで恐らく解消されているでしょう。この新しいバージョンへのアップグレードを推奨します。
- これより、Bitzi チケットは gtk-gnutella を再起動した後でも利用できるよう、永続的にキャッシュされます。
- ユニコード・サポートの改良:
- 検索式 (クエリー) で使用されるユニコードは、他の Gnutella クライアントのユニコード・ファイル名にマッチします。これである種の非ラテン文字を含むファイル名の検索が容易になります。このリリースの時点で、gtk-gnutella 0.95.1 と LimeWire のみがユニコード検索式 (クエリー) に対して適切に応答します。
- ファイル名は UTF-8 に変換されて共有されます、ダウンロードされたものも UTF-8 ファイル名で保管されます。
- 今回、ユニコードサポートは内部に組み込まれましたので、もう ICU ライブラリに依存しません。
- 検索の改良:
- 検索に使用する文字列にマイナス記号を付けることで、その文字列を含む検索結果を除外できます。例えば、検索文字列に "blah -blubb -nada" を使用した場合、"blubb" または "nada" に一致するものは自動的に除外されます。
- 検索フィルターは 4 ギガバイト以上のファイルをフィルターできるようになります。また、サイズの入力の際に KB, KiB, MB, MiB 他のような接尾辞も使えます。
- [GTK2] GUI の更新:
- "ダウンロード->ファイル" にあるアイテムをドラッグ&ドロップできます。例えばこれらをオーディオ/ビデオプレイヤーや画像ビューア他に渡せます。ですが、不明な送信元からのファイルをドラッグ&ドロップするのは危険ですのでよく覚えておいて下さい。
- GnutellaNet のコンテキストメニューに、ピアの IP アドレスを調べるための "DNS の逆引き検索" という項目が新たに加わりました。
- 検索結果に含まれる XML データはその詳細情報ペインで表示されます。
- 検索文を入力する場所が上部に移されました。
- ダウンロードペインが "稼働中の送信元" と "キュー" に分割されました。
- GTK 2.6.x とそれより古いバージョンとで互換性があります。
- GUI は IEC 60027-2 (2000-11) Ed. 2.0 に基づく SI プリフィックスをあらゆる場所で使用します。従ってこれ以上ハードディスク・ベンダに騙されることはありません。
- 64 ビット・アーキテクチャを含む更なるアーキテクチャでコンパイルできるよう、互換性の問題が修正されました。
- largefile に互換性のない sendfile() を持つシステムでも再び動作します。sendfile() がないプラットフォームでは、効率を上げるために mmap() を使用します。
- 今回から、二つの hostiles.txt が存在することになります、システム全般 ("グローバル") に影響するものと ~/.gtk-gnutella フォルダに置かれる個人用のものです。これらのファイルは変更が有り次第自動的にリロードされますので、変更を有効にするために gtk-gnutella を再起動する必要はありません。
- 地理情報、偽のアドレスおよびスパムサイトのリストが更新されました。
- 数多くのバグが修正されましたので 0.95 と比較した場合、安定性が大幅に増しています。そのほか修正された特筆すべきバグは:
- アップロードができなくなっていた場合、ウルトラピアとしての gtk-gnutella がいかなる検索もルーティングしていませんでした。
- UDP/TCP ポート設定での問題が修正されました (バグ #1091827)。
- ドイツ語、日本語およびスペイン語の翻訳が更新されました。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.95.1.tar.bz2) = f3f84b2f7bad40478d11f4f91156bedd
- SHA1 (gtk-gnutella-0.95.1.tar.bz2) = abd74c693a67dc7973d256109a98604213aa3331
- urn:sha1:VPLUY2J2M7OHS46SKYIJVGDAIIJ2UMZR
gtk-gnutella チーム
2004年11月27日, バージョン 0.95 がリリースされました
今回のバージョン 0.95 のリリースに伴い、gtk-gnutella は Gnutella ネットワークの最先端の機能をサポートします。 Gnutella の機能にてらせば、バージョン 0.94 は推奨できないサーバントと考えられます。ネットワークが持つ性能を引き出すために、 またネットワークを健全な状態に保つためにも、すべての gtk-gnutella 利用者はできるだけ早く 0.95 にアップグレードする必要があります。
- GUI の更新:
- マグネットリンクへのドラッグ&ドロップが可能になりました。
- [GTK1] 検索結果の表示欄が減らされます、ヒットの詳細は下に隠れている分割されたペインで表示されるようになります。
- グラフ表示される進捗インジケーターが新しくダウンロードされる部分、現在ダウンロード可能な部分をより正確に表示します、また実際にダウンロードしている箇所を矢印で指します。
- 検索結果の最大数が 1000 に引き下げられます。多くの検索結果を受け取ってしまうなら、お望みのファイルを検索するためにはフィルター、あるいはもっと絞った検索式 (クエリー) を入力して下さい。
- 検索結果の利用可能なすべての情報を表示するため、"ファイルに関する情報" という項目が検索結果ペインに加えられています。
- ステータスバーがコンタクトの取れたホストキャッシュに関するフィードバックを表示します。
- Gnutella ノード・ステータスがどれくらいのバイト数を送信/受信したのかを表示するようになります。
- ノードペインでは、検索ペインのように、どの欄を表示するかを右クリックで現れるメニューから設定できます。
- さらに多くの一般統計がステータスペインに追加されました。TCP と/または UDP トラフィックのステータスを別けて見られます (メッセージのみです、フロー制御は見られません)。
- ダウンロード可能なファイルの評価情報を取得するため、Bitzi サポートが追加されています。詳細は http://bitzi.com/ を御覧下さい。
- MaxMind の好意により、ホストの地理情報が表示されるようになりました。
- 最近開発された Gnutella ネットワークの機能がサポートされました:
- 高い出次数 (OutDegree) により Gnutella ホスト間の接続性が向上しています。今回ネットワークの最大 TTL (パケットの有効時間) は 4 に、ウルトラノードは最低でも 30 基のピアと接続を維持する必要があります。
- ウルトラピア間の Last-hop QRP (問合わせルート設定プロトコル) がサポートされました。
- 動的な問合わせがサポートされましたので、単にクエリーを広域送信する代わりに、ピアの問合わせを選択的に行えます。これはリーフノードのクエリーおよび、ウルトラノードとして動作している時のあなたのクエリーに対して使用されます。
- 帯域外 (Out-Of-Band) クエリーヒットにより、他のサーバントは Gnutella ネットワークを経由させずに、直接あなたに検索結果を届けられます。
- OOB のプロキシ経由のクエリーを利用することで、レガシーリーフノードが発したクエリーへのヒットを、ウルトラノードのレベルで直接届けることが可能になります。
- ファイアウォール内にあるホストは、ウルトラノードになれないようになります。
- "自動設定" モードで実行している場合、アップロードが異常に速い送信速度で滞っていたり、帯域幅が飽和していることを示しているなら、gtk-gnutella はリーフモードに戻されます。
- TCP に加えて UDP も転送プロトコルとしてサポートされます。この機能を最大限活用するために、ファイアウォールの設定を変更する必要があるかもしれません。この UDP ポートは TCP に使用されるポートと同じものを使用します。
- ファイアウォールの検出が UDP の検出も含めて改良されています。
- NTP が走っていないホストでの時計のずれを算出する方法が再設計されています。 また gtk-gnutella はローカルホストで走っている NTP を自動的に検出するようになります。
- 2 ギガバイト以上のファイルも使えるよう、巨大ファイルへのサポートが加えられています。
- 日本語訳が加わりました。
- フランス語とドイツ語の翻訳が更新されました。
ソース tarball のチェックサムは:
- MD5 (gtk-gnutella-0.95.tar.bz2) = de2ff4973c975ee16cdd69ca72c06bcd
- SHA1 (gtk-gnutella-0.95.tar.bz2) = 38be3abced5add254f7a0fff88b7e7e1d0e47fa8
- urn:sha1:HC7DVPHNLLOSKT32B77YRN7H4HIOI75I
gtk-gnutella チーム
2004年7月10日, バージョン 0.94 がリリースされました
バージョン 0.93.4 のリリースで 0.93 ブランチは安定性が改善されている一方、リリース 0.94 にはいくつかの素晴らしい新機能が追加されました、とは言え 0.93.4 と同じくらい安定しているはずです:
- GUI が更新されました:
- ファイル情報ペインは "ダウンロード" に名前変更されました。
- ダウンロード・ペインは "送信元" に名前変更されました。
- ダウンロードの途中経過が視覚的に表示されます。すでにダウンロードされているファイルの部分、今現在ダウンロードしている部分および Gnutella ネットワーク上にあるダウンロード可能な部分が表示されます。
- アップロードとダウンロード送信元ペインも視覚的な進捗バーを表示します。
- GTK2 の GUI の横幅が 933 ピクセルよりも狭くできるようになりました。
- 検索結果の表示欄に拡張子も表示されますので、必要ならファイルの拡張子による並べ替えもできます。
- Gnet ステータス・パネルとステータスバーが水平分布統計を表示します。
- 新しい Gnutella の拡張規格 HSEP/0.2 が組み込まれました。これは水平サイズの推定量を提示します。到達可能なノードやファイルの数、ネットワーク上に存在するすべてのファイルの合計サイズが表示されます。
- リモートシェルにコマンド "HORIZON" が加えられました、これは (パケットの) 到達領域ステータスを出力します。
- 標準ポートが指定されない場合は、無作為に選んで使用し続けます。
ファイアウォールの内側にいて gtk-gnutella にポートをルーティングさせているなら、まだそのポートを使用しているか確認して下さい! - ブートストラップする gwebcache リプライから最大 150 基までのホストを解析するようになります。
- gtk-gnutella は新しいホストキャッシュでより素早くネットワークに接続します。
- オランダ語の翻訳が更新されました。
- ドイツ語の翻訳が更新されました。
- スペイン語の翻訳が更新されました。
- フランス語の翻訳が更新されました。
- ハンガリー語の翻訳が更新されました。
md5sum: 8319ff7b8a5a5a7be995894c2ad3280f gtk-gnutella-0.94.tar.bz2
gtk-gnutella チーム
2004年6月9日, バージョン 0.93.4 がリリースされました
gtk-gnutella-0.93.4 がリリースされました。これはメインテナンス・リリースです:
- 安定性が向上しました。メモリが壊れる問題が解消されているはすです。
- gwebcache サポートがより改善されました、リプライにおいて最大 150 基までのホストを解析するようになります。
gtk-gnutella チーム
2004年2月6日, 0.93.x ブランチが作成されました
今日 Jeroen が CVS に B-0-93
ブランチを作成しました。何らかの修復のみがここで行われることになります。0.93.3 はすでに安定していると考えていますが、0.93.4 以上に安定性が向上することを望んでいます。CVS の HEAD ブランチは 0.94 になります。
0.93.3 への最新の修正を手に入れるには、以下のコマンドを使用して B-0-93
ブランチをチェックアウトできます:
cvs -d:pserver:anonymous@cvs.sf.net:/cvsroot/gtk-gnutella login
cvs -z3 -d:pserver:anonymous@cvs.sf.net:/cvsroot/gtk-gnutella co -r B-0-93 gtk-gnutella-current
匿名ユーザ用のパスワード入力が促されますが、単にエンターキーを押して下さい。
gtk-gnutella チーム
2004年2月1日, 横断幕の候補がサイト上に掲示されています
2004年の1月31日まで gtk-gnutella の横断幕/ロゴとして提出されたものすべてが開発者レビューのためにサイト上にあります。これらの内 5 つが最終候補になります、その中であなたが最も良いと考える横断幕を決められるように投票システムを設置します。
画像はここにあります。
gtk-gnutella チーム
2004年1月25日, バージョン 0.93.3 がリリースされました
これは主にバグ修正リリースです、利用者に分かる変更点はほとんどありません。複数のバグが潰されてメモリ漏洩が一掃されています。このバージョンにアップグレードするようお願いします。
さらなる変更点や、ファイルの MD5 チェックサム等はここにあります。
gtk-gnutella チーム
2004年1月12日, 間もなくバグ修正版がリリースされます
このリリースを待つか、公式 CVS スナップショットからコンパイルすることを勧めます。このスナップショットは少なくともリリース版と同程度に安定しています、またすでに報告されているバグの大半が修正されています。このリリースのバグを根絶する手助けをして下さるなら、バグ報告の方法を御覧になった上で、バグ追跡システムへバグを報告して下さい。後で gtk-gnutella へのいくつか素晴らしい改良がなされますので、待つだけの価値はあると思います。
2004年1月14日付の更新: 現時点で gtk-gnutella の CVS 版にあるメモリ漏洩を見つけるのに問題を抱えています。さらなるテストを要しますので、0.95.3 のリリースは恐らく遅れるでしょう。
gtk-gnutella チーム
2004年1月8日, 0.93.2 のパッケージが寄進されました
非公式 Redhat-9, Fedora, Mandrake-9.2 および Slackware-9.1 パッケージを私のウェブサイトに投稿しました。これらの gpg 署名されたパッケージを検証する方法に関しての手順は、そこにある README ファイルを御覧下さい。
eqom14
2004年1月7日, 新しい GTK-GNUTELLA のロゴ?
このページの一番上にある横断幕のロゴタイプは醜いと思いますか? たぶんあなたならもっと良いものを作れます! あなたの画像 (また可能であればそれらへのリンク) を -devel または -users メーリングリストに送って下さい。あなたのロゴが選ばれればあなたは勝利... あ〜、ええと、そうですね - gtk-gnutella 貢献者の栄誉の殿堂とウェブページでの特別な告知が進呈されます。
2004年1月14日付の更新: 画像は2004年の1月31日まで受け付けられます。
gtk-gnutella チーム
2004年1月5日, バージョン 0.93.2 がリリースされました
これらは 0.93.1 以降になされた変更の一部です:
- GTK1 は GTK2 のようにグループ化された検索とダウンロードをサポートします。
- 必要な帯域幅を減らしました。
- CPU の使用率を減らしました。
- ICU ライブラリが使用される場合、LimeWire の ASCII 以外の検索式 (クエリ) に完全追従するようになります。
さらなる変更はここにあります。
gtk-gnutella チーム
2003年12月28日, バージョン 0.93.1 がリリースされました (更新)
これらは 0.93 安定版以降になされた変更です:
- GUI に関する幾多の改良。
- GUI で数多くの改良が行われました。
- ウルトラピア間の接続性が向上しています。
- 他は普通のバグ修正です。
変更はここにあります。
2003年11月2日, バージョン 0.93 がリリースされました
ダウンロード・セクションからこの新しいバージョンを入手できます。
これらは 0.92.1 安定版リリース以降になされた変更の一部です:
- ダウンロードしているファイルの共有 (部分ファイル共有) をサポート。
- 悪意のあるホストから身を守るため hostiles.txt に新しいアドレスを追加しました。
- クエリヒットから別のダウンロード場所を取得して、それを収集します。
- 時々、設定を自動的に保存します。
さらなる変更はここにあります。
gtk-gnutella チーム
2003年8月15日, バージョン 0.92.1 がリリースされました
これらは 0.92 安定版リリース以降になされた変更の一部です:
- PARQ か改良されて、これに関するいくつか問題が修正されました。
- 複数報告されていたクラシュを引き起こす問題が修正されました。(#706014, #757276, #739262)
- Metaconfig に切り替えました、autoconf/automake は廃棄されます。
さらなる変更はここにあります。
gtk-gnutella チーム
2003年7月20日, バージョン 0.92.1 の候補がリリースされました
一・二週間で、とても安定しているバージョン 0.92.1 を提供できるよう、この候補をテストして下さい。これはリリース版と同じ位にあんていしていて、素晴らしいものになっているはずです。ツール一連にいくつかの問題があるので、ソースのみのリリースとなります。
貢献して下さった方やバグを報告して下さった方すべてに感謝します!
gtk-gnutella チーム
2003年6月15日, バージョン 0.92 がリリースされました
ダウンロード・セクションからこの新しいバージョンを入手できます。ここに上げるのは最新の安定版リリース 0.91.1 以降のいくつかの変更です:
- gtk-gnutella がウルトラピアになれるようになりました。
- クライアント側で PFSP (部分ファイル共有) をサポートしました。
- 完全な PARQ (Passive / Active Remote Queuing) サポートが追加されました。
- ネットワークにより素早く接続するようになり、帯域幅の利用法が改良されました。
- 非同期 DNS 検索をサポートしました。
さらなる変更はここにあります。
gtk-gnutella チーム
2003年5月25日, バージョン 0.92 の候補がリリースされました
- 今回 PARQ は完全に実装されています。
- 敵対的な IP アドレスを除外するようになります。
- ノードの状態 (リーフまたはウルトラモード) を示す新しいアイコンが表示されます。
- ダウンロード画面に "ファイル情報" ペインが新しく追加されました。完成はしていませんが、現在ダウンロードに登録しているものと、そのステータスを表示するようになります。
- 細かいバグが修正されました。
- GTK2 版は検索ペインで同じファイルを一つのグループにまとめます。
警告: ウルトラモードで動作している場合、リーフノードの帯域幅は HTTP から取られます。これで外への HTTP 帯域幅が 0 になるようなら、共有は無効になってしまいます。
gtk-gnutella チーム
2003年3月3日, バージョン 0.92 beta2 がリリースされました
これはバグ修正リリースです。beta1 を使用しているなら、このβ版にアップグレードして下さい。今のところ大半の利用者にとって GTK2 は遅すぎるため、GTK1 にのみコンパイル済みのものがあります。
- Gnutella ウェブ・キャッシュを頻繁に見に行っていまうバグが修正されました。 あるバグのようなテストのせいで、gtk-gnutella が毎回キャッシュに問い合わせていました。外部への接続を確立してしまっていたのです!
- Gnutella ウェブ・キャッシュのドメイン名解決が非同期的に行われるようになります。 もう GUI が DNS リクエストで固まってしまう事はありません。
- 一部性能の向上: 最も重大なボトルネックが取り除かれました。
- フロー制御のバグが修正されました、これは主に圧縮接続に影響を及ぼしていました: 不意に立往生したり、データを伝達しなくなってしまう可能性がありました。
- PARQ クライアントコードでのアサーション失敗が修正されました。
- ある指定されたホストからのダウンロードファイルの消去が不完全なのを修正しました。
- 警告: 現在のところ "余剰帯域幅を使う" が有効になっているかどうかに関わらず、リーフモードでない場合には各リーフノードに設定された帯域幅の合計は HTTP 接続に追加されます。これは後のリリースで変更されます。
gtk-gnutella チーム
2003年2月9日, 0.92 β版のコンパイルに問題が?
パッケージの GTK2 版をコンパイルするのに問題を抱えているのでしたら、GTK1 の方を選ぶか CVS からコンパイルしてみて下さい。どういうわけか、パケットが壊れているようです :(
このことに関して調査するつもりです。
Markus "guruz" Goetz <guruz at guruz dot de>
2003年2月8日, バージョン 0.92 βがリリースされました
私達はここに自信を持って今度の 0.92 リリースのβ版をリリースします。多くの特徴的な変更がなされていますので、できるだけ広い範囲に渡ってテストして下さるようお願いします。見つかったバグはどのようなものでも IRC チャンネルかメーリングリストに報告して下さい :)
- 今回からウルトラピアをサポートします、つまり gtk-gnutella はウルトラノードあるいはリーフノードとして動作することになります。まだノーマルノードとして動作することができますが、これは賢いやり方とは言えません、なぜならそれはあなたを Gnutella ネットワークの極一部に押しやってしまう恐れがあるからです。
- GTK2 フロントエンドは、たとえ GTK1 より遅くとも、もう試作ではありません。速度の問題は基礎をなす GTK ライブラリの実装がやや非効率なことに起因します。1 GHz のインテルチップに匹敵する CPU が搭載されていない場合は GTK2 を使用しないで下さい。
- クライアント側での PFSP (部分ファイル共有) サポートが追加されました。gtk-gnutella は部分ファイルを持っているサーバからダウンロードできるようになります。
- クライアント側での PARQ サポート (受動/能動遠隔キューイング) が追加されました。gtk-gnutella は能動キューイング・サーバまたは PARQ のどちらかからダウンロードを待機列に入れられるようになります。
- 新しい Gnet 統計: TTL およびホップ毎のフロー制御されたパケットを表示します。
- Gnet 接続ペインの "種類" 欄は "フラグ" になりました。
- Ping/Pong/Push での GGEP サポートが追加されました: 受け付けられたこれらのパケットは、GGEP をサポートしている事を知らせながら接続ホストに回送されます。
- 新しい設定 "余剰帯域幅を利用する": もし必要とされる場合、Gnet または HTTP で使用されないすべての帯域幅は他に回されます。
- アップロードおよびダウンロードされた合計バイト数の総計が追加されました。
- ベンダ特定メッセージのサポートが追加されました。
- 非ノーマルモードで動作している時、もう設定 "圧縮転送を優先する" は意図した通りに働きません。
- 新しいホップ-フロー・サポート: 今回より、フロー制御された遠隔接続は、こちらのフローを制御している事を警告するようになります。従ってこちらはそれらに送信する代わりに、外部への帯域幅を節約しながら、即座にクエリを破棄できるようになります。
- 検索式 (クエリ) ヒットにおいて gtk-gnutella のバージョンを表示するようになります。
- キューペインはキュー (待機中のダウンロード) の総計と同様に有効なダウンロードの総計も表示します。"有効" ダウンロード・ペインは遠隔サーバが応答するダウンロードが表示されるエントリーです。
- 接続アルゴリズムが変更されました: これにより実際に設定されたものより多くの接続を試みるて、必要になった場合に、後で余分な接続を破棄するようになります。
gtk-gnutella チーム
追伸: Raphael が楽しい空の旅と DMCA の地での滞在を送れますように ;)
2003年1月27日, まだ活動しています
これは gtk-gnutella がまだ開発されている事をお知らせするささやかな情報です。現在 CVS にはウルトラピア側およびリーフ側でのウルトラピアサポートが加えられています。クライアント側の部分ファイル共有プロトコル (PFSP) も追加されています。同様に誰か (MrJoe ;) がキューイングサポートを実装しています。素晴らしいニュースだと思いませんか? :)
Bleeding Edge 版を試してみたければ、開発に関するページへ行ってどのように CVS 版を入手するか見てみて下さい。
Markus "guruz" Goetz <guruz at guruz dot de>
2002年12月24日, メリークリスマス
gtk-gnutella チームはこの世の全ての人に楽しく幸福なクリスマスが訪れることを願っています! もし Gnutella ネットワークに何かお返ししたいと思うなら、GWebCache (それと、もちろん gtk-gnutella) を走らせて支援して下さい ;-)
Markus "guruz" Goetz <guruz at guruz dot de>
2002年11月25日, ウェブページの新しい管理者から
こんにちは皆さん、
私は gtk-gnutella ウェブページの新しい管理者です。もっと多くの情報を載せて利用者が私達を訪れる手助けをしたいと思っています :)
何か質問や加えたいものがあれば気軽にメールして下さい。
依然として私達はもっと多くの開発者を必要としている事を忘れずにいて下さい!
Markus "guruz" Goetz <guruz at guruz dot de>
2002年11月22日, 0.91.1 安定版がリリースされました
細かいバグの修正リリースです、これにはバージョン 0.92u ではすでに追加されている、動作する新しい機能すべても含まれています。
- ダウンロードされたファイルの SHA1 を見えない所で検証するようになります。
- フォルダを設定する新しいパラメータが追加されます、このフォルダがある場所に知らされた SHA1 とは一致しない "不正ファイル" が置かれます (標準では /tmp になりますので、設定するのを忘れないで下さい)。
- 異なるファイルシステム上にある様々な "ダウンロード" フォルダをセットアップするのが可能になるように、今回から見えない所でファイルがコピーされます。
- ノード接続時間および遠隔ノードの稼働時間が (可能であれば) 表示されます。
- SHA1 検索を始めるため検索語入力フォームに "magnet:" URI を貼り付けられます。
- 左下にある "接続インジケータ" が切り替え可能になります。接続を切ると、アップロードの提供およびダウンロードの処理を除くあらゆる Gnet 接続が終了するでしょう。
- 実行中のダウンロードのステータスがどれくらいの数の送信元を利用できて、どれくらいの数が現在有効 (すなわちダウンロード中) かを表示します。同様に、詳細な報告をしながら、ファイル全体がダウンロードされるまでのおおよその残り時間も表示します。
- ファイルの SHA1 が分かっている場合に、最近の BearShare (4.1.x またはそれ以降) および Shareaza (1.6.0 またはそれ以降) からきちんとダウンロードできなくなるバグが修正されました。
- 関連する IP を禁止することで "大量に来る PUSH" に対して保護処置を取るようになります。
- 起動時に、ダウンロード完了したファイル (その SHA1 が問題ないと確認されたかによります) を関連フォルダに移動しながら、置去りにされているファイルをダウンロードの "tmp" フォルダでスキャンして、それらをファイル情報データベースで再統合します。
- 細かなバグの修正: 一時退避する時の Push のタイムアウトに対する秒読み時期が不適当でした、クラッシュや不正確な振る舞いを引き起こす可能性のあるコーナー・ケース処理が修正されました、X-Live-Since ヘッダで偶発的なローカル化が起こっていました、多数のアップロードをクリアする時に GUI が固まってしまっていました、不明瞭な移植性が修正されました。
できるだけ早くアップグレードすることを強く勧めます。
Raphaël Manfredi & Richard Eckart
2002年10月19日, 0.91 安定版がリリースされました
ほぼ三ヶ月に及ぶ開発努力の後に、この新しい 0.91 安定版を自身を持って発表します。最新の 0.90 リリース以降、数多くの特徴をなす変更がなされています。とりわけ:
- HTTP/1.1 を使用します、これは言外に永続的な接続をサポートすることを示唆します。
- インターネットに繋がっているか監視して接続の調子が悪ければ (長くて三分の遅れを検出後)、その接続リクエストを減らすようになります。
- 多数の送信元からのダウンロード (Swarming) がサポートされます: gtk-gnutella は別の送信元が利用可能な限り、同一ファイルの異なる一部を多くのホストからダウンロードするようになります。
- ダウンロード・キューをもっと多くの送信元で埋めるように、今回からダウンロード・メッシュ (ダウンロード中に別の送信元を収集) が使用されます。
- 検索式 (クエリ) ヒットから別にダウンロード可能な場所を受動的に収集するようになります。 ダウンロード設定ペインの多元ダウンロード (Swarming) を設定する場所でこれを有効にできます。
- 使用中のホストへの頻繁なアクセス (Hammering) を避けるために、また全体を減速させることなくキューにおいて 5000 以上の規模のエントリーを扱えるよう、ダウンロードのスケジュール処理が全面的に再設計されました。
- 今回より "Push" フラグを備えるようになります。もしファイアウォール内にない遠隔ホストがこのフラグを誤ってセットした場合、可能であれば無視するよう試みるでしょう。
- ダウンロードされたファイルを覚えておいて、同じファイルをダウンロードする更なるリクエストを無視するようになります。 検索結果においてより明るい色で表示することで、すでに共有しているファイルと同様に、これらにも視覚的なマークを付けるようになります。
- gtk-gnutella にあなた自身が作成した "SHA1" および "名前/大きさ" による無視ファイルリストを渡せるようになります。ですが、この機能に関する文書は作成中です。
- "上級者モード" が追加されました。これが有効になっている時のみ利用者に一部の最も複雑な設定を表示します。
- 新しい Gnutella 統計ペインで、パケットの種類に応じて、送信および受信した数、こちらで生成した数、こちらで破棄した理由を表示します。
- UTF-8 のクエリを理解するようになりますが、生成はしません。
- 重要なバグが修正されています、それによって初期のバージョンのすべての gtk-gnutella が、故意ではないのですが Gnutella トラフィックを悪化させていました!
- 一般公開されているホストキャッシュを使わずに Gnutella ウェブキャッシュ (GWebCache) を使用するようになります。
- 転送中のものだけでなく、すべてのアップロード要求を表示します。接続が中断された場合でもその理由が表示されます。
- 新しい種類の検索ステータス: ルータによるクエリ、クエリ全体。
- "ルータによるクエリ" はどれくらいの数のクエリを gtk-gnutella に直接接続しているいずれかのノードから受け取っているかを表示します。
- "クエリ全体" は別個の検索語の代わりに完全な検索文字列を基にしたステータスを表示します。
- 新しくステータスバーにアイコンで視覚的な表示を行います: gtk-gnutella がライブラリを再構築しているかどうか、見えない所で共有ファイルの SHA1 を算出しているかどうか、それとインターネットに接続しているかどうかが分かるようになります。
判明しているバグ/問題:
- 不完全/完全なファイルを置くフォルダを変更しても、~/.gtk-gnutela/fileinfo に記録されている部分的にダウンロードされるファイルは依然として元のフォルダにダウンロードされます。あなたはお好きなエディタの検索/置換を利用してこのファイルの各ファイルのパスを変更する必要があります。
- 各テーブルの並び順はセッションに跨って保存されません。
- 検索結果/ダウンロード/アップロードのマーキング/強調表示はあなたの GTK テーマにかなり依存します。特にほとんどのテーマは fg[ACTIVE] と fg[NORMAL] に違う値を設定していません。
- 今のところ無視されるファイルを GUI 経由で再び戻す方法はありません。しかしながら、~/.gtk-gnutella フォルダにあるファイル done.sha1 と done.namesize を御自分の手で編集することができます。次のリリースで GUI を通して行えるよう、予定されています。
このバージョンを本当に気に入って下さることを願っています。私達は gtk-gnutella が今日 Unix で利用可能な最も高度で機能的な Gnutella サーバントだと依然考えています。
Raphaël Manfredi & Richard Eckart
2002年7月7日, バージョン 0.90 安定版がリリースされました
とうとうリリースされました! 実り多いβテストの後、実際のものがここにあります!
ソースコードに加えて、コンパイル済みの .deb および .rpm 形式パッケージが SourceForge にあります。楽しんで下さい!
2002年7月1日, バージョン 0.90 beta2 がリリースされました
ささいな問題を直しつつ、バグ修正および細かい拡張がなされたリリースです。
- CPU の使用率がずっと少なくなるよう、検索での自動選択が非常に高度なものになりました。
- より新しいバージョンの gtk-gnutella に出会った時に利用者に注意を促すようになりました。
- 検索語に "urn:sha1:" と入力してその後に Base32 値を続けることで、URN 検索ができるようになります。
Raphaël Manfredi & Richard Eckart
2002年6月24日, バージョン 0.90 βがリリースされました
ほぼ三ヶ月にも及ぶ弛まない開発の後、自信を持って新しい 0.90 β版を発表します。最新の安定版 0.85 以降、多くの特徴をなす変更が行われています。とりわけ:
- すべての設定は GUI から行えるようになっています。
- Linux の ipchains/iptable のように働くよう、検索フィルターが全面的に再設計されています。
- 試作だった "自動ダウンロード" が廃止され、新しいフィルター処理コードに取り代えられています。
- Gnutella 帯域幅を管理できるようになっています (0.85 ではすでに HTTP 帯域幅を管理できましたが、GUI 経由では設定できませんでした)。
- HTTP および Gnet の帯域幅はリアルタイムに表示されます。
- 完全な HUGE (Hash/URN Gnutella Extensions) サポートが追加されました。
- ローカルホストの環境設定が追加されました。
- 圧縮トラフィックをサポートしているノードに接続する際には gtk-gnutella もそれを行えます。
- アップロードおよびダウンロードではユーザ・エージェント/サーバ情報が表示されるようになります。
- ダウンロード・キューのステータスが追加されました。
- ダウンロード・キューを手動で凍結できるようになります。
- 検索はウィンドウの左側にリスト表示されるか、以前のバージョンのようにタブとして表示されます。
- 頻繁にアクセスしてくる (hammering) サーバントを自動的に禁止します。
- 多くのカッコよい新機能が追加されました、それらはいろいろ試しているうちに発見するでしょう。
このバージョンを気に入って下さることを願っています。私達は gtk-gnutella が今日 Unix で利用可能な最も高度で機能的な Gnutella サーバントの一つだと考えています。
Raphaël Manfredi & Richard Eckart
2002年5月15日, トラフィック圧縮が活動中
いくつかのバグ修正後、トラフィック圧縮が良好に働くようになりました。いくつかのステータスさえ追加されています。最初の行にある割合 (TXc=...,62% RXc=...,39%) で、0% というのは '増加なし' を 100% は '発生トラフィックなし' を表します。
2002年5月11日, gtk-gnutella は圧縮トラフィックをサポートします
本日 Raphael は gtk-gnutella トラフィック圧縮スタックの最初の実装を完成させました。何から何まで新しく圧縮は依然として十分にテストされていませんので、まだ角が残っています。しかし、多くの人が CVS からコードを入手してバグを報告して下されば下さるほど、早く安定することになるでしょう。
2002年5月3日, gtk-gnutella は検索を保存します
現在の CVS 版の gtk-gnutella では、検索語をディスクに保存して再起動時に復元するようになっています。 GUI のレイアウトも大きく変更されていて、帯域幅の管理は gtk-gnutella の実行中に行えます。
2002年4月5日, バージョン 0.85 ではトラフィックの優先順位付けられるようになり GUI が変更されています
GUI が一部変更されています、表示されるものとその表示のされ方 (検索、アップロード統計、サーバント名、瞬間転送速度、他) が大きく変更されています。また HTTP プロキシを通して接続できるようになります。ローカル IP の変更も自動的に検出します。他多くの変更がなされました。
2002年3月23日, バージョン 0.85-beta1 が出ています
gtk-gnutella 0.85-beta1 がリリースされています。先週のニュースに書いたように、
多くの変更
がなされていますので、アップグレードするだけの価値は間違いなくあります。
βおよび CVS リリースの簡単な覚え書き: 開発者はプログラムに新しいバグを加えてしまったり安定を妨げないよう細心の注意を払いましたので、一般的に現在の CVS 版やβリリースは実際のリリース同様安定しています。CVS/βリリースと通常のリリースの唯一の違いは、次回のリリースのためにリストされている機能が完全に実装されていない事と、リリース前にバグや安定性を損なうものが全くないかきちんと確認するために、リリース候補は必ずテストしなければいけない事です。
2002年3月16日, gtk-gnutella での使用帯域幅が設定可能になりました
バージョン 0.80 安定版がかなり前からリリースされています、また Raphael は CVS バージョン (0.85 開発版) での開発を続けていて数多くの機能を加えたり修正したりしています。実際その価値はありますので、CVS から現在の gtk-gnutella をダウンロードして試してみて下さい。最も重要な拡張の一つは帯域幅の管理が組み込まれたことです。今回より gtk-gnutella は x バイト/秒以上の帯域幅を使わないよう設定できるようになります、モデムや遅い DSL 回線では大いに役立つでしょう。
帯域幅の管理を設定するにはファイル ~/.gtk-gnutella/config にある output_bandwidth と input_bandwidth の値を変更する必要があります。私自身は 10240 と 40960 に設定しています、これで私の 512/128kbps の回線にもいくらか帯域幅の空きを残しておけます。
2002年1月27日, 0.80-beta2 がリリース、ホームページに新しいスクリーンショットが載せられます
0.80beta2 は新機能の追加なしのバグ修正リリースです。ダウンロード、テストして残っているバグすべてを報告して下さい。
新しい gtk-gnutella の見た目がどのように素晴らしくなるのか興味がある方は、スクリーンショットのセクションで新しいスクリーンショットを御覧下さい。
2002年1月19日, 0.80-beta1 がリリースされました
詮索結果のフィルタリング、ハンドシェーキング・プロトコル (バージョン 0.6) および新しい ping/pong 方式の実装を通して使用される帯域幅の減少を含む、本当に多くの変更 (先週末のニュースを御覧下さい) がなされています。
残りの重要な変更が実装され次第バージョン 0.90 をリリースする予定です、つまり機能が一時凍結されます! ですので、よく調べ直して、CVS 開発版をテスト、見つけるすべてのバグを報告して下さるよう尾根がいます。
2002年1月12日, CVS で多くの大きな変更が行われました
基本的なコードのほとんどが変更されています。またより新しい Gnutella プロトコル (例えば 0.6 ハンドシェーキングのサポート) に合わせて最新の状態になっています、もっとも GUI は以前のものとほぼ同じように見えますが。隠れているバグを探すためにもぜひこれを試してみて下さい (CVS については開発に関するページを御覧下さい)。
まもなくバージョン 1.0 のリリースが予定されています、その後は完全に新しいコアと GUI での作業が始まります。この二つの部分を完全に別けることで、異なる GUI (KDE, ncurses 等) を gtk-gnutella の gnutella コアと使用できるようになります。
2001年12月4日, 少し前にバージョン 0.18 がリリースされました
が私はオフライン (基本的にまだそうです、なぜなら引越しをしたばかりで、ケーブルモデム・プロバイダが私のアカウントをまだ更新していないからです) でしたので更新できませんでした。いずれにせよ、常にSF のプロジェクトページで新着情報を確認するようにして下さい。もしメーリングリストに登録しているのでしたら、新しいリリースは何時になるのか聞いてみて下さい。そう何週間も後にはならないと思います...
2001年11月13日, 新しいウェブサイトを開設しました
今のところ (デザインは置いておいて) 大半は内部の変更、保守し易いようにしたり、ニュース記事等を加えています。これからもっと多くの内容、リンク、スクリーンショット等を追加していく予定です。何が欠けていて、どんなものにしたいか私 (maol - ウェブ管理者) に知らせて下さい!
2001年11月5日, まもなくバージョン 0.18 がリリースされます
プレビュー・バージョン (CVS で取得できます) にバグと思われるメモリリークが見つかっていますので、 まもなくバージョン 0.18 がリリースされます。
2001年10月24日, ついにバージョン 0.17 がリリースされました
このリリースでは、 CPU の使用率が体感できるくらい下がっています。特に多くのファイルを共有して (いるか)、多数のノードに接続している人達は分かるはずです。
3600 以上のファイルを共有して 7 基のノードと接続している 466 Mhz の PC では、一般的に CPU 使用率が 2% 以下になります。
2001年10月3日, バージョン 0.16 がリリースされました
コードが更に整えられ、様々な箇所で最適化されました。一部の明らかなバグも修正されています。
2001年9月10日
Raphaël Manfredi が驚異的な速度でパッチ、バグ修正および新機能を追加して gtk-gnutella の開発を引き継ぎました。gtk-gnutella が再び甦りますように。