Digital Man et all,
Nots sure whether you have found before the scenario the telnet service dies after a connection.
I am experiencing the issue since I started playing with the software.
Now, I am using a VPS based on openvz, so it's using a shared kernel and I suspect the issue might be related to this:
net.ipv4.tcp_tw_reuse = 1
(I cannot change that...)
So, the kernel is trying to re-use the existing socket.
Synchronet after a disconnection will open a new socket but given there is an active connection (time_wait) the software just crashes.
tcp 0 0 185.5.52.214:2323 81.102.236.197:62880
TIME_WAIT 691/sbbs
That's the connection state when the telnet service dies. The kernel hasn't cleared it up so I have to wait and to run a sbbs restart otherwise the only service left will be ssh (which works correctly. I have never found any issue with that one..)
APologies as I cannot change that kernel flag given the restrictions over the kernel, and from the top of my hear that's my theory (I might be wrong there).
Any errors..::
Thu May 03 2018 07:52 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
Thu May 03 2018 07:52 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
Thu May 03 2018 07:52 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
Thu May 03 2018 08:58 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
RainManHood<---
RainManHood<---
Digital Man et all,
Nots sure whether you have found before the scenario the telnet service dies after a connection.
I am experiencing the issue since I started playing with the software.
Now, I am using a VPS based on openvz, so it's using a shared kernel and I suspect the issue might be related to this:
net.ipv4.tcp_tw_reuse = 1
(I cannot change that...)
So, the kernel is trying to re-use the existing socket.
Synchronet after a disconnection will open a new socket but given there is an active connection (time_wait) the software just crashes.
tcp 0 0 185.5.52.214:2323 81.102.236.197:62880
TIME_WAIT 691/sbbs
That's the connection state when the telnet service dies. The kernel hasn't cleared it up so I have to wait and to run a sbbs restart otherwise the only service left will be ssh (which works correctly. I have never found any issue with that one..)
APologies as I cannot change that kernel flag given the restrictions over the kernel, and from the top of my hear that's my theory (I might be wrong there).
Any errors..::
Thu May 03 2018 07:52 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
Thu May 03 2018 07:52 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
Thu May 03 2018 07:52 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
Thu May 03 2018 08:58 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
Suggestions very welcome.
Digital man, would be possible to maybe setup the time/retries as a variable? That might actually be helpful on scenarios like mine.
Thu May 03 2018 08:58 am bbs.unicyber.co.uk
term 0005 !ERROR 98 binding Telnet Server socket to port 2323
Suggestions very welcome.
That doesn't sound like a crash. Are you seeing a segfault or any indication of an actual crash?
It sounds to me like you're just having a rebind error. Perhaps try
following this FAQ: http://wiki.synchro.net/faq:tcpip#bind ?
RainManHood<---
Re: Synchronet --- telnet issues
By: Rmh to Digital Man on Thu May 03 2018 08:43 pm
Digital man, would be possible to maybe setup the time/retries as a variable? That might actually be helpful on scenarios like mine.
Already is.
RainManHood<---
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 87:10:00 |
Calls: | 2,069 |
Calls today: | 2 |
Files: | 11,134 |
Messages: | 946,741 |