summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyexchange/isakmpd-20041012/.depend466
-rw-r--r--keyexchange/isakmpd-20041012/anytun_key.c57
-rw-r--r--keyexchange/isakmpd-20041012/anytun_key.h29
-rw-r--r--keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep4
-rw-r--r--keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c5
5 files changed, 381 insertions, 180 deletions
diff --git a/keyexchange/isakmpd-20041012/.depend b/keyexchange/isakmpd-20041012/.depend
index 42dbda6..1b68096 100644
--- a/keyexchange/isakmpd-20041012/.depend
+++ b/keyexchange/isakmpd-20041012/.depend
@@ -1,211 +1,321 @@
app.o: app.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- app.h log.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ app.h log.h
attribute.o: attribute.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- attribute.h conf.h log.h isakmp.h isakmp_fld.h field.h isakmp_num.h \
- constants.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ log.h isakmp.h isakmp_fld.h field.h isakmp_num.h constants.h util.h
cert.o: cert.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- isakmp_num.h constants.h log.h cert.h
-connection.o: connection.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- conf.h connection.h doi.h ipsec.h ipsec_doi.h ipsec_fld.h field.h \
- ipsec_num.h constants.h isakmp.h isakmp_fld.h isakmp_num.h log.h \
- timer.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ isakmp_num.h constants.h log.h cert.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ x509.h libcrypto.h policy.h
+connection.o: connection.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ conf.h connection.h doi.h ipsec.h ipsec_doi.h ipsec_fld.h field.h \
+ ipsec_num.h constants.h isakmp_cfg.h isakmp.h isakmp_fld.h isakmp_num.h \
+ log.h timer.h util.h
constants.o: constants.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- constants.h
-conf.o: conf.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- app.h conf.h log.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h
+conf.o: conf.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ app.h conf.h log.h monitor.h util.h
cookie.o: cookie.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- cookie.h exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h \
- field.h isakmp_num.h hash.h transport.h message.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ cookie.h exchange.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ exchange_num.h constants.h isakmp.h isakmp_fld.h field.h isakmp_num.h \
+ hash.h transport.h message.h util.h
crypto.o: crypto.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- crypto.h log.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ crypto.h /usr/include/openssl/des.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/blf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/cast.h \
+ log.h
dh.o: dh.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- math_group.h dh.h log.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ math_group.h dh.h log.h
doi.o: doi.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- doi.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ doi.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h
exchange.o: exchange.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- cert.h conf.h connection.h constants.h cookie.h crypto.h doi.h \
- exchange.h exchange_num.h isakmp.h isakmp_fld.h field.h isakmp_num.h \
- ipsec_num.h libcrypto.h log.h message.h timer.h transport.h ipsec.h \
- ipsec_doi.h ipsec_fld.h sa.h util.h key.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ cert.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ conf.h connection.h constants.h cookie.h crypto.h \
+ /usr/include/openssl/des.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/blf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/cast.h \
+ doi.h exchange.h exchange_num.h isakmp.h isakmp_fld.h field.h \
+ isakmp_num.h ipsec_num.h isakmp_cfg.h libcrypto.h log.h message.h \
+ timer.h transport.h ipsec.h ipsec_doi.h ipsec_fld.h sa.h util.h key.h
exchange_num.o: exchange_num.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- constants.h exchange_num.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h exchange_num.h
field.o: field.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- constants.h field.h log.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h field.h log.h util.h
gmp_util.o: gmp_util.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- gmp_util.h math_mp.h
-hash.o: hash.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- hash.h log.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ gmp_util.h math_mp.h
+hash.o: hash.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/md5.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/sha1.h \
+ sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ hash.h log.h
if.o: if.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- log.h if.h
-ike_auth.o: ike_auth.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- cert.h conf.h constants.h exchange.h exchange_num.h isakmp.h \
- isakmp_fld.h field.h isakmp_num.h gmp_util.h math_mp.h hash.h \
- ike_auth.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h libcrypto.h \
- log.h message.h prf.h transport.h util.h key.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ log.h monitor.h if.h
+ike_auth.o: ike_auth.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/policy.h sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ cert.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ conf.h constants.h exchange.h exchange_num.h isakmp.h isakmp_fld.h \
+ field.h isakmp_num.h gmp_util.h math_mp.h hash.h ike_auth.h ipsec.h \
+ ipsec_doi.h ipsec_fld.h ipsec_num.h isakmp_cfg.h libcrypto.h log.h \
+ message.h monitor.h prf.h transport.h util.h key.h x509.h
ike_main_mode.o: ike_main_mode.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- attribute.h conf.h constants.h crypto.h dh.h doi.h exchange.h \
- exchange_num.h isakmp.h isakmp_fld.h field.h isakmp_num.h hash.h \
- ike_auth.h ike_main_mode.h ike_phase_1.h ipsec.h ipsec_doi.h \
- ipsec_fld.h ipsec_num.h log.h math_group.h message.h prf.h sa.h \
- transport.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ constants.h crypto.h /usr/include/openssl/des.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/blf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/cast.h \
+ dh.h doi.h exchange.h exchange_num.h isakmp.h isakmp_fld.h field.h \
+ isakmp_num.h hash.h ike_auth.h ike_main_mode.h ike_phase_1.h ipsec.h \
+ ipsec_doi.h ipsec_fld.h ipsec_num.h isakmp_cfg.h log.h math_group.h \
+ message.h prf.h sa.h transport.h util.h
ike_phase_1.o: ike_phase_1.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- attribute.h conf.h constants.h crypto.h dh.h doi.h exchange.h \
- exchange_num.h isakmp.h isakmp_fld.h field.h isakmp_num.h hash.h \
- ike_auth.h ike_phase_1.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h \
- log.h math_group.h message.h prf.h sa.h transport.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ constants.h crypto.h /usr/include/openssl/des.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/blf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/cast.h \
+ dh.h doi.h dpd.h exchange.h exchange_num.h isakmp.h isakmp_fld.h \
+ field.h isakmp_num.h hash.h ike_auth.h ike_phase_1.h ipsec.h \
+ ipsec_doi.h ipsec_fld.h ipsec_num.h isakmp_cfg.h log.h math_group.h \
+ message.h nat_traversal.h prf.h sa.h transport.h util.h
ike_quick_mode.o: ike_quick_mode.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- attribute.h conf.h connection.h dh.h doi.h exchange.h exchange_num.h \
- constants.h isakmp.h isakmp_fld.h field.h isakmp_num.h hash.h \
- ike_quick_mode.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h log.h \
- math_group.h message.h policy.h prf.h sa.h transport.h util.h key.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ connection.h dh.h doi.h exchange.h exchange_num.h constants.h isakmp.h \
+ isakmp_fld.h field.h isakmp_num.h hash.h ike_quick_mode.h ipsec.h \
+ ipsec_doi.h ipsec_fld.h ipsec_num.h isakmp_cfg.h log.h math_group.h \
+ message.h policy.h prf.h sa.h transport.h util.h key.h x509.h \
+ libcrypto.h
init.o: init.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- app.h cert.h conf.h connection.h doi.h exchange.h exchange_num.h \
- constants.h isakmp.h isakmp_fld.h field.h isakmp_num.h init.h ipsec.h \
- ipsec_doi.h ipsec_fld.h ipsec_num.h isakmp_doi.h libcrypto.h log.h \
- math_group.h sa.h timer.h transport.h message.h udp.h ui.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ app.h cert.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ conf.h connection.h doi.h exchange.h exchange_num.h constants.h \
+ isakmp.h isakmp_fld.h field.h isakmp_num.h init.h ipsec.h ipsec_doi.h \
+ ipsec_fld.h ipsec_num.h isakmp_cfg.h isakmp_doi.h libcrypto.h log.h \
+ math_group.h monitor.h sa.h timer.h transport.h message.h virtual.h \
+ udp.h ui.h util.h policy.h nat_traversal.h udp_encap.h
ipsec.o: ipsec.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- attribute.h conf.h constants.h crypto.h dh.h doi.h exchange.h \
- exchange_num.h isakmp.h isakmp_fld.h field.h isakmp_num.h hash.h \
- ike_aggressive.h ike_auth.h ike_main_mode.h ike_quick_mode.h ipsec.h \
- ipsec_doi.h ipsec_fld.h ipsec_num.h isakmp_cfg.h log.h math_group.h \
- message.h prf.h sa.h timer.h transport.h util.h x509.h libcrypto.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ constants.h crypto.h /usr/include/openssl/des.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/blf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/cast.h \
+ dh.h doi.h dpd.h exchange.h exchange_num.h isakmp.h isakmp_fld.h \
+ field.h isakmp_num.h hash.h ike_aggressive.h ike_auth.h ike_main_mode.h \
+ ike_quick_mode.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h \
+ isakmp_cfg.h log.h math_group.h message.h nat_traversal.h prf.h sa.h \
+ timer.h transport.h util.h x509.h libcrypto.h
ipsec_fld.o: ipsec_fld.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- constants.h field.h ipsec_fld.h isakmp_num.h ipsec_num.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h field.h ipsec_fld.h isakmp_num.h ipsec_num.h
ipsec_num.o: ipsec_num.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- constants.h ipsec_num.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h ipsec_num.h
isakmpd.o: isakmpd.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- app.h conf.h connection.h init.h libcrypto.h log.h sa.h isakmp.h \
- isakmp_fld.h field.h isakmp_num.h constants.h timer.h transport.h \
- message.h udp.h ui.h util.h cert.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ app.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ connection.h init.h libcrypto.h log.h monitor.h sa.h isakmp.h \
+ isakmp_fld.h field.h isakmp_num.h constants.h timer.h transport.h \
+ message.h udp.h ui.h util.h cert.h policy.h
isakmp_doi.o: isakmp_doi.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- doi.h exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h \
- field.h isakmp_num.h isakmp_doi.h ipsec.h ipsec_doi.h ipsec_fld.h \
- ipsec_num.h log.h message.h sa.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ doi.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h field.h \
+ isakmp_num.h isakmp_doi.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h \
+ isakmp_cfg.h log.h message.h sa.h util.h
isakmp_fld.o: isakmp_fld.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- constants.h field.h isakmp_fld.h isakmp_num.h ipsec_num.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h field.h isakmp_fld.h isakmp_num.h ipsec_num.h
isakmp_num.o: isakmp_num.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- constants.h isakmp_num.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h isakmp_num.h
key.o: key.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- key.h libcrypto.h log.h util.h x509.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ key.h libcrypto.h log.h util.h x509.h
libcrypto.o: libcrypto.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- libcrypto.h
-log.o: log.c sysdep/common/pcap.h isakmp_num.h sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- constants.h log.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ libcrypto.h
+log.o: log.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/pcap.h \
+ conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ isakmp_num.h sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h log.h monitor.h util.h
message.o: message.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- attribute.h cert.h constants.h crypto.h doi.h exchange.h \
- exchange_num.h isakmp.h isakmp_fld.h field.h isakmp_num.h ipsec_num.h \
- log.h message.h sa.h timer.h transport.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h cert.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ constants.h crypto.h /usr/include/openssl/des.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/blf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/cast.h \
+ doi.h dpd.h exchange.h exchange_num.h isakmp.h isakmp_fld.h field.h \
+ isakmp_num.h hash.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h \
+ isakmp_cfg.h log.h message.h nat_traversal.h prf.h sa.h timer.h \
+ transport.h util.h virtual.h
math_2n.o: math_2n.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- math_2n.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ math_2n.h util.h
math_group.o: math_group.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- gmp_util.h math_mp.h log.h math_2n.h math_ec2n.h math_group.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ gmp_util.h math_mp.h log.h math_2n.h math_ec2n.h math_group.h
prf.o: prf.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- hash.h log.h prf.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ hash.h log.h prf.h
sa.o: sa.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- connection.h cookie.h doi.h exchange.h exchange_num.h constants.h \
- isakmp.h isakmp_fld.h field.h isakmp_num.h log.h message.h sa.h \
- timer.h transport.h util.h cert.h policy.h key.h ipsec.h ipsec_doi.h \
- ipsec_fld.h ipsec_num.h
-sysdep.o: \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep.c \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/app.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/conf.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/ipsec.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/ipsec_doi.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/ipsec_fld.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/field.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/ipsec_num.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/constants.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/klips.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/log.h
-timer.o: timer.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- log.h timer.h
-transport.o: transport.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- conf.h exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h \
- field.h isakmp_num.h log.h message.h sa.h timer.h transport.h
-udp.o: udp.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- conf.h if.h isakmp.h isakmp_fld.h field.h isakmp_num.h constants.h \
- log.h message.h transport.h udp.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ connection.h cookie.h doi.h exchange.h exchange_num.h constants.h \
+ isakmp.h isakmp_fld.h field.h isakmp_num.h log.h message.h monitor.h \
+ sa.h timer.h transport.h util.h cert.h policy.h key.h ipsec.h \
+ ipsec_doi.h ipsec_fld.h ipsec_num.h isakmp_cfg.h
+sysdep.o: \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/util.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/app.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/ipsec.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/ipsec_doi.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/ipsec_fld.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/field.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/ipsec_num.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/constants.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/isakmp_cfg.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/anytun_key.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/log.h
+timer.o: timer.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ log.h timer.h
+transport.o: transport.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ conf.h exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h \
+ field.h isakmp_num.h log.h message.h sa.h timer.h transport.h virtual.h
+udp.o: udp.c /usr/include/openssl/err.h sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ if.h isakmp.h isakmp_fld.h field.h isakmp_num.h constants.h log.h \
+ message.h monitor.h transport.h udp.h util.h virtual.h
ui.o: ui.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- conf.h connection.h doi.h exchange.h exchange_num.h constants.h \
- isakmp.h isakmp_fld.h field.h isakmp_num.h init.h log.h sa.h timer.h \
- transport.h message.h ui.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ connection.h doi.h exchange.h exchange_num.h constants.h isakmp.h \
+ isakmp_fld.h field.h isakmp_num.h init.h log.h monitor.h sa.h timer.h \
+ transport.h message.h ui.h util.h
util.o: util.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- log.h message.h isakmp.h isakmp_fld.h field.h isakmp_num.h \
- constants.h transport.h util.h
-klips.o: \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/klips.c \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/conf.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/exchange.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/exchange_num.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/constants.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/isakmp.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/isakmp_fld.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/field.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/isakmp_num.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/hash.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/ipsec.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/ipsec_doi.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/ipsec_fld.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/ipsec_num.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/log.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/klips.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sa.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/timer.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/transport.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/message.h
-math_ec2n.o: ./math_ec2n.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- math_2n.h math_ec2n.h
-ike_aggressive.o: ./ike_aggressive.c sysdep.h \
- /home/jdive/devel/isakmpd/src/sbin/isakmpd/sysdep/linux/sysdep-os.h \
- attribute.h conf.h constants.h crypto.h dh.h doi.h exchange.h \
- exchange_num.h isakmp.h isakmp_fld.h field.h isakmp_num.h hash.h \
- ike_auth.h ike_aggressive.h ike_phase_1.h ipsec.h ipsec_doi.h \
- ipsec_fld.h ipsec_num.h log.h math_group.h message.h prf.h sa.h \
- transport.h util.h
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ log.h message.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ isakmp.h isakmp_fld.h field.h isakmp_num.h constants.h monitor.h \
+ transport.h util.h
+virtual.o: virtual.c /usr/include/openssl/err.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ if.h exchange.h exchange_num.h sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ constants.h isakmp.h isakmp_fld.h field.h isakmp_num.h log.h \
+ transport.h message.h virtual.h udp.h util.h udp_encap.h
+anytun_key.o: anytun_key.c anytun_key.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h
+x509.o: x509.c sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ cert.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ conf.h exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h \
+ field.h isakmp_num.h hash.h ike_auth.h ipsec.h ipsec_doi.h ipsec_fld.h \
+ ipsec_num.h isakmp_cfg.h log.h math_mp.h monitor.h policy.h sa.h util.h \
+ x509.h libcrypto.h
+policy.o: policy.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ conf.h exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h \
+ field.h isakmp_num.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h \
+ isakmp_cfg.h isakmp_doi.h sa.h transport.h message.h log.h monitor.h \
+ util.h policy.h x509.h libcrypto.h
+math_ec2n.o: math_ec2n.c sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ math_2n.h math_ec2n.h
+ike_aggressive.o: ike_aggressive.c sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ constants.h crypto.h /usr/include/openssl/des.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/blf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/common/cast.h \
+ dh.h doi.h exchange.h exchange_num.h isakmp.h isakmp_fld.h field.h \
+ isakmp_num.h hash.h ike_auth.h ike_aggressive.h ike_phase_1.h ipsec.h \
+ ipsec_doi.h ipsec_fld.h ipsec_num.h isakmp_cfg.h log.h math_group.h \
+ message.h nat_traversal.h prf.h sa.h transport.h util.h
+isakmp_cfg.o: isakmp_cfg.c \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/bitstring.h \
+ sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ attribute.h conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h field.h \
+ isakmp_num.h hash.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h \
+ isakmp_cfg.h log.h message.h prf.h sa.h transport.h util.h
+dpd.o: dpd.c sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ dpd.h exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h \
+ field.h isakmp_num.h hash.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h \
+ isakmp_cfg.h log.h message.h sa.h timer.h transport.h util.h
+nat_traversal.o: nat_traversal.c sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ exchange.h exchange_num.h constants.h isakmp.h isakmp_fld.h field.h \
+ isakmp_num.h hash.h ipsec.h ipsec_doi.h ipsec_fld.h ipsec_num.h \
+ isakmp_cfg.h log.h message.h nat_traversal.h prf.h sa.h timer.h \
+ transport.h util.h virtual.h
+udp_encap.o: udp_encap.c /usr/include/openssl/err.h sysdep.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sysdep-os.h \
+ conf.h \
+ /home/otti/anytun/keyexchange/isakmpd-20041012/sysdep/linux/sys/queue.h \
+ if.h ipsec_doi.h ipsec_fld.h field.h ipsec_num.h constants.h isakmp.h \
+ isakmp_fld.h isakmp_num.h log.h message.h monitor.h transport.h udp.h \
+ udp_encap.h util.h virtual.h
diff --git a/keyexchange/isakmpd-20041012/anytun_key.c b/keyexchange/isakmpd-20041012/anytun_key.c
new file mode 100644
index 0000000..966e688
--- /dev/null
+++ b/keyexchange/isakmpd-20041012/anytun_key.c
@@ -0,0 +1,57 @@
+#include "anytun_key.h"
+#include <sys/types.h>
+
+struct proto;
+struct sa;
+struct sockaddr;
+struct kernel_sa;
+
+int anytun_key_socket;
+
+void anytun_key_connection_check(char * conn)
+{
+}
+
+int anytun_key_delete_spi(struct sa *sa, struct proto *proto, int incoming)
+{
+}
+
+int anytun_key_enable_sa(struct sa *sa, struct sa *isakmp_sa)
+{
+}
+
+//int anytun_key_enable_spi(in_addr_t, in_addr_t, in_addr_t,
+// in_addr_t, u_int8_t *, u_int8_t, in_addr_t)
+// {
+// }
+
+struct sa_kinfo * anytun_key_get_kernel_sa(u_int8_t *spi, size_t spi_sz, u_int8_t proto,
+ struct sockaddr *dst)
+{
+ return 0;
+}
+
+u_int8_t *anytun_key_get_spi(ze_t *sz, u_int8_t proto, struct sockaddr *src,
+ struct sockaddr *dst, u_int32_t seq)
+ {
+ }
+
+int anytun_key_group_spis(struct sa *sa, struct proto *proto1,
+ struct proto *proto2, int incoming)
+ {
+ }
+
+void anytun_key_handler(int fd)
+{
+}
+
+int anytun_key_open(void)
+{
+}
+
+int anytun_key_set_spi(struct sa *sa, struct proto *proto, int incoming,
+ struct sa *isakmp_sa)
+ {
+ }
+
+
diff --git a/keyexchange/isakmpd-20041012/anytun_key.h b/keyexchange/isakmpd-20041012/anytun_key.h
new file mode 100644
index 0000000..e2e23c4
--- /dev/null
+++ b/keyexchange/isakmpd-20041012/anytun_key.h
@@ -0,0 +1,29 @@
+#ifndef _ANYTUN_KEY_H_
+#define _ANYTUN_KEY_H_
+
+#include <sys/types.h>
+#include <sys/queue.h>
+
+struct proto;
+struct sa;
+struct sockaddr;
+struct kernel_sa;
+
+extern int anytun_key_socket;
+
+extern void anytun_key_connection_check(char *);
+extern int anytun_key_delete_spi(struct sa *, struct proto *, int);
+extern int anytun_key_enable_sa(struct sa *, struct sa *);
+extern int anytun_key_enable_spi(in_addr_t, in_addr_t, in_addr_t,
+ in_addr_t, u_int8_t *, u_int8_t, in_addr_t);
+extern struct sa_kinfo *anytun_key_get_kernel_sa(u_int8_t *, size_t, u_int8_t, struct sockaddr *);
+extern u_int8_t *anytun_key_get_spi(size_t *, u_int8_t, struct sockaddr *,
+ struct sockaddr *, u_int32_t);
+extern int anytun_key_group_spis(struct sa *, struct proto *,
+ struct proto *, int);
+extern void anytun_key_handler(int);
+extern int anytun_key_open(void);
+extern int anytun_key_set_spi(struct sa *, struct proto *, int,
+ struct sa *);
+
+#endif /* _ANYTUN_KEY_H_ */
diff --git a/keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep b/keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep
index 6c0fa10..f4ae5c5 100644
--- a/keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep
+++ b/keyexchange/isakmpd-20041012/sysdep/linux/GNUmakefile.sysdep
@@ -41,8 +41,8 @@ CFLAGS+= -DHAVE_GETNAMEINFO -DUSE_OLD_SOCKADDR -DHAVE_PCAP \
FEATURES= debug tripledes blowfish cast ec aggressive x509 policy
FEATURES+= dpd nat_traversal isakmp_cfg des aes
-IPSEC_SRCS= pf_key_v2.c
-IPSEC_CFLAGS= -DUSE_PF_KEY_V2
+IPSEC_SRCS= anytun_key.c
+IPSEC_CFLAGS= -DUSE_ANYTUN_KEY
USE_LIBCRYPO= defined
HAVE_DLOPEN= defined
diff --git a/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c b/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c
index fc3b362..8825424 100644
--- a/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c
+++ b/keyexchange/isakmpd-20041012/sysdep/linux/sysdep.c
@@ -43,6 +43,11 @@
#include <linux/pfkeyv2.h>
#include <linux/ipsec.h>
+#ifdef USE_ANYTUN_KEY
+#include "anytun_key.h"
+#define KEY_API(x) anytun_key_##x
+#endif
+
#ifdef USE_PF_KEY_V2
#include "pf_key_v2.h"
#define KEY_API(x) pf_key_v2_##x