NetworkLog

Required ports

Name Type and Port Number Description

DExtra UDP, 30001 DExtra gateway and reflector linking, also used by DEXTRA_LINK if enabled.

DCS UDP, 30051-30059 DCS gateway and reflector linking, also used by DCS_LINK if enabled.

D-Plus UDP, 20001-20009 D-Plus gateway and reflector linking

CCS UDP, 30061-30065 CCS callsign or repeater routing

G2 Routing UDP, 40000 For callsign and repeater routing

SSH T.B.D. 22222

http://R.S.retesi.it/log_ip/log.php?code=pippo

per tracciare la chiamata con il code specificato tramite la variabile "code"

http://R.S.retesi.it/log_ip/log.php?cmd=getReport

per scaricare il csv di tutti i code specificati con l'ultimo ip e l'ultima data utile

http://R.S.retesi.it/log_ip/log.php?cmd=getReport&view=inline

view inline

http://R.S.retesi.it/log_ip/log.php?cmd=getReport&view=inline&type=table

view table

http://R.S.retesi.it/log_ip/log.php?code=pippo&cmd=delete

delete code

Crontab:

root@raspberrypi:/home/pi# cat /etc/crontab

...

15 * * * * root /usr/bin/wget -q http://r.s.retesi.it/log_ip/log.php?code=pippo

0 * * * * root /usr/local/bin/chkdstar.sh

process chk:

root@raspberrypi:/home/pi# cat /usr/local/bin/chkdstar.sh

#!/bin/bash

ps_output=`ps -C ircddbgatewayd -o pid=`

#echo "$ps_output"

if [ "$ps_output" == "" ]

then

echo "ircddb process not found"

/usr/local/bin/ircddbgatewayd -nolog -daemon

#else

# echo "process OK"

fi

ps_output=`ps -C dstarrepeaterd -o pid=`

#echo "$ps_output"

if [ "$ps_output" == "" ]

then

echo "dstarrepeaterd process not found"

/usr/local/bin/dstarrepeaterd -nolog -daemon

#else

# echo "process OK"

fi