Subversion Repositories ALCASAR

Rev

Rev 3286 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 3286 Rev 3292
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 3286 2025-05-21 13:33:19Z rexy $
2
#  $Id: alcasar.sh 3292 2025-07-09 17:54:58Z rexy $
3
 
3
 
4
# ALCASAR is a Free and open source NAC (Network Access Controler) created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
4
# ALCASAR is a Free and open source NAC (Network Access Controler) created by Franck BOUIJOUX (3abtux), Pascal LEVANT and Richard REY (Rexy)
5
# ALCASAR is based on a stripped Mageia (LSB) with the following open source softwares Coovachilli, freeradius, mariaDB, apache, php, netfilter, e2guardian, ntpd, openssl, unbound, gammu, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
5
# ALCASAR is based on a stripped Mageia (LSB) with the following open source softwares Coovachilli, freeradius, mariaDB, apache, php, netfilter, e2guardian, ntpd, openssl, unbound, gammu, Ulog, fail2ban, vnstat, wkhtml2pdf, ipt_NETFLOW, NFsen and NFdump
6
# contact : info@alcasar.net
6
# contact : info@alcasar.net
7
 
7
 
Line 1563... Line 1563...
1563
[Service]
1563
[Service]
1564
Type=simple
1564
Type=simple
1565
ExecStartPre=/bin/mkdir -p /run/nfcapd
1565
ExecStartPre=/bin/mkdir -p /run/nfcapd
1566
ExecStartPre=/bin/chown nfcapd:nfcapd /run/nfcapd
1566
ExecStartPre=/bin/chown nfcapd:nfcapd /run/nfcapd
1567
PIDFile=/run/nfcapd/nfcapd.pid
1567
PIDFile=/run/nfcapd/nfcapd.pid
1568
ExecStart=/usr/bin/nfcapd -D -b 127.0.0.1 -p 2055 -u nfcapd -g nfcapd -B 200000 -t 300 -S 1 -z -P /run/nfcapd/nfcapd.pid -I alcasar_netflow -w /var/log/nfsen/profiles-data/live/alcasar_netflow
1568
ExecStart=/usr/bin/nfcapd -b 127.0.0.1 -p 2055 -u nfcapd -g nfcapd -B 200000 -t 300 -S 1 -z -P /run/nfcapd/nfcapd.pid -I alcasar_netflow -w /var/log/nfsen/profiles-data/live/alcasar_netflow
1569
ExecReload=/bin/kill -HUP $MAINPID
1569
ExecReload=/bin/kill -HUP $MAINPID
1570
 
1570
 
1571
[Install]
1571
[Install]
1572
WantedBy=multi-user.target
1572
WantedBy=multi-user.target
1573
EOF
1573
EOF