P25 Reflector on Alternate Port
Posted: Sun Aug 05, 2018 4:50 pm
Hi All,
I just set up my own P25 reflector for a small group of friends to use. I'd like to be able to run the reflector on an alternate (UDP) port instead of the default 41000.
Making the reflector listen on a different UDP port is no problem - I just edit the P25Reflector.ini file on the server, and I can see that it is listening on the custom port.
The problem seems to be with P25Gateway running on my Pi-Star instance (version 3.4.15). Even though I've specified the entry in /root/P25Hosts.txt (and then run the "update" command), the gateway is not sending ANY traffic to my reflector when I use a custom port. I've done packet captures on my LAN to verify this. As soon as I edit /root/P25Hosts.txt and change the port back to the default of 41000, the hotspot sends traffic to the reflector, just like it should.
What am I missing?
Example P25Hosts.txt:
The above example won't work. My hotspot doesn't send any traffic to the reflector in this configuration, as verified by packet captures on my LAN as well as the remote reflector host.
As soon as I change it to:
It works as expected. Obviously, when trying these different port numbers, I have updated the P25Reflector.ini config and restarted the reflector service. This is kind of moot, since the problem is on the hotspot/gateway end at this point, but just wanted to state the obvious.
I would like to run a few different reflectors on the same host by utilizing different ports, so I'd really like to figure this out.
Thanks!
Edit: My P25Gateway logs in /var/log show the following when configured to connect to my reflector on an alternate port:
I just set up my own P25 reflector for a small group of friends to use. I'd like to be able to run the reflector on an alternate (UDP) port instead of the default 41000.
Making the reflector listen on a different UDP port is no problem - I just edit the P25Reflector.ini file on the server, and I can see that it is listening on the custom port.
The problem seems to be with P25Gateway running on my Pi-Star instance (version 3.4.15). Even though I've specified the entry in /root/P25Hosts.txt (and then run the "update" command), the gateway is not sending ANY traffic to my reflector when I use a custom port. I've done packet captures on my LAN to verify this. As soon as I edit /root/P25Hosts.txt and change the port back to the default of 41000, the hotspot sends traffic to the reflector, just like it should.
What am I missing?
Example P25Hosts.txt:
Code: Select all
#TG Host Port
1234 11.22.33.44 44123
As soon as I change it to:
Code: Select all
#TG Host Port
1234 11.22.33.44 41000
I would like to run a few different reflectors on the same host by utilizing different ports, so I'd really like to figure this out.
Thanks!
Edit: My P25Gateway logs in /var/log show the following when configured to connect to my reflector on an alternate port:
Code: Select all
E: 2018-08-05 19:14:01.750 Error returned from sendto, err: 1
E: 2018-08-05 19:14:01.750 Error returned from sendto, err: 1
E: 2018-08-05 19:14:01.750 Error returned from sendto, err: 1
M: 2018-08-05 19:14:01.750 Linked at startup to reflector 1234
E: 2018-08-05 19:14:06.753 Error returned from sendto, err: 1
E: 2018-08-05 19:14:11.759 Error returned from sendto, err: 1
E: 2018-08-05 19:14:16.762 Error returned from sendto, err: 1
E: 2018-08-05 19:14:21.771 Error returned from sendto, err: 1
E: 2018-08-05 19:14:26.774 Error returned from sendto, err: 1
E: 2018-08-05 19:14:31.786 Error returned from sendto, err: 1
E: 2018-08-05 19:14:36.789 Error returned from sendto, err: 1
E: 2018-08-05 19:14:41.794 Error returned from sendto, err: 1
E: 2018-08-05 19:14:46.800 Error returned from sendto, err: 1
E: 2018-08-05 19:14:51.810 Error returned from sendto, err: 1
E: 2018-08-05 19:14:56.816 Error returned from sendto, err: 1
E: 2018-08-05 19:15:01.822 Error returned from sendto, err: 1
E: 2018-08-05 19:15:06.828 Error returned from sendto, err: 1
E: 2018-08-05 19:15:11.835 Error returned from sendto, err: 1
E: 2018-08-05 19:15:16.836 Error returned from sendto, err: 1
E: 2018-08-05 19:15:21.840 Error returned from sendto, err: 1
E: 2018-08-05 19:15:26.843 Error returned from sendto, err: 1
E: 2018-08-05 19:15:31.847 Error returned from sendto, err: 1
E: 2018-08-05 19:15:36.852 Error returned from sendto, err: 1
E: 2018-08-05 19:15:41.855 Error returned from sendto, err: 1
E: 2018-08-05 19:15:46.865 Error returned from sendto, err: 1
E: 2018-08-05 19:15:51.869 Error returned from sendto, err: 1
E: 2018-08-05 19:15:56.871 Error returned from sendto, err: 1
W: 2018-08-05 19:16:01.835 No response from 1234, unlinking