What is the proper format for entering manual keys directly into the 
ipsec.conf file?

Test file ipsec.test:

esp from 10.0.0.1 to 10.0.1.1 \
spi 0x00001011:0x00001010 \
auth hmac-sha1 enc aes \
authkey "1234567890123456789012345678901234567890" \
enckey "12345678901234567890123456789012" \

# ipsecctl -n -f ipsec.test
ipsec.test: 5: no authentication key specified
ipsecctl: Syntax error in config file: ipsec rules not loaded

The same happens if the key is specified:

12345678901234567890123456789012
0x12345678901234567890123456789012
"0x12345678901234567890123456789012"

The man page only specifies a 'hexadecimal string'. The same thing happens if 
the key is entered into a file and the 'authkey file' directive is used. Any 
help would be appreciated.

-- 
Jeff Simmons                                   [EMAIL PROTECTED]
Simmons Consulting - Network Engineering, Administration, Security
"You guys, I don't hear any noise.  Are you sure you're doing it right?"
        --  My Life With The Thrill Kill Kult

Reply via email to