Connected users LOG files

Good Afternoon group, Just curious if there is a log file I can look at to see who is connecting to my node?
Someone keeps connecting the Canada Hub 51730 to my node and Leaving it connected to my node and not disconnecting it after they are done. I tired to black list Node 51730 but it did not seem to work, I found the information on the WiKi page to be very vague on how to black list. I thought I did it correctly but since the node was still able to connect I guess something is not right.

OK finally figured out the blacklist part, as I said earlier WiKi is very vague on it’s explanation on how to implement it.

Still need to know if there is a log file that shows who is connecting this node to my node though, is there a log file that shows connecting stations?

Thank You

James

Is there a particular part that is not clear and could you suggest better wording? I’ll update it if so.

They asl-menu script has the menu option to enable whitelist or blacklist.

Thank you
Nathan Hardman
Nhardman1428@gmail.com

···

On May 28, 2020, at 9:49 PM, Tim Sawyer via AllStarLink Discussion Groups <noreply@community.allstarlink.org> wrote:

| wd6awp | wd6awp ASL Admin
May 29 |
| - | - |

ve1jcs:

OK finally figured out the blacklist part, as I said earlier WiKi is very vague on it’s explanation on how to implement it.

Is there a particular part that is not clear and could you suggest better wording? I’ll update it if so.


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Just a thought


You can log QSO activity on the node by enabling the archivedir=/path/to/some/location argument within specific node(s) within your rpt.conf file. This will log activity to a daily file of node activity in TXT form, but it also dumps WAVs for each node keydown
 which fills up and will eventually kill your SD Card


You get lines like this though in the TXT:

20200529080130,TXKEY,4xxxx
20200529080130,RXUNKEY,2xxxx
20200529080130,TXUNKEY,4xxxx
20200529080130,RXKEY,2xxxx
20200529080130,TXKEY,4xxxx
20200529080130,RXUNKEY,2xxxx
20200529080130,TXUNKEY,4xxxx
20200529080130,TXUNKEY,MAIN
20200529080148,RXKEY,2xxxx
20200529080148,TXKEY,4xxxx
20200529080148,TXKEY,MAIN
20200529080148,RXUNKEY,2xxxx
20200529080148,TXUNKEY,4xxxx
20200529023229,LINKDISC,4xxxx
20200529023315,LINK,4xxxx

Disclaimer: This fills up disks fast and will KILL SD CARDS.

  • Don’t use this unless you have a need/want to, and don’t leave it turned on long if you’re running the sequences on a Pi node.
  • If you have a hardware/virtual machine Hub node with a bigger normal disk, try running there and staying “linked” to the Pi node experiencing trouble.

Hope this helps
Byron

It is possible to make a ram disk to receive those file and then run a bash script every minute the rm .wav from that ram disk. that way you are left with only the txt file that wont take much place.

a cron job is easy to set for such task.

···

Le ven. 29 mai 2020 à 09:26, Byron Felts via AllStarLink Discussion Groups <noreply@community.allstarlink.org> a écrit :

| k4sip
May 29 |

  • | - |

Just a thought


You can log QSO activity on the node by enabling the archivedir=/path/to/some/location argument within specific node(s) within your rpt.conf file. This will log activity to a daily file of node activity in TXT form, but it also dumps WAVs for each node keydown
 which fills up and will eventually kill your SD Card


You get lines like this though in the TXT:

20200529080130,TXKEY,4xxxx
20200529080130,RXUNKEY,2xxxx
20200529080130,TXUNKEY,4xxxx
20200529080130,RXKEY,2xxxx
20200529080130,TXKEY,4xxxx
20200529080130,RXUNKEY,2xxxx
20200529080130,TXUNKEY,4xxxx
20200529080130,TXUNKEY,MAIN
20200529080148,RXKEY,2xxxx
20200529080148,TXKEY,4xxxx
20200529080148,TXKEY,MAIN
20200529080148,RXUNKEY,2xxxx
20200529080148,TXUNKEY,4xxxx
20200529023229,LINKDISC,4xxxx
20200529023315,LINK,4xxxx

Disclaimer: This fills up disks fast and will KILL SD CARDS.

  • Don’t use this unless you have a need/want to, and don’t leave it turned on long if you’re running the sequences on a Pi node.
  • If you have a hardware/virtual machine Hub node with a bigger normal disk, try running there and staying “linked” to the Pi node experiencing trouble.

Hope this helps
Byron


Visit Topic or reply to this email to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, click here.

It would be better to add an external USB hard drive or thumb drive and point the archivedir= to that device.

Thank you
Nathan Hardman
Nhardman1428@gmail.com

···

On May 29, 2020, at 10:01 AM, Pierre Martel via AllStarLink Discussion Groups <noreply@community.allstarlink.org> wrote:

| Pierre_Martel | Pierre_Martel
May 29 |
| - | - |

It is possible to make a ram disk to receive those file and then run a bash script every minute the rm .wav from that ram disk. that way you are left with only the txt file that wont take much place.

a cron job is easy to set for such task.

··· (click for more details)


Visit Topic or reply to this email to respond.


In Reply To

| k4sip | k4sip
May 29 |
| - | - |

Just a thought
 You can log QSO activity on the node by enabling the archivedir=/path/to/some/location argument within specific node(s) within your rpt.conf file. This will log activity to a daily file of node activity in TXT form, but it also dumps WAVs for each node keydown
 which fills up and w



Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

One thing about adding to the USB controler of the RPI could cause some audio skipping to come cause the USB adaptor is already using it continuously.

Both are good points. I wouldn’t be surprised if the mere overhead of logging/writing the WAVs adds some skipping to node audio. I only log QSOs on beefier Hub nodes, so wouldn’t know or notice it.

Any chance there is a way to log TXT without writing the soundfiles at all? The two rpt config arguments (archivedir=/path/ and archiveaudio=x) seem to hint there is way to not have to log both at once? When I last tried to only log TXT with =/path/ on archivedir and =0 on archiveaudio, seems I could only get ASL to both log txt and wav, or nothing at all.

Byron

When I was looking at the Wiki instructions it never clicked in about managing via Asterisk CLI commands.
Maybe just add a line in there that refers to logging in to node and log in as ‘sudo -s’ and running the command ‘asterisk -rvvv’ to get to the CLI prompt.
I know it may seem like too much but I am no expert in linix but I am learning and I never thought about that even though I use it quite often for troubleshooting. Like Dahhhh

James

Thank You all for the comments, I will give some of those a try and Using an external USB drive for storage sounds good as I am using a pi 3B+.
Question though, what would happen if the thumb drive filled up? Hmmmm, would the system still crash? :upside_down_face:

James

I personally have not had an issue with audio dropouts recording to usb mounted drive. As for the drive filling up? I’d recommend a large 256Gb drive and a cron job to delete files older than X days

···

Nathan Hardman
nhardman1428@gmail.com
N8THN@ARRL.NET

Hi James,

I setup the Canada Hub (node 51730) a couple of weeks ago so though I would help answer your question as best I can. I set it up so Canadian ham operators had a place to meet and talk about things of common interest, similar to hubs in the UK, US, and Australia.

Like much of AllStar, I can’t control who connects to whom, but like you, I believe I can block inbound requests from certain nodes and I set that up this morning for a couple of repeaters that are not configured well for AllStar and send IDs and hangtimes etc over the WAN. I found your post as a result of looking up how to do it this morning!

I will let some of our more active users know that you don’t want to be part of the network and encourage them to remember not to connect to you because they may do that from their local node which may be connected to the Canada Hub.

From my monitoring of the system it seems several hams are connecting nodes they find in the public database and leaving them connected in hopes of hearing some activity and striking up a QSO. It seems the repeaters in Canada are very quiet for the most part as sometimes we have over 100 repeaters connected and no activity for an hour or more!

What I believe you need to do is block node 51730 which appears to be where the connections are mostly coming from into your node (by the way, consider setting up Allmon, it will tell you this and is very easy to setup and fun to watch).

The instructions at https://wiki.allstarlink.org/wiki/Blacklist_or_whitelist are quite clear.

BTW - I just initiated a connect to your node from 51730 and it connected, so I think you aren’t quite there yet.

Feel free to call me on node 450521 and we can test together or send an email to my callsign @ arrl.net and we can connect on the phone after that.

Otherwise, I do hope you will consider connecting once in a while and saying hello. I worked in the maritimes in telecommunications for quite a while and always enjoy talking with VE1s and VO1s whenever possible. We have operators from Newfoundland to BC and are trying to also get the Yukon and Northwest Territories on the network so we can talk from coast to coast to coast.

73, Adrian VE7NZ

1 Like