how to log pacets which hit routing rules?
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.
Signature · 8 lines
Miernik _____________________________________
/ /
tel.: +48603070983 / / mailto:[email protected]
__________________/___/ ICQ UIN: 4004001
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/Quoted 10 lines · Jan Macek
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 / [email protected]
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 8 lines · Wojtek
Quoted 6 lines
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.
Signature · 8 lines
Miernik _____________________________________
/ /
tel.: +48603070983 / / mailto:[email protected]
__________________/___/ ICQ UIN: 4004001
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/