Jonathan Naylor
bb3463b14c
Add the gitversion to the Makefile.
2024-04-22 14:06:52 +01:00
Jonathan Naylor
bbc1a30c5d
Allow to buildon Windows again.
2024-04-22 13:49:26 +01:00
Jonathan Naylor
41ba7fb13b
Simplify the UDP socket handling.
2024-01-29 16:37:34 +00:00
Jonathan Naylor
631297ece7
Update the README
2021-12-13 10:25:03 +00:00
Jonathan Naylor
f8df3f24ad
Fix compiler warning
2021-10-25 17:59:49 +01:00
Jonathan Naylor
4a09d04200
Merge pull request #34 from f1rmb/f1rmb_network_port_datatype
...
Fix network ports datatype (unsigned int -> unsigned short). UDPSocket: fix old bug using m_port instead of m_port[x].
2021-04-25 09:38:48 +01:00
Daniel Caujolle-Bert
310cf0c8ff
Fix network ports datatype (unsigned int -> unsigned short). UDPSocket: fix old bug using m_port instead of m_port[x].
2021-04-25 07:43:56 +02:00
Jonathan Naylor
183615d52e
Merge pull request #33 from f1rmb/f1rmb_fix_UDPSocket_close
...
Fix nasty bug in UDPSocket::close().
2021-04-08 18:18:19 +01:00
Daniel Caujolle-Bert
7311d5aa6b
Fix nasty bug in UDPSocket::close().
2021-03-31 16:18:24 +02:00
Jonathan Naylor
8893f25cdb
Add optional log file rotation and UDP error handling.
2020-10-31 22:16:07 +00:00
Jonathan Naylor
2f62c51624
Merge branch 'master' into IPv6
2020-10-07 11:27:53 +01:00
Jonathan Naylor
b012b9ce96
Fix buffer overflow.
2020-10-07 11:27:25 +01:00
Jonathan Naylor
ce586e9672
Merge branch 'master' into IPv6
2020-10-05 13:27:30 +01:00
Jonathan Naylor
701bdd3272
Updates for NetBSD.
2020-10-05 13:27:06 +01:00
Jonathan Naylor
6b035c6f48
Merge branch 'IPv6' of https://github.com/g4klx/DAPNETGateway into IPv6
2020-10-05 13:23:05 +01:00
Jonathan Naylor
5caf8c9e4b
Updates for NetBSD.
2020-10-05 13:22:45 +01:00
Jonathan Naylor
0c328b96fa
Use normal logging.
2020-09-29 12:33:12 +01:00
Jonathan Naylor
52b49f0bf4
Make Windows run.
2020-09-20 21:54:32 +01:00
Jonathan Naylor
2bec26d77c
Fix Windows compilation.
2020-09-20 15:55:37 +01:00
Jonathan Naylor
471f5475d2
Improva the ini file parsing.
2020-09-06 14:20:00 +01:00
Jonathan Naylor
3347a42118
IPv6 updates.
2020-09-06 14:06:13 +01:00
Jonathan Naylor
623d7a4be2
Merge branch 'master' into IPv6
2020-09-03 11:24:26 +01:00
Florian (DF2ET)
f00807f4ee
Merge pull request #30 from dg9vh/patch-1
...
Changed Login-banner to correct program-name
2020-08-13 20:03:19 +02:00
Kim - DG9VH
8f31defe56
Changed Login-banner to correct program-name
...
Thinking, DAPNETGateway would be more clearer than MMDVM, because it is not MMDVM doing the connection but DAPNETGateway
2020-08-13 20:01:54 +02:00
Jonathan Naylor
87aea190bf
Add the install target.
2020-06-25 09:59:31 +01:00
Jonathan Naylor
140e1fd6e8
Merge pull request #29 from jg1uaa/master
...
renew UDPSocket.cpp
2020-06-11 22:05:29 +01:00
SASANO Takayoshi
35d3aecf85
modified for new UDPSocket.cpp
2020-04-07 18:01:58 +09:00
SASANO Takayoshi
85d02c8cf2
sync to MMDVMHost-ipv6 code
2020-04-07 18:01:58 +09:00
Jonathan Naylor
adee6bb5fa
Update to VS2019.
2020-02-14 21:53:25 +00:00
Florian (DF2ET)
a0e947a405
Merge pull request #28 from jg1uaa/master
...
fix bug that open() does not support IPv6 socket
2019-10-25 23:51:42 +02:00
SASANO Takayoshi
8af07c3907
fix bug that open() does not support IPv6 socket
2019-10-25 21:01:18 +09:00
Jonathan Naylor
61ef391e57
Merge pull request #27 from jg1uaa/master
...
lookup(): fix undefined result of address_length
2019-10-23 07:58:45 +01:00
SASANO Takayoshi
9d65424d8c
lookup(): fix undefined result of address_length
...
When getaddrinfo() failed, the result of address_length is undefined.
Original (IPv4) code returns INADDR_NONE, IPv6 capable code should
do same behavior.
2019-10-22 19:25:40 +09:00
Jonathan Naylor
96d91340c5
Merge pull request #26 from jg1uaa/master
...
added IPv6 support
2019-10-20 09:25:08 +01:00
SASANO Takayoshi
90e43e15f8
modified WinSock -> WinSock2 to pass compile on Windows (not tested)
2019-10-05 06:16:33 +09:00
SASANO Takayoshi
0237efd88c
rewrite for Linux, that does not have ss_len, sa_len field.
2019-10-02 18:18:20 +09:00
SASANO Takayoshi
62f9eac086
fix uninitialized variables (invalid_port, invalid_address)
2019-10-02 17:15:00 +09:00
SASANO Takayoshi
11707bfa60
replace sockaddr_in -> sockaddr_storage to support IPv6
2019-10-02 16:37:47 +09:00
Jonathan Naylor
7adbb1ced1
Merge pull request #24 from jg1uaa/master
...
add OpenBSD support and fix sudden death at std::string messageBody()
2019-09-21 13:59:15 +01:00
SASANO Takayoshi
2190f49298
CPOCSAGMessage::CPOCSAGMessage(), m_message[] should be terminated by '\0'.
2019-09-21 21:40:21 +09:00
SASANO Takayoshi
67463ae69e
Use system default compiler.
...
OpenBSD-6.5/amd64's gcc is old (4.2.1) so we have to use clang-7.0.1.
At least there is no difference under Linux.
2019-09-21 06:34:53 +09:00
Jonathan Naylor
b74964a047
Merge pull request #22 from f1rmb/typo
...
Typo.
2019-02-28 14:13:07 +00:00
Daniel Caujolle-Bert
dfba94b99b
Typo.
2019-02-28 14:47:05 +01:00
phl0
8b2cfb04ef
Make log distinguishable for black/whitelist
2018-12-10 21:07:43 +01:00
phl0
32699fb860
Restore code beauty ;-)
2018-12-10 20:59:40 +01:00
Florian (DF2ET)
14b86da9ea
Merge pull request #21 from hacknix/master
...
RIC Blacklist
2018-12-10 20:54:14 +01:00
Simon
1f3173212a
blacklist logging
2018-12-05 14:41:25 +00:00
Simon
60647c86b8
Log blacklist hits
2018-12-05 14:36:58 +00:00
Simon
bb3d40d26f
Blacklist
2018-12-05 14:35:13 +00:00
Simon
362654a01d
Typo
2018-12-05 14:18:46 +00:00