Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IpTables i reguły
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
shendu
n00b
n00b


Joined: 03 Apr 2008
Posts: 1

PostPosted: Sun Apr 06, 2008 2:18 pm    Post subject: IpTables i reguły Reply with quote

Witam
mam problem bo caly czas mam w logach komunikat i są tym cale zawalone:
Code:

Apr  1 18:47:47 xxx sshd[23333]: Invalid user web from xxx.xxx.xxx
Apr  1 18:47:50 xxx sshd[23337]: Invalid user pgsql from xxx.xxx.xxx
Apr  1 18:47:52 xxx sshd[23341]: Invalid user info from xxx.xxx.xxx
Apr  1 18:47:54 xxx sshd[23343]: Invalid user tony from xxx.xxx.xxx
Apr  1 18:47:55 xxx sshd[23349]: Invalid user core from xxx.xxx.xxx
Apr  1 18:47:57 xxx sshd[23352]: Invalid user newsletter from xxx.xxx.xxx
Apr  1 18:47:59 xxx sshd[23356]: Invalid user visitor from xxx.xxx.xxx


czy da się jakoś szybko zareagować na takie połączenia?

Pozdrawiam
Back to top
View user's profile Send private message
dylon
Guru
Guru


Joined: 21 Mar 2005
Posts: 331
Location: Gliwice

PostPosted: Sun Apr 06, 2008 2:30 pm    Post subject: Reply with quote

Tak. Uzyc iptables :P modul recent sie nada ...

A jak juz sie zmeczysz kombinowaniem to zrobisz jedynie konieczna rzecz, czyli: "Przeniesc sshd na inny port."

Pozdrawiam
_________________
Maciej Dylski
Back to top
View user's profile Send private message
shendu
n00b
n00b


Joined: 03 Apr 2008
Posts: 1

PostPosted: Sun Apr 06, 2008 2:42 pm    Post subject: Reply with quote

IpTables używam żeby komputer nie był "goły". Tylko jakoś nie specjalnie wiem jak mozna ułożyc regułe któa by to eliminowala.

Bo nie chcial bym przenosic sshd na inny port.
Back to top
View user's profile Send private message
Yatmai
Veteran
Veteran


Joined: 12 Nov 2005
Posts: 1501
Location: Kraków

PostPosted: Sun Apr 06, 2008 6:29 pm    Post subject: Reply with quote

Postaw DenyHosts ;)

Jak Ci sie chce cackać, to wyślij logi do admina co bardziej upierdliwego delikwenta.
_________________
Desktop: [Ath64 X2 2GB DDR2 GF76GT] [amd64] [2.6.29-gentoo] [nVidia] [KDE 3.5.10]
Lapek: [HP nc6000] [i686] [2.6.29-ARCH] [ati-open] [KDE 3.5.10]
Back to top
View user's profile Send private message
sir KAT
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2005
Posts: 118
Location: Kraków

PostPosted: Mon Apr 07, 2008 3:50 pm    Post subject: Reply with quote

Iptables spisuje się w tym przypadku bardzo dobrze, sporo przykładowych zastosowań modułu recent można znaleźć w googlach.
_________________
Pozdrawiam!
Krzysiek
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum