Re: IPFW and 5.2.1

From: dima (_pppp_at_mail.ru)
Date: 09/29/04

  • Next message: Mike Makonnen: "Making bfe MPSAFE"
    To: Leon Garde <leon@nelsonbay.com>
    Date: Wed, 29 Sep 2004 15:56:40 +0400
    
    

    > guass# ipfw -a list
    > 00001 0 0 deny ip from any to 203.222.55.37 via rl0
    > 65535 1287 499525 allow ip from any to any
    >
    > guass# ping 203.222.55.37
    > PING 203.222.55.37 (203.222.55.37): 56 data bytes
    > 64 bytes from 203.222.55.37: icmp_seq=0 ttl=255 time=0.281 ms
    > 64 bytes from 203.222.55.37: icmp_seq=1 ttl=255 time=0.207 ms
    >
    > < packets are flowing by rl0, despite the ipfw rule to stop them !,
    > rl0 being the only network interface 'connected' )
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Are you sure your ping requests/replies really go via rl0?
    Try to use the ruleset like this:
    # ipfw add deny ip from any to 203.222.55.37 via rl0
    # ipfw add deny ip from any to 203.222.55.37 via lo0
    :)

    >
    > guass# ipfw delete 1
    >
    > guass# ipfw add 1 deny ip from any to any
    >
    > guass# ping 203.222.55.37
    >
    > < No answer, like u would hope>
    >
    >
    > Yes, I have searched archives.
    >
    >
    > Why does "via rl0" , "in recv rl0" , "out xmit rl0" ,
    > (or via wi0, in recv wi0, out xmit wi0 )
    >
    >
    > Is it a known bug ?
    >
    > Can't think of anything else relevant to add.
    > ipfw seems seriously broken in 5.2.1 ???

    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Mike Makonnen: "Making bfe MPSAFE"

    Relevant Pages

    • IPFW and 5.2.1
      ... Any explanation or fix for my problem with ipfw ... ... yes I did search the mailing list archives, ... guass# ping 203.222.55.37 ... PING 203.222.55.37: 56 data bytes ...
      (freebsd-net)
    • Re: Issue with IPFW forward
      ... Destination Gateway Flags Refs Use Netif Expire ... ipfw add 10 fwd 20.20.20.20 log ip from 2.2.2.2 to any ... I can see the IPFW counter increasing while the ping command ... it is still trying to go through tun1 when I believe ...
      (freebsd-net)
    • Issue with IPFW forward
      ... ipfw add 10 fwd 20.20.20.20 log ip from 2.2.2.2 to any ... I can see the IPFW counter increasing while the ping command ... it is still trying to go through tun1 when I believe ... I can ping 20.20.20.20 without issues from the freebsd server, ...
      (freebsd-net)
    • ping through ipfw giving unexpected results
      ... I am running ping.exe from a Windows 2003 Server machine through FreeBSD ... running ipfw, to another Windows server. ... With plr=0, I get no ping ... failures at all, and with ipfw at its defaults I get no successes, so ...
      (freebsd-questions)
    • Re: natd + ipfw - very slow internet for LAN users
      ... userland like ipfw + natd). ... but internet is very slow. ... Ping reply is ~50ms. ... > interface ...
      (freebsd-questions)