• Seg's Fault

    From Mindless Automaton@VERT/ELDRITCH to DOVE-Net.Synchronet_Discussion on Monday, April 07, 2014 22:54:27
    In today's new:

    Apr 7 14:04:39 eldritch synchronet: term 0027 SSH connection accepted
    from: 23.253.20.82 port 59760
    Apr 7 14:04:39 eldritch kernel: [1104391.704922] BBS[7452]: segfault at 7f9cd0c6d3b0 ip 00007f9d1f701317 sp 00007f9cc9ffadc0 error 4 in libsbbs.so[7f9d1f583000+6f8000]

    If that doesnt mean anything to you, that makes two of us.

    Thanks!

    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From Dreamer@VERT/SETXBBS to Mindless Automaton on Tuesday, April 08, 2014 15:50:00
    Mindless Automaton wrote to DOVE-Net.Synchronet_Discussion <=-

    In today's new:

    Apr 7 14:04:39 eldritch synchronet: term 0027 SSH connection accepted from: 23.253.20.82 port 59760
    Apr 7 14:04:39 eldritch kernel: [1104391.704922] BBS[7452]: segfault
    at 7f9cd0c6d3b0 ip 00007f9d1f701317 sp 00007f9cc9ffadc0 error 4 in libsbbs.so[7f9d1f583000+6f8000]

    If that doesnt mean anything to you, that makes two of us.

    I'm sure others can explain a lot better than I can, but the segfault, ip,
    and sp locations basically describe where in memory the error occurred, as
    well as which instructions were being handled (I am not a programmer, so
    that's probably not exactly right, but I think it's good enough for a layman). In any case, error 4 is a little more descriptive for us. One site online
    says this about error 4:

    The cause was a user-mode read resulting in no page being found. (also known
    as a null pointer dereference).

    Without knowing more, it almost sounds like a bug to me.

    --- MultiMail/Win32 v0.49
    þ Synchronet þ Sovereign State BBS
  • From Digital Man@VERT to Mindless Automaton on Wednesday, April 16, 2014 16:06:08
    Re: Seg's Fault
    By: Mindless Automaton to DOVE-Net.Synchronet_Discussion on Mon Apr 07 2014 10:54 pm

    In today's new:

    Apr 7 14:04:39 eldritch synchronet: term 0027 SSH connection accepted
    from: 23.253.20.82 port 59760
    Apr 7 14:04:39 eldritch kernel: [1104391.704922] BBS[7452]: segfault at 7f9cd0c6d3b0 ip 00007f9d1f701317 sp 00007f9cc9ffadc0 error 4 in libsbbs.so[7f9d1f583000+6f8000]

    Can you reproduce the problem? Are you running a Debug build of Synchronet? Can
    you provide a backtrace (using GDB): http://wiki.synchro.net/howto:gdb ?

    digital man

    Synchronet "Real Fact" #83:
    The Electronic Frontier Foundation used to run Synchronet (circa 1993).
    Norco, CA WX: 72.9øF, 49.0% humidity, 16 mph SSE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Mindless Automaton@VERT/ELDRITCH to Digital Man on Thursday, May 15, 2014 22:29:25
    On 4/16/2014 7:06 PM, Digital Man wrote:
    Re: Seg's Fault
    By: Mindless Automaton to DOVE-Net.Synchronet_Discussion on Mon Apr 07 2014 10:54 pm

    > In today's new:
    >
    > Apr 7 14:04:39 eldritch synchronet: term 0027 SSH connection accepted
    > from: 23.253.20.82 port 59760
    > Apr 7 14:04:39 eldritch kernel: [1104391.704922] BBS[7452]: segfault at
    > 7f9cd0c6d3b0 ip 00007f9d1f701317 sp 00007f9cc9ffadc0 error 4 in
    > libsbbs.so[7f9d1f583000+6f8000]

    Can you reproduce the problem? Are you running a Debug build of Synchronet? Can
    you provide a backtrace (using GDB): http://wiki.synchro.net/howto:gdb ?


    I had this happen again, so I am trying to reproduce. I can try to
    login SSH style and type in a user name and get:

    SSH Bad/unrecognized data format

    Anyways, ever now and then someone tries to log in SSH style and
    eventually appears to crash the BBS. I have GDB going now, just need to
    crash again.

    THanks!@

    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From Mindless Automaton@VERT/ELDRITCH to Mindless Automaton on Friday, May 16, 2014 09:05:27
    I wasn't able to get the crash that appears to be ssh related, but there
    is this:

    http://eldritch.darktech.org/sigpipe.txt

    SBBS 3.16 Debug Revision A Jan 15 2014

    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From NOSPAM.John.Guillory@VERT to mindless.automaton on Friday, May 16, 2014 09:20:00
    From Newsgroup: alt.bbs.synchronet

    I had this happen again, so I am trying to reproduce. I can try
    to
    login SSH style and type in a user name and get:

    SSH Bad/unrecognized data format
    I am visioning this mad scientist staring at the screen, like on war
    games... "Come on.... Why won't you crash???"

    ---
    John Guillory [KF5QEO]
    westlakegeek@yahoo.com
    KF5QEO@1:396/60
    --- Synchronet 3.16a-Win32 NewsLink 1.102
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Mindless Automaton@VERT/ELDRITCH to NOSPAM.John.Guillory on Friday, May 16, 2014 13:51:28
    On 5/16/2014 5:20 AM, NOSPAM.John.Guillory wrote:
    From Newsgroup: alt.bbs.synchronet

    mi> I had this happen again, so I am trying to reproduce. I can try
    mi> to
    mi> login SSH style and type in a user name and get:
    mi>
    mi> SSH Bad/unrecognized data format
    I am visioning this mad scientist staring at the screen, like on war games... "Come on.... Why won't you crash???"

    Yeah, I got this door called BBS Crash but its not helping me either. ;P

    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From Mindless Automaton@VERT/ELDRITCH to Mindless Automaton on Friday, May 16, 2014 14:11:10
    On 5/16/2014 9:05 AM, Mindless Automaton wrote:
    I wasn't able to get the crash that appears to be ssh related, but there
    is this:


    Oh yeah, nevermind, I have to do something to ignore SIGPIPE, thats right..

    handle SIGPIPE nostop noprint pass

    Should that be added to the wiki page with gdb debug info?

    Thanks!

    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From Mindless Automaton@VERT/ELDRITCH to Mindless Automaton on Saturday, May 17, 2014 00:34:31
    On 5/16/2014 1:51 PM, Mindless Automaton wrote:
    On 5/16/2014 5:20 AM, NOSPAM.John.Guillory wrote:

    Well i got this:

    http://eldritch.darktech.org/sigsegv.txt

    SBBS 3.16 Debug Revision A Jan 15 2014

    However I am not sure exactly what set it in motion.

    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From Jon Justvig@VERT to Mindless Automaton on Sunday, May 18, 2014 22:21:22
    On 4/16/2014 7:06 PM, Digital Man wrote:
    Re: Seg's Fault
    By: Mindless Automaton to DOVE-Net.Synchronet_Discussion on Mon Apr 07
    2014 10:54 pm

    In today's new:

    Apr 7 14:04:39 eldritch synchronet: term 0027 SSH connection accepted
    from: 23.253.20.82 port 59760
    Apr 7 14:04:39 eldritch kernel: [1104391.704922] BBS[7452]: segfault at >> > 7f9cd0c6d3b0 ip 00007f9d1f701317 sp 00007f9cc9ffadc0 error 4 in
    libsbbs.so[7f9d1f583000+6f8000]

    Can you reproduce the problem? Are you running a Debug build of Synchronet?
    Can
    you provide a backtrace (using GDB): http://wiki.synchro.net/howto:gdb ?

    I had this happen again, so I am trying to reproduce. I can try to
    login SSH style and type in a user name and get:
    SSH Bad/unrecognized data format
    Anyways, ever now and then someone tries to log in SSH style and
    eventually appears to crash the BBS. I have GDB going now, just need to crash again.

    I experienced my SBBS crashing the last few days after noticing a SSH login attempt. I saw they were trying to login as root, I freaked and took out the SSH port from my forwarding since it didn't get much use anyway. But yeah, when there was a SSH attempt my system would crash. I'm running the 3.16 Linux
    version of SBBS.

    Sincerely,
    Jon Justvig

    --- BBBS/LiI v4.10 Dada-1
    * Origin: Nightfall Ordain -- vintagebbsing.com (1:124/25)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Mro@VERT/BBSESINF to Jon Justvig on Monday, May 19, 2014 17:23:08
    Re: Re: Seg's Fault
    By: Jon Justvig to Mindless Automaton on Sun May 18 2014 10:21 pm

    I experienced my SBBS crashing the last few days after noticing a SSH login attempt. I saw they were trying to login as root, I freaked and took out the SSH port from my forwarding since it didn't get much use anyway. But


    welcome to the internet. if you have servers running, attackers are going
    to try to get into you all day and all night long.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Jon Justvig@VERT/STEPPING to Mro on Monday, May 19, 2014 17:49:00
    Mro wrote to Jon Justvig <=-

    Re: Re: Seg's Fault
    By: Jon Justvig to Mindless Automaton on Sun May 18 2014 10:21 pm

    I experienced my SBBS crashing the last few days after noticing a SSH login attempt. I saw they were trying to login as root, I freaked and took out the SSH port from my forwarding since it didn't get much use anyway. But

    That's nothing I'm looking forward too. Bring back the BBS days please and thank you.

    Sincerely,
    Jon Justvig

    ... So easy, a child could do it. Child sold separately.
    --- MultiMail/Win32 v0.49
    þ Synchronet þ My Brand-New BBS
  • From Mro@VERT/BBSESINF to Jon Justvig on Monday, May 19, 2014 20:03:18
    Re: Re: Seg's Fault
    By: Jon Justvig to Mro on Mon May 19 2014 05:49 pm

    I experienced my SBBS crashing the last few days after noticing a SSH login attempt. I saw they were trying to login as root, I freaked and took out the SSH port from my forwarding since it didn't get much use anyway. But

    That's nothing I'm looking forward too. Bring back the BBS days please and thank you.


    well, you can run peerblock on windows and block countries with a custom
    block list.
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From Jon Justvig@VERT/STEPPING to Mro on Monday, May 19, 2014 20:56:00
    Mro wrote to Jon Justvig <=-

    Re: Re: Seg's Fault
    By: Jon Justvig to Mro on Mon May 19 2014 05:49 pm

    I experienced my SBBS crashing the last few days after noticing a SSH login attempt. I saw they were trying to login as root, I freaked and took out the SSH port from my forwarding since it didn't get much use anyway. But

    That's nothing I'm looking forward too. Bring back the BBS days please and thank you.

    well, you can run peerblock on windows and block countries with a
    custom block list.

    No windows os running for my BBSes at the moment. Got a suggestion for a debian linux based system?

    Sincerely,
    Jon Justvig

    ... MultiMail, the new multi-platform, multi-format offline reader!
    --- MultiMail/Win32 v0.49
    þ Synchronet þ My Brand-New BBS
  • From Khelair@VERT/TINFOIL to Jon Justvig on Tuesday, May 20, 2014 07:06:53
    Re: Re: Seg's Fault
    By: Jon Justvig to Mro on Mon May 19 2014 20:56:00

    No windows os running for my BBSes at the moment. Got a suggestion for a debian linux based system?

    You can find many preconfigured hosts.deny files ready made to
    just cut 'n paste or drop directly into your /etc/ directory in order to
    ensure that they don't receive any sort of response from your machine,
    first of all. Beyond that, I would say check into http://www.ossec.net/
    for an intrusion-detection system that will dynamically add hosts to
    that upon analysis of any sort of suspicious activity caught by your
    system. Once you get the time to look a little more in depth at packet filtering on a local, OS level, you'll need to look into either pf.conf
    in the /etc/ directory (that's for me on OpenBSD, I think that Linux's
    IPSEC facilities handle it in a different way-- google will answer for
    sure). That stuff will take a lot longer to learn, but will provide for
    the most failsafe way to make sure that you're ditching all of that
    traffic that you can possibly avoid at the earliest point beyond your
    modem & router.


    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    This need not feel so strange; pay attention to Lady
    Liberty's Anklets, if you're so inclined.

    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

    ---
    þ Synchronet þ Tinfoil Tetrahedron BBS telnet or ssh: tinfoil.synchro.net
  • From Tiny@VERT/PHARCYDE to Mro on Tuesday, May 20, 2014 11:50:54
    Mro wrote to Jon Justvig <=-

    well, you can run peerblock on windows and block countries with a
    custom block list.

    I installed peerblock a few months ago on your recomendation and it
    has helped!

    Shawn


    --- EzyBlueWave V3.00 00F90032
    * Origin: Tiny's BBS - tinysbbs.com (723:1/2)
    þ Synchronet þ thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From Mro@VERT/BBSESINF to Jon Justvig on Tuesday, May 20, 2014 19:01:38
    Re: Re: Seg's Fault
    By: Jon Justvig to Mro on Mon May 19 2014 08:56 pm


    No windows os running for my BBSes at the moment. Got a suggestion for a debian linux based system?


    you're better off then. use iptables and block ips by country
    ---
    þ Synchronet þ ::: BBSES.info - free BBS services :::
  • From V1p3r@VERT/TWCC to Jon Justvig on Wednesday, May 28, 2014 15:04:23
    Re: Re: Seg's Fault
    By: Jon Justvig to Mindless Automaton on Sun May 18 2014 10:21 pm

    attempt. I saw they were trying to login as root, I freaked and took out th SSH port from my forwarding since it didn't get much use anyway. But yeah,

    One thing I do to minimize this... is to use non standard ports that are far enough out of the standard range to not be scanned by default. This allows me to be ignored by the vast majority of script kiddies on the internet. So instead of mapping port 22 on your firewall to port 22 on your server, some firewalls will allow you to map 22022(for example) to port 22 on your server. If your firewall requires a 1:1 mapping then you can change the listening port on your server to 22022 and map that through the firewall. It makes it a little more difficult for users to connect becuase they need to remember or program the client to remember the non-standard port. But it does help me sleep a little better at night.
    V1p3r
    limbo.whollychao.org

    ~Into every life a little chaos must fall...

    ---
    þ Synchronet þ The Wholly Chao Cabal - Touching Goddess Where She Pees since 1995
  • From Mindless Automaton@VERT/ELDRITCH to Mindless Automaton on Tuesday, October 14, 2014 19:39:03
    How about something like this:

    Oct 14 12:13:43 eldritch SBBS: term Terminal Server !ERROR 32 sending on socket 36
    Oct 14 12:14:10 eldritch SBBS: term Node 1 !ERROR -41 receiving on
    Cryptlib session
    Oct 14 12:14:10 eldritch SBBS: term Node 1 !ERROR -41 sending on
    Cryptlib session
    Oct 14 12:17:37 eldritch SBBS: term Node 1 !ERROR -32 receiving on
    Cryptlib session
    Oct 14 12:20:29 eldritch SBBS: term Terminal Server !ERROR 32 sending on socket 36
    Oct 14 12:20:29 eldritch SBBS: term Node 1 !ERROR 32 sending on socket 36
    Oct 14 12:27:12 eldritch SBBS: mail 0000 SEND last_msg=8, smb.status.last_msg=8, elapsed=3601
    Oct 14 12:28:02 eldritch SBBS: term Node 1 !JavaScript warning /sbbs/exec/login.js line 20: Disconnected
    Oct 14 12:36:07 eldritch SBBS: term Node 1 !ERROR -41 receiving on
    Cryptlib session
    Oct 14 12:36:07 eldritch SBBS: term Node 1 !ERROR -41 sending on
    Cryptlib session
    Oct 14 12:57:59 eldritch SBBS: term Node 1 !ERROR -41 receiving on
    Cryptlib session
    Oct 14 12:58:00 eldritch SBBS: term Node 1 !ERROR -41 sending on
    Cryptlib session
    Oct 14 13:08:03 eldritch SBBS: term Node 1 !ERROR 32 sending on socket 36
    Oct 14 13:08:04 SBBS: last message repeated 3 times
    Oct 14 13:08:04 eldritch SBBS: term Node 1 !JavaScript warning /sbbs/exec/login.js line 20: Disconnected
    Oct 14 13:08:04 eldritch SBBS: term Node 1 !ERROR 32 sending on socket 36
    Oct 14 13:10:07 eldritch SBBS: term Node 1 !ERROR -24 sending on
    Cryptlib session
    Oct 14 13:10:07 eldritch SBBS: term Node 1 !ERROR -24 receiving on
    Cryptlib session
    Oct 14 13:10:33 eldritch SBBS: term Node 1 !ERROR -24 sending on
    Cryptlib session
    Oct 14 13:10:33 eldritch SBBS: term Node 1 !ERROR -24 receiving on
    Cryptlib session
    Oct 14 13:11:12 eldritch SBBS: term Node 1 !ERROR -24 sending on
    Cryptlib session
    Oct 14 13:11:12 eldritch SBBS: term Node 1 !ERROR -24 receiving on
    Cryptlib session
    Oct 14 13:16:30 eldritch SBBS: term 0036 SSH Read failure
    Oct 14 13:17:01 eldritch SBBS: term 0036 SSH Read failure
    Oct 14 13:17:48 eldritch SBBS: term 0036 SSH Read failure
    Oct 14 13:18:32 eldritch SBBS: term Node 1 !ERROR -24 sending on
    Cryptlib session
    Oct 14 13:18:33 eldritch SBBS: term Node 1 !ERROR -24 receiving on
    Cryptlib session
    Oct 14 13:19:42 eldritch kernel: [3172586.110024] BBS[21844]: segfault
    at 7ff392c64530 ip 00007ff3bb10f47b sp 00007ff38d3f7dc0 error 4 in libsbbs.so[7ff3baf91000+6f9000]

    I didnt see any connection, even though it says disconnected in there.
    Thats all I have right now, if I can get some more tasty debug notes, I
    will post it up.

    THanks!

    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org