Displaying 20 results from an estimated 1000 matches similar to: "ipfw "bug" - recv any = not recv any"
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 ->
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
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>
>
>>
2006 Jun 06
2
Need help on ipfw IDS support.
Hi,
Is it possible to integrate SNORT with IPFW. I have an entire network behind
an IPFW BRIDGE. Just need IDS capability enabled for the network. Just an
hint is enough. Any other way I can achieve this in IPFW.
-Sunil Sunder Raj
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
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:
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
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
2005 Dec 13
2
Useful addition to ipfw
Hello,
I've found myself in a situation where a simple data inspection
capability added to ipfw would be very useful.
I'm not thinking about anything especially sophisticated, but what
about adding an option to check byte values (or flags, similar to
tcpdump)?
An example rule could be: add deny udp from any to me 12345 udp[4]&234
being the rule true if byte 4 in the UDP
2005 Feb 28
1
ipfw deny or reject - not just a matter of taste?
Hi,
I think this is worth a note.
It was generally said the decision between deny and reject (aka
unreach) could be taken lightly - and most people seem to prefer
"deny", which complicates things for an attacker, because packets
just vanish without any report and tasks timeout.
But from my viewpoint, this argument falls into the category
"security by obscurity", and I found
2003 May 22
1
NAT+IPFW
Dear all
I need to do the following
I have a fbsd router that runs nat and routes some public IP addresses
I ned to use the ipfw rules to deny traffic from the public IP's AND the
nat o do bandwidth limiting
eg
deny tcp from 192.168.200.1 to www.yahoo.com http out
and
deny tcp from 24.199.213.1 to www.yahoo.com http out
my questions are where do I place the rules in relation to the