Displaying 20 results from an estimated 2000 matches similar to: "Need help on ipfw IDS support."
2004 Feb 24
3
improve ipfw rules
>> 3. I'm intrested in blocking kazaa/P2P trafic with IPFW any help in this
issue
you could possibly block connections at known p2p ports.
deny tcp from any to any 6699 step
but most of the newer protocols use dynamic ports and in turn, are
configurable.
so ipfw isn't exactly ideal on it's own for this.
-r.
-----Original Message-----
From: Pons [mailto:pons@gmx.li]
Sent:
2004 Feb 14
2
Localhost traffic and ipfw rules
I seem to be stumped on this one. I have TCP packets destined to my external interface from 127.0.0.1 (Ack+Reset zero data) with source MAC of my default gateway and I can't seem to block this traffic.
Snort picked up the traffic and I have confirmed with tcpdump. So I decided I needed to examine my anti-spoof rules. I already had this one
deny ip from any to 127.0.0.0/8 in recv
2013 Nov 19
3
ipfw table add problem
Hi,
I'm using kernel FreeBSD 10.0-BETA3 #2 r257635 kernel.
I am trying to add port number to ipfw tables. But there is something
strange :
Problem is easily repeatable.
#ipfw table 1 flush
#ipfw table 1 add 4899
#ipfw table 1 list
::/0 0
#ipfw table 1 flush
#ipfw table 1 add 10.2.3.01 ( not 10.0.0.1, the last 1 has 0 as
prefix )
#ipfw table 1 list
::/0 0
#ipfw table 1 delete ::/0
2004 Jan 10
2
Need some help on security
Hello all. I am new to the list and relitively new to FreeBSD. I currently
have a server running 4.8 as a dedicated server with cPanel added as a way
to speed up the creation of sites and such on the server. I host only a
couple of site because I do this in my spare time and don't know enough to
be a paid participant in the hosting community.
Anyway, on to the question, lastnight, the server
2006 Apr 17
3
IPFW Problems?
Hi,
I have a system with a 4.11 Kernel. Unless I'm doing something very
wrong, there seems to be something odd with ipfw.
Take the following rules:
ipfw add 00280 allow tcp from any to any 22 out via bge0 setup keep-
state
ipfw add 00299 deny log all from any to any out via bge0
ipfw add 0430 allow log tcp from any to me 22 in via bge0 setup limit
src-addr 2
ipfw add 00499 deny log
how to get IPFW rules for SMTP server behind NAT server "right"? (freebsd-security: message 1 of 20)
2003 Nov 21
1
how to get IPFW rules for SMTP server behind NAT server "right"? (freebsd-security: message 1 of 20)
-- On Friday, November 21, 2003 12:48 PM -0800 "David Wolfskill - david@catwhisker.org"
<+freebsd-security+openmacnews+0459602105.david#catwhisker.org@spamgourmet.com> wrote:
David,
thanks for your reply!
>> i've been struggling with setting appropriate rules for an SMTP-server
>> behind by NAT'd firewall.
>
> OK....
<snip>
>
>>
2009 Mar 17
1
ipfw and carp
Hi all:
Did any one use ipfw with CARP before? is there anything specific about ipfw configurations working with CARP? I have two servers and they configured with CARP. they are working fine except i can't turn on ipfw.
I have the exact same configuration except ip addresses; those same rule sets of ipfw work on one server but not on another.
Thanks all
2005 Jan 13
1
Listening outside ipfw / program interface to ipfw
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?
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?
Thanks
John
2003 Nov 05
4
FBSD All-in-one security box?
Hey *, as I sweat through another day of crap dealing with an
all-in-one box (firewall, IDS, AVS, report generating, soon to
be a VPN server) I'm wondering if someone has started a project
to put some freeware together in some semblance of sanity on a
FBSD box. There's basically nothing that this box does that a
combo of IPFW (or another bsd filter), snort, ntop, and some
other freeware
2003 May 31
3
Packet flow through IPFW+IPF+IPNAT ?
Hi.
On my FreeBSD 4.8 configured IPFW2+IPF+IPNAT and I use them all:
- IPFW - traffic accounting, shaping, balancing and filtering;
- IPFilter - policy routing;
- IPNAT - masquerading.
I want to know, how IP-packets flow through all of this components?
What's the path?
incoming: IPFW Layer2 -> IPFW&Dummynet -> IPNAT -> IPFilter ?
outgoing: IPFW Layer2 ->
2006 Jan 26
7
strange problem with ipfw and rc.conf
Hi all:
I have strange probelm with rc.conf. I set up ipfw
(compiled into kernel) on freebsd-5.4 and it doesn't
seem to load ipfw rulesets (it uses default ruleset
65335 locking out everything). I have to do "sh
/etc/ipfw.rules" in order to load the rulesets, once I
did that, I can access the box from remote locations
here is my rc.conf:
host# more /etc/rc.conf
2004 Jan 23
1
ipfw + named problem
Ok, I am really stumped on this one. I setup ipfw with all my rules.
Everything works great except for dns. If I do nslookup I get
-su-2.05b# nslookup yahoo.com
Server: localhost.webspacesolutions.com
Address: 127.0.0.1
*** localhost.webspacesolutions.com can't find yahoo.com: Non-existent
host/domain
This is what I have in my ipfw.rules
add 00310 allow tcp from any to any 53 out via
2008 Jul 29
3
ipfw "bug" - recv any = not recv any
I hesitate to call this a "bug" as I don't know all the history behind
the ipfw2 decisions, so let me toss this out there and see I'm just
missing something.
Overview
========
The negated operator, "not recv any" was taken to mean "any packet never
received by an interface" believed to be equivalent to "any packet that
originated on the current
2005 Jan 10
1
connection limit with ipfw
Hello folks,
I'm trying to set up a ruleset that limits every user to X tcp
connections, since I have 300 active users on each server. I've been trying
to work it out with the ipfw limit but I really don't know how effective it
is.
For example:
ipfw -q add 15 allow tcp from me to any 80 limit dst-port X keep-state out
setup
Will this limit the whole machine to X
2005 Apr 29
6
IPFW disconnections and resets
Hi,
I am using IPFW on FreeBSD 4.11
I am facing two problems:
- SSH sessions timeout after a while
- When I run "/sbin/ipfw -q -f flush" in the rules script all connection
get reset (and I am thrown out of the box).
Is this standard functioning of ipfw or do I need to change any
configuration?
Thanks,
Siddhartha
2004 Feb 06
1
ipfw question
Dear All.
I want to use 'not' for 2 addresses (for both) in ipfw2 rule.
The only way that looks like what I need is
# ipfw add count from IP1 to not IP2,IP3
But does this rule indeed makes what I want? Does it count all
packets destined to addresses other then IP2 AND IP3?!
No other syntax works.
For example more logically correct
not IP2 AND not IP3
or even
not { IP2 or IP3 }
are
2004 Apr 15
2
Policy routing with IPFW
Hi There,
I've been having an issue trying to figure out a way to policy route
outbound packets from a multihomed machine through the proper interface
using IPFW to no avail.
I've tried several different incantations of IPFW fwd/forward
statements, and none of them seem to do the trick.
Basically, I have a host that has multiple Internet connections. This
host is running FreeBSD 4.9
2007 Dec 20
1
IPFW: Blocking me out. How to debug?
Dear W.D.
Do you understand that by adding the rules into kernel space numbered from zero to sixty five thousand five hundred thirty four
you may alter the behavior of the rule number sixty five thousand five hundred thirty five
can you please define and list the goals you are trying to achieve by altering default rule in the terms you can both explain and understand.
----- Original Message
2007 Mar 21
4
Reality check: IPFW sees SSH traffic that sshd does not?
This note is essentially a request for a reality check.
I use IPFW & natd on the box that provides the interface between my home
networks and the Internet; the connection is (static) residential DSL.
I configured IPFW to accept & log all SSH "setup" requests, and use natd
to forward such requests to an internal machine that only accepts public
key authentication; that
2004 Sep 01
2
IPFW and icmp
I'm not a master of the internet RFCs, but I do believe icmp messages have
different types.
Now to enable traceroute for IPFW, I might put in a rule like this:
ipfw add pass icmp from any to me
However, how would I make a rule to limit icmp messages to just those used
by traceroute? Can the messages be distinguished as such?
A dynamic rule that exists only for the duration of a traceroute