summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-03-13econproto: unknown_field_3 in reqconnect seems to be a version infoHEADmasterBenjamin Franzke2-2/+3
If it is unequal to 3, the beamer claims the version is not supported.
2013-03-13econproxy: Add a comment about two unknown field in reqconnectBenjamin Franzke1-0/+2
2013-03-13econfind: Beamer IP has to be optained from recvmsg directlyBenjamin Franzke3-13/+26
The econ_header IPaddress field holds only our client ip. econpacket needs to store the addr in the packet.
2013-03-13econfind: Actually set ip address for easysearch headerBenjamin Franzke1-0/+2
2013-03-13econpacket: Have to use different read strategies for udp and tcpBenjamin Franzke2-7/+63
UDP needs to read the complete packet in one read, so the read size >= packet_size. TCP reads more that one packet if size > packet_size, which we dont want. So do parital reads for tcp, and real it all at once for udp sockets.
2013-03-13econserv: ARRAY_SIZE cant be used for the iov any longer when sendingBenjamin Franzke1-1/+1
Since it has an extra element for long data now.
2013-03-13econpackt: Log received packetsBenjamin Franzke1-0/+2
2013-03-13launch_x11vnc: Add forever to the listening caseBenjamin Franzke1-1/+1
2013-03-13econserv: Log received commandsBenjamin Franzke1-0/+3
2013-03-13econserv: Answer udp requests to client port 3620Benjamin Franzke1-0/+6
Not to their port they used to connect to us. FIXME: Figure out, whether client may handle both?
2013-03-13econserv: Bind udp socket to 0.0.0.0, to have easy broadcast accessBenjamin Franzke1-1/+1
2013-03-13econfind: Also read cmd21 from the socketBenjamin Franzke1-0/+3
2013-03-13econpacket: Try to be able to read cmd21Benjamin Franzke3-39/+68
2013-03-13econproto: Add cmd id for cmd21Benjamin Franzke1-0/+1
2013-03-13Makefile: Add econpacket to the dependenciesBenjamin Franzke1-1/+1
So everything is recompiled if its changed
2013-03-12econproxy: Move iov from struct ep into rfb_initBenjamin Franzke1-6/+6
Its the only place where it is used.
2013-03-12econpacket: Add copyrightBenjamin Franzke2-0/+34
2013-03-12Use perror where possibleBenjamin Franzke2-8/+5
2013-03-12econproxy: Remove unneded errno.h and assert.h includesBenjamin Franzke1-2/+0
2013-03-12econfind: Remove debug codeBenjamin Franzke1-4/+1
2013-03-12econfind: Put clientinfo parsing into subfunctionBenjamin Franzke1-15/+20
2013-03-12econfind: close socketsBenjamin Franzke1-1/+3
2013-03-12util: Set SO_BROADCAST for udp eonnect sockets by defaultBenjamin Franzke2-36/+8
So that we can use it for econfind, and do not have the repeat all the code.
2013-03-12econfind: Add an error message for setockoptBenjamin Franzke1-4/+6
2013-03-12econserv: Remove duplicate tcp_fd socketBenjamin Franzke1-12/+1
2013-03-12econserv: Socket for tcp_fd has to be sock_streamBenjamin Franzke1-1/+1
2013-03-12Add econfind which searches a beamer given a broadcast addressBenjamin Franzke3-2/+111
2013-03-12util: Log to stderrBenjamin Franzke1-2/+2
2013-03-12util: bind/connect: log which protocol is usedBenjamin Franzke1-2/+4
2013-03-12util: Fix error string if connection failedBenjamin Franzke1-1/+1
2013-03-12econserv: Use epkt_init at least to init iovBenjamin Franzke1-25/+1
2013-03-12econserv: Use at least the econ_packet structureBenjamin Franzke1-49/+47
2013-03-12Move econ packet handling into seperate c-fileBenjamin Franzke4-137/+172
2013-03-11econproxy: Support connecting to a vnc serverBenjamin Franzke1-11/+37
So that we do not require that the server supports reverse connection.
2013-03-11launch_x11vnc: Add hint how to start in listen modeBenjamin Franzke1-0/+3
2013-03-11launch_x11vnc: Do not use config fileBenjamin Franzke1-1/+1
2013-03-11launch_x11vnc: Need to explictly disable auth for reverse connectionBenjamin Franzke1-0/+1
2013-03-11econproxy: Use union instead of cast for ssize_t vs size_tBenjamin Franzke1-7/+5
2013-03-11launch_x11vnc: Do not specify the clip, but force a geometryBenjamin Franzke1-1/+5
2013-03-11econproxy: Default to raw encoding againBenjamin Franzke1-1/+1
2013-03-11econproxy: Try RRE encoding (doesnt work..)Benjamin Franzke1-4/+23
2013-03-11econproxy: Try to send Zlib data (also not supported :[)Benjamin Franzke1-6/+7
2013-03-11Add ZRLE encoding which doesnt seem to be supportedBenjamin Franzke1-4/+24
..but lets test it further, maybe its just an implementation fault.
2013-03-11econproxy: Thight reader needs to pass a offset to loop_readBenjamin Franzke1-5/+6
2013-03-11econproxy: turn of sleepingBenjamin Franzke1-1/+1
We rather need a timer, so that we can try to synchronize to a static rate.
2013-03-11econproxy: debugging: print encodingBenjamin Franzke1-0/+1
2013-03-11Add -Wextra and use gnu99Benjamin Franzke4-9/+13
2013-03-11econserv: Eliminate c++ style commentsBenjamin Franzke1-2/+6
2013-03-11econproxy: Use ssize_t for read resultsBenjamin Franzke1-1/+1
Since size_t is unsigned, so checking for < 0 wont work.
2013-03-11econproxy: Use free_iov on error in framebuffer updateBenjamin Franzke1-12/+6