Hello!
I'm doing a setup of stateful rules with IPFW and I'm facing two strange situations.
The first one is about the check-state. I cannot see any activity on check-state (first rule) when I'm using keep-state rules...
I can see that the dynamic rules is being created
And the time out of rules is 30 seconds.
So, should be passing some connections on check-state as would have connections already opened?
And the second question is about limit src-addr usage.
If I do a rule like that:
It will be limiting to 10 EACH connection of a source inside of class 189.0.0.0/8 OR it will be limited only 10 connections to ALL class 189.0.0.0/8?
I'm asking that because when I create this rule, some customers with IP 189.*.*.* sometimes cannot access the website WHILE others customers with same class (not same ip) 189.*.*.* CAN access it normally.
If I delete the limit rule the customer with issue can access it exactly on time of rule deletion, so don't make sense to me some people accessing normally and some not with different IPS but same class.
I really would appreciate some help on that!
Thanks in advance
I'm doing a setup of stateful rules with IPFW and I'm facing two strange situations.
The first one is about the check-state. I cannot see any activity on check-state (first rule) when I'm using keep-state rules...
Code:
00001 0 0 check-state
00003 180970 127688082 allow tcp from 189.0.0.0/8 to MYSERVER dst-port 80 setup keep-state
Code:
net.inet.ip.fw.dyn_count: 58
So, should be passing some connections on check-state as would have connections already opened?
And the second question is about limit src-addr usage.
If I do a rule like that:
Code:
ipfw add 2 permit tcp from 189.0.0.0/8 to MYSERVER 80 limit src-addr 10
It will be limiting to 10 EACH connection of a source inside of class 189.0.0.0/8 OR it will be limited only 10 connections to ALL class 189.0.0.0/8?
I'm asking that because when I create this rule, some customers with IP 189.*.*.* sometimes cannot access the website WHILE others customers with same class (not same ip) 189.*.*.* CAN access it normally.
If I delete the limit rule the customer with issue can access it exactly on time of rule deletion, so don't make sense to me some people accessing normally and some not with different IPS but same class.
I really would appreciate some help on that!
Thanks in advance