/nf2fa.spec.in (b1efbabda76ff8f52c409d7af85e8477163c4b34) (1205 bytes) (mode 100644) (type blob)
Summary: Two-factor authentication meets port knocking
Name: @PRJ@
Version: @VER@
Release: @REV@
License: GPLv3+
Group: Applications/Internet
Source: http://kernel.embedromix.ro/us/nf2fa/%{name}-%{version}.tar.gz
URL: http://kernel.embedromix.ro/us/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildRequires: make, gcc, openssl-devel, libnetfilter_queue-devel
BuildRequires: libmnl-devel, qrencode-devel, libcap-devel
Requires: openssl-libs, libnetfilter_queue, libmnl, qrencode-libs, libcap
%global _hardened_build 1
%description
Open firewall from an IP using two-factor authentication (2fa).
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}
make install DESTDIR=${RPM_BUILD_ROOT}
%clean
rm -rf ${RPM_BUILD_ROOT}
%post
%systemd_post @PRJ@.service
%preun
%systemd_preun @PRJ@.service
%postun
%systemd_postun_with_restart @PRJ@.service
%files
%attr (-,root,root)
%{_sbindir}/nf2fad
%{_bindir}/nf2fac
%{_sysconfdir}/@PRJ@.conf.sample
%config(noreplace) @ETC@/nf2fa.conf
%{_unitdir}/@PRJ@.service
%doc README Changelog
%changelog
* Sun Feb 11 2018 Catalin(ux) M. BOIE <catab at embedromix dot ro> 1.0.0
First release
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
69 |
7fd8a9d0de665239e50a919a7d7d2fdfbf43ce63 |
.gitignore |
100644 |
blob |
1315 |
fd1e2fa2d71ff0d6a995ca0ac9f3ef33f93c48f5 |
Makefile.in |
100644 |
blob |
7268 |
acff51935549658d20725127d46bf60937667eed |
README |
100644 |
blob |
1082 |
c06bbd6ae0b382ac7ed331b228a94f9d2a07e785 |
TODO |
100644 |
blob |
2050 |
7dd67889f7d232ab2b831074fd9df9cf883e075e |
brute.c |
100644 |
blob |
164 |
6a8b864b63fbde74b11f2661cd9e66fa01fd4ef0 |
brute.h |
100644 |
blob |
2617 |
6e510eb0d62c3a1e8ad3de7bd67d0a3b0b161ffd |
conf.c |
100644 |
blob |
317 |
f77a18816e66b29a96f86dd5b5fe91cfa81bdd7c |
conf.h |
100755 |
blob |
30 |
92c4bc48245c00408cd7e1fd89bc1a03058f4ce4 |
configure |
100755 |
blob |
16777 |
bcef40a7460025b9206d17e35475424e72e2a230 |
duilder |
100644 |
blob |
1233 |
1824f10a82b3a08ea8bd335369b1733c3dd8588c |
duilder.conf |
100644 |
blob |
4636 |
02a69675e8817ab3a43ad699ab17516c64d53b86 |
key.c |
100644 |
blob |
591 |
556d51530751878ffd39befd1dad38432de305f8 |
key.h |
100644 |
blob |
1030 |
8a169dd5e42638b21cd9fd75ab7e08ab10c60adb |
nf2fa.conf.sample |
100644 |
blob |
154 |
5d0ed3968f0b17bb93ea1a18cc6b488bebc4ccf0 |
nf2fa.service |
100644 |
blob |
1205 |
b1efbabda76ff8f52c409d7af85e8477163c4b34 |
nf2fa.spec.in |
100644 |
blob |
114 |
be8b674b4e2ba49dc02b5c5ae22bf27bba1dfaae |
nf2fa_common.h.in |
100644 |
blob |
5956 |
2e31ed9addec259fb535ad35e664111e1ef9610a |
nf2fac.c |
100644 |
blob |
24042 |
1b93d54f37ca1ffc6ed4953b5970a7894405bff5 |
nf2fad.c |
100755 |
blob |
80 |
c6222cbb68fbb975695f75292800e88fd9d5fe48 |
nf2fad.val |
100644 |
blob |
821 |
7c8e1a5e7deea795a3262ea61d1aea15ffae91c6 |
protocol.c |
100644 |
blob |
169 |
bb0764761a7d1337d7a8ba304f982ecbac59786a |
protocol.h |
100644 |
blob |
6340 |
e74860ef16585a27f601422ff6ba1b8468c0ae4c |
totp.c |
100644 |
blob |
565 |
d77706654b34b74075971d57c061ab7299f2bdd4 |
totp.h |
100644 |
blob |
1900 |
2d337fa42d6e7623575de1f1e0830842b79cda6a |
util.c |
100644 |
blob |
279 |
fef1852dd2f2d786e3873dac657432f843d94924 |
util.h |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/nf2fa
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/nf2fa
Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/nf2fa
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main