• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

{Complete} Timebased Rules

Completed Bounties
10
187
141.5k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    sullrich
    last edited by Mar 31, 2007, 9:21 PM

    I don't understand the problem so it is going to be hard to test.  Can you please explain #1 again.

    1 Reply Last reply Reply Quote 0
    • H
      heiko
      last edited by Mar 31, 2007, 9:31 PM

      Scott,
      it is a very simple test.

      My first test: I create a rule with icmp path to the wan!
      2.) i ping- all is OK
      3.) i disable the rule, and the ping replys
      4.) i delete the rule, and the ping replys
      5.) after the delete of the "one" rule, new ping replys and replys

      So, before i test a rule with a schedule, at first a i test the normal behaviour….

      Please duplicate!

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by Mar 31, 2007, 9:36 PM

        I cannot duplicate this.  The firewall works as it should without schedules, in fact, we didn't modify the PF rules at all so if an item does not have a schedule then nothing has changed on the backend.

        If you are speaking of a rule having an issue with a schedule please run ipfw show from the shell and show what the rules look like.

        1 Reply Last reply Reply Quote 0
        • H
          heiko
          last edited by Mar 31, 2007, 9:42 PM

          I will test it, i´am disappointed

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by Mar 31, 2007, 9:51 PM

            Why are you disappointed?

            1 Reply Last reply Reply Quote 0
            • H
              heiko
              last edited by Mar 31, 2007, 9:53 PM

              no comment, i will test it

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by Mar 31, 2007, 9:53 PM

                I think our language barriers are getting in the way.  Is there someone out there that can help translate?

                1 Reply Last reply Reply Quote 0
                • H
                  heiko
                  last edited by Mar 31, 2007, 9:59 PM

                  Scott,
                  i think we are finished the project.
                  Thank you for the the great coding.
                  heiko

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by Mar 31, 2007, 9:59 PM

                    I am confused, so everything works okay?

                    1 Reply Last reply Reply Quote 0
                    • H
                      heiko
                      last edited by Mar 31, 2007, 10:05 PM

                      No, i think it is not working, but you work very well, but i want not a conflict..

                      1 Reply Last reply Reply Quote 0
                      • S
                        sullrich
                        last edited by Mar 31, 2007, 10:07 PM

                        Nobody is creating a conflict.  I just cannot duplicate the problem..

                        When I permit or deny ICMP traffic on the WAN interface it stops as it should.

                        1 Reply Last reply Reply Quote 0
                        • H
                          heiko
                          last edited by Mar 31, 2007, 10:09 PM

                          OK, then it is vmware problem, i think

                          1 Reply Last reply Reply Quote 0
                          • S
                            sullrich
                            last edited by Mar 31, 2007, 10:10 PM

                            Do you speak german?  Please join #pfsenseDE on FreeNODE.

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by Mar 31, 2007, 10:49 PM

                              I have a feeling that I know what you are testing.

                              Is this what you did?

                              ping the wan ip from a client continually (-t on windows)
                              add icmp allow rule on wan tab
                              client can now ping the wan
                              remove the wan icmp rule and apply
                              client can still ping firewall (pf state exists, you must ctrl-c and ping again or clear states)

                              Where I think the confusion is that I had to do some ipfw mastery to override the pf rules for schedules.  And that is the reason why ICMP will be blocked correctly on a schedule.  PF rules themselves have not changed so if a state already exists and you remove the rule that session will remain active until it closes or you clear the states on the firewall.

                              1 Reply Last reply Reply Quote 0
                              • H
                                heiko
                                last edited by Mar 31, 2007, 10:57 PM

                                Scott,

                                that´s it. COMPLETELY

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by Mar 31, 2007, 11:00 PM

                                  Good deal.  Do you understand now why it works that way?  It has always worked that way due to it being a stateful firewall.

                                  In terms of the cosmetic GUI issues, we will look into them.

                                  But at this point is the system working for you?  I really need to get 1.2 tagged in CVS and begin the 1.2 beta engineering process.

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    heiko
                                    last edited by Mar 31, 2007, 11:04 PM

                                    Boh Scott,
                                    yes i do, but we can i test this completley out with schedules on a rule?

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sullrich
                                      last edited by Mar 31, 2007, 11:06 PM

                                      Yes, please test and let me know when you are happy with it.

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        heiko
                                        last edited by Mar 31, 2007, 11:07 PM

                                        a new snapshot?

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sullrich
                                          last edited by Mar 31, 2007, 11:08 PM

                                          Sure, that will work.  There have been no commits for atleast 9+ hours.

                                          1 Reply Last reply Reply Quote 0
                                          148 out of 187
                                          • First post
                                            148/187
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.