Skip to content
Snippets Groups Projects
  1. Dec 20, 2018
  2. Dec 19, 2018
    • rswindell's avatar
      Important update to the default TCP socket values defined in this file: · c5e7bdfb
      rswindell authored
      - no longer override the default send and receive socket buffers (limiting
        to 8Kbytes) - apparently modern TCP/IP stacks can use much larger buffers
        for sending large data more effeciently (quickly) over fast networks.
        Eliminating these 2 lines sped up the web server (e.g. wiki.synchro.net)
        page loads by a factor of 20+.
      - enable TCP_NODELAY (disabling the Nagle algorithm) for *all* TCP sockets
        by default (not just telnet and rlogin servers).
        This helps performance of large data transfers a little bit too.
      
      Big thanks to Deuce (!) for helping to debug and identify the cause of the
      poor performance of the web server. I'm not sure why I/we were overriding
      the default send/receive buffers but the old sockopts.cfg file introduced
      in 2003 had 4Kbyte buffer sizes specified, and then when we switched to
      sockopts.ini in 2005, the buffer sizes were increased to 8Kbytes. This might
      have been the defaults for say, the Windows TCP/IP stack at the time, I
      forget where I got those numbers from. Anyway, we shouldn't override them
      without a good reason. And today, we definitely don't have a good reason
      that I'm aware of. The default buffer sizes perform *much* better!
      c5e7bdfb
  3. Dec 18, 2018
  4. Dec 17, 2018
  5. Dec 16, 2018
  6. Dec 15, 2018
  7. Dec 12, 2018
  8. Dec 10, 2018
  9. Dec 07, 2018
  10. Dec 06, 2018
  11. Dec 04, 2018
  12. Dec 03, 2018
  13. Nov 24, 2018
    • echicken's avatar
      Rewrite of parse method. · 20a74f8d
      echicken authored
      Handle 5D addresses (with or without point component).
      Validate numeric address components and domains per FSP-1028.
      Return value (if an object) now contains 'domain' property (if present).
      Should fix processing of TICs with associated 5D addresses.
      Introduces an unwieldy and overwrought regex.  Unf unf.
      May break the entirety of fidomicrocyberchatnet.
      20a74f8d
    • rswindell's avatar
      'tin' apparently uses the 'high water mark' field in the GROUP response for · 85b18e8b
      rswindell authored
      "new message" detection (not the total number of articles) - so use the last
      non-vote message number as the high water mark, not the msgbase.last_msg
      value. For nelgin - Happy Turkey!
      85b18e8b
  14. Nov 23, 2018
  15. Nov 20, 2018
    • rswindell's avatar
      Fix problem reported by Nelgin: · 80eb72ce
      rswindell authored
      The GROUP command reports the total number of articles in a group and we
      were returning the total number of message indexes/headers, which includes
      vote messages (not retrievable/viewable via NNTP) and messages flagged for
      deletion (not retrievable/viewable via NNTP). So, count the actual
      number of non-vote/deleted messages (index records) to use in the GROUP
      response.
      80eb72ce
  16. Nov 18, 2018
    • rswindell's avatar
      Fix the "undefined" age and sex (gender) values when listing systems that · 94e61d9b
      rswindell authored
      support active-users.json queries but don't report age and gender.
      94e61d9b
    • rswindell's avatar
      Hackety-hack-hack... hack · 6473f58a
      rswindell authored
      So I tested the following cases, which all pass:
      cwd diralias -> 250 CWD command successful.
      cwd /diralias -> 250 CWD command successful.
      cwd /diralias/ -> 250 CWD command successful.
      cwd /diralias/filename -> 550 filename: No such directory.
      cwd /filealias -> 550 filealias: No such diretory.
      cwd /filealias/ -> 550 : No such diretory.
      retr filealias -> 150 Opening BINARY mode data connection for file transfer.
      retr /filealias -> 150 Opening BINARY mode data connection for file transfer.
      
      Hopefully is the end of the fixes for Chrome browser ftp weirdness
      (tries to "CWD" to anything/everything to determine if it's a file or not).
      6473f58a
  17. Nov 17, 2018
  18. Nov 12, 2018
  19. Nov 11, 2018
    • rswindell's avatar
      Attempt to address crash (segfault) reported by ragnarok, maybe · 7bd114e9
      rswindell authored
      buffer overflow caused by long-filenames (?) :
      
      Thread 2 "SDL Main" received signal SIGSEGV, Segmentation fault.
      [Switching to Thread 0x7ffff0be5700 (LWP 31102)]
      strlen () at ../sysdeps/x86_64/strlen.S:106
      106../sysdeps/x86_64/strlen.S: No existe el fichero o el directorio.
      (gdb) bt
      #0  strlen () at ../sysdeps/x86_64/strlen.S:106
      #1  0x00007ffff6f10da8 in _IO_vfprintf_internal (s=s@entry=0x7ffff0bc2230,
      format=<optimized out>, format@entry=0x55555558ec5c "%-12s ",
          ap=ap@entry=0x7ffff0bc2378) at vfprintf.c:1637
      #2  0x00007ffff6f31afb in __IO_vsprintf (string=0x7fffec00b0c0 "\310\a",
      format=0x55555558ec5c "%-12s ", args=0x7ffff0bc2378) at iovsprintf.c:42
      #3  0x000055555556a701 in bufprintf (buf=0x7ffff0bc2480 "", attr=31,
      fmat=0x55555558ec5c "%-12s ") at miscfunctions.c:560
      #4  0x000055555555e332 in load () at load.c:796
      7bd114e9
  20. Nov 10, 2018
  21. Nov 09, 2018
Loading