1. 18 Nov, 2004 1 commit
    • rswindell's avatar
      Work-around problem in src/sbbs3/GNUmakefile: · 64283d35
      rswindell authored
      Macros in sbbsdefs.mk should only be defined when building libsbbs.so. This is
      the cause of the "static declaration of 'x' follows non-static declaration" GCC
      warnings. While harmless warnings now, in GCC 3.5, this condition has been
      elevated to a compile error. :-(
      The real fix needs to be made in GNUmakefile someday (Deuce). :-)
      64283d35
  2. 16 Nov, 2004 2 commits
  3. 15 Nov, 2004 1 commit
  4. 08 Nov, 2004 1 commit
  5. 06 Nov, 2004 1 commit
  6. 04 Nov, 2004 1 commit
  7. 03 Nov, 2004 2 commits
  8. 02 Nov, 2004 1 commit
  9. 20 Oct, 2004 1 commit
  10. 18 Oct, 2004 1 commit
  11. 16 Oct, 2004 2 commits
  12. 14 Oct, 2004 1 commit
  13. 17 Sep, 2004 1 commit
  14. 05 Jun, 2004 1 commit
  15. 30 May, 2004 1 commit
  16. 15 Apr, 2004 1 commit
  17. 19 Mar, 2004 2 commits
  18. 20 Jan, 2004 1 commit
  19. 26 Nov, 2003 1 commit
  20. 05 Nov, 2003 1 commit
  21. 26 Oct, 2003 1 commit
  22. 25 Oct, 2003 1 commit
  23. 16 Oct, 2003 2 commits
  24. 11 Oct, 2003 1 commit
  25. 09 Oct, 2003 1 commit
  26. 26 Sep, 2003 1 commit
    • rswindell's avatar
      Server startup structures now include a private data pointer which is passed · ab579610
      rswindell authored
      back to callback functions (e.g. lputs, thread_up, etc). This allows servers
      to share the same callback functions, eliminating many nearly-identical
      functions. This was able to shave quite a bit of redundant code from ntsvcs.c.
      This feature is not utilized in sbbs (sbbscon.c) or sbbsctrl (mainformunit.cpp).
      ab579610
  27. 16 Sep, 2003 1 commit
  28. 02 Sep, 2003 1 commit
    • deuce's avatar
      Linux will now (sort of) run as a non-root user. After hours of trying · 772ac0b2
      deuce authored
      to track down the issue, I finally gave up... as a result, there is a new
      feature!
      
      Linux will no longer completely drop it's root privs (It never really did
      anyways, and you couldn't possibly make it... but now it does so even less)
      
      As a result, Linux can now recycle all servers when running as non-root.
      
      From a security standpoint, doing this is more secure than running as root,
      but less secure than the behaviour on POSIX.4 compliant pthreads.  Running
      the BBS as root means that if a user can create a file with the name of his
      choice, or pass *any* command through to a shell, that user will get root
      access to the machine.  Using the new behaviour, the user would need to
      trick the Synchronet binary itself into executing arbitrary and specially
      crafted code... probobly using the dreaded buffer overflow... of which
      there are probobly some in the web server code.  :-)  If the user can do
      this much more tricky feat, then the user gets root privs.  If not, the
      user will have to find something else to exploit on your system.
      
      Knowing that some *BSD users (surely not OpenBSD users though) will want to
      trade security for convenience, I stole a page out of the Sendmail book and
      implemented a "DONT_BLAME_SYNCHRONET" make option.  Compiling like this:
      gmake DONT_BLAME_SYNCHRONET=1
      
      Will implement this same behaviour on non-Linux platforms.  Allowing this
      partial security feature.
      772ac0b2
  29. 30 Jul, 2003 1 commit
  30. 23 Jul, 2003 1 commit
    • rswindell's avatar
      Fixed (finally) JavaScript object initialization segfaults when the JS runtime · 345eafda
      rswindell authored
      "max_bytes" value is insufficient for the number of configured items:
      by defining dynamically created objects and arrays as properties of child
      objects of the global object immediately after such objects are created,
      they are "implicitly rooted", protecting them from (unexpected) garbage
      collection. Now the initialization will simply fail with a nice "out of memory"
      error. This was a long-standing bug that rarely occurred in the wild.
      345eafda
  31. 11 Jul, 2003 2 commits
  32. 04 Jul, 2003 1 commit
  33. 14 Jun, 2003 2 commits