New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iana-etc: 2.30 -> 20170317 #24053
iana-etc: 2.30 -> 20170317 #24053
Conversation
8e8c2a7
to
ef9d31f
Compare
#23621 There is a newer PR now |
no, my one is newer and does things different. |
Oh ok just seen version
…Sent from my iphone
On Mar 19, 2017, 2:52 PM -0500, Jörg Thalheim ***@***.***>, wrote:
no, my one is newer and does things different.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub (#24053 (comment)), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAHL79I0-CteCpcGL31pIietn5WoK7hnks5rnYdogaJpZM4Mhtj5).
|
This is a bloated solution to a simple problem.
subntbcst-tftp 247/tcp # SUBNTBCST_TFTP
subntbcst_tftp 247/tcp # SUBNTBCST_TFTP
subntbcst-tftp 247/udp # SUBNTBCST_TFTP
subntbcst_tftp 247/udp # SUBNTBCST_TFTP
[...]
redstorm-join 2346/tcp # Game Connection Port
redstorm_join 2346/tcp # Game Connection Port
redstorm-join 2346/udp # Game Connection Port
redstorm_join 2346/udp # Game Connection Port
redstorm-find 2347/tcp # Game Announcement and Location
redstorm_find 2347/tcp # Game Announcement and Location
redstorm-find 2347/udp # Game Announcement and Location
redstorm_find 2347/udp # Game Announcement and Location
redstorm-info 2348/tcp # Information to query for game status
redstorm_info 2348/tcp # Information to query for game status
redstorm-info 2348/udp # Information to query for game status
redstorm_info 2348/udp # Information to query for game status
redstorm-diag 2349/tcp # Diagnostics Port
redstorm_diag 2349/tcp # Diagnostics Port
redstorm-diag 2349/udp # Diagnostics Port
redstorm_diag 2349/udp # Diagnostics Port
[...]
mapper-nodemgr 3984/tcp # MAPPER network node manager
mapper-nodemgr 3984/udp # MAPPER network node manager
mapper-mapethd 3985/tcp # MAPPER TCP/IP server
mapper-mapethd 3985/udp # MAPPER TCP/IP server
mapper-ws-ethd 3986/tcp # MAPPER workstation server
mapper-ws_ethd 3986/tcp # MAPPER workstation server
mapper-ws-ethd 3986/udp # MAPPER workstation server
mapper-ws_ethd 3986/udp # MAPPER workstation server
|
|
This looks good to me. It seems preferable over #23621, which adds a 120 Kloc source file (https://github.com/NixOS/nixpkgs/pull/23621/files#diff-07b8b5731748622cee5bb9a2f6a73bd3) to the repository. |
@edolstra No the original proposition of #23621 is to fetch content directly from IANA website and not rely on a third-party to provide a system file. |
@c0bw3b That's impure though. In Nix, you cannot have packages that fetch the latest version from upstream. Otherwise you could have two systems built from identical Nixpkgs, where one fails because it has an outdated version of /etc/services and the other succeeds. That violates the reproducibility goals. |
👍 for getting one of these two PR's merged! Turns out, after lots of debugging, our outdated /etc/protocols is behind the problems I'm experiencing with mono as part of #24093 (!!). I wouldn't be surprised if other things were similarly broken in confounding ways-- it turns out that with our current /etc/protocols, looking up "ip" protocol yields '4' (ipip/ipencaps) instead of '0'. If it's not problematic this might be worth getting into 17.03 O:). |
FWIW locally I just grabbed the files from debian's "netbase": https://packages.debian.org/sid/netbase (git source repo: https://anonscm.debian.org/cgit/users/md/netbase.git/tree/) which might be a reasonable source for the data. EDIT: Another alternative, which is apparently used as one of the sources for the debian version, would be to use these files from FreeBSD: /etc/protocols and /etc/services. They seem more up-to-date and complete than what's included in Debian (not sure why). |
@dtzWill Debians' netbase is not complete enough. They handpick and add only what they think is useful. At least this PR provides updated content now. |
Motivation for this change
builds on #23621
Uses new upstream repo to get iana protocols as the previous one is unmaintained.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"