Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Firewalling» Resetting states
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: Resetting states  (Read 414 times)
0 Members and 1 Guest are viewing this topic.
bellera
Hero Member
*****
Offline Offline

Posts: 694



View Profile WWW
« on: June 07, 2007, 03:26:14 am »

Hello!

Is there any command (at the SSH shell) to reset the states for a specified IP ?

Thanks in advance,

Josep Pujadas
Logged
bellera
Hero Member
*****
Offline Offline

Posts: 694



View Profile WWW
« Reply #1 on: June 07, 2007, 04:17:38 am »

Ok, I think I found my answer. At man pfctl:

-k host
        Kill all of the state entries originating from the specified
        host.  A second -k host option may be specified, which will kill
        all the state entries from the first host to the second host.
        For example, to kill all of the state entries originating from
        host:

         # pfctl -k host

        To kill all of the state entries from host1 to host2:

         # pfctl -k host1 -k host2

Regards,

Josep Pujadas
Logged
sullrich
Administrator
Hero Member
*****
Offline Offline

Posts: I am a geek!!



View Profile WWW
« Reply #2 on: June 08, 2007, 01:59:10 pm »

Upgrade to 1.2-BETA-1.  There is X next to each state in the Diagnostic -> states screen.

Simply click the state you want to kill and it will do pfctl -k behind the scenes.
Logged

Follow me on Twitter!! http://twitter.com/sullrich

pfSense Commercial Support

Paying customers receive support priority and detailed answers
through the official commercial support channels, forum users receive
as much help as time permits.
bellera
Hero Member
*****
Offline Offline

Posts: 694



View Profile WWW
« Reply #3 on: June 09, 2007, 07:46:51 am »

Ok!

Thanks!

Josep Pujadas
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.115 seconds with 19 queries.