Re: lug-bg: OpenMosix + Slackware??

2003-11-15 Thread lazcorp
Georgi Chorbadzhiyski [EMAIL PROTECTED]:

| [EMAIL PROTECTED] wrote:
|   Slackware 9.1.
| -  
| ,
|   kernel.org .  
| ,   
| 
| :(
|?
|google  .   
|  .
| http://www.autistici.org/underscore/cluster/cluster.html
| http://www.securityitaly.org/openmosix/openmosix.html
|
|  HOWTO,   ?
| http://howto.ipng.be/openMosix-HOWTO/
  ,   .
 how-to.
ww.autistici.org,   
  , :

cd /usr/src
rm -r linux-2.4.22  # aSlack 9.1  crypto/crypto.o
tar xjvf linux-2.4.22.tar.bz2
patch -p0  openMosix-2.4.22-1
cd linux-2.4.22
make menuconfig
-
[ * ] OpenMosix process migration support
[ * ] Stricter security on OpenMosix ports
[ 1 ] Level op process-identity disclosure
[ * ] openMosix File-System
-
make clean
make dep
make bzImage
make modules
make modules_install
cp /usr/src/linux/arch/i386/boot/bzImage /boot/
lilo
tar -jxvf openmosix-tools-0.3.4.tar.bz2
cd openmosix-tools-0.3.4
./configure

checking /usr/src/linux-openmosix/include/hpc/comm.h usability... no
checking /usr/src/linux-openmosix/include/hpc/comm.h presence... no
checking for /usr/src/linux-openmosix/include/hpc/comm.h... no
configure: error: openMosix header files not found

  .
   , /etc/openmosix.map - 
 .

 !
 3000  http://Femalelife.bg

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



lug-bg: HDD cloning...

2003-11-15 Thread Andrey Marinov
.

'  ,   
 -.( ext3/swap ) 
 (  
   ).

   (  )  Norton Ghost 2003  ,
= 4GB. ' (BTW,
 RHL7.2 2.4.7-10).

   SystemRescueCD - http://www.sysresccd.org ( 0.2.7  -   
 ),  ,   
'   .( - partimage 0.6.3_beta13)  
.

  '  . '(20GB Maxtor,,  
   ):

Disk /dev/hda: 2491 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/hda1   *  0+ 44  45-361431   83  Linux
/dev/hda2 45106410208193150   83  Linux
/dev/hda3   10651129  65 522112+  82  Linux swap
/dev/hda4   113024901361   10932232+   f  W95 Ext'd (LBA)
/dev/hda5   1130+   24901361-  10932201   83  Linux

 '  (15GB Maxtor 2R015H1):

Disk /dev/hda: 29065 cylinders, 16 heads, 63 sectors/track
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start End   #cyls#blocks   Id  System
/dev/hda1   *  0+733 734-369904+  83  Linux
/dev/hda2734   13537   128046453216   83  Linux
/dev/hda3  13538   145781041 524664   82  Linux swap
  start: (c,h,s) expected (1023,15,63) found (1023,0,1)
/dev/hda4  14579   29064   144867300944f  W95 Ext'd (LBA)
  start: (c,h,s) expected (1023,15,63) found (1023,0,1)
/dev/hda5  14579+  29064   14486-   7300912+  83  Linux
  start: (c,h,s) expected (1023,15,63) found (1023,1,1)


, SysRescueCD.   fsck -f /dev/hda1,2,5 
(  1.34)  , qtparted (  0.4.0,   parted 1.6.6)   
   ,  sfdisk (3.07),
 . ,  grub (0.90)  
   (stage1,2),  
  Uncompressing

, 1  ?  '   ...

,


A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: HDD cloning...

2003-11-15 Thread Georgi Chorbadzhiyski
Andrey Marinov wrote:
.

'  ,-.( ext3/swap )  ( ).

   (  )  Norton Ghost 2003  ,= 4GB. ' (BTW, RHL7.2 2.4.7-10).

   SystemRescueCD - http://www.sysresccd.org ( 0.2.7  -),  ,   '   .( - partimage 0.6.3_beta13)  .

  '  . '(20GB Maxtor,, ):

Disk /dev/hda: 2491 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
   Device Boot Start End   #cyls#blocks   Id  System
/dev/hda1   *  0+ 44  45-361431   83  Linux
/dev/hda2 45106410208193150   83  Linux
/dev/hda3   10651129  65 522112+  82  Linux swap
/dev/hda4   113024901361   10932232+   f  W95 Ext'd (LBA)
/dev/hda5   1130+   24901361-  10932201   83  Linux
 '  (15GB Maxtor 2R015H1):

Disk /dev/hda: 29065 cylinders, 16 heads, 63 sectors/track
Units = cylinders of 516096 bytes, blocks of 1024 bytes, counting from 0
   Device Boot Start End   #cyls#blocks   Id  System
/dev/hda1   *  0+733 734-369904+  83  Linux
/dev/hda2734   13537   128046453216   83  Linux
/dev/hda3  13538   145781041 524664   82  Linux swap
  start: (c,h,s) expected (1023,15,63) found (1023,0,1)
/dev/hda4  14579   29064   144867300944f  W95 Ext'd (LBA)
  start: (c,h,s) expected (1023,15,63) found (1023,0,1)
/dev/hda5  14579+  29064   14486-   7300912+  83  Linux
  start: (c,h,s) expected (1023,15,63) found (1023,1,1)
, SysRescueCD.   fsck -f /dev/hda1,2,5 (  1.34)  , qtparted (  0.4.0,   parted 1.6.6)  ,  sfdisk (3.07), . ,  grub (0.90) (stage1,2),Uncompressing

, 1  ?  '   ...
 binary   norton dryndryn.  
   .
Assuming Target Linux box (from where you want to clone) is up and
running with IP 192.168.0.254
target% nc -l -p 9000 | dd of=/dev/sda
(Replace /dev/sda with actual drive on your target machine)
master% dd if=/dev/sda | nc 192.168.0.254 9000
(Replace /dev/sda with actual drive on your master machine)
see http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html for
details.
You can use the Slackware Live CD on the target machine, it has dd and
netcat (nc) available.
--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



lug-bg: Dictionary

2003-11-15 Thread Peter StJ
, 
   
SAdictinary   -  
   
. 
  .


-- 
We've always watched the stars. If you look at the sky you can see the
beginning of time...

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



lug-bg: port filtering s IPTABE

2003-11-15 Thread neogost2002



 

 ,
.  "ipchains"  
"Debian" .  
"ipfilteringa"   "iptables" 
 .IP 10.2.10.4/32: 
25,110,53,80,6667  "TCP"  53  "UDP" .   "rc.firewal"   
  ,   "SQUID"

   
  neogost
__neo 
ghostICQ#:119959087

  
  
Current ICQ status:
 
  + More ways to contact me 
__


online?icq=119959087img=21
Description: Binary data
#!/bin/sh

. /var/ipcop/ppp/settings
. /var/ipcop/ethernet/settings
IFACE=`/bin/cat /var/ipcop/red/iface | /usr/bin/tr -d '\012'`

iptables_init() {
echo 0  /proc/sys/net/ipv4/conf/all/rp_filter
echo 0  /proc/sys/net/ipv4/conf/all/accept_redirects
echo 0  /proc/sys/net/ipv4/conf/all/accept_source_route
echo 1  /proc/sys/net/ipv4/conf/all/log_martians

# Reduce DoS'ing ability by reducing timeouts
echo   30  /proc/sys/net/ipv4/tcp_fin_timeout
echo0  /proc/sys/net/ipv4/tcp_window_scaling
echo0  /proc/sys/net/ipv4/tcp_timestamps
echo0  /proc/sys/net/ipv4/tcp_sack
echo 1024  /proc/sys/net/ipv4/tcp_max_syn_backlog

# Flush all rules and delete all custom chains
/sbin/iptables -F
/sbin/iptables -t nat -F
/sbin/iptables -X
/sbin/iptables -t nat -X

# Set up policies
/sbin/iptables -P INPUT DROP
/sbin/iptables -P FORWARD DROP
/sbin/iptables -P OUTPUT ACCEPT

# This chain will log, then DROPs Xmas and Null packets which might
# indicate a port-scan attempt
/sbin/iptables -N PSCAN
/sbin/iptables -A PSCAN -p tcp  -m limit --limit 10/minute -j LOG --log-prefix 
TCP Scan? 
/sbin/iptables -A PSCAN -p udp  -m limit --limit 10/minute -j LOG --log-prefix 
UDP Scan? 
/sbin/iptables -A PSCAN -p icmp -m limit --limit 10/minute -j LOG --log-prefix 
ICMP Scan? 
/sbin/iptables -A PSCAN -f  -m limit --limit 10/minute -j LOG --log-prefix 
FRAG Scan? 
/sbin/iptables -A PSCAN -j DROP

# Disallow packets frequently used by port-scanners, XMas and Null
/sbin/iptables -A INPUT   -p tcp --tcp-flags ALL ALL  -j PSCAN
/sbin/iptables -A FORWARD -p tcp --tcp-flags ALL ALL  -j PSCAN
/sbin/iptables -A INPUT   -p tcp --tcp-flags ALL NONE -j PSCAN
/sbin/iptables -A FORWARD -p tcp --tcp-flags ALL NONE -j PSCAN
}

iptables_red() {
/sbin/iptables -F RED
/sbin/iptables -t nat -F RED

# PPPoE / PPTP Device
if [ $IFACE !=  ]; then
# PPPoE / PPTP
if [ $DEVICE !=  ]; then
if [ $IFACE !=  ]; then
# PPPoE / PPTP
if [ $DEVICE !=  ]; then
/sbin/iptables -A RED -i $DEVICE -j ACCEPT
fi
if [ $RED_TYPE = PPTP -o $RED_TYPE = PPPOE ]; then
if [ $RED_DEV !=  ]; then
/sbin/iptables -A RED -i $RED_DEV -j ACCEPT
fi
fi
fi

if [ $IFACE !=  -a -f /var/ipcop/red/active ]; then
# DHCP
if [ $RED_DEV !=  -a $RED_TYPE = DHCP ]; then
/sbin/iptables -A RED -p tcp --source-port 67 
--destination-port 68 -i $IFACE -j ACCEPT
/sbin/iptables -A RED -p udp --source-port 67 
--destination-port 68 -i $IFACE -j ACCEPT
fi
if [ $PROTOCOL = RFC1483 -a $METHOD = DHCP ]; then
/sbin/iptables -A RED -p tcp --source-port 67 
--destination-port 68 -i $IFACE -j ACCEPT
/sbin/iptables -A RED -p udp --source-port 67 
--destination-port 68 -i $IFACE -j ACCEPT
fi

# Allow IPSec
/sbin/iptables -A RED -p 47  -i $IFACE -j ACCEPT
/sbin/iptables -A RED -p 50  -i $IFACE -j ACCEPT
/sbin/iptables -A RED -p 51  -i $IFACE -j ACCEPT
/sbin/iptables -A RED -p udp -i $IFACE --sport 500 --dport 500 -j 
ACCEPT

# Outgoing masquerading
/sbin/iptables -t nat -A RED -o $IFACE -j MASQUERADE
fi
}

# See how we were called.
case $1 in
  start)
iptables_init

# Limit Packets- helps reduce dos/syn attacks
/sbin/iptables -A INPUT -p tcp -m tcp --tcp-flags SYN,RST,ACK SYN -m limit 
--limit 10/sec

# CUSTOM chains, can be used by the users themselves
/sbin/iptables -N CUSTOMINPUT
/sbin/iptables -A INPUT -j CUSTOMINPUT
/sbin/iptables -A CUSTOMINPUT -s 10.2.10.4/32 -d 0/0 -p tcp -j DROP
/sbin/iptables -N CUSTOMFORWARD
/sbin/iptables -A FORWARD -j CUSTOMFORWARD
/sbin/iptables -t nat -N CUSTOMPREROUTING
/sbin/iptables -t nat -A PREROUTING -j CUSTOMPREROUTING

# Accept everyting connected
/sbin/iptables -A INPUT 

Re: lug-bg: Dictionary

2003-11-15 Thread g_YaneV
On Saturday 15 November 2003 16:01, Peter StJ wrote:
 , 

 SAdictinary   -  

 . 
   .


probwai kbedic AZ nego polzwam 

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: Dictionary

2003-11-15 Thread Hristo Hristov
  .   KDEDic.sourceforge.net.  
4.0.,  
SADictionary.  : http://sourceforge.net/projects/kbedic/  
KDE Dictionary.   
 SADictionary.



IcoBgr

- Original Message - 
From: Peter StJ [EMAIL PROTECTED]
To: LUB-BG [EMAIL PROTECTED]
Sent: Saturday, November 15, 2003 11:01 PM
Subject: lug-bg: Dictionary


 , 

 SAdictinary   -  

 . 
   .


 -- 
 We've always watched the stars. If you look at the sky you can see the
 beginning of time...


 A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
 http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
Zagora
 To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html




A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: port filtering s IPTABE

2003-11-15 Thread terahz
neogost2002 [EMAIL PROTECTED]:

  
  , 
   .  
 ipchains  Debian
 .  ipfilteringa   
 iptables   .IP
 10.2.10.4/32 : 25,110,53,80,6667  TCP 
 53  UDP .   rc.firewal ,  
  SQUID

   neogost
 __
 neo ghost
 ICQ#: 119959087
   Current ICQ status:
 +  More ways to contact me
 __



Hi, Shte se opitam on the fly da ti napisha pravila za rc.firewall:

#!bin/sh
IPT=/sbin/ibtables
$int=eth0  #tuk si sloji koito ti e interface-a koito iskash da limitirash

#Default politika da dropva vsickho
$IPT -P INPUT DROP


#razreshavane na portovete, vsichki paketi idvashti ot $int na TCP portove 25,
53, 80, 110 i 6667 shte budat propuskani
$IPB -A INPUT -i $int -p TCP --dport 25   -j ACCEPT
$IPB -A INPUT -i $int -p TCP --dport 53   -j ACCEPT
$IPB -A INPUT -i $int -p TCP --dport 80   -j ACCEPT
$IPB -A INPUT -i $int -p TCP --dport 110  -j ACCEPT
$IPB -A INPUT -i $int -p TCP --dport 6667 -j ACCEPT
$IPB -A INPUT -i $int -p UDP --dport 53   -j ACCEPT

Tova trqbva da se izpulnqva na mashinkata na koqt shte se limitirat neshtata.

Bi trqbvalo da raboti. Ako ne raboti znachi mnogo mi se spi :)
Bye

 !
 3000  http://Femalelife.bg

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html



Re: lug-bg: OpenMosix + Slackware??

2003-11-15 Thread Zachary Evgeniev Dimitrov
On Sat, 15 Nov 2003 17:08:08 +0200
[EMAIL PROTECTED] wrote:

 cd openmosix-tools-0.3.4
 ./configure
 
 checking /usr/src/linux-openmosix/include/hpc/comm.h usability... no
 checking /usr/src/linux-openmosix/include/hpc/comm.h presence... no
 checking for /usr/src/linux-openmosix/include/hpc/comm.h... no
 configure: error: openMosix header files not found
 
   .
, /etc/openmosix.map -
  
 .

 configure --with-kerneldir=/usr/src/linux-2.4.22 (primerno)

A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html