Re: Listening outside ipfw / program interface to ipfw

From: Jeremie Le Hen (jeremie_at_le-hen.org)
Date: 01/13/05

  • Next message: Ted Cabeen: "Re: Aggregating logs from numerous FreeBSD machines"
    Date: Thu, 13 Jan 2005 23:19:47 +0100
    To: John Pettitt <jpp@cloudview.com>
    
    

    > Hi,
    > Two quick questions that I can't seem to find answers for using google.
    >
    > 1) is is possible to listen outside an ipfw firewall - that is have
    > ethereal record the packets before ipfw starts dropping them? If so how?

    tcpdump(8) uses the bpf(4) device and the latter will always see a
    packet reaching the box whether a packet filter will drop it or not.

    > 2) Is there an api to ipfw that will let me manipulate rules, query
    > stats etc? I need something faster than running the command line binary?

    Yes, you should look at the ``SEE ALSO'' section in ipfw(8) manual page.
    ipfirewall(4) is what you are looking for, but looking at ipfw(8)
    source code might help too.

    Regards,

    -- 
    Jeremie Le Hen
    jeremie@le-hen.org
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
    

  • Next message: Ted Cabeen: "Re: Aggregating logs from numerous FreeBSD machines"

    Relevant Pages

    • Re: Queries
      ... >>RFC was drafted, dropping still had the above mentioned meaning. ... > Firewalls acting as packet filters aren't visible as protocol end ... The firewall examines each packet and then ...
      (comp.security.firewalls)
    • Re: Queries
      ... Dropping a packet has always meant discarding it and sending a ... understand this term in RFC 2979 (ok, thatīs my assumption - how can I ... Also, in the early times, a firewall used ...
      (comp.security.firewalls)
    • netfilter firewall crash ip_conntrack table full
      ... but this workstation shudown our network connection. ... Jul 22 09:00:03 mars kernel: ip_conntrack: table full, dropping ... packet. ...
      (comp.os.linux.networking)
    • Re: Auditing / Logging
      ... Indeed, however, the purpose of captuing the whole packet and ... risk of dropping packets. ...
      (Pen-Test)
    • Re: Stealth is good?
      ... > A foreign body and a foreign mind, ... IMHO, default deny all is always the best way, depending on your firewall ... As for dropping everything silently means it shows that there's a packet ...
      (comp.security.firewalls)