[Syslog-ng-commit] syslog-ng--mainline: implemented spoof-source support for both ipv4/ipv6

Balazs Scheidler bazsi at balabit.hu
Sat Feb 3 17:39:20 CET 2007


-e Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-127>
Revision: syslog-ng--mainline--2.0--patch-127
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Sat Feb  3 17:39:08 CET 2007
Standard-date: 2007-02-03 16:39:08 GMT
Modified-files: ChangeLog README configure.in src/afinet.c
    src/afinet.h src/afsocket.h src/center.c
    src/cfg-grammar.y src/cfg-lex.l src/dgroup.h
    src/logwriter.c src/logwriter.h src/sgroup.h
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-127
Summary: implemented spoof-source support for both ipv4/ipv6
Keywords: 

	* configure.in: added --with-libnet and --enable-spoof-source
	options

	* src/afinet.c (afinet_dd_set_spoof_source): new function, called
	from the parser to enable spoof-source,
	(afinet_dd_init): new function,
	(afinet_dd_construct_ipv4_packet): -"-,
	(afinet_dd_construct_ipv6_packet): -"-,
	(afinet_dd_queue): -"-,
	(affile_dd_new): register new init/queue methods,

	* src/sgroup.h, src/dgroup.h: renamed ref/unref functions for
	consistency

	* src/cfg-lex.l, src/cfg-grammar.y: added spoof-source option

	* src/logwriter.c (log_writer_format_log): removed static as it is
	directly used by spoof-source to format messages

Diff stats:
 ChangeLog         |   33 ++++++++
 README            |    6 +
 configure.in      |   54 ++++++++++----
 src/afinet.c      |  207 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/afinet.h      |   10 ++
 src/afsocket.h    |    2 
 src/center.c      |    8 +-
 src/cfg-grammar.y |    3 
 src/cfg-lex.l     |    2 
 src/dgroup.h      |   13 ++-
 src/logwriter.c   |    2 
 src/logwriter.h   |    3 
 src/sgroup.h      |    4 -
 13 files changed, 318 insertions(+), 29 deletions(-)


More information about the Syslog-ng-commit mailing list