1 Summary: Switches in redundant servers using arp spoofing
2 Summary(pl): Prze³±czanie redundantnych serwerów poprzez arp spoofing
7 Group: Networking/Utilities
8 Source0: ftp://ftp.vergenet.net/pub/fake/%{version}/%{name}-%{version}.tar.gz
9 URL: http://www.ca.us.vergenet.net/linux/fake/
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 Fake is a simple utility designed to enable the switching in of backup
14 servers on a LAN. For example, fake can be used to switch in backup
15 mail, Web, and proxy servers during periods of both unscheduled and
16 scheduled down time. Fake works by bringing up an additional interface
17 and using ARP spoofing to take over the IP address of another machine
18 on the LAN. The additional interface can be a physical interface or a
19 logical interface (an IP alias). Fake is configurable and can be
20 automated using systems that monitor the availability of servers (like
24 Fake jest prostym narzêdziem pozwalaj±cym na w³±czanie zapasowych
25 serwerów w sieci. Na przyk³ad, mo¿e byæ u¿yty do w³±czenia zapasowego
26 serwera poczty, WWW, proxy w czasie zamierzonego lub niezamierzonego
27 nie dzia³ania podstawowego serwera. Fake dzia³a poprzez podnoszenie
28 dodatkowego interfejsu i spoofowanie adresu ARP aby przej±æ adres IP
29 innej maszyny w sieci lokalnej. Dodatkowy interfejs mo¿e byæ
30 interfejsem fizycznym lub logicznym (aliasem IP). Fake jest
31 konfigurowalny i mo¿e u¿ywaæ systemów automatycznie monitoruj±cych
32 dostêpno¶æ serwerów (np. Heartbeat lub Heart).
39 %{__make} CC="%{__cc} %{rpmcflags}"
42 rm -rf $RPM_BUILD_ROOT
44 %{__make} ROOT_DIR=$RPM_BUILD_ROOT install
46 rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/fake/run/CVS
48 gzip -9nf README AUTHORS ChangeLog docs/{arp_fun,redundant_linux}.txt
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
55 %doc *.gz docs/*.txt.gz
56 %dir %{_sysconfdir}/fake
57 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fake/.fakerc
58 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fake/clear_routers
59 %dir %{_sysconfdir}/fake/instance_config
60 %config %{_sysconfdir}/fake/instance_config/203.12.97.7.cfg
61 %attr(755,root,root) %{_bindir}/send_arp
62 %attr(755,root,root) %{_bindir}/fake