Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

ifconfig

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peremacedonia
    Experienced Board Member
    • Jun 2010
    • 872

    ifconfig

    i notice this days i have high bandwith in lo local loopback,
    i dont have more that 50kb per day but now i have 239mb.Anyone know something about this,and it is high bantwith in eth0?
    Attached Files
    Rule n.33 kid..... Concentrate
  • uttnls

    #2
    Re: ifconfig

    I gues you are using combinations of cams like CCcam with Newcs or Newcs with Mgcamd or Oscam with Cccam.

    When you do that you share the line between cams using 127.0.0.1 which means localhost which means lo interface. That's why is your traffic bigger on lo.

    Of course it could be much more then these for a linux machine, but being a dreambox this is usual when using combination of CAMs

    Comment

    • peremacedonia
      Experienced Board Member
      • Jun 2010
      • 872

      #3
      Re: ifconfig

      but only cccam is active others cams are off.
      Rule n.33 kid..... Concentrate

      Comment

      • uttnls

        #4
        Re: ifconfig

        Originally posted by peremacedonia
        but only cccam is active others cams are off.
        Are you sure you are not using combinations of cams ?

        Anyway you shouldn't worry is just the loopback it has no affect on your security at least

        Comment

        • os2222
          Senior Member
          • Jan 2011
          • 175

          #5
          Re: ifconfig

          do a netstat -an or just a netstat -a to see a list of everything that is listening and connected to the system (-a means all, -n means "don't bother to translate ip and port numbers into names"). That should allow you to determine what ports are being connected to on localhost, so you can at least tell what service is the problem. My guess is that there is some backend database or another front-end program is utilizing. Probably not an issue.
          Also save the numbers of MiB you see, check again tomorrow, and see how much the counters have incremented by.

          Comment

          • peremacedonia
            Experienced Board Member
            • Jun 2010
            • 872

            #6
            Re: ifconfig

            No security is not the problem i don know from where coming that trafick thats all

            Originally posted by os2222
            do a netstat -an or just a netstat -a to see a list of everything that is listening and connected to the system (-a means all, -n means "don't bother to translate ip and port numbers into names"). That should allow you to determine what ports are being connected to on localhost, so you can at least tell what service is the problem. My guess is that there is some backend database or another front-end program is utilizing. Probably not an issue.
            Also save the numbers of MiB you see, check again tomorrow, and see how much the counters have incremented by.
            with netstat -ant comand i notice i have trafick from box ip to pc ip but i dont know why
            Rule n.33 kid..... Concentrate

            Comment

            • uttnls

              #7
              Re: ifconfig

              Use this :

              netstat -a | grep localhost

              netstat -a | grep 127.0.0.1

              and post here the results of both

              Do you use any of telnetinfo, webinfo, statitics api, munin, phpinfo to see the statistics from cccam ?, if yes that's the explantion for your trafic on localhost

              Comment

              • peremacedonia
                Experienced Board Member
                • Jun 2010
                • 872

                #8
                Re: ifconfig

                yes i use but i used before and i dont have local trafick
                here picture from telnet i have trafic from dm(dreambox to pc(kompjuter) from telnet port,but localhost there no trafick

                Rule n.33 kid..... Concentrate

                Comment

                • peremacedonia
                  Experienced Board Member
                  • Jun 2010
                  • 872

                  #9
                  Re: ifconfig

                  Anyone know something about this?
                  Rule n.33 kid..... Concentrate

                  Comment

                  • uttnls

                    #10
                    Re: ifconfig

                    Originally posted by peremacedonia
                    Anyone know something about this?
                    You didn't had traffic on the moment of command (snapshot) but there are a lot of ports and communications via localhost.

                    Any in that list can make at a specific time 2-3 Mb traffic.

                    Remember that netstat is a snapshot monitoring tool, meaning that you'll see only actual traffic not lets say traffic that you had a minute a go

                    Comment

                    • peremacedonia
                      Experienced Board Member
                      • Jun 2010
                      • 872

                      #11
                      Re: ifconfig

                      How can i close those ports becouse they no need me
                      Rule n.33 kid..... Concentrate

                      Comment

                      • uttnls

                        #12
                        Re: ifconfig

                        Originally posted by peremacedonia
                        How can i close those ports becouse they no need me
                        It looks to me to be some monitor system involved (via www). Any way do a "netstat -p" to see exactly what PID/process is involved in that traffic

                        Comment

                        • peremacedonia
                          Experienced Board Member
                          • Jun 2010
                          • 872

                          #13
                          Re: ifconfig

                          I cant send this option its say invalid option
                          and what is netstat -laenrtuwx command
                          Rule n.33 kid..... Concentrate

                          Comment

                          • uttnls

                            #14
                            Re: ifconfig

                            Originally posted by peremacedonia
                            I cant send this option its say invalid option
                            and what is netstat -laenrtuwx command
                            Based on the parameters listed look for one that will list also the process name or PID

                            On linux it should work ok with netstat -p

                            Yes it seems that you indeed don't have that parameter on a DM

                            Usage: netstat [-laenrtuwx]

                            Netstat displays Linux networking information.

                            Options:
                            -l display listening server sockets
                            -a display all sockets (default: connected)
                            -e display other/more information
                            -n don't resolve names
                            -r display routing table
                            -t tcp sockets
                            -u udp sockets
                            -w raw sockets
                            -x unix sockets

                            -laenrtuwx is a short way to display the available parameters, you can use one at the time or all at once

                            Is not a particular command, -laenrtuwx is just a combination of all parameters available, problably you recived Usage: netstat [-laenrtuwx] when you tried to run netstat -p beaucause -p option is not available

                            Comment

                            • peremacedonia
                              Experienced Board Member
                              • Jun 2010
                              • 872

                              #15
                              Re: ifconfig

                              ok im not expert for linux just want to know what is the reason for trafick betwen dm and pc

                              to see number of cards online
                              grep Card share.info | wc -l

                              to see number of cards from a peer
                              grep [peer name] share.info | wc -l

                              you can put whatever behind grep like prov id's distance, share level
                              examples:
                              grep dist:1 share.info | wc -l
                              grep Lev:1 share.info | wc -l
                              output example:
                              root@dm7020:/var/tmp# grep dist:1 share.info | wc -l
                              96

                              do mind the capitals !!

                              the wc -l commands counts the number of lines in share.info
                              if you remove it you wil see all the lines containing the text entered behind grep

                              example:
                              grep Lev:0 share.info
                              ouput:
                              CardID 1 at peer.net Card 01000002 Sl:3 Lev:0 dist:3 id:7898
                              CardID 11 at peer.net Card 0100002F Sl:1 Lev:0 dist:2 id:A508
                              CardID 26 at peer.net Card 01000030 Sl:2 Lev:0 dist:3 id:8069
                              CardID 27 at peer.net Card 01000035 Sl:1 Lev:0 dist:2 id:A508

                              in share.onl is the online status of the peers
                              you can see it by typing
                              more share.onl
                              peers with 1 are online, 0 means offline

                              to kill gbox:
                              touch /tmp/gbox.kill
                              to start gbox
                              /var/bin/gbox &
                              don't forget the & behind it or gbox will be closed when you exit the telnet session

                              to reboot your dreambox type
                              reboot
                              to change dreambox password type
                              passwd

                              if ppl are interested i can also tell you how to edit files in telnet like cwshare.cfg
                              Rule n.33 kid..... Concentrate

                              Comment

                              Working...