Hi, Is there some way to make iproute2 log to syslog or to a file selected packets? I have a problem, that my packets dissapear somewhere, and I want to be sure if they get to the routing stage or not, and where do they get routed. -- Miernik _____________________________________ / / tel.: +48603070983 / / mailto:miernik@ctnet.pl __________________/___/ ICQ UIN: 4004001 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Jan Macek wrote:> Hi, > > Is there some way to make iproute2 log to syslog or to a file selected > packets? > > I have a problem, that my packets dissapear somewhere, and I want to be > sure if they get to the routing stage or not, and where do they get > routed. > >use the iptables or ipchains with --log switch _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Thu, Aug 29, 2002 at 03:17:55PM +0200, Wojtek wrote: | Jan Macek wrote: | >Is there some way to make iproute2 log to syslog or to a file selected | >packets? | | use the iptables or ipchains with --log switch iptables does not have a --log switch. You must use the ''-j LOG'' target instead. -James _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Thu, 29 Aug 2002, Wojtek wrote:> > Is there some way to make iproute2 log to syslog or to a file selected > > packets? > > > > I have a problem, that my packets dissapear somewhere, and I want to be > > sure if they get to the routing stage or not, and where do they get > > routed. > > use the iptables or ipchains with --log switchI know that, but I did not mean that. I want to log packets _at_the_roting_stage_, not at the filtering or NAT stage. -- Miernik _____________________________________ / / tel.: +48603070983 / / mailto:miernik@ctnet.pl __________________/___/ ICQ UIN: 4004001 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/