[syslog-ng]syslog-ng over network

Mariusz Bogumil marbo@tpi.pl
Mon, 26 Mar 2001 10:38:56 +0200


I try to send messages over network (server which generates messages and
workstation which cachets it are in the other subnets)

I have tried such configuration:

source s_tcp {
	tcp( ip(10.12.12.2) port(514) );
	sun-streams( "dev/log" door("/etc/.syslog_door") );
	internal();
};

destination all { tcp("10.13.12.124" port(514) ); };

-- it used to work when server and workstation are in the same network -
when they are in different subnets as above it doesn't.

I have tried configuration with UDP

source s_tcp {
	udp( ip(10.12.12.2) port(514) );
	sun-streams( "dev/log" door("/etc/.syslog_door") );
	internal();
};

destination all { udp(10.13.12.124 port(514)); };

but without success - it compiles without error but I cannot cacht any
messages.
What should be used tcp or udp?
Should I define in syslog-ng any knowledge about routers (I do not think
so - but who knows ???)

I try to run it on Sprac Solaris 2.6 and 7 (but 2.6 is more critical).

Thank yu for help

Mariusz