icmp-type rules not working

This is a discussion on icmp-type rules not working within the IPFilter forums, part of the System Security and Security Related category; Hello, I've been trying this for a long time now and it just doesn't work: pass in quick ...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-13-2004
Louis Guillaume
 
Posts: n/a
Default icmp-type rules not working

Hello,

I've been trying this for a long time now and it just doesn't work:

pass in quick on tun0 proto icmp from any to 20.20.20.0/24 icmp-type 0
pass in quick on tun0 proto icmp from any to 20.20.20.0/24 icmp-type 11
block in log quick on tun0 proto icmp from any to any

This is copied straight out of the manual (of course my numbers and
interfaces are different.) Even with only these lines in the ruleset,
pings get blocked. Until we remove the "block" line no pings get
through. The blocked packets show up in the logs.

If I take the "block" line out of the ruleset and just leave the "pass"
ones with logging...

pass in log quick on tun0 proto icmp from any to 20.20.20.0/24 icmp-type 0
pass in log quick on tun0 proto icmp from any to 20.20.20.0/24 icmp-type 11

....the machine responds to the ping, but no icmp packets are logged.

What exactly constitutes a icmp-type 0 or icmp-type 11? It would appear
that pings are not being interpreted by either of these.

I'm running NetBSD/mac68k -current (1.6ZG), ipfilter v3.4.29.
default=pass all

Can anyone replicate this problem or clarify what's really going on?

Any help would be great,

Louis
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0