{"id":19020651,"url":"https://github.com/simeononsecurity/ntripserver","last_synced_at":"2025-09-06T18:32:52.272Z","repository":{"id":200595342,"uuid":"705884575","full_name":"simeononsecurity/ntripserver","owner":"simeononsecurity","description":"Ntrip Version 2.0 Command Line Server - Fork of ntripserver at https://software.rtcm-ntrip.org/browser/ntrip/trunk/ntripserver","archived":false,"fork":false,"pushed_at":"2023-11-18T11:52:50.000Z","size":57,"stargazers_count":8,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-08T20:18:03.549Z","etag":null,"topics":["basestation","bkg","c","gnss","gps","ntrip","ntripserver"],"latest_commit_sha":null,"homepage":"https://simeononsecurity.com/other/onocoy-gps-gnss-reciever-basestation-on-a-budget/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simeononsecurity.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["simeononsecurity"],"custom":["https://simeononsecurity.com","https://simeononsecurity.com/recommendhome","https://simeononsecurity.com/affiliate","https://twitter.com/simeonsecurity","https://discord.io/cybersentinels"]}},"created_at":"2023-10-16T22:10:56.000Z","updated_at":"2024-10-16T13:13:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"70de244e-7512-4727-b37d-2357fb05a436","html_url":"https://github.com/simeononsecurity/ntripserver","commit_stats":null,"previous_names":["simeononsecurity/ntripserver"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeononsecurity%2Fntripserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeononsecurity%2Fntripserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeononsecurity%2Fntripserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simeononsecurity%2Fntripserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simeononsecurity","download_url":"https://codeload.github.com/simeononsecurity/ntripserver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232140080,"owners_count":18478214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basestation","bkg","c","gnss","gps","ntrip","ntripserver"],"created_at":"2024-11-08T20:17:56.878Z","updated_at":"2025-01-02T00:27:40.306Z","avatar_url":"https://github.com/simeononsecurity.png","language":"C","funding_links":["https://github.com/sponsors/simeononsecurity","https://simeononsecurity.com","https://simeononsecurity.com/recommendhome","https://simeononsecurity.com/affiliate","https://twitter.com/simeonsecurity","https://discord.io/cybersentinels"],"categories":[],"sub_categories":[],"readme":"----------------------------------------------------------------------\n                          ntripserver\n----------------------------------------------------------------------\n\n(c) German Federal Agency for Cartography and Geodesy (BKG), 2002-2021\n\n\nFiles in ntripserver.zip\n------------------------\n- makefile: preconfigured makefile for convenient installation\n- ntripserver.c: c source file\n- README: Readme file for the ntripserver program\n\n\nNTRIP\n-----\nThe ntripserver is a HTTP client based on \"Networked Transport of \nRTCM via Internet Protocol\" (NTRIP). This is an application-level \nprotocol streaming Global Navigation Satellite System (GNSS) data \nover the Internet. \nNTRIP Version 1.0 is a generic, stateless protocol based on the \nHypertext Transfer Protocol HTTP/1.1. The HTTP objects are \nenhanced to GNSS data streams.\n\nThe primary motivation for NTRIP Version 2.0 is to develop a fully\nHTTP-compatible Internet protocol standard that would work with proxy\nservers and to add an optional data transport via UDP. Hence, one\nNTRIP Version 2.0 transport approach is still based on HTTP1.1 on top\nof TCP. The second NTRIP Version 2.0 transport approach is based on\nboth, the Internet Standard Protocol RTSP (Real Time Streaming Protocol)\nfor stream control on top of TCP and the Internet Standard Protocol RTP\n(Real Time Transport Protocol) for data transport on top of\nconnectionless UDP.\n\nNTRIP is designed for disseminating differential correction data \n(e.g in the RTCM-104 format) or other kinds of GNSS streaming data to\nstationary or mobile users over the Internet, allowing simultaneous\nPC, Laptop, PDA, or receiver connections to a broadcasting host. NTRIP\nsupports wireless Internet access through Mobile IP Networks like GSM,\nGPRS, EDGE, or UMTS.\n\nNTRIP is implemented in three system software components:\nNTRIP clients, NTRIP servers and NTRIP casters. The NTRIP caster is the\nactual HTTP server program whereas NTRIP client and NTRIP server are\nacting as HTTP clients.\n\n\nntripserver\n-----------\nThe program ntripserver is designed to provide real-time data\nfrom a single NTRIP source running under a POSIX operating system.\n\nThe purpose of this program is to pick up a GNSS data stream (Input, Source)\nfrom either\n\n  1. a Serial port, or\n  2. an IP server, or\n  3. a File, or\n  4. a SISNeT Data Server, or\n  5. a UDP server, or\n  6. an NTRIP Version 1.0 Caster\n  7. an NTRIP Version 2.0 Caster in HTTP mode \n\nand forward that incoming stream (Output, Destination) to either\n\n  1. an NTRIP Version 2.0 Caster via TCP/IP (Output, Destination), or\n  2. an NTRIP Version 2.0 Caster via RTSP/RTP (Output, Destination), or\n  3. an NTRIP Version 2.0 Caster via plain UDP (Output, Destination), or\n  4. an NTRIP Version 1.0 Caster, or\n  5. an IP server via TCP/IP\n\nInstallation\n------------\nTo install the program run\n\n- gunzip ntripserver.tgz\n- tar -xf ntripserver.tar\n- make, or \n- make debug (for debugging purposes).\n\nTo compile the source code on a Windows system where a mingw gcc\ncompiler is available, you may like to run the following command:\n\n- gcc -Wall -W -O3 -DWINDOWSVERSION ntripserver.c -DNDEBUG \n  -o ntripserver -lwsock32, or\n- mingw32-make, or \n- mingw32-make debug\n\nThe executable will show up as ntripserver on Linux\nor ntripserver.exe on a Windows system.\n\nUsage\n-----\nThe user may call the program with the following options:\n\n./ntripserver [OPTIONS]\n\n -h|? print this help screen\n\n   -E \u003cProxyHost\u003e       Proxy server host name or address, required i.e. when\n                        running the program in a proxy server protected LAN,\n                        optional\n   -F \u003cProxyPort\u003e       Proxy server IP port, required i.e. when running\n                        the program in a proxy server protected LAN, optional\n   -R \u003cmaxDelay\u003e        Reconnect mechanism with maximum delay between reconnect\n                        attemts in seconds, default: no reconnect activated,\n                        optional\n   -M \u003cInputMode\u003e Sets the input mode (1 = Serial Port, 2 = IP server,\n      3 = File, 4 = SISNeT Data Server, 5 = UDP server, 6 = NTRIP1 Caster,\n      7 = NTRIP2 Caster in HTTP mode),\n      mandatory\n      \u003cInputMode\u003e = 1 (Serial Port):\n      -i \u003cDevice\u003e       Serial input device, default: /dev/gps, mandatory if\n                        \u003cInputMode\u003e=1\n      -b \u003cBaudRate\u003e     Serial input baud rate, default: 19200 bps, mandatory\n                        if \u003cInputMode\u003e=1\n      -f \u003cInitFile\u003e     Name of initialization file to be send to input device,\n                        optional\n      \u003cInputMode\u003e = 2|5 (IP port | UDP port):\n      -H \u003cServerHost\u003e   Input host name or address, default: 127.0.0.1,\n                        mandatory if \u003cInputMode\u003e = 2|5\n      -P \u003cServerPort\u003e   Input port, default: 1025, mandatory if \u003cInputMode\u003e= 2|5\n      -f \u003cServerFile\u003e   Name of initialization file to be send to server,\n                        optional\n      -x \u003cServerUser\u003e   User ID to access incoming stream, optional\n      -y \u003cServerPass\u003e   Password, to access incoming stream, optional\n      -B                Bind to incoming UDP stream, optional for \u003cInputMode\u003e = 5\n      \u003cInputMode\u003e = 3 (File):\n      -s \u003cFile\u003e         File name to simulate stream by reading data from (log)\n                        file, default is /dev/stdin, mandatory for \u003cInputMode\u003e = 3\n      \u003cInputMode\u003e = 4 (SISNeT Data Server):\n      -H \u003cSisnetHost\u003e   SISNeT Data Server name or address,\n                        default: 131.176.49.142, mandatory if \u003cInputMode\u003e = 4\n      -P \u003cSisnetPort\u003e   SISNeT Data Server port, default: 7777, mandatory if\n                        \u003cInputMode\u003e = 4\n      -u \u003cSisnetUser\u003e   SISNeT Data Server user ID, mandatory if \u003cInputMode\u003e = 4\n      -l \u003cSisnetPass\u003e   SISNeT Data Server password, mandatory if \u003cInputMode\u003e = 4\n      -V \u003cSisnetVers\u003e   SISNeT Data Server Version number, options are 2.1, 3.0\n                        or 3.1, default: 3.1, mandatory if \u003cInputMode\u003e = 4\n      \u003cInputMode\u003e = 6|7 (NTRIP Version 1.0|2.0 Caster):\n      -H \u003cSourceHost\u003e   Source caster name or address, default: 127.0.0.1,\n                        mandatory if \u003cInputMode\u003e = 6|7\n      -P \u003cSourcePort\u003e   Source caster port, default: 2101, mandatory if\n                        \u003cInputMode\u003e = 6|7\n      -D \u003cSourceMount\u003e  Source caster mountpoint for stream input, mandatory if\n                        \u003cInputMode\u003e = 6|7\n      -U \u003cSourceUser\u003e   Source caster user Id for input stream access, mandatory\n                        for protected streams if \u003cInputMode\u003e = 6|7\n      -W \u003cSourcePass\u003e   Source caster password for input stream access, mandatory\n                        for protected streams if \u003cInputMode\u003e = 6|7\n   -O \u003cOutputMode\u003e Sets output mode for communication with destination caster / server\n      1 = http  : NTRIP Version 2.0 Caster in TCP/IP mode\n      2 = rtsp  : NTRIP Version 2.0 Caster in RTSP/RTP mode\n      3 = ntrip1: NTRIP Version 1.0 Caster\n      4 = udp   : NTRIP Version 2.0 Caster in Plain UDP mode\n      5 = tcpip : IP server in TCP/IP mode\n      Defaults to NTRIP1.0, but will change to 2.0 in future versions\n      Note that the program automatically falls back from mode rtsp to mode http and\n      further to mode ntrip1 if necessary.\n      -a \u003cDestHost\u003e     Destination caster/server name or address, default: 127.0.0.1,\n                        mandatory\n      -p \u003cDestPort\u003e     Destination caster/server port, default: 2101,\n                        mandatory\n      -m \u003cDestMount\u003e    Destination caster mountpoint for stream upload,\n                        only for NTRIP destination casters, mandatory\n      -n \u003cDestUser\u003e     Destination caster user ID for stream upload to mountpoint,\n                        only for NTRIP Version 2.0 destination casters, mandatory\n      -c \u003cDestPass\u003e     Destination caster password for stream upload to mountpoint,\n                        only for NTRIP destination casters, mandatory\n      -N \u003cSTR-record\u003e   Sourcetable STR-record\n                        optional for NTRIP Version 2.0 in RTSP/RTP and TCP/IP mode\n\n\nExample1: Reading from serial port and forward to NTRIP Version 1.0 Caster:\n\n./ntripserver -M 1 -i /dev/ttys0 -b 9600 -O 2 -a euref-ip.net -p 2101 -m Mount2 \n              -n serverID -c serverPass\n\nExample2: Reading from NTRIP Version 1.0 Caster and forward to NTRIP Version 2.0\n\n./ntripserver -M 6 -H euref-ip.net -P 2101 -D Mount1 -U clientID -W clientPass\n              -O 1 -a www.goenet-ip.fi -p 2101 -m Mount2 -n serverID -c serverPass\n\n\nNTRIP Caster password and mountpoint\n------------------------------------\nFeeding data streams into the NTRIP system using the ntripserver \nprogram needs a password (and a user ID for NTRIP Version 2.0)\nand one mountpoint per stream.\nFor the NTRIP Broadcasters EUREF-IP or IGS-IP please contact \neuref-ip@bkg.bund.de or igs-ip@bkg.bund.de\n\nDisclaimer\n----------\nNote that this example server implementation is currently an\nexperimental software. The BKG disclaims any liability nor\nresponsibility to any person or entity with respect to any loss or\ndamage caused, or alleged to be caused, directly or indirectly by the\nuse and application of the NTRIP technology.\n\n\nFurther information\n-------------------\nURL:    https://igs.bkg.bund.de/ntrip/index\nE-mail: euref-ip@bkg.bund.de\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimeononsecurity%2Fntripserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimeononsecurity%2Fntripserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimeononsecurity%2Fntripserver/lists"}