Project

General

Profile

Download (41.3 KB) Statistics
| Branch: | Revision:

# Date Author Comment
368d31d4 2010-09-26 12:19 Hamish Coleman

Update win-scm with new learnings, also add a service test helper program

8d5aad54 2008-11-30 14:03 Hamish Coleman

Add more libcli commands to the main program

675494c9 2008-11-30 13:16 Hamish Coleman

Quieten down the failed service error path

51ddf380 2008-11-30 13:13 Hamish Coleman

Fix wconsd_init to exit if the getopt processing indicates to do so

9c69afef 2008-11-30 13:10 Hamish Coleman

Fix the bugs with the new scm console code

211ce618 2008-11-30 12:55 Hamish Coleman

Move the console mode handling inside the SCM for increased consistancy

56177514 2008-11-30 12:40 Hamish Coleman

Ooops, meant to hook the getopt processing in while cleaning up main

6731132f 2008-11-30 12:38 Hamish Coleman

Clarify the meaning of one of the dprintf variables

8c98de67 2008-11-30 12:38 Hamish Coleman

Clean up the main function some more

2e5a1c8d 2008-11-30 12:26 Hamish Coleman

Move the libcli initialisation to earlier in the init function

de212a70 2008-11-30 12:18 Hamish Coleman

Move to getopt commandline processing

f3f4759e 2008-11-30 11:18 Hamish Coleman

Hook the module management system into a startup routine

5ddf869b 2008-08-11 20:26 Hamish Coleman

Add libcli to the mix

f6cc8fbf 2008-07-13 16:20 Hamish Coleman

Remove the net thread. Simplify some of the control logic

4991f810 2008-07-02 23:46 Hamish Coleman

Begin to add code allowing the merging of menu and net threads

6f662bc7 2008-07-02 23:16 Hamish Coleman

Clean up scm helper

4dcb97c2 2008-07-02 19:33 Hamish Coleman

More work on the SCM helper. This looks like it is working

e592f8f7 2008-07-01 23:17 Hamish Coleman

Move the Service Control functions to a separate file - first pass

479f1136 2008-05-15 19:32 Hamish Coleman

Make telnet option processing cross packet boundaries. Implement binary mode.
These two changes allow xmodem uploading from client to serial port.

9c5b7bd0 2008-04-28 16:12 Hamish Coleman

Show link to documentation in menu help

3fa88c6f 2008-04-24 10:10 Hamish Coleman

Handle WSAECONNRESET, add Telnet keepalives, rework the show_conn_table.
During long-term connection testing, I found that at least one of my
connections would have some kind of disconnect - perhaps an idle timeout,
so I have added support for sending IAC NOP packets on each net loop...

306304a2 2008-04-23 14:33 Hamish Coleman

Update run_menu to get it to detect a closed network connection. Also message beautification

4cb40453 2008-04-22 13:30 Hamish Coleman

Clean up messages and provide better help information

997564ce 2008-04-22 10:31 Hamish Coleman

Implement send break function (closes #23)

2d552dd4 2008-04-22 09:45 Hamish Coleman

Implement the ability to kill existing connections
This is a new command to force quit any current serial connection

201f6e65 2008-04-21 19:16 Hamish Coleman

Uncook CRLF sequences into plan CR in net_to_com
My testing had been done with the linux telnet client and it sent CR NUL
as the end-of-line character sequence. Both putty and windows telnet
are sending CR LF as end-of-line sequence. This change pretty much...

14e838ba 2008-04-21 18:46 Hamish Coleman

Update version number

3eb633b1 2008-04-21 18:45 Hamish Coleman

Add telnet processing to serial-data-pump. Add ability to exit back to menu.
There is still a lot of cleanup work remaining from here. We do not need the
menu thread, we should run the menu from the net_to_com thread, however it
appears to meet the requirements. closes #16, #20

aaba0a4c 2008-04-21 15:33 Hamish Coleman

Migrate threads to new connection model, allowing multiple connections.
This is the first part of migrating the two threads to use the new
connection table. This change also rips out a lot of the event waiting
system. All the unused variables are going, but I have not yet looked...

4450bbca 2008-04-21 13:07 Hamish Coleman

Minor build fixups

83cf653a 2008-04-21 00:11 Hamish Coleman

Update copywright and version

89312c37 2008-04-20 23:26 Hamish Coleman

Convert run_menu to not busy wait
It took me a while to notice, but the run_menu is written using
blocking file metaphor, but the socket it is working on is a non
blocking socket. This manifests itself with the run_menu loop
consuming most of the available CPU time

08ceb73b 2008-04-20 23:24 Hamish Coleman

Add telnet option processing, including ECHO support
The amount of effort here seems like overkill, but it seems
to be the practical minimum implementation for telnet clients
to do the right thing. I have added in more decoding than is
strictly required and I hacked in the status suboption so that...

bd5605dd 2008-04-20 21:12 Hamish Coleman

Try using getnameinfo to show more information about connected users

884971fc 2008-04-20 20:33 Hamish Coleman

Add connection table debugging, net byte counting, some more thread interlocks

c7c4a6f7 2008-04-20 19:49 Hamish Coleman

Migrate most of the menu system into the connection structure

c0d1e8fe 2008-04-20 18:04 Hamish Coleman

Clean up lots of compile warnings.
I have been getting lots of errors while testing under wine, so this
is the start of looking for problems. I have not cleaned up any
of the warnings in process_menu_line since that whole function is
an abortion and all the warnings are either send() signedness mismatch...

ef78cec5 2008-04-20 17:49 Hamish Coleman

Start to implement a connection table
This change is only half baked as I still have not altered the rest of the
threads to use the new connection table. Nor have I updated the event
signalling model to take into account the existance of multiple connections.

780d7607 2008-04-19 22:30 Hamish Coleman

Add winelib support and the ability to set the listen port

0bcbd4d3 2008-04-18 18:30 Hamish Coleman

More cmdline processing fiddling

b9a4e090 2008-04-18 18:06 Hamish Coleman

More cmdline processing hacks

c2484981 2008-04-18 17:10 Hamish Coleman

Fix mode autodetection, change default tcp port back to 9600
It turns out that my telnet client doesnt work at all when I default
to port 23. Instead of debugging this problem at the moment, I am setting
the default port back to 9600

62727af2 2008-04-18 17:00 Hamish Coleman

Detect if we are running as a service or console app. Change listen port to 23

b0f1897b 2008-04-18 16:36 Hamish Coleman

Add a quit option to the menu and update help texts

d51f658a 2008-04-18 16:10 Hamish Coleman

Use strtok for commandline tokenisation

53110989 2008-04-18 15:56 Hamish Coleman

Factor the menu handling code and slightly clean it up.
closes 18

9b2f3609 2008-04-18 15:19 Hamish Coleman

More debug message changes

25fa1d20 2008-04-18 15:00 Hamish Coleman

More debug print statement cleanups

12cf305b 2008-04-18 13:46 Hamish Coleman

Sanitise the excessive number of lines used by all output messages

e6a4efc5 2008-04-18 13:38 Hamish Coleman

Create a dprintf function and convert all log messages to use it

84d7e6f5 2008-04-18 13:01 Hamish Coleman

Update version to mark this one as compiling

d4040099 2008-04-18 13:01 Hamish Coleman

First version that compiles with mingw. Tested and working

61b53eda 2008-04-18 12:31 Hamish Coleman

Start makeing some minor changes

b6970c98 2008-04-18 11:10 Hamish Coleman

Move the include statements around - this version compiles

62045e98 2008-04-18 11:02 Hamish Coleman

Remove CR's from every line
I noticed that not every line had a CRLF and that this was screwing up viewing
diffs and confusing various editors. So, I removed all the CR's

9deea067 2008-04-18 09:59 Hamish Coleman

Add enough CR's to make vi realise that this is a dos format file

ff03d660 2008-04-17 17:44 Hamish Coleman

Newer version from ftp://ftp.h07.org/pub/h07.org/projects/system/wconsd-0.1.zip

78d4c0b0 2008-04-17 17:43 Hamish Coleman

Original version from http://www.greenend.org.uk/steve/software/wconsd.c