aboutsummaryrefslogtreecommitdiffstats
path: root/broken/propagate/TODO.txt
blob: 873f9f4bbf1cbcb1301f5c664061bb124d9f48f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---- FIX ----

client does not exit when cmd exits

second connection makes crash
1330901344 W A is already executing a command
1330901344   exec failed
*** glibc detected *** ./src/pg: double free or corruption (out): 0x00007fff1637b6e0 ***
==> need to cleanup connections / execs

---- TODO ----

cleanup dead connection
cleanup dead execs
cleanup dead route execs

need to emulate a real terminal
    ssh 127.0.0.1 => 'Pseudo-terminal will not be allocated because stdin is not a terminal.'

async sigalarm()
read all remainingargv as client command

use base64

conf file handling

---- LONGTERM FIX ----

maybe use libevent ... check reality of the following arguments
    + less code, cleaner code ... maybe
    + maybe more portable because it can use select() if poll() isn't there 
    - dependency if linked dynamicaly, bigger size if static

---- LONGTERM FUNCTIONNALITIES ----

port forwarding
    but we could do it with nc

socks proxy (write a separate lib in C)
    but we could do it with ssh