This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
анализ_трафика [2011/01/27 15:23] val |
анализ_трафика [2012/08/22 10:34] val |
||
---|---|---|---|
Line 5: | Line 5: | ||
==== Cisco Switch ==== | ==== Cisco Switch ==== | ||
<code> | <code> | ||
- | monitor session 1 source interface f0/1 both | + | monitor session 1 source interface f0/0 both |
- | monitor session 1 destination interface f0/2 | + | monitor session 1 destination interface f0/15 |
</code> | </code> | ||
==== Unix ==== | ==== Unix ==== | ||
<code> | <code> | ||
- | server# ifconfig eth1|le1 up | + | server# ifconfig eth2|em2 up |
- | server# tcpdump -ni eth1|le1 -A -s 0 "port 80" | + | server# tcpdump -ni eth2|em2 -A -s 0 "port 80" |
</code> | </code> | ||
Line 22: | Line 22: | ||
[[http://www.circlemud.org/~jelson/software/tcpflow/]] | [[http://www.circlemud.org/~jelson/software/tcpflow/]] | ||
- | ===== Анализ трафика для предотвращения атак - пакет Snort ===== | + | ===== Анализ трафика для детектирования атак - пакет Snort ===== |
[[Сервис SNORT]] | [[Сервис SNORT]] | ||
- | |||
- | <code> | ||
- | [server:~] # pkg_delete -x snort | ||
- | [server:~] # rm -r /usr/local/etc/snort/ | ||
- | |||
- | root@server.corpX.un:~# apt-get purge snort | ||
- | </code> | ||
===== Использование пакета Snortsam для блокировки хостов ===== | ===== Использование пакета Snortsam для блокировки хостов ===== |