Igor Socec
1c20be41e3
Start using the new control script
2016-12-27 16:05:42 +01:00
Igor Socec
7973b5a5e8
Use a wrapper for logging
2016-11-28 02:01:39 +01:00
Igor Socec
8725d1c1f1
Don't exit from the cleanup function
2016-11-27 23:52:18 +01:00
Igor Socec
36f969abb7
Print help message to stdout instead of stderr
2016-11-27 23:43:08 +01:00
Igor Socec
d73794b11d
Use dedicated thread functions for certain tasks.
2016-11-27 23:35:51 +01:00
Igor Socec
b934bb120c
Some code cleanup
2016-11-19 14:45:43 +01:00
Igor Socec
c17e696566
More extraction of functionality
...
Extracting server and tty functions into separate headers.
Thread functions for new connections, tty data and client data
are also extracted and used as separate functional blocks.
2016-11-19 01:48:12 +01:00
Igor Socec
c59b2138f4
Extract telnet functions into a separate header
2016-11-18 22:47:15 +01:00
Igor Socec
cad50493a6
Typedef custom structures
2016-11-15 01:17:06 +01:00
Igor Socec
604665ee05
handling new clients in a separate thread
2014-04-06 18:34:56 +02:00
Igor Socec
86f0bc612f
added support for dropp current client - needs a separate thread to remove blocking
2014-04-04 16:27:02 +02:00
Igor Socec
75b30f3aa6
connected client needs to provide a username which will be communicated to rejected clients
2014-04-03 02:04:13 +02:00
Luka Miljak
1a729bd46a
Varoious code improvements and bugfixes
2014-01-10 09:18:45 +00:00
Luka Miljak
6ec15f77c4
Adding some input checking. Other minor changes.
2014-03-30 16:04:24 +02:00
Luka Miljak
8b510d71c1
Adding moxanix.cfg file. Moxanix is now configured with it.
2014-03-28 19:52:15 +01:00
Igor Socec
418a8caadc
introducing moxanix script for controling servers
2014-03-20 19:42:28 +01:00
Igor Socec
d4452bd340
don't send to tty device if it was not opened
2014-03-20 17:38:48 +01:00
Igor Socec
91becdad1c
added flag for enabling debug messages, without debug messages only connection events are displayed
2014-03-20 12:13:52 +01:00
Igor Socec
1001f3ad9c
removed TTY port constraints, added client activity timestamps
2014-03-19 16:16:21 +01:00
Igor Socec
bdf36796bf
improved handling for list of telnet commands
2014-03-19 11:20:16 +01:00
Igor Socec
c312659292
minor code refactoring after awesome first version
2014-03-18 18:14:58 +01:00
Luka Miljak
0176443560
First semi-functional version.
2014-03-18 17:31:42 +01:00
Luka Miljak
c33bd6ca4e
Adding termios configuration and reading from tty device with some other code refactoring. The character read from serial device are currently only printf-ed to console.
2014-03-17 23:10:33 +01:00
Luka Miljak
e6775c120d
minor commit - removing tty_dev from global variables
2014-03-15 13:34:34 +00:00
Luka Miljak
538e7932c7
Adding first part of infrastructure for tty device handling
2014-03-15 13:24:13 +00:00
Luka Miljak
3926b7738d
Adding tty thread primitive which only reports alive status every 10 seconds.
2014-03-14 17:28:29 +01:00
Igor Socec
be121ac22f
fixing problems with detecting a disconnected client
2014-03-13 11:02:19 +01:00
Igor Socec
496198f488
cleanup function and signal handling
2014-03-10 16:42:49 +01:00
socec
199d2cb6c2
stop crashing server when client disconnects
2014-03-09 18:48:04 +01:00
socec
cbedf6189a
now using Makefile
2014-03-09 15:59:30 +01:00
socec
9c6269218e
force client into character mode
2014-03-08 18:26:04 +01:00
Igor Socec
b1b990d861
argument handling
2014-03-06 16:09:19 +01:00
Igor Socec
f55a83b5fc
introducing tty device path as mandatory parameter
2014-03-06 12:48:39 +01:00
Igor Socec
0925ff5f83
handling no arguments, renamed header
2014-03-06 08:54:35 +01:00
socec
40607b98aa
introducing files
2014-03-06 02:23:16 +01:00