[aprssig] perl iGate
Max Harper
kg4pid at yahoo.com
Sat Nov 16 18:36:03 EST 2013
These links were already posted but I'll do it again.
http://www.aprs-is.net/IGating.aspx and http://www.aprs-is.net/IGateDetails.aspx
"* An IGate should not gate third-party packets (data type }) with TCPIP or TCPXX in the third-party header to APRS-IS. Third-party packets without TCPIP in the header are to be gated to APRS-IS AFTER stripping the RF header and third-party data type."
"Gate all packets heard on RF to the Internet EXCEPT if any of the following are true:
1. 3rd-party packets (data type } ).
3rd-party packets should have all before and including the data type stripped and then the packet should be processed again starting with step 1 again.
2. generic queries (data type ? ).
3. packets with TCPIP, TCPXX, NOGATE, or RFONLY in the header (last 2 are optional). "
There maybe others as well. You can't just send everything you recieve to the APRX-IS!
Max KG4PID
From: Andrew Rich <vk4tec at tech-software.net>
To: 'TAPR APRS Mailing List' <aprssig at tapr.org>
Sent: Saturday, November 16, 2013 4:21 PM
Subject: Re: [aprssig] perl iGate
1. Install perl
> 2. Install CPAN
> 3. Install perl Net::Telnet.pm library
> 4. stty –F /dev/ttyUSB0 9600 –echo
> 5. Run perl script
>
>
>#!/usr/bin/perl
>use Net::Telnet;
>my $host = "rotate.aprs.net.au";
>my $port = "14580";
>my $t = new Net::Telnet(Timeout =>
'600',Dump_log => 'dump.log',Input_log => 'input.log',Output_log =>
'output.log',Prompt => "/$prmt/");
>$t->errmode('die');
>$t->Net::Telnet::open(Host => $host, Port => $port);
>print $t "user XXXXX pass XXXXX
\n";
>open (rf,"/dev/ttyUSB0");
>while (<rf>)
>{
>if (m/^VK/)
>{
>print $t $_;
>print;
>}
>}
>
>
>
>
>
>
>_______________________________________________
>aprssig mailing list
>aprssig at tapr.org
>http://www.tapr.org/mailman/listinfo/aprssig
_______________________________________________
aprssig mailing list
aprssig at tapr.org
http://www.tapr.org/mailman/listinfo/aprssig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/aprssig_lists.tapr.org/attachments/20131116/9c10700b/attachment.html>
More information about the aprssig
mailing list