Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Chciałem dodać udostępnianie internetu w tym skrypcie. Walczę i jakoś mi się nie udaje...
# Generated by iptables-save v1.4.21 on Fri Jan 2 08:50:27 2015 *nat :PREROUTING ACCEPT [8:488] :INPUT ACCEPT [0:0] :OUTPUT ACCEPT [17:1318] :POSTROUTING ACCEPT [16:1158] -A POSTROUTING -s 192.168.100.0/24 -j MASQUERADE COMMIT *raw :PREROUTING ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A PREROUTING -p tcp -m set --match-set whitelist src -j ACCEPT -A PREROUTING -p tcp -m multiport ! --sports 80,443 -m set --match-set bt_level1 src -j DROP -A PREROUTING -p udp -m multiport ! --sports 80,443 -m set --match-set bt_level1 src -j DROP -A PREROUTING -m set --match-set bt_spyware src -j DROP -A PREROUTING -m set --match-set bt_webexploit src -j DROP -A OUTPUT -p tcp -m set --match-set whitelist dst -j ACCEPT -A OUTPUT -p tcp -m multiport ! --dports 80,443 -m set --match-set bt_level1 dst -j DROP -A OUTPUT -p udp -m multiport ! --dports 80,443 -m set --match-set bt_level1 dst -j DROP -A OUTPUT -m set --match-set bt_spyware dst -j DROP -A OUTPUT -m set --match-set bt_webexploit dst -j DROP COMMIT # Completed on Fri Jan 2 08:50:27 2015 # Generated by iptables-save v1.4.21 on Fri Jan 2 08:50:27 2015 *filter :INPUT DROP [0:0] :FORWARD DROP [0:0] :OUTPUT ACCEPT [0:0] -A FORWARD -s 192.168.100.0/24 -j ACCEPT -A INPUT -i eth0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state --state INVALID -j DROP -A INPUT -p tcp -j DROP -A INPUT -p udp -j DROP -A INPUT -j DROP -A OUTPUT -m state --state INVALID -j DROP COMMIT # Completed on Fri Jan 2 08:50:27 2015
jakieś sugestie?
Offline
Time (s) | Query |
---|---|
0.00016 | SET CHARSET latin2 |
0.00006 | SET NAMES latin2 |
0.00139 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.223.195.127' WHERE u.id=1 |
0.00158 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.223.195.127', 1732368123) |
0.00065 | SELECT * FROM punbb_online WHERE logged<1732367823 |
0.00103 | SELECT topic_id FROM punbb_posts WHERE id=287856 |
0.00491 | SELECT id FROM punbb_posts WHERE topic_id=24743 ORDER BY posted |
0.00120 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=24743 AND t.moved_to IS NULL |
0.00020 | SELECT search_for, replace_with FROM punbb_censoring |
0.00191 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=24743 ORDER BY p.id LIMIT 50,25 |
0.00122 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=24743 |
Total query time: 0.01431 s |