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

really bad memory leak

Discussion in 'DD-WRT Firmware' started by jagboy, May 6, 2005.

  1. jagboy

    jagboy Network Guru Member

    hey
    in dd-wrt pre5 there is a bad memory leak. it will not affect regular users. but since i have the router hosting my site the router seems to either delete the web site files. or the web site just stops when you are trying to access it. if you go to the status screen you will see the emeory size of the router and it keeps going down.

    brainslyer could you do something about this

    -jag
     
  2. jagboy

    jagboy Network Guru Member

    the memeory leak is not that bad in dd-wrt pre4
     
  3. Morpheus

    Morpheus Network Guru Member

    Hmmm its quite bad in pre5
     
  4. jagboy

    jagboy Network Guru Member

  5. jagboy

    jagboy Network Guru Member

    in my opinoin i think of dd-wrt pre 4 was more stable and alot faster
     
  6. Morpheus

    Morpheus Network Guru Member

    nice security guide :wink:
     
  7. jagboy

    jagboy Network Guru Member

    the wireless security guide is i guess a beta or pre final till i hand it over to linksysinfo admins to post and host and make it an "offical guide".
     
  8. gotamd

    gotamd Network Guru Member

    It's a pity that IE is used as the web browser for an internet/network security guide :wink: :lol:

    EDIT: BTW, JagBoy, any good resources on running a webpage (or file hosting) on the WRT54G? I'd like to be able to use all 32MB I've got :)
     
  9. jagboy

    jagboy Network Guru Member

    i slapped that guide together in a few hours. i should have done it on linux :p
     
  10. jagboy

    jagboy Network Guru Member

    just an update: the guide is olding up longer than dd-wrt pre5. in pre 5 the guide goes off line in about 24hr. but with pre4 everything look dandy :D and memory is not getting o low though it does dip under 700 bytes on the staust page. but i would expect that becuase it got 500 hits since the 27th of april. and the web pages load a lot faster too :D
     
  11. jagboy

    jagboy Network Guru Member

    sue if you need some hlpe on setting up a web page just follow the directions below:
    assumming that you are running xp with winscp and you know how to login to winscp. and have 3rd party firmware

    1first creat you wep page. use what ever.
    2 i noticed that the router can only read .jpg files. if you have a .png file just rename it to xxx.jpg when you transfer it to the router.
    3now to transfer the file to the router. go to /tmp/smbshare and dump the files there.
    3 then you need to open the router to the outside.
    4 go to the firewall tab in the router and disable 'Block Anonymous Internet Requests "
    5 then go to the mamagment page and you should see remote managment.
    6change the port remote managment is on to port 5000
    7make sure you change th router password
    8 you should have some kind of dyndns thing setup with the router.like
    "melvin125.mine.nu"
    9 now that you have eveything done just go to the dns name that you choose and it should look something like this: xxxxxxxxxx:5000/smb/xxx.html the first set of names it suppose to be the dns name. and the 2nd set is the name if the homepage it is usually index.html
     
  12. jagboy

    jagboy Network Guru Member

    and i forgot. the file hosting you could do. instead of using imageshack to host your picutres that you would post here in the forums you could host it on the router
    remember this can cause the router to heatup alittle. depening on the size of the pages that yu are hosting. so make sure it is cool at all times.
    and you could go as much as 5mb in the smb share for hosting web pages. i dont know how to unlock the rest. i have a wrt54gv2.2 with the 32mb of ram. the great thing about this is that whe you reboot the pages dont get deleted.
     
  13. jagboy

    jagboy Network Guru Member

    and oh yeah here is another wyay to host pges on the rotuer
    just copy and paste these in the telnet window

    mkdir -p /var/bin

    wget -P /var/bin/ http://www.thenewhorizon.co.uk/busybox

    chmod 755 /var/bin/busybox

    ln -sf /var/bin/busybox /var/bin/httpd

    mkdir -p /var/bin/web

    wget -P /var/bin/web/ http://www.thenewhorizon.co.uk/index.html

    cd var/bin/web

    httpd -p 8383
    thsi gets erased after everyreboot. i am working on who to see this fomr the internet ther is some kind of ioptables command
    here are some resources
    http://linksysinfo.org/modules.php?name=Forums&file=viewtopic&t=1508
    http://forum.bsr-clan.de/ftopic1024-0-asc-0.html
     
  14. gotamd

    gotamd Network Guru Member

    Pretty cool. I think I'll play around with this for a while :)
     
  15. gotamd

    gotamd Network Guru Member

    Cool, I'm able to upload stuff to it and everything using a local FTP server. How would I go about making it accessible to the public?
     
  16. jagboy

    jagboy Network Guru Member

    you mean form the internet?
    it should be in one of my posts
     
  17. dellsweig

    dellsweig Network Guru Member

    what are you running?? Straight HTML web paged or something else - a separate httpd process??

    Have rou run a 'top' to see which process was growing??
     
  18. jagboy

    jagboy Network Guru Member

    yes i am using html.

    here is the top command
    [​IMG]
    here is the free command[​IMG][
     

Share This Page