Erwtimata sxetika me firewalls

George Daflidis-Kotsis gdk at thus.net
Tue Nov 25 16:59:25 EET 2003


On Tue, Nov 25, 2003 at 04:45:36PM +0200, V13 wrote:

> On Friday 21 November 2003 12:23, Athanasios Sidiropoylos wrote:
> > To trexw me tail -f /var/log/messages |grep TTL | ./fire
> > O logos pou exw to grep einai oti den exw balei akoma kanena elenxo
> > esoterika tou programatos gia na filtrarei ta axrista dedomena. To
> > erwtima einai.... Giati ka8isterei xaraktiristika na tiposei ta dedomena
> > pou prepei na tiposei. Mazobonte kamia 5-10 grames kai tis tiponei
> > mazemenes sxedon. Yparxei periptosh na ka8isterei pano apo 15 lepta h
> > host (pou kalite gia na kanei resolve to hostname apo opou erxete h
> > prospa8ia sindeshs) na dosei apotelesma ??
> 
> Ofeiletai sto buffering toy stdout poy ginetai apo tin grep...

Apo oti eipes, an 8umamai kala to ./fire einai perl script?

Kai na upo8esw pws kapou sth arxh tou exeis:

$| = 1;

swsta?

An oxi, balto kai 3anadokimase.

> Dokimase ta eksis gia na katalabeis ti akribos ginetai:
> 
> ( for a in 1 2 3 4 5 6 7 ; do echo "aa - $a" ; sleep 1s ; done ) | \
> strace grep aa
> 
> kai:
> 
> ( for a in 1 2 3 4 5 6 7 ; do echo "aa - $a" ; sleep 1s ; done ) | \
> strace grep aa | \
> (while read a ; do echo $a ; done)
> 
> (prosekse ta read()/write() )
> 
> Afaik ofeiletai kathara sto buffering poy ginetai apo tin glibc (kai oxi mono) 
> se oti exei na kanei me ta i/o streams... 
> 
> > Sidhropoulos A8anasios
> <<V13>>
> 

> 
> -- 
> linux-greek-users mailing list -- http://lists.hellug.gr

-- 
[george daflidis-kotsis - systems admin,web/e-commerce - gdk at thus.net]




More information about the Linux-greek-users mailing list