Initial commit: mwhois with SCION AS support and decimal AS conversion

Based on mwhois by Antonios A. Chariton
Modifications for SCION AS support by Olaf Baumert, Axpo Systems AG
This commit is contained in:
Olaf Baumert
2025-06-03 11:01:02 +00:00
commit 34c631a06d
340 changed files with 212460 additions and 0 deletions

View File

@@ -0,0 +1,557 @@
#!/bin/bash
# Create files for ISD 71 (Global SCION Education Network)
cat > db/as/88 << EOF
% SCION AS WHOIS Information
AS Identifier: 88
ISD: 71
AS decimal: 88
Organization: Princeton University
Country: US
Status: ASSIGNED
Description: Princeton University
Contact: noc@princeton.edu
DateAllocated: 2025-05-13
EOF
# Create a file for AS 76 (which is different from ISD 76)
cat > db/as/76 << EOF
% SCION AS WHOIS Information
AS Identifier: 76
ISD: 71
AS decimal: 76
Organization: Example University
Country: US
Status: ASSIGNED
Description: Example University AS
Contact: noc@example.edu
DateAllocated: 2025-05-13
EOF
cat > db/as/225 << EOF
% SCION AS WHOIS Information
AS Identifier: 225
ISD: 71
AS decimal: 225
Organization: University of Virginia
Country: US
Status: ASSIGNED
Description: University of Virginia
Contact: noc@virginia.edu
DateAllocated: 2025-05-13
EOF
cat > db/as/559 << EOF
% SCION AS WHOIS Information
AS Identifier: 559
ISD: 71
AS decimal: 559
Organization: SWITCH Education
Country: CH
Status: ASSIGNED
Description: SWITCH Education
Contact: noc@switch.ch
DateAllocated: 2025-05-13
EOF
cat > db/as/1140 << EOF
% SCION AS WHOIS Information
AS Identifier: 1140
ISD: 71
AS decimal: 1140
Organization: SIDN Labs
Country: NL
Status: ASSIGNED
Description: SIDN Labs
Contact: noc@sidn.nl
DateAllocated: 2025-05-13
EOF
cat > db/as/1916 << EOF
% SCION AS WHOIS Information
AS Identifier: 1916
ISD: 71
AS decimal: 1916
Organization: Rede Nacional de Ensino e Pesquisa - RNP
Country: BR
Status: ASSIGNED
Description: Rede Nacional de Ensino e Pesquisa - RNP
Contact: noc@rnp.br
DateAllocated: 2025-05-13
EOF
cat > db/as/2546 << EOF
% SCION AS WHOIS Information
AS Identifier: 2546
ISD: 71
AS decimal: 2546
Organization: NCSR Demokritos SCION AS
Country: GR
Status: ASSIGNED
Description: NCSR Demokritos SCION AS
Contact: noc@demokritos.gr
DateAllocated: 2025-05-13
EOF
cat > db/as/4158 << EOF
% SCION AS WHOIS Information
AS Identifier: 4158
ISD: 71
AS decimal: 4158
Organization: City University of Hong Kong (CityUHK)
Country: HK
Status: ASSIGNED
Description: City University of Hong Kong (CityUHK)
Contact: noc@cityu.edu.hk
DateAllocated: 2025-05-13
EOF
cat > db/as/20965 << EOF
% SCION AS WHOIS Information
AS Identifier: 20965
ISD: 71
AS decimal: 20965
Organization: GEANT
Country: EU
Status: ASSIGNED
Description: Core, Issuing
Contact: noc@geant.org
DateAllocated: 2025-05-13
EOF
cat > db/as/50999 << EOF
% SCION AS WHOIS Information
AS Identifier: 50999
ISD: 71
AS decimal: 50999
Organization: KAUST
Country: SA
Status: ASSIGNED
Description: KAUST
Contact: noc@kaust.edu.sa
DateAllocated: 2025-05-13
EOF
cat > db/as/203311 << EOF
% SCION AS WHOIS Information
AS Identifier: 203311
ISD: 71
AS decimal: 203311
Organization: NATO Cooperative Cyber Defence Centre of Excellence (CCDCoE)
Country: EE
Status: ASSIGNED
Description: NATO Cooperative Cyber Defence Centre of Excellence (CCDCoE)
Contact: noc@ccdcoe.org
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:35 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:35
ISD: 71
AS decimal:
Organization: BRIDGES
Country: EU
Status: ASSIGNED
Description: BRIDGES
Contact: noc@bridges.eu
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:3b << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:3b
ISD: 71
AS decimal:
Organization: KREONET Seoul
Country: KR
Status: ASSIGNED
Description: KREONET Seoul
Contact: noc@kreonet.net
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:3c << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:3c
ISD: 71
AS decimal:
Organization: KREONET Hong Kong
Country: HK
Status: ASSIGNED
Description: KREONET Hong Kong
Contact: noc@kreonet.net
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:3d << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:3d
ISD: 71
AS decimal:
Organization: KREONET Singapore
Country: SG
Status: ASSIGNED
Description: KREONET Singapore
Contact: noc@kreonet.net
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:3e << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:3e
ISD: 71
AS decimal:
Organization: KREONET Amsterdam
Country: NL
Status: ASSIGNED
Description: KREONET Amsterdam
Contact: noc@kreonet.net
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:3f << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:3f
ISD: 71
AS decimal:
Organization: KREONET Chicago
Country: US
Status: ASSIGNED
Description: KREONET Chicago
Contact: noc@kreonet.net
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:40 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:40
ISD: 71
AS decimal:
Organization: KREONET Seattle
Country: US
Status: ASSIGNED
Description: KREONET Seattle
Contact: noc@kreonet.net
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:48 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:48
ISD: 71
AS decimal:
Organization: Equinix
Country: US
Status: ASSIGNED
Description: Equinix
Contact: noc@equinix.com
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:49 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:49
ISD: 71
AS decimal:
Organization: CybExer Technologies
Country: EE
Status: ASSIGNED
Description: CybExer Technologies
Contact: noc@cybexer.com
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:4a << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:4a
ISD: 71
AS decimal:
Organization: Ovgu
Country: DE
Status: ASSIGNED
Description: Ovgu
Contact: noc@ovgu.de
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:4d << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:4d
ISD: 71
AS decimal:
Organization: Korea University
Country: KR
Status: ASSIGNED
Description: Korea University
Contact: noc@korea.edu
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:5c << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:5c
ISD: 71
AS decimal:
Organization: Universidade Federal de Mato Grosso do Sul
Country: BR
Status: ASSIGNED
Description: Universidade Federal de Mato Grosso do Sul
Contact: noc@ufms.br
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:61 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:61
ISD: 71
AS decimal:
Organization: National University of Singapore
Country: SG
Status: ASSIGNED
Description: National University of Singapore
Contact: noc@nus.edu.sg
DateAllocated: 2025-05-13
EOF
# Create files for ISD 65 (Europe)
cat > db/as/2:0:13 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:13
ISD: 65
AS decimal:
Organization: Anapaya Zurich
Country: CH
Status: ASSIGNED
Description: Anapaya Zurich
Contact: noc@anapaya.net
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:19 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:19
ISD: 65
AS decimal:
Organization: Anapaya Frankfurt
Country: DE
Status: ASSIGNED
Description: Anapaya Frankfurt
Contact: noc@anapaya.net
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:20 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:20
ISD: 65
AS decimal:
Organization: Telindus
Country: LU
Status: ASSIGNED
Description: Core
Contact: noc@telindus.lu
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:24 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:24
ISD: 65
AS decimal:
Organization: InterCloud FR Paris
Country: FR
Status: ASSIGNED
Description: Core, Issuing
Contact: noc@intercloud.fr
DateAllocated: 2025-05-13
EOF
# Create files for ISD 66 (Asia)
cat > db/as/3786 << EOF
% SCION AS WHOIS Information
AS Identifier: 3786
ISD: 66
AS decimal: 3786
Organization: LG Uplus Corp.
Country: KR
Status: ASSIGNED
Description: Core
Contact: noc@lguplus.co.kr
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:1 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:1
ISD: 66
AS decimal:
Organization: SNB Singapore
Country: SG
Status: ASSIGNED
Description: SNB Singapore
Contact: noc@snb.sg
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:10 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:10
ISD: 66
AS decimal:
Organization: Anapaya CONNECT Singapore
Country: SG
Status: ASSIGNED
Description: Core, Voting, Issuing
Contact: noc@anapaya.net
DateAllocated: 2025-05-13
EOF
# Create files for ISD 67 (North America)
cat > db/as/2:0:1c << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:1c
ISD: 67
AS decimal:
Organization: Swisscom US
Country: US
Status: ASSIGNED
Description: Core, Voting, Issuing
Contact: noc@swisscom.us
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:1e << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:1e
ISD: 67
AS decimal:
Organization: Swisscom Outpost
Country: US
Status: ASSIGNED
Description: Swisscom Outpost
Contact: noc@swisscom.us
DateAllocated: 2025-05-13
EOF
# Create files for ISD 72 (Secure Swiss Health Network)
cat > db/as/559-72 << EOF
% SCION AS WHOIS Information
AS Identifier: 559
ISD: 72
AS decimal: 559
Organization: SWITCH HVR
Country: CH
Status: ASSIGNED
Description: Core, Issuing
Contact: noc@switch.ch
DateAllocated: 2025-05-13
EOF
cat > db/as/3303-72 << EOF
% SCION AS WHOIS Information
AS Identifier: 3303
ISD: 72
AS decimal: 3303
Organization: Swisscom HVR
Country: CH
Status: ASSIGNED
Description: Core
Contact: noc@swisscom.ch
DateAllocated: 2025-05-13
EOF
# Create files for ISD 74 (Secure EFTPOS Network)
cat > db/as/3303-74 << EOF
% SCION AS WHOIS Information
AS Identifier: 3303
ISD: 74
AS decimal: 3303
Organization: Swisscom (Schweiz) AG
Country: CH
Status: ASSIGNED
Description: Core
Contact: noc@swisscom.ch
DateAllocated: 2025-05-13
EOF
cat > db/as/6730-74 << EOF
% SCION AS WHOIS Information
AS Identifier: 6730
ISD: 74
AS decimal: 6730
Organization: Sunrise Communications AG
Country: CH
Status: ASSIGNED
Description: Core
Contact: noc@sunrise.ch
DateAllocated: 2025-05-13
EOF
# Create files for ISD 75 (Benelux)
cat > db/as/205755 << EOF
% SCION AS WHOIS Information
AS Identifier: 205755
ISD: 75
AS decimal: 205755
Organization: Sdnbucks B.V.
Country: NL
Status: ASSIGNED
Description: Sdnbucks B.V.
Contact: noc@sdnbucks.nl
DateAllocated: 2025-05-13
EOF
cat > db/as/2:0:72 << EOF
% SCION AS WHOIS Information
AS Identifier: 2:0:72
ISD: 75
AS decimal:
Organization: Anapaya Systems Netherlands
Country: NL
Status: ASSIGNED
Description: Core, Voting, Issuing
Contact: noc@anapaya.net
DateAllocated: 2025-05-13
EOF
echo "Additional AS database files generated successfully."