Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F366813
dirmngr-not-bind-specific-random-port.diff
gniibe (NIIBE Yutaka)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
•
gniibe
Jun 19 2018, 10:01 AM
2018-06-19 10:01:41 (UTC+2)
Size
611 B
Subscribers
None
dirmngr-not-bind-specific-random-port.diff
View Options
diff --git a/dirmngr/dns.c b/dirmngr/dns.c
index 908bf157a..9784866c4 100644
--- a/dirmngr/dns.c
+++ b/dirmngr/dns.c
@@ -7121,6 +7121,7 @@ static int dns_socket(struct sockaddr *local, int type, int *error_) {
if (type != SOCK_DGRAM)
return fd;
+#if 0
/*
* FreeBSD, Linux, OpenBSD, OS X, and Solaris use random ports by
* default. Though the ephemeral range is quite small on OS X
@@ -7146,6 +7147,7 @@ static int dns_socket(struct sockaddr *local, int type, int *error_) {
/* NB: continue to next bind statement */
}
+#endif
if (0 == bind(fd, local, dns_sa_len(local)))
return fd;
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
212335
Attached To
T3610: dirmngr: Since 2.1 windows firewall asks about dirmngr access
Event Timeline
Log In to Comment