Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# Generated by iptables-save v1.4.7 on Tue Jan 15 11:05:21 2013
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 667 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 20:21 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 110 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 143 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 8443 -j ACCEPT
-A OUTPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 53 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 667 -j ACCEPT
#-A OUTPUT -p udp -m udp --dport 123 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 43 -j ACCEPT
#-A OUTPUT -p tcp -m tcp --dport 20:21 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 80 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 25 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 110 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 143 -j ACCEPT
-A OUTPUT -p tcp -m tcp --dport 8443 -j ACCEPT
COMMIT
# Completed on Tue Jan 15 11:05:21 2013
but i have a large traffic around : 100 GiB in month
i do not know how can i check it? which generate this traffic?
i install ossec and configure iptables
please guide me.
thanks
but i have a large traffic around : 100 GiB in month i do not know how can i check it? which generate this traffic? i install ossec and configure iptables
There's nothing we can tell you based on what you posted. You have a web server, and see outgoing traffic...yep, sounds about right. But you haven't said if that's unusual for your website, what changes have happened recently, version/distro of Linux, or ANYTHING about what your server does. Have you checked the system logs? Apache logs?? Is this the same server you posted about before, that was your mail server?
sorry for unperfect post.
OS is : centos 6.3
mail server installed with plesk : postfix
for web manager plesk has been installed and 4 website hosted.
in plesk traffice analyze just 2 or 3 gig displayed but in RX and TX in ifconfig for eth0 65 gig for this month showed and i should pay for this additional bandwidth.
i installed monitorix : http://130.185.72.199/monitorix/
in apache and messages log nothing is terrible.
what can i do ? how to see what is create this traffic?
thanks
sorry for unperfect post.
OS is : centos 6.3
mail server installed with plesk : postfix
for web manager plesk has been installed and 4 website hosted.
in plesk traffice analyze just 2 or 3 gig displayed but in RX and TX in ifconfig for eth0 65 gig for this month showed and i should pay for this additional bandwidth. i installed monitorix : in apache and messages log nothing is terrible.
what can i do ? how to see what is create this traffic?
Think about what you posted.
You have a server running postfix, plesk, and you're hosting 4 websites
You posted before about your mail server being blacklisted for spam
Do you not see a potential issue? Your mail server may be churning it out, and for your plesk panel, is that showing your traffic for ONE website, or all of them? Again, if this just started happening, what has changed?
You need to examine all of the services running on that server, not just your apache logs. What does your mail server show? You haven't had monitorix running for very long, but you have activity on several ports; SMTP, POP3, HTTP, and MySQL. All of these services report to different logs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.