Home
last modified time | relevance | path

Searched refs:ipsec (Results 1 – 25 of 103) sorted by relevance

12345

/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dip_ipsec_pxy.c140 ipsec_pxy_t *ipsec; in ipf_p_ipsec_new() local
168 KMALLOC(ipsec, ipsec_pxy_t *); in ipf_p_ipsec_new()
169 if (ipsec == NULL) in ipf_p_ipsec_new()
174 KFREE(ipsec); in ipf_p_ipsec_new()
178 aps->aps_data = ipsec; in ipf_p_ipsec_new()
179 aps->aps_psiz = sizeof(*ipsec); in ipf_p_ipsec_new()
180 bzero((char *)ipsec, sizeof(*ipsec)); in ipf_p_ipsec_new()
182 ipsec->ipsc_rule = ipn; in ipf_p_ipsec_new()
229 bcopy(ptr, (char *)ipsec->ipsc_icookie, sizeof(ipsec_cookie_t)); in ipf_p_ipsec_new()
231 bcopy(ptr, (char *)ipsec->ipsc_rcookie, sizeof(ipsec_cookie_t)); in ipf_p_ipsec_new()
[all …]
/netbsd-src/sys/netipsec/
H A Dfiles.netipsec8 file netipsec/ipsec.c ipsec needs-flag
9 file netipsec/ipsec_input.c ipsec
10 file netipsec/ipsec_mbuf.c ipsec
11 file netipsec/ipsec_output.c ipsec
12 file netipsec/xform_ah.c ipsec
13 file netipsec/xform_esp.c ipsec
14 file netipsec/xform_ipcomp.c ipsec
15 file netipsec/xform_ipip.c ipsec
16 file netipsec/ipsec_netbsd.c ipsec
18 file netipsec/key.c ipsec
[all …]
/netbsd-src/tests/net/ipsec/
H A Dt_ipsec_sysctl.sh46 rump.sysctl net.inet.ipsec.enabled
73 atf_check -s exit:0 -o match:'= 1' rump.sysctl net.inet.ipsec.enabled
78 atf_check -s exit:0 -o match:'= 0' rump.sysctl net.inet.ipsec.used
88 atf_check -s exit:0 -o match:'= 0' rump.sysctl net.inet.ipsec.used
93 spdadd 10.0.0.1 10.0.0.2 any -P out ipsec esp/transport//use;
97 atf_check -s exit:0 -o match:'= 1' rump.sysctl net.inet.ipsec.used
123 atf_check -s exit:0 -o match:'= 1' rump.sysctl net.inet.ipsec.enabled
126 atf_check -s exit:0 -o match:'= 0' rump.sysctl net.inet.ipsec.used
135 atf_check -s exit:0 -o match:'= 0' rump.sysctl net.inet.ipsec.used
140 spdadd fd00::1 fd00::2 any -P out ipsec esp/transport//use;
[all …]
H A Dt_ipsec_gif.sh154 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec
156 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec
166 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec
168 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec
179 spdadd $ip_gwlo_tun/32 $ip_gwre_tun/32 any -P out ipsec
181 spdadd $ip_gwre_tun/32 $ip_gwlo_tun/32 any -P in ipsec
191 spdadd $ip_gwre_tun/32 $ip_gwlo_tun/32 any -P out ipsec
193 spdadd $ip_gwlo_tun/32 $ip_gwre_tun/32 any -P in ipsec
305 spdadd $subnet_local/64 $subnet_remote/64 any -P out ipsec
307 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec
[all …]
H A Dt_ipsec_l2tp.sh151 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec
153 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec
163 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec
165 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec
176 spdadd $ip_gwlo_tun/32 $ip_gwre_tun/32 any -P out ipsec
178 spdadd $ip_gwre_tun/32 $ip_gwlo_tun/32 any -P in ipsec
188 spdadd $ip_gwre_tun/32 $ip_gwlo_tun/32 any -P out ipsec
190 spdadd $ip_gwlo_tun/32 $ip_gwre_tun/32 any -P in ipsec
293 spdadd $subnet_local/64 $subnet_remote/64 any -P out ipsec
295 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec
[all …]
H A Dt_ipsec_spflags.sh37 rump_server_crypto_start $SOCK_LOCAL netipsec ipsec
56 rump_server_crypto_start $SOCK_LOCAL netipsec ipsec
61 spdadd $ip_gwlo_tun $ip_gwre_tun ipv4 -P in ipsec esp/transport//require ;
62 spdadd $ip_gwre_tun $ip_gwlo_tun ipv4 -P out ipsec esp/transport//require ;
H A Dt_ipsec_tunnel.sh130 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec
132 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec
144 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec
146 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec
230 spdadd $subnet_local/64 $subnet_remote/64 any -P out ipsec
232 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec
244 spdadd $subnet_remote/64 $subnet_local/64 any -P out ipsec
246 spdadd $subnet_local/64 $subnet_remote/64 any -P in ipsec
H A Dt_ipsec_tunnel_ipcomp.sh128 rump.sysctl -a |grep ipsec
164 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec
167 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec
182 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec
185 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec
290 spdadd $subnet_local/64 $subnet_remote/64 any -P out ipsec
293 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec
308 spdadd $subnet_remote/64 $subnet_local/64 any -P out ipsec
311 spdadd $subnet_local/64 $subnet_remote/64 any -P in ipsec
H A Dt_ipsec_tunnel_odd.sh136 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec
138 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec
150 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec
152 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec
242 spdadd $subnet_local/64 $subnet_remote/64 any -P out ipsec
244 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec
256 spdadd $subnet_remote/64 $subnet_local/64 any -P out ipsec
258 spdadd $subnet_local/64 $subnet_remote/64 any -P in ipsec
/netbsd-src/external/bsd/ipf/dist/lib/
H A Dprintaps.c25 ipsec_pxy_t ipsec; local
102 (ap.aps_psiz == sizeof(ipsec))) {
103 if (kmemcpy((char *)&ipsec, (long)ap.aps_data, sizeof(ipsec)))
107 (u_int)ntohl(ipsec.ipsc_icookie[0]),
108 (u_int)ntohl(ipsec.ipsc_icookie[1]),
109 (u_int)ntohl(ipsec.ipsc_rcookie[0]),
110 (u_int)ntohl(ipsec.ipsc_rcookie[1]),
111 ipsec.ipsc_rckset ? "(Set)" : "(Not set)");
/netbsd-src/crypto/dist/ipsec-tools/src/setkey/
H A Dsample-policy02.cf8 -P out ipsec
13 -P out ipsec
16 -P in ipsec
19 -P out ipsec
24 -P out ipsec
29 -P out ipsec
34 -P out ipsec
H A Dsample.cf45 spdadd fec0::10[any] fec0::11[110] tcp -P out ipsec
47 spdadd fec0::11[110] fec0::10[any] tcp -P in ipsec
71 spdadd 10.0.1.0/24 10.0.2.0/24 any -P out ipsec
73 spdadd 10.0.2.0/24 10.0.1.0/24 any -P in ipsec
88 spdadd 10.0.2.0/24 10.0.1.0/24 any -P out ipsec
90 spdadd 10.0.1.0/24 10.0.2.0/24 any -P in ipsec
111 spdadd fec0:0:0:1::/64 fec0:0:0:2::/64 any -P out ipsec
114 spdadd fec0:0:0:2::/64 fec0:0:0:1::/64 any -P in ipsec
146 spdadd fec0:0:0:1::1[any] fec0:0:0:2::2[80] tcp -P out ipsec
149 spdadd fec0:0:0:2::1[80] fec0:0:0:1::1[any] tcp -P in ipsec
H A Dsample-policy01.cf7 -P out ipsec
10 -P out ipsec
/netbsd-src/crypto/dist/ipsec-tools/rpm/
H A DMakefile.am4 ipsec-tools.spec.in
6 all-local: ipsec-tools.spec
12 ipsec-tools.spec: ipsec-tools.spec.in Makefile
18 CLEANFILES = ipsec-tools.spec
H A Dipsec-tools.FC117 IPSEC_SPD=/etc/sysconfig/ipsec.spd
18 VAR_SUBSYS_IPSEC=/var/lock/subsys/ipsec
/netbsd-src/crypto/dist/ipsec-tools/
H A DREADME17 The ipsec-tools code has been maintained and developed by:
34 http://ipsec-tools.sourceforge.net/
39 src/crypto/dist/ipsec-tools
51 https://trac.ipsec-tools.net/
57 ipsec-tools-devel@lists.sourceforge.net
58 ipsec-tools-users@lists.sourceforge.net
61 http://sf.net/mailarchive/forum.php?forum_name=ipsec-tools-devel
H A Dconfigure.ac5 AC_INIT(ipsec-tools, CVS)
43 AC_CHECK_HEADER(netinet/ipsec.h, [have_netinet_ipsec=yes], [have_netinet_ipsec=no])
44 AC_CHECK_HEADER(netinet6/ipsec.h, [have_netinet6_ipsec=yes], [have_netinet6_ipsec=no])
45 AC_CHECK_HEADER(netipsec/ipsec.h, [have_netipsec_ipsec=yes], [have_netipsec_ipsec=no])
47 # FreeBSD >=7 has only <netipsec/ipsec.h>
48 # NetBSD has <netinet6/ipsec.h> but not <netinet/ipsec.h>
49 # XXX some *BSD still have both <netinet6/ipsec.h> and <netipsec/ipsec.h>,
50 # we can't decide which one to use (actually <netinet6/ipsec.h>)
55 AC_DEFINE(PATH_IPSEC_H, [<netipsec/ipsec.h>], [Path to ipsec.h])
59 AC_DEFINE(PATH_IPSEC_H, [<netinet6/ipsec.h>], [Path to ipsec.h])
[all …]
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/doc/
H A DFAQ2 apply to ipsec-tools (they are obsolete or not up to date). They are
27 ipsec-tools is also available as a package in the NetBSD pkgsrc
39 http://ipsec-tools.sourceforge.net/netbsd_nat-t.diff
43 When ipsec-tools is built with --enable-natt, racoon
92 using (like "ipsec-tools-0.5"), and information to repeat the
104 <ipsec-tools-devel@lists.sourceforge.net>
107 <ipsec-tools-core@lists.sourceforge.net>
112 http://www.NetBSD.org/docs/network/ipsec/
/netbsd-src/tests/net/if_ipsec/
H A DMakefile8 .for name in ipsec ipsec_natt ipsec_pfil ipsec_unnumbered
11 ../ipsec/common.sh ../ipsec/algorithms.sh
H A Dt_ipsec_natt.sh40 rump_server_crypto_start $SOCK_LOCAL_A netipsec ipsec
41 rump_server_crypto_start $SOCK_LOCAL_B netipsec ipsec
43 rump_server_crypto_start $SOCK_REMOTE netipsec ipsec
63 rump_server_add_iface $sock ipsec$ifid
64 atf_check -s exit:0 rump.ifconfig ipsec$ifid link0 # enable NAT-T
65 atf_check -s exit:0 rump.ifconfig ipsec$ifid tunnel ${src_ip},${src_port} ${dst_ip},${dst_port}
66 atf_check -s exit:0 rump.ifconfig ipsec$ifid ${ipsecif_ip}/32
/netbsd-src/crypto/dist/ipsec-tools/rpm/suse/
H A Dipsec-tools.spec.in2 # spec file for package ipsec-tools
16 Name: ipsec-tools
25 Source: http://prdownloads.sourceforge.net/ipsec-tools/ipsec-tools-%{version}.tar.bz2
28 URL: http://ipsec-tools.sourceforge.net/
44 http://ipsec-tools.sourceforge.net/
110 %changelog -n ipsec-tools
H A DMakefile.am1 EXTRA_DIST = ipsec-tools.spec.in ipsec-tools.spec racoon.init sysconfig.racoon
/netbsd-src/etc/rc.d/
H A Dipsec23 if [ ! -f /etc/ipsec.conf ]; then
46 /sbin/setkey -f /etc/ipsec.conf
50 -e "s/@LOCAL_ADDR_V6@/$2/" /etc/ipsec.conf | \
/netbsd-src/usr.sbin/altq/altqd/altq.conf.samples/
H A Dcbq.widecamp67 class cbq sr0 ipsec intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn
68 filter sr0 ipsec 0 0 0 0 50 # ipsec (ah)
69 filter sr0 ipsec 0 0 0 0 51 # ipsec (esp)
/netbsd-src/crypto/dist/ipsec-tools/src/racoon/samples/
H A Dracoon.conf.sample-natt46 # spdadd 192.168.0.0/24 192.168.1.0/24 any -P out ipsec \
48 # spdadd 192.168.1.0/24 192.168.0.0/24 any -P in ipsec \
53 # spdadd 192.168.1.0/24 192.168.0.0/24 any -P out ipsec \
55 # spdadd 192.168.0.0/24 192.168.1.0/24 any -P in ipsec \

12345