1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Understanding " Tomatoanon"

Discussion in 'Tomato Firmware' started by Jacky, Sep 20, 2013.

  1. Jacky

    Jacky Reformed Router Member

    I was searching for firmware for my old Asus WL520gu router, and I came across this page: http://tomato.groov.pl/tomatoanon.php?model=Asus WL-520GU

    Here it is listed that people installed "112 K26 USB" "Big-VPN" onto the Asus WL520gu router.
    How is this possible? The flash memory for this router is only 4 MB while the file is 7.2 MB.

    Should this not brick the router? How am I supposed to interpret this website?
     
  2. alfred

    alfred Networkin' Nut Member

    That is not a general condition.
    He had modified his device by replacing Flash memory chip form 4MB to 8MB.
    I know there are many people doing like that, so they can install the bigger firmware.
     
  3. ilovejedd

    ilovejedd Addicted to LI Member

    Question, how does TomatoAnon determine the router model? I'm asking since I recently bought an Asus RT-N10P from Amazon (Asus RT-N12 was out of stock). The RT-N10P is not on the official supported list for Shibby but it's basically an N-Lite version of the RT-N12 so I'm hoping it'll work. Just curious what model name it'll report to TomatoAnon if it does work.
     
  4. shibby20

    shibby20 Network Guru Member

    tomatoanon code is open, well you can look into it yourself and check how is detected router`s model :)

    it is taken from nvram:
    nvram get t_model_name

    that`s all.

    how is generated t_model_name if router is not officially supported? Run command:
    nvram show | grep board

    you will get board num, rev, type and flags. Those enties taken together give us "undetected" router name.
    For example: Broadcom 11/0x052B/60/0x1400/0x710

    Best Regards.
     
  5. ilovejedd

    ilovejedd Addicted to LI Member

    Interesting. So does that mean that for supported routers, there's a list of known boards corresponding to the router model? And after you test a router and confirm it's working, you just add the board information and router model to the list?
     
    Last edited: Sep 25, 2013
  6. shibby20

    shibby20 Network Guru Member

    Not to the list but into tomato code. All routers have to be detected by tomato. If router is not supported officially then leds are works wrong, buttons don`t work, features like N-mode or gigabit may not work and VLAN are wrong. Tomato is working but is not fully functional.
     
  7. tvlz

    tvlz Addicted to LI Member

    Shibby,
    Been working on enhancement to TomatoAnon's detection of unknown routers
    I'll send you the code

    ilovejedd,
    want to test it out, give you a link when it's ready
     
  8. ilovejedd

    ilovejedd Addicted to LI Member

    Sure. Just be sure to include detailed instructions. I know how to telnet/ssh into the router. Beyond that, I'm out of my depth. :p
     
  9. tvlz

    tvlz Addicted to LI Member

    Working as expected, thanks for testing:)
     
  10. Tomato User

    Tomato User Network Newbie Member

    Why would tomatoanon want my mac address's?
    I'm really not happy with that.
     
  11. jerrm

    jerrm Network Guru Member

    It doesn't.
     
  12. Tomato User

    Tomato User Network Newbie Member

    The following data is sent by TomatoAnon:
    - MD5SUM of WAN+LAN MAC addresses - this will identify a router. Ex: 1c1dbd4202d794251ec1acf1211bb2c8


    Sounds like a fingerprint of my router to me..
     
  13. M_ars

    M_ars Network Guru Member

    Anon is disabled by default. You dont have to use/activate it
     
  14. jerrm

    jerrm Network Guru Member

    Correct, it uses the md5sum (not the macs directly) as a method of having a (probably) unique identifier for the router. The mac themselves are not transmitted. TomatoAnon has to have some way of consistently identifying the router, otherwise each update would look like a new router. It's not perfect but any other method would not persist across an nvram erase.

    Md5sum hashes are not reversible, but one could create a table of hashes of all possible Mac combos and lookup the md5sum.

    Even if it transmitted Macs in the clear, they are of precious little value.

    As stated, TomatoAnon is disabled default and 100% transparent as to what it does.
     
    Monk E. Boy and AndreDVJ like this.
  15. Monk E. Boy

    Monk E. Boy Network Guru Member

    If you don't understand what an MD5SUM is, Wikipedia has a long-winded explanation:
    https://en.wikipedia.org/wiki/Cryptographic_hash_function

    Though has been pointed out, having your WAN, LAN, or WLAN MAC is pretty much worthless. MAC addresses are only visible on the local network segment. Once you go one hop beyond that network the MAC isn't visible. The WLAN MAC is particularly worthless since the MACs (at least until consumer hardware starts supporting 802.11w) are broadcast in the clear, all someone has to do is wander within WiFi range to get it. Which is why MAC filtering isn't worth the trouble.
     

Share This Page