Bugzilla – Bug 114383
/etc/racoon/psk.txt is 0644, should be 0600
Last modified: 2005-09-01 07:53:12 UTC
/etc/racoon/psk.txt in ipsec-tools has mode 0644, if the user doesn't change this, racoon complains when setting up the tunnel: Aug 31 13:56:58 linux racoon: INFO: respond new phase 1 negotiation: 192.168.3.1[500]<=>192.168.3.2[500] Aug 31 13:56:58 linux racoon: INFO: begin Identity Protection mode. Aug 31 13:56:58 linux racoon: INFO: received Vendor ID: DPD Aug 31 13:56:58 linux racoon: ERROR: /etc/racoon/psk.txt has weak file permission Aug 31 13:56:58 linux racoon: ERROR: failed to open pre_share_key file /etc/racoon/psk.txt Aug 31 13:56:58 linux racoon: ERROR: couldn't find the pskey for 192.168.3.2. Aug 31 13:56:58 linux racoon: ERROR: failed to process packet. Aug 31 13:56:58 linux racoon: ERROR: phase1 negotiation failed. BTW I checked two other distributions and they install psk.txt with mode 0600.
Just submited the fixed package to autobuild.
The fixed package has been checked into autobuild.