Spacenet: Difference between revisions

From NURDspace
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 51: Line 51:
<pre>
<pre>
-----BEGIN CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIICxjCCAa4CCQDXE/Qr23LoejANBgkqhkiG9w0BAQUFADAlMSMwIQYDVQQDExpu
MIIFxjCCA66gAwIBAgIJANSemTdGG0DwMA0GCSqGSIb3DQEBCwUAMHgxCzAJBgNV
dXJkc2VydmljZXMubnVyZHNwYWNlLmxhbjAeFw0xMzAzMjkyMTM3MzNaFw0yMzAz
BAYTAk5MMRMwEQYDVQQIDApHZWxkZXJsYW5kMRMwEQYDVQQHDApXYWdlbmluZ2Vu
MjcyMTM3MzNaMCUxIzAhBgNVBAMTGm51cmRzZXJ2aWNlcy5udXJkc3BhY2UubGFu
MRIwEAYDVQQKDAlOVVJEc3BhY2UxDTALBgNVBAsMBFdpRmkxHDAaBgNVBAMME3Jh
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwPTsBJ5yt+QOKiAV1TJk
ZGl1cy5udXJkc3BhY2UubmwwHhcNMjAwMzA2MDg1MjU2WhcNMzAwMzA0MDg1MjU2
VdTKO8DggKG7ba35hjECJ5xyq2G8QUs9VtuWWgBqLKeUPkb0f0PRBcgq4JpN8eKg
WjB4MQswCQYDVQQGEwJOTDETMBEGA1UECAwKR2VsZGVybGFuZDETMBEGA1UEBwwK
v2Yt5hhYCZOtho/bcZr6hOZIcMhkQxfDwmf7PN1VLcszjENLon/frRy804tHFHxS
V2FnZW5pbmdlbjESMBAGA1UECgwJTlVSRHNwYWNlMQ0wCwYDVQQLDARXaUZpMRww
u2S6/0elIrnKv520anS7Zn5AifS7i4lg04zZsoDujjkLBBW9jDXpl8HRsk6Gp1xA
GgYDVQQDDBNyYWRpdXMubnVyZHNwYWNlLm5sMIICIjANBgkqhkiG9w0BAQEFAAOC
6BAIf0TjN8hsoLqNYCetM2H5yWva1vmuiytgebdM8OUKpajNH/Z3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g+/Mn1SmgtU8/KU4k1hRvP/aCH8JPKo
VGXsdOvqzEKl2ufEX9ODYFpypqOt6upbPZ9WYMY4PcxZbLC//K7WiReowD8CAwEA
AaNTMFEwHQYDVR0OBBYEFG4aOaMTTaHdvW2gcCA3k7gz3/pJMB8GA1UdIwQYMBaA
FG4aOaMTTaHdvW2gcCA3k7gz3/pJMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcN
AQELBQADggIBAGkwqd4z4JsNNwGESRnnxWoslFq0h5//ekEDABjZFNZXwZ/9WySI
3t9qEFdMyyQgH/DK1az4MCzTJbGQ/c2ckxt+HMpZH7T77GQWuRO47hMnYRNhLTau
bXJGkB8mzKWNuuUzsUE61JAoDU7HoAwbLPW/BGeJUaQsdhw6t+FSRsRnnxlt0no1
7iUy84RTh0Tk5MuvBXXHakfb6OlePoERGZn49qGWZ5WO5OjMHF61yd88tSYQanv8
syxlWFazPwr6TRN9TNW14bYgR/pdvUaichhcOWYcgYx+dwKVR2U0pBNL2RfrRNBM
J8VF1zVOgHOQnhPRNv8yE+McQrlN6p0uvLZlMD2jL5Vzf8WMOt0K1Pq66KCBdiTn
aqWKh22y9mZuyNya7RH75Fh9jmo9/M4c5Kl9fspuaNxoUO2gW3NOD87qpdxo+/83
7MTnI5hzIFJL3smfGnxVnpW2TTAmOqEUFyCT1FwTn2y3nVdrrCw8p+iB5LEv11GL
zZJRGznpl+MmlPwkK58UXgy2L7ka9HjBkfUovJiJEgKWgSqVULFNwbvZ0Z8IdfGk
yRmPIiDdbZOdaAyfp6KFy9TmPjpCcv2JLiZWczo6HBXSxkqgEtkZI5oelxgXm0de
gaWiSk+iaiaUwNojLinQpw3UgcTg3nm8EtqDBpqCYLKzxKKHSWMYMKlH
-----END CERTIFICATE-----
-----END CERTIFICATE-----
</pre>
</pre>
https://space.nurdspace.nl/~zarya/radius.nurdspace.nl.crt


== Windows ==
== Windows ==
Line 73: Line 90:
To log into SpaceNet (SSID spacenet) follow [https://spacefed.net/wiki/index.php/Howto/Spacenet/Client_Windows_7 these steps].
To log into SpaceNet (SSID spacenet) follow [https://spacefed.net/wiki/index.php/Howto/Spacenet/Client_Windows_7 these steps].


== Android ==
To configure this on new aged android devices loading of the certificate is required!
* Hotspot name: spacenet
* Security: WPA/WPA2-Enterprise
* Method: PEAP
* Phase 2 Authentication: MSCHAPv2
* CA Certificate: load the file presented above
* Online certificate status: Require certificate status
* Domain: radius.nurdspace.nl
* Identity: <username>@nurdspace.nl
* Anonymous Identity: guest@nurdspace.nl
* Password: <Your Password>




Line 78: Line 108:


== Todo list ==
== Todo list ==
* Check local radius instance
* AP Upgrade

Latest revision as of 12:05, 23 March 2023

NURDs Inventory
NoPicture.png
Owner Space
Status Infrastructure
Hostname spacenet
Tool No
Tool category

{{{Name}}}Property "Tool Name" (as page type) with input value "{{{Name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{{InventoryOwner}}}Property "Tool Owner" (as page type) with input value "{{{InventoryOwner}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Location}}}Property "Tool Location" (as page type) with input value "{{{Location}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.

E4200 and wrt54gsv4.jpg

What is it

SpaceFED is an inter-(hacker)space federated authentication platform which currently offers the following services:

  • spacenet - federated authentication using RADIUS, useful for 802.1X and more
  • spacesaml - federated authentication for cloudservices

We have implemented SpaceNET on the E4200 access point. This means we have an LDAP with users, hashes and other stuff, and a FreeRADIUS server for wireless authentication (802.1x) which uses the fore-mentioned LDAP to authenticate. This all runs on nurdservices.

Also, in the future we can use SpaceSAML to authenticate our webservices (mediawiki, gallery, i dunno) against this database.

Where is it

There are 3 AP's:

How do I use it

New users

You will need to start by logging in to the LDAP from within the network with their new LDAP user account.

The reason for this is that passwords of new accounts are set in the field sambaLMPassword, but spacenet works with the NTPassword field. Changing your password via the FusionDirectory web interface changes both these fields to the same new value. You can also just re-enter your old password.

Linux

To log into SpaceNet (SSID spacenet) follow these steps, except the WPA supplicant settings there are complete bullshit. The correct ones are

network={
        ssid="spacenet"
        key_mgmt=WPA-EAP
        eap=PEAP
        anonymous_identity="anonymous@nurdspace.nl"
        phase2="auth=MSCHAPV2"

        # set correct username, password, and path to cert file:
        identity="username@nurdspace.nl"
        password="yada"
        ca_cert="/etc/wpa_supplicant/spacenet.pem"
}

Certificate file:

-----BEGIN CERTIFICATE-----
MIIFxjCCA66gAwIBAgIJANSemTdGG0DwMA0GCSqGSIb3DQEBCwUAMHgxCzAJBgNV
BAYTAk5MMRMwEQYDVQQIDApHZWxkZXJsYW5kMRMwEQYDVQQHDApXYWdlbmluZ2Vu
MRIwEAYDVQQKDAlOVVJEc3BhY2UxDTALBgNVBAsMBFdpRmkxHDAaBgNVBAMME3Jh
ZGl1cy5udXJkc3BhY2UubmwwHhcNMjAwMzA2MDg1MjU2WhcNMzAwMzA0MDg1MjU2
WjB4MQswCQYDVQQGEwJOTDETMBEGA1UECAwKR2VsZGVybGFuZDETMBEGA1UEBwwK
V2FnZW5pbmdlbjESMBAGA1UECgwJTlVSRHNwYWNlMQ0wCwYDVQQLDARXaUZpMRww
GgYDVQQDDBNyYWRpdXMubnVyZHNwYWNlLm5sMIICIjANBgkqhkiG9w0BAQEFAAOC
Ag8AMIICCgKCAgEAwEXtLBjEOQpa1EEjAbcO3hL4D0cUxuhxIcrJTf7+bkElKekf
AInGyjY8U4+ykArYnXDAMbBdb7HacCbdCnUBy+e05r0WOZz37YgTyeMrjubrqvbz
TBHjBk1OIA/8Rgio+cSSkaZsjjErAT/hnzk0X/llRGzI7+8ohvEkiZ22wWniRLYk
3bUk2ynSq5O77K3bkhf01ucBJuY87bFRMlCDF2W8swu3ILL/iXZKfnWtWWBrrxxm
Hay61UkF2n90W4fI/mU4h9R9hYGxhRpVT72cHf9P0Qd8JcLsQfqvW9aVjO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y2L7ka9HjBkfUovJiJEgKWgSqVULFNwbvZ0Z8IdfGk
yRmPIiDdbZOdaAyfp6KFy9TmPjpCcv2JLiZWczo6HBXSxkqgEtkZI5oelxgXm0de
gaWiSk+iaiaUwNojLinQpw3UgcTg3nm8EtqDBpqCYLKzxKKHSWMYMKlH
-----END CERTIFICATE-----

https://space.nurdspace.nl/~zarya/radius.nurdspace.nl.crt

Windows

To log into SpaceNet (SSID spacenet) follow these steps.

Android

To configure this on new aged android devices loading of the certificate is required!

  • Hotspot name: spacenet
  • Security: WPA/WPA2-Enterprise
  • Method: PEAP
  • Phase 2 Authentication: MSCHAPv2
  • CA Certificate: load the file presented above
  • Online certificate status: Require certificate status
  • Domain: radius.nurdspace.nl
  • Identity: <username>@nurdspace.nl
  • Anonymous Identity: guest@nurdspace.nl
  • Password: <Your Password>


Maintenance

Todo list