Commit graph

69 commits

Author SHA1 Message Date
Igor Socec
aae67971ff Improve Makefiles with build and install directories 2017-01-24 18:16:47 +01:00
Igor Socec
efc292af2c Improve source tree 2017-01-11 17:30:13 +01:00
Igor Socec
61d4e2fc64 Start using Travis CI
Add .travis.yml file and build status flag.
2017-01-10 16:42:57 +01:00
Igor Socec
1c20be41e3 Start using the new control script 2016-12-27 16:05:42 +01:00
Igor Socec
8c35a6c1a7 Update the new control script with correct commands 2016-12-22 01:19:15 +01:00
Igor Socec
e3dcde0dcd Don't pass tty data while a new client is providing username 2016-12-19 14:59:05 +01:00
Igor Socec
4d2a93b658 Simplify handling new client socket 2016-12-19 14:55:36 +01:00
Igor Socec
91f7ea8f5f New version of configuration and control script 2016-12-09 08:03:28 +01:00
Igor Socec
35f9b0b644 Adding MIT license 2016-12-08 22:10:14 +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
9703b42b3a Explain number of allowed connections 2016-11-19 15:10:57 +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
2c26ef201a Extract client functions into a separate header 2016-11-18 23:09:05 +01:00
Igor Socec
c59b2138f4 Extract telnet functions into a separate header 2016-11-18 22:47:15 +01:00
Igor Socec
f1372827c1 Date format follows ISO, device path size increased 2016-11-15 01:26:49 +01:00
Igor Socec
cad50493a6 Typedef custom structures 2016-11-15 01:17:06 +01:00
Igor Socec
154f16a7f1 Update .gitignore for editor and IDE files 2016-11-15 01:16:43 +01:00
igor.socec
5707b9e4e0 fix fd assignment on tty close 2014-08-27 13:36:34 +02: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
9114998d1f removed tty mapping from moxanix script 2014-04-03 14:49:45 +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
55367f5fee Reconfiguring the tty device, basic functionality achived and tested on OlinuXino Lime 2014-04-01 11:58:01 +00: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
socec
19d5624bfa Update README.md 2014-03-24 22:38:12 +01:00
Igor Socec
b9b874d94c update to moxanix script, added status command 2014-03-24 22:25:33 +01:00
Luka Miljak
3121630996 Adding parser.c and parser.h used for parsing of moxanix config files. Actual parsing not yet implemented. 2014-03-21 00:20:49 +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
5a303705e6 checking port assignment is not needed, bind would fail if requested port was not assigned 2014-03-19 11:29:34 +01:00
Igor Socec
bdf36796bf improved handling for list of telnet commands 2014-03-19 11:20:16 +01:00
Igor Socec
676e16a477 detailed function comments only in .h file 2014-03-19 11:07:13 +01:00
Igor Socec
89b8716985 improved comments of globally used functions 2014-03-18 18:48:37 +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
608a926edc Adding $(LIBS) to $(CFLAGS) -> for some reason the build fails without this 2014-03-14 18:24:01 +00:00
Luka Miljak
6db2513452 Removing unnecessary library definition 2014-03-14 18:09:50 +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