[syslog-ng] Bind source IP using localip()?
Scheidler, Balázs
balazs.scheidler at oneidentity.com
Fri Mar 29 07:03:25 UTC 2019
Localip should be the answer. Can you check via strace whether syslog-ng
binds to that address?
On Thu, Mar 28, 2019, 21:20 Robin P. Blanchard <robin.blanchard at gmail.com
wrote:
> A static route to your desired target via your desired interface ?
>
> On Thu, Mar 28, 2019 at 1:59 PM Scot <scotrn at gmail.com> wrote:
> >
> > Is there a way to bind to a src IP when sending forwarding an event from
> syslog-ng ?
> >
> > We have an alias on the system and want to use that as the sending IP
> address for a forward. Tried the localip option which seems to pass conf
> check but ignored for destinations.
> >
> > Looked in the network and syslog driver documentation and didn't see
> anything obvious.
> >
> > syslog-ng 3 (3.14.1)
> > Config version: 3.14
> > Installer-Version: 3.14.1
> > Revision:
> > Compile-Date: Mar 14 2018 09:48:15
> > Module-Directory: //usr/lib64/syslog-ng
> > Module-Path: //usr/lib64/syslog-ng
> > Available-Modules:
> add-contextual-data,affile,afprog,afsocket,afstomp,afuser,basicfuncs,cef,confgen,cryptofuncs,csvparser,date,dbparser,disk-buffer,graphite,json-plugin,kvformat,linux-kmsg-format,pseudofile,sdjournal,syslogformat,system-source,afsmtp,geoip-plugin,mod-java,map-value-pairs,snmptrapd-parser,stardate,tfgetent,appmodel,tags-parser,xml,geoip2-plugin,afamqp
> > Enable-Debug: off
> > Enable-GProf: off
> > Enable-Memtrace: off
> > Enable-IPv6: on
> > Enable-Spoof-Source: on
> > Enable-TCP-Wrapper: on
> > Enable-Linux-Caps: on
> > Enable-Systemd: on
> >
> ______________________________________________________________________________
> > Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> > Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> > FAQ: http://www.balabit.com/wiki/syslog-ng-faq
> >
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20190329/069eafb1/attachment.html>
More information about the syslog-ng
mailing list