wb2osz / direwolf

Dire Wolf is a software "soundcard" AX.25 packet modem/TNC and APRS encoder/decoder. It can be used stand-alone to observe APRS traffic, as a tracker, digipeater, APRStt gateway, or Internet Gateway (IGate). For more information, look at the bottom 1/4 of this page and in https://github.com/wb2osz/direwolf/blob/dev/doc/README.md
GNU General Public License v2.0
1.51k stars 300 forks source link

mheard_save_is updated time was > 50 years ago #442

Open w1ku opened 1 year ago

w1ku commented 1 year ago

My filter is:

IGFILTER t/m/W1KU-2/20

For the problem packets, mheard_save_is reports update time of > 50 years.

A message to KC1OCY (who is about 39 Km from my station but reachable via W1MRA) gets sent to RF:

[ig>tx] K4FML-7>APWW11,KJ4ERJ-15,TCPIP,qAS,KJ4ERJ-15::KC1OCY :N:HOTG de K4FML FM16 mheard_save_is: K4FML-7 - added new

Packet filter from IGate to radio channel 0 returns TRUE MSP for K4FML-7 set to 1 PTT 0 = 1 [0L] W1KU-2>APDW16,WIDE2-1:}K4FML-7>APWW11,TCPIP,W1KU-2*::KC1OCY :N:HOTG de K4FML FM16 PTT 0 = 0

But later, this packet comes in (note the time since last update):

[ig>tx] K4FML-7>APWW11,KJ4ERJ-15,TCPIP,qAS,KJ4ERJ-15::KC1OCY :N:HOTG de K4FML FM16 mheard_save_is: K4FML-7 - update time, was 1674170871 seconds ago.

My local direwolf.conf:

ADEVICE plughw:1,0 ACHANNELS 1 CHANNEL 0 MYCALL W1KU-2

MODEM 1200

AGWPORT 8000 KISSPORT 8001

FILTER 0 ig ! b/W1KU-2 IGSERVER noam.aprs2.net

IGLOGIN W1KU-2 XXXXXXX IGTXVIA 0 WIDE2-1 IGFILTER t/m/W1KU-2/20 FILTER IG 0 t/mwn IGTXLIMIT 6 10 PBEACON sendto=0 delay=0:15 every=51 symbol="/-" lat=42^20N long=071^38W power=5 height=1 gain=2 comment="Northborough MA" via=WIDE2-1

At first I thought this likely time rollover issue was causing undesired packets to be sent to RF, but I was able to account for all TX activity between messages and "special case" position packets.

direwolf 1.6. command: direwolf -d foim -c /home/pi/direwolf.conf -l /home/pi/debug. raspbian bullseye. kernel 5.10.103-v7+. System time sync via ntp server on local network. No local GPS due to fixed station location.