Jump to content

Stop APF firewall?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
12 replies to this topic

#1
mop

mop

    Learning Programmer

  • Members
  • PipPipPip
  • 30 posts
How can I stop the APF firewall temporarily? I don't want to uninstall it permanently and I want to turn it back on in just a bit.

#2
Tor

Tor

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 486 posts
There should be a file in /etc/init.d/ (a script) that allows you to start/stop this servce. It is probably named "apf". Try

# ./etc/init.d/apf stop


#3
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
How do you discover such things? I mean, it's not that straight forward...

#4
Tor

Tor

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 486 posts
In the shell I search for "apf". I found that a binary is in dir /etc/init.d (which I know contains scripts). So I just went an executed it and discovered that it was the startup/shutdown script.

#5
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
So it was something like... a lucky discovery?

#6
LinuxBomber

LinuxBomber

    Learning Programmer

  • Members
  • PipPipPip
  • 78 posts
Don't they document these things?

#7
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
I've got no idea... I think and hope so.

#8
ToRk

ToRk

    Newbie

  • Members
  • Pip
  • 9 posts
hello
chkconfig apf off

or you can rename apf directory
cd /etc
mv apf apfold

when you need it back rename it again to apf

ed3mny.com

#9
Tor

Tor

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 486 posts
Wouldn't renaming the directory cause problems?

#10
ToRk

ToRk

    Newbie

  • Members
  • Pip
  • 9 posts
Hello Tor;

no it won't , i tried it befor ;)

in case it cause problem bring it back to apf
ed3mny.com

#11
MHJ

MHJ

    Newbie

  • Members
  • PipPip
  • 29 posts
Would it be possible to uninstall it and the go back and re-install it at a later date?

#12
EGS

EGS

    Programmer

  • Members
  • PipPipPipPip
  • 116 posts
Why would you ever want to stop it?...
My sites are saved by it because we get DoS and DDoS attacks 24/7.