lug-bg: 2 isp- 2
-- isp1 eth0 dhcp -- eth1 2 ip- 10.255.0.1 192.168.0.1 switch 10.255.0.0/16 192.168.0.0/16 -- isp2 eth2 o ip 192.168.3.64 gw 192.168.3.1 -- ip-10.255.0.0/16 gw isp1gw isp2 ip-192.168.0.0/16 gw isp2gw isp1 -- isp1 ip- ip-to isp1 ip gw . linux advanced routing howto iproute 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: 2 isp- 2
, 2004-09-23 09:52, SleepLess : -- isp1 eth0 dhcp -- eth1 2 ip- 10.255.0.1 192.168.0.1 switch 10.255.0.0/16 192.168.0.0/16 -- isp2 eth2 o ip 192.168.3.64 gw 192.168.3.1 -- ip-10.255.0.0/16 gw isp1gw isp2 ip-192.168.0.0/16 gw isp2gw isp1 -- isp1 ip- ip-to isp1 ip gw . linux advanced routing howto iproute , , ... , ip rule add src net1 table 3 ip rule add src net2 table 4 ip route add default via net1-gw table 3 src net1-src ip route add default via net2-gw table 3 src net2-src reference ip, . signature.asc Description: This is a digitally signed message part
Re: lug-bg: 2 isp- 2
On Thursday 23 September 2004 06:52 am, SleepLess wrote: -- isp1 eth0 dhcp -- eth1 2 ip- 10.255.0.1 192.168.0.1 switch 10.255.0.0/16 192.168.0.0/16 -- isp2 eth2 o ip 192.168.3.64 gw 192.168.3.1 -- ip-10.255.0.0/16 gw isp1gw isp2 ip-192.168.0.0/16 gw isp2gw isp1 -- isp1 ip- ip-to isp1 ip gw . linux advanced routing howto iproute === = 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 === = , :) :) : isp1=`ifconfig eth0|grep inet|awk '{print $2}'|cut -c 6-21` isp2=`192.168.3.64` iptables -t nat -A POSTROUTING -s 10.255.0.X/XX -j SNAT -to $isp1 iptables -t nat -A POSTROUTING -s 192.168.0.X/XX -j SNAT -to $isp1 - :) :) firewalls shapers? . -- One Planet, One Internet... We Are All Connected... 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: Linux Route
Dean Stoeff [EMAIL PROTECTED] atlas wrote: , USB PPP0, . *.MP3 Internet ? : /usr/doc/Linux-HOWTOs/TransparentProxy Squid SQUID v.2.5. , ACL . squid.conf : acl fileupload req_mime_type -i ^multipart/form-data$ acl javascript rep_mime_type -i ^application/x-javascript$ MP3. 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: Linux Route
On Thu, 2004-09-23 at 14:17, atlas wrote: Dean Stoeff [EMAIL PROTECTED] atlas wrote: , USB PPP0, . *.MP3 Internet ? : /usr/doc/Linux-HOWTOs/TransparentProxy Squid SQUID v.2.5. , ACL . squid.conf : acl fileupload req_mime_type -i ^multipart/form-data$ acl javascript rep_mime_type -i ^application/x-javascript$ MP3. : acl files urlpath_regex -i \.mp3$ \.mpg$ \.mpeg$ \.avi$ \.asf$ \.wma$ \.exe$ :) -- Best regards George Vamporov 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: Linux Route
, 2004-09-23 14:39, George : : acl files urlpath_regex -i \.mp3$ \.mpg$ \.mpeg$ \.avi$ \.asf$ \.wma$ \.exe$ :) squid-,, neshto.mp3?a ? .. urlpathquery string-? signature.asc Description: This is a digitally signed message part
Re: lug-bg: 2 isp- 2
On Thursday 23 September 2004 13:20, Marian D Marinov wrote: iptables -t nat -A POSTROUTING -s 10.255.0.X/XX -j SNAT -to $isp1 iptables -t nat -A POSTROUTING -s 192.168.0.X/XX -j SNAT -to $isp1 .. . :) firewalls shapers? IP, . -j MASQUERADE 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: Linux Route
On Thu, 2004-09-23 at 15:01, wrote: , 2004-09-23 14:39, George : : acl files urlpath_regex -i \.mp3$ \.mpg$ \.mpeg$ \.avi$ \.asf$ \.wma$ \.exe$ :) squid-,, neshto.mp3?a ? .. urlpathquery string-? ... :( .! -- Best regards George Vamporov 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: Linux Route
, 2004-09-23 15:22, George : On Thu, 2004-09-23 at 15:01, wrote: , 2004-09-23 14:39, George : : acl files urlpath_regex -i \.mp3$ \.mpg$ \.mpeg$ \.avi$ \.asf$ \.wma$ \.exe$ :) squid-,, neshto.mp3?a ? .. urlpathquery string-? ... :( .! .. ? mp3-, ?:) : acl files urlpath_regex -i \.mp3$ \.mp3\? signature.asc Description: This is a digitally signed message part
Re: lug-bg: Linux Route
On Thu, Sep 23, 2004 at 03:01:03PM +0300, wrote: , 2004-09-23 14:39, George : : acl files urlpath_regex -i \.mp3$ \.mpg$ \.mpeg$ \.avi$ \.asf$ \.wma$ \.exe$ :) squid-,, neshto.mp3?a ? .. urlpathquery string-? squid, regexps :) '$' , URL-, mp3/mpg/mpeg/avi/asf/wma/exe. squid extended Perl-like regular expressions ( :), , \.(mp3|mpg|mpeg|avi|asf|wma|exe)($|[?#]) :) , -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This would easier understand fewer had omitted. pgpQgXma9woYB.pgp Description: PGP signature
Re: lug-bg: Linux Route
wrote: , 2004-09-23 14:39, George : : acl files urlpath_regex -i \.mp3$ \.mpg$ \.mpeg$ \.avi$ \.asf$ \.wma$ \.exe$ :) squid-,, neshto.mp3?a ? .. urlpathquery string-? --enable-gnuregex Compile GNUregex ...mp3?.. . !!! 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: Linux Route
On Thu, Sep 23, 2004 at 03:38:38PM +0300, Zhasmin Zhelev wrote: wrote: , 2004-09-23 14:39, George : : acl files urlpath_regex -i \.mp3$ \.mpg$ \.mpeg$ \.avi$ \.asf$ \.wma$ \.exe$ :) squid-,, neshto.mp3?a ? .. urlpathquery string-? --enable-gnuregex Compile GNUregex ...mp3?.. . !!! ... , GNUregex , '$' regex-... , -- Peter Pentchev [EMAIL PROTECTED][EMAIL PROTECTED][EMAIL PROTECTED] PGP key:http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am the thought you are now thinking. pgpoPyYrPgn8s.pgp Description: PGP signature
Re: lug-bg: 2 isp- 2
Marian D Marinov : :) firewalls shapers? . C , (, ipv6 ..) . . gcc -s -o inetaddrof inetaddrof.c ./inetaddrof eth0 . #include arpa/inet.h #include linux/if.h #include stdio.h #include stdlib.h #include sys/ioctl.h #include sys/socket.h int main(int ARGC, char *ARGV[]) { fclose(stdin); if(2 != ARGC) { fprintf(stderr, Usage: %s interface_name\n, *ARGV); return EXIT_FAILURE; } if(strlen(*(ARGV + 1)) = IFNAMSIZ) { fprintf(stderr, %s: too long to be an interface name\n, *(ARGV + 1)); return EXIT_FAILURE; } int f = socket(PF_INET, SOCK_DGRAM, 0); if(-1 == f) { perror(socket); return EXIT_FAILURE; } struct ifreq ifr; strcpy((char*)ifr, *(ARGV + 1)); if(-1 == ioctl(f, SIOCGIFADDR, ifr)) { perror(ioctl); return EXIT_FAILURE; } printf(%s, inet_ntoa(((struct sockaddr_in*)ifr.ifr_ifru.ifru_addr)-sin_addr)); return EXIT_SUCCESS; }
lug-bg: Problem s bind9 view options
! : bind9, view statement: : 192.168.11.0/24 DNS IP 192.168.11.5, 192.168.11.1. Apache. UDP port 53 DNS-a, 80. DNS . WEB-a fake IP. : logging { channel syslog_errors {syslog daemon; severity info; }; channel debug_file {file debuglog; severity dynamic;}; category queries {debug_file; }; }; key key_rndc { algorithm hmac-md5; secret ; }; controls { inet 192.168.11.5 port 953 allow {localhost;} keys {key_rndc;} ; }; options { directory /var/named; pid-file /var/run/named/pid; }; view internal { match-clients { 192.168.0.0/16; 127.0.0.1; }; recursion yes; zone . { type hint; file named.root; }; zone internal { type master; file internal; }; zone 0.0.127.IN-ADDR.ARPA { type master; file localhost.rev; }; zone 11.168.192.IN-ADDR.ARPA { type master; file 11.168.192.IN-ADDR.ARPA; }; }; view external { match-clients { any; }; recursion no; zone . { type hint; file named.root; }; zone frigus.bg { type master; file frigus.bg; }; zone 3.36.212.IN-ADDR.ARPA { type master; file 3.36.212.IN-ADDR.ARPA; }; }; . ( :-) ). : nslookup timeout. . checkconf . , : client 192.168.11.44#1027: query: ns.frigus.bg IN A client 192.168.11.44#1027: query: ns.frigus.bg IN A client 192.168.11.44#1027: query: ns.frigus.bg IN A ns.frigus.bg record-a internal ,. . . . 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: 2 isp- 2
On Thursday 23 September 2004 16:20, wrote: Marian D Marinov : :) firewalls shapers? ? #!/bin/sh ifconfig | grep -A 1 ^$1 | grep addr: | cut -f 2 -d : | cut -f 1 -d . 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: 2 isp- 2
, 2004-09-23 19:06, Dragomir Zhelev : On Thursday 23 September 2004 16:20, wrote: Marian D Marinov : :) firewalls shapers? ? #!/bin/sh ifconfig | grep -A 1 ^$1 | grep addr: | cut -f 2 -d : | cut -f 1 -d , eth0:0, ip addr add, ifconfig. , eth0:0 , eth0.42 ... : server:~# ip a 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 192.168.255.254/32 brd 192.168.255.255 scope global eth0 3: eth1: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 1000 link/ether 00:02:b3:ea:14:4e brd ff:ff:ff:ff:ff:ff 5: eth0.52: BROADCAST,MULTICAST,UP mtu 1500 qdisc noqueue link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 10.0.52.21/24 brd 10.255.255.255 scope global eth0.52 6: eth0.53: BROADCAST,MULTICAST,UP mtu 1500 qdisc noqueue link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 10.0.53.1/24 brd 10.255.255.255 scope global eth0.53 inet 10.0.53.16/32 scope global eth0.53 signature.asc Description: This is a digitally signed message part
Re: lug-bg: 2 isp- 2
, 2004-09-23 19:23, Vasil Kolev : : server:~# ip a 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 192.168.255.254/32 brd 192.168.255.255 scope global eth0 3: eth1: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 1000 link/ether 00:02:b3:ea:14:4e brd ff:ff:ff:ff:ff:ff 5: eth0.52: BROADCAST,MULTICAST,UP mtu 1500 qdisc noqueue link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 10.0.52.21/24 brd 10.255.255.255 scope global eth0.52 6: eth0.53: BROADCAST,MULTICAST,UP mtu 1500 qdisc noqueue link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 10.0.53.1/24 brd 10.255.255.255 scope global eth0.53 inet 10.0.53.16/32 scope global eth0.53 , eth0.53 53 VLAN (802.1q) signature.asc Description: This is a digitally signed message part
Re: lug-bg: 2 isp- 2
On Thursday 23 September 2004 20:38, Vasil Kolev wrote: , 2004-09-23 19:23, Vasil Kolev : : server:~# ip a 1: lo: LOOPBACK,UP mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: eth0: BROADCAST,MULTICAST,UP mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 192.168.255.254/32 brd 192.168.255.255 scope global eth0 3: eth1: BROADCAST,MULTICAST mtu 1500 qdisc noop qlen 1000 link/ether 00:02:b3:ea:14:4e brd ff:ff:ff:ff:ff:ff 5: eth0.52: BROADCAST,MULTICAST,UP mtu 1500 qdisc noqueue link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 10.0.52.21/24 brd 10.255.255.255 scope global eth0.52 6: eth0.53: BROADCAST,MULTICAST,UP mtu 1500 qdisc noqueue link/ether 00:02:b3:ea:14:4f brd ff:ff:ff:ff:ff:ff inet 10.0.53.1/24 brd 10.255.255.255 scope global eth0.53 inet 10.0.53.16/32 scope global eth0.53 , eth0.53 53 VLAN (802.1q) : #!/bin/sh ip a |grep -A 1 $1 | grep inet |cut -c 10- |awk '{print $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
lug-bg: how to change sound irq
! Slackware 10 (2.4.26). (Yamaha 724) (8139) . NE2000- (ISA). io=0x340, irq=3 (COM2/4 ). ne.o . rc.modules, irq3 . irq-. irq ? ? 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