[Swan-dev] GSoC 2020 - Introduction

nupur agarwal nupur202000 at gmail.com
Fri Feb 28 19:27:38 UTC 2020


Hi!

I am Nupur Agrawal, currently an undergraduate at IIT Roorkee. I am
interested in participating in GSoC 2020 with Libreswan this year. I am
interested in BSD Networking hence different ideas listed on the website
like "Re-port the libreswan code for NetBSD, FreeBSD, OpenBSD, OSX"
intrigue me.

Currently I am trying to build Libreswan from source, but encountered these
error -

```
/home/nupur/Desktop/libreswan/programs/pluto/kernel_xfrm_interface.c: In
function ‘link_add_nl_msg’:
/home/nupur/Desktop/libreswan/programs/pluto/kernel_xfrm_interface.c:184:30:
error: ‘IFLA_XFRM_IF_ID’ undeclared (first use in this function); did you
mean ‘IPSEC1_XFRM_IF_ID’?
  nl_addattr32(&req->n, 1024, IFLA_XFRM_IF_ID, if_id);
                              ^~~~~~~~~~~~~~~
                              IPSEC1_XFRM_IF_ID
/home/nupur/Desktop/libreswan/programs/pluto/kernel_xfrm_interface.c:184:30:
note: each undeclared identifier is reported only once for each function it
appears in
/home/nupur/Desktop/libreswan/programs/pluto/kernel_xfrm_interface.c:190:32:
error: ‘IFLA_XFRM_LINK’ undeclared (first use in this function); did you
mean ‘IFLA_VXLAN_LINK’?
    nl_addattr32(&req->n, 1024, IFLA_XFRM_LINK, dev_link_id);
                                ^~~~~~~~~~~~~~
                                IFLA_VXLAN_LINK
/home/nupur/Desktop/libreswan/programs/pluto/kernel_xfrm_interface.c: In
function ‘parse_xfrm_linkinfo_data’:
/home/nupur/Desktop/libreswan/programs/pluto/kernel_xfrm_interface.c:313:34:
error: ‘IFLA_XFRM_LINK’ undeclared (first use in this function); did you
mean ‘IFLA_VXLAN_LINK’?
   if (nested_attrib->rta_type == IFLA_XFRM_LINK) {
                                  ^~~~~~~~~~~~~~
                                  IFLA_VXLAN_LINK
/home/nupur/Desktop/libreswan/programs/pluto/kernel_xfrm_interface.c:317:34:
error: ‘IFLA_XFRM_IF_ID’ undeclared (first use in this function); did you
mean ‘IFLA_XFRM_LINK’?
   if (nested_attrib->rta_type == IFLA_XFRM_IF_ID) {
                                  ^~~~~~~~~~~~~~~
                                  IFLA_XFRM_LINK
../../mk/depend.mk:34: recipe for target 'kernel_xfrm_interface.o' failed
```

Any pointers on how to debug it? Also are there any good first issues I
could work upon to get introduced to the source.

Thank you so much!

Best Regards
Nupur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20200229/258073bd/attachment-0001.html>


More information about the Swan-dev mailing list