LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   patch question (https://www.linuxquestions.org/questions/linux-newbie-8/patch-question-333934/)

eagle683 06-15-2005 01:00 PM

patch question
 
hey all,

I think this might could be an easy question:

I have a fix for a faulty program on a redhat machine that I downloaded from bugzilla.redhat.com

it is ifup-ipsec.patch - turns out that on certain Redhat Enterprise machines, ipsec is not configured correctly for host to host connections.

I'm still new to Linux, so how would I run the patch? It is already downloaded in the same directory.

thanks
Eagle

david_ross 06-15-2005 01:14 PM

You just need to run patch:
patch < ifup-ipsec.patch

If there are directory names in the patch then you can strip them with:
patch -p1 < ifup-ipsec.patch

eagle683 06-15-2005 02:16 PM

Thanks,

would the ifdown need the same patch? IPSec still is not active on my computer. I have it configured on my computer, but I cannot activate it.
Although, I think it may be activated, but I run redhat, and if I use the menu, go to system settings -> server settings -> services

Once that dialog opens, I see that the configured devices are eth0, eth1, ipsec0, cfg-ipsec0
active devices eth0, eth1

I've never seen the ipsec0 active, although, if I try to ssh in from a windows box it restricts me. Any idea of why this may be?

Eagle


All times are GMT -5. The time now is 07:05 PM.