The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 pipsecd: (SOCK_RAW):protocol not supported
Author: Bjorn Tornqvist 
Date:   17-07-00 14:15

Hi!

Just tried to install an encrypting tunnel as in the recent tutorial, however I can't get it to work.
Situation: Two identical 4.0STABLE (3 weeks ago) machines running natd.
Kernels compiled with:
pseudo-device bpf
pseudo-device tun 1
options INET
options IPFIREWALL
options IPDIVERT
options IPSEC
options IPSEC_ESP
no gif, faith, inet6

Ok, so what really happens? Well, the pipsecd can't open tun0 in raw mode.
tun0 exists in /dev.

The error is this during boot:
Additional local services: pipsecdsocket(SOCK_RAW): protocol not supported.
ifconfig interface tun0 does not exist.

/var/log/messages only contains one line: "pipsecd starting.".

Ok, so, does tun0 exist?

ifconfig -a (after booting) does not display tun0

doing "cat > tun0 < echo hejsan" works fine, after doing that ifconfig -a *does* display tun0. After that, I can bring the tun0 interface up or down without ifconfig complaing.
So, clearly, tun0 works fine (right?) but pipsecd can't use it.
Anyone know anything that could help me?

TIA,
Bjorn

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 pipsecd: (SOCK_RAW):protocol not supported   new
Bjorn Tornqvist 17-07-00 14:15 
 RE: pipsecd: (SOCK_RAW):protocol not supported   new
Philip Hallstrom 17-07-00 17:56 
 RE: pipsecd: (SOCK_RAW):protocol not supported   new
Bjorn Tornqvist 18-07-00 12:12 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org