Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update to 1.2.0 - Adjust dependencies - Make DTLS work - Regen patches Co-authored-by: Eugene Mitrofanov <emitrofanov@gmail.com>
- Loading branch information
1 parent
3afa24c
commit 944e00e
Showing
8 changed files
with
65 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1683875970 | ||
SHA256 (ocserv-1.1.7.tar.xz) = f30f7515e1e569ca2e68a96fa5e3dd10d49a18a40c981ad95b484d10835e3aa6 | ||
SIZE (ocserv-1.1.7.tar.xz) = 844140 | ||
TIMESTAMP = 1692132524 | ||
SHA256 (ocserv-1.2.0.tar.xz) = 47a66e504a6b04bb04856176d78ee392ad1385d22d1670d4ed48b7b95e9dffc5 | ||
SIZE (ocserv-1.2.0.tar.xz) = 746968 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- src/ip-util.h.orig 2023-08-15 11:26:31.522070000 +0300 | ||
+++ src/ip-util.h 2023-08-15 11:28:31.360118000 +0300 | ||
@@ -24,6 +24,7 @@ | ||
|
||
#include <sys/socket.h> | ||
#include <netinet/in.h> | ||
+#include <sys/types.h> | ||
|
||
#define MAX_IP_STR 46 | ||
// Lower MTU bound is the value defined in RFC 791 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- src/main.c.orig 2023-06-16 17:01:03 UTC | ||
+++ src/main.c | ||
@@ -215,9 +215,9 @@ int _listen_ports(void *pool, struct perm_cfg_st* conf | ||
#endif | ||
|
||
y = 1; | ||
- if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR, | ||
+ if (setsockopt(s, SOL_SOCKET, SO_REUSEPORT, | ||
(const void *) &y, sizeof(y)) < 0) { | ||
- perror("setsockopt(SO_REUSEADDR) failed"); | ||
+ perror("setsockopt(SO_REUSEPORT) failed"); | ||
} | ||
|
||
if (ptr->ai_socktype == SOCK_DGRAM) { | ||
@@ -424,8 +424,8 @@ int y; | ||
#endif | ||
|
||
y = 1; | ||
- if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, (const void *) &y, sizeof(y)) < 0) { | ||
- perror("setsockopt(SO_REUSEADDR) failed"); | ||
+ if (setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, (const void *) &y, sizeof(y)) < 0) { | ||
+ perror("setsockopt(SO_REUSEPORT) failed"); | ||
} | ||
|
||
if (GETCONFIG(s)->try_mtu) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters