cascardo/rnetproxy.git
17 years agoConfiguration file may be specified in command line
Thadeu Lima de Souza Cascardo [Tue, 12 Sep 2006 23:54:26 +0000 (23:54 +0000)]
Configuration file may be specified in command line

The configuration filename may be specified in command line, which is
parsed using GOptionContext.

17 years agoProgram messages are logged to syslog
Thadeu Lima de Souza Cascardo [Tue, 12 Sep 2006 21:39:40 +0000 (21:39 +0000)]
Program messages are logged to syslog

Program messages are sent to syslog with LOG_DAEMON facility. They are
generated using GLib log support with a custom handler.

17 years agoUse GLib log facility instead of printf
Thadeu Lima de Souza Cascardo [Tue, 12 Sep 2006 21:17:27 +0000 (21:17 +0000)]
Use GLib log facility instead of printf

printf and fprintf calls were replaced by g_log calls so log level is
used and we can get to use a handler that sends to syslog later.

17 years agoFixed configuration file name
Thadeu Lima de Souza Cascardo [Tue, 12 Sep 2006 19:16:40 +0000 (19:16 +0000)]
Fixed configuration file name

Fixed configuration file name in code to match previous renaming.

17 years agoFixed memory leak for closed connections
Thadeu Lima de Souza Cascardo [Tue, 12 Sep 2006 19:15:40 +0000 (19:15 +0000)]
Fixed memory leak for closed connections

Unrefs connections and close the other end when one end closes the
connection.

17 years agoRemoved and renamed files
Thadeu Lima de Souza Cascardo [Tue, 12 Sep 2006 18:59:51 +0000 (18:59 +0000)]
Removed and renamed files

Removed pure socket implementation and renamed main files to match
project name.

17 years agoConnections to localhost:80 proxied by GNet
Thadeu Lima de Souza Cascardo [Tue, 12 Sep 2006 18:57:17 +0000 (18:57 +0000)]
Connections to localhost:80 proxied by GNet

Connections are proxied to localhost:80 using GNet, in an equivalent
way to proxy.c which is marked to be removed.

17 years agoProxies connections to jabber.org
Thadeu Lima de Souza Cascardo [Tue, 12 Sep 2006 17:47:17 +0000 (17:47 +0000)]
Proxies connections to jabber.org

One program proxies connections to jabber.org, but with no SRV
lookup. It uses pure sockets. The other program reads from a
configuration file the address and port to bind to, using GLib and
GNet.