Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
L'API JSON de la Freebox v6 + ports ouverts + quelques trucs
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Marin  
View profile   Translate to Translated (View Original)
 More options Feb 5, 8:28 am
From: Marin <marin.st...@gmail.com>
Date: Sun, 5 Feb 2012 05:28:54 -0800 (PST)
Local: Sun, Feb 5 2012 8:28 am
Subject: L'API JSON de la Freebox v6 + ports ouverts + quelques trucs
Free avait décidé de la retirer la documentation de
mafreebox.freebox.fr car elle était considérée comme instable, ils ont
donc retiré le fichier php, mais ils ont laissé toute la doc, et
deviner les chemins n'était pas très difficile :D

Pour voir la documentation datant de la sortie de la v6 :

http://mafreebox.freebox.fr/doc/index.html
http://mafreebox.freebox.fr/doc/account.html
http://mafreebox.freebox.fr/doc/dhcp.html
http://mafreebox.freebox.fr/doc/download.html
http://mafreebox.freebox.fr/doc/fs.html
http://mafreebox.freebox.fr/doc/ftp.html
http://mafreebox.freebox.fr/doc/fw.html
http://mafreebox.freebox.fr/doc/igd.html
http://mafreebox.freebox.fr/doc/ipv6.html
http://mafreebox.freebox.fr/doc/lan.html
http://mafreebox.freebox.fr/doc/lcd.html
http://mafreebox.freebox.fr/doc/phone.html
http://mafreebox.freebox.fr/doc/share.html
http://mafreebox.freebox.fr/doc/storage.html
http://mafreebox.freebox.fr/doc/system.html
http://mafreebox.freebox.fr/doc/user.html
http://mafreebox.freebox.fr/doc/wifi.html

Certaines méthodes ont été ajoutées/modifiées au niveau des paramètres/
supprimées depuis la publication de ces infos, je vous conseille
d'aller lurker dans le JS si ça vous intéresse :)

Voici quelques fonctions qui ne sont pas présentes dans la doc mais
qui sont présentes sur mafreebox.fr avec le dernier firmware :

- system.rotation_set
- storage.partition_get
- storage.partition_fsck
- storage.partition_simple
- storage.disk_advanced_informations_get
- storage.format_simple
- share.set_afp_config
- share.get_afp_config
- upnpav.set_config
- upnpav.get_config
- lan.name_set
- fbxrop.config_set
- fbxrop.config_get
- lan.mode_set
- lan.mode_get
- ethsw.port_state
- ethsw.mac_address_table
- ethsw.port_counters
- ethsw.port_set_config
- conn.status
- conn.wan_ping_set
- conn.wan_ping_get
- conn.remote_access_set
- conn.remote_access_get
- conn.proxy_wol_set
- conn.proxy_wol_get
- conn.logs_flush
- conn.logs
- ddns.providers
- ddns.set_provider_config

On peut télécharger des fichiers en HTTP http://mafreebox.fr/get.php
avec le paramètre POST « filename=/Disque dur/chemin/vers/le/fichier
».

Pour accéder à l'API JSON de Transmission, qui permet de mieux
contrôler les torrents, sur le port 9091 :

curl -v http://mafreebox.freebox.fr:9091/transmission/rpc -u
freebox:votremotdepasse -d '{"method":"session-get"}'

La spec est ici : https://trac.transmissionbt.com/browser/trunk/extras/rpc-spec.txt

Pour info, la Freebox est accessible depuis mafreebox.freebox.fr et
mafreebox.fr (IP 212.27.38.253), mais aussi depuis l'IP 192.168.1.254
(ou .0.254 sur certains modèles). Ça donne la même chose, sauf que des
ports supplémentaires sont accessibles (comme le 54242 UPnP).

À ma connaissance, voici les port accessibles :

192.168.1.254:21    -> 220 Welcome to Freebox FTP Server.
192.168.1.254:80    -> Server: nginx (interface web)
192.168.1.254:139   -> Server=[Samba 3.0.37]
192.168.1.254:445   -> Server=[Samba 3.0.37]
192.168.1.254:548   -> Serveur AFP
192.168.1.254:554   -> Server: fbxrtspd/1.2 Freebox RTSP server
192.168.1.254:5000  -> Server: AirTunes/110.63
192.168.1.254:5678  -> Server: Linux/2.6 UPnP/1.0 fbxigdd/1.0
192.168.1.254:8090  -> Server: nginx (message d'erreur « Problème de
connexion »)
192.168.1.254:8091  -> Server: nginx (message d'erreur du contrôle
parental)
192.168.1.254:8095  -> Test de débit. http://mafreebox.fr:8095/fixed/1M
192.168.1.254:9091  -> Server: nginx (proxy vers l'API de
Transmission)
192.168.1.254:54242 -> Server: Linux/2.6.39.4-
fbxgw1r_bank1_1.1.4-00778-gdae1867, UPnP/1.0, Free UPnP Entertainment
Service/0.655

Et pour le Player :

192.168.1.33:554  -> Server: fbxrtspd/1.2 Freebox RTSP server
192.168.1.33:5000 -> Server: AirTunes/110.63

Amusez-vous bien :)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »