All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] how to log pacets which hit routing rules?
@ 2002-08-25 13:04 Jan Macek
  2002-08-29 13:17 ` Wojtek
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jan Macek @ 2002-08-25 13:04 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] how to log pacets which hit routing rules?
  2002-08-25 13:04 [LARTC] how to log pacets which hit routing rules? Jan Macek
@ 2002-08-29 13:17 ` Wojtek
  2002-08-29 20:39 ` James Sneeringer
  2002-08-29 22:04 ` Miernik
  2 siblings, 0 replies; 4+ messages in thread
From: Wojtek @ 2002-08-29 13:17 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] how to log pacets which hit routing rules?
  2002-08-25 13:04 [LARTC] how to log pacets which hit routing rules? Jan Macek
  2002-08-29 13:17 ` Wojtek
@ 2002-08-29 20:39 ` James Sneeringer
  2002-08-29 22:04 ` Miernik
  2 siblings, 0 replies; 4+ messages in thread
From: James Sneeringer @ 2002-08-29 20:39 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] how to log pacets which hit routing rules?
  2002-08-25 13:04 [LARTC] how to log pacets which hit routing rules? Jan Macek
  2002-08-29 13:17 ` Wojtek
  2002-08-29 20:39 ` James Sneeringer
@ 2002-08-29 22:04 ` Miernik
  2 siblings, 0 replies; 4+ messages in thread
From: Miernik @ 2002-08-29 22:04 UTC (permalink / raw)
  To: lartc

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 switch

I 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-08-29 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-25 13:04 [LARTC] how to log pacets which hit routing rules? Jan Macek
2002-08-29 13:17 ` Wojtek
2002-08-29 20:39 ` James Sneeringer
2002-08-29 22:04 ` Miernik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.