Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Po zapodaniu przykladowo polecenia
arptables -A INPUT -s 192.168.9.1 -j ACCEPT
Denbian ładuje moduły:
rptable_filter 2176 1 arp_tables 13312 1 arptable_filter
Czy z tego wynika program arptables juz ma w sobie taki bajer który nakazuej mu zaladowac odpowiedni moduł?
A tak w ogole to czy tego czasem nie jest za dużo?
a@debian:~$ lsmod Module Size Used by arptable_filter 2176 1 arp_tables 13312 1 arptable_filter ipv6 230656 8 ipt_REJECT 5376 2 iptable_nat 7428 0 ip_nat 17588 1 iptable_nat iptable_filter 2944 1 af_packet 21256 2 i2c_nforce2 6656 0 isofs 33336 2 nls_iso8859_2 4736 1 nls_cp437 5888 4 ntfs 89072 3 emu10k1 72836 0 sound 73900 1 emu10k1 ac97_codec 17420 1 emu10k1 snd_intel8x0 31200 0 snd_ac97_codec 82556 1 snd_intel8x0 snd_ac97_bus 2304 1 snd_ac97_codec snd_pcm_oss 47136 0 snd_mixer_oss 16640 1 snd_pcm_oss snd_pcm 81928 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_page_alloc 10248 2 snd_intel8x0,snd_pcm snd_seq_dummy 3844 0 snd_seq_oss 30720 0 snd_seq_midi 8608 0 snd_rawmidi 24096 1 snd_seq_midi snd_seq_midi_event 7168 2 snd_seq_oss,snd_seq_midi snd_seq 47376 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event snd_timer 23428 2 snd_pcm,snd_seq snd_seq_device 8204 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq snd 50660 10 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 10080 3 emu10k1,sound,snd ipt_LOG 6144 2 ipt_state 1920 2 ip_tables 20480 5 ipt_REJECT,iptable_nat,iptable_filter,ipt_LOG,ipt_state ip_conntrack 44944 3 iptable_nat,ip_nat,ipt_state ext3 119304 1 jbd 53524 1 ext3 lp 10948 0 parport_pc 32452 1 parport 33480 2 lp,parport_pc pcspkr 3936 0 usblp 12032 0 8139cp 20608 0 shpchp 81124 0 pci_hotplug 26420 1 shpchp forcedeth 20352 0 amd64_agp 11592 1 ide_scsi 15748 0 loop 16008 4 dm_mod 51516 0 w83627hf 23184 0 hwmon_vid 2560 1 w83627hf i2c_isa 4864 1 w83627hf i2c_core 20880 3 i2c_nforce2,w83627hf,i2c_isa tsdev 7360 0 mousedev 11040 2 evdev 8960 0 ati_agp 8332 0 agpgart 32712 2 amd64_agp,ati_agp psmouse 33412 0 genrtc 9736 0 8139too 26112 0 mii 4992 2 8139cp,8139too sd_mod 17296 6 ide_cd 37508 0 cdrom 34336 1 ide_cd ide_disk 16256 0 ide_generic 1408 0 [permanent] pdc202xx_new 7936 0 [permanent] aec62xx 7168 0 [permanent] alim15x3 10764 0 [permanent] amd74xx 12828 0 [permanent] atiixp 5904 0 [permanent] cmd64x 10524 0 [permanent] cs5520 4608 0 [permanent] cs5530 5248 0 [permanent] cy82c693 4484 0 [permanent] generic 4484 0 [permanent] hpt34x 4992 0 [permanent] ns87415 4168 0 [permanent] opti621 4484 0 [permanent] pdc202xx_old 9984 0 [permanent] piix 9604 0 [permanent] rz1000 2688 0 [permanent] sc1200 6784 0 [permanent] serverworks 8584 0 [permanent] siimage 11136 0 [permanent] sis5513 14216 0 [permanent] slc90e66 5376 0 [permanent] triflex 3840 0 [permanent] trm290 4100 0 [permanent] via82cxxx 11932 0 [permanent] floppy 56132 0 usb_storage 58432 0 ide_core 113888 29 ide_scsi,ide_cd,ide_disk,ide_generic,pdc202xx_new,aec62xx,alim15x3,amd74xx,atiixp,cmd64x,cs5520,cs5530,cy82c693,generic,hpt34x,ns87415,opti621,pdc202xx_old,piix,rz1000,sc1200,serverworks,siimage,sis5513,slc90e66,triflex,trm290,via82cxxx,usb_storage fbcon 36480 71 tileblit 2432 1 fbcon font 8320 1 fbcon bitblit 4992 1 fbcon vga16fb 11848 1 cfbcopyarea 4480 1 vga16fb vgastate 8192 1 vga16fb cfbimgblt 3072 1 vga16fb cfbfillrect 3712 1 vga16fb softcursor 2176 1 vga16fb usbserial 28520 0 usbhid 33120 0 usbkbd 6656 0 ehci_hcd 31112 0 ohci_hcd 19588 0 usbcore 108800 8 usblp,usb_storage,usbserial,usbhid,usbkbd,ehci_hcd,ohci_hcd thermal 13192 0 processor 23484 1 thermal fan 4612 0 sata_nv 9348 5 libata 43912 1 sata_nv scsi_mod 129256 4 ide_scsi,sd_mod,usb_storage,libata unix 26416 243
Offline
Program arptables, podobnie jak iptables, ładuje potrzebne moduły.
Pozostałe moduły wgrywają skrypty startowe. Przejrzyj /etc/init.d/discover, discover(8) i discover.conf(5).
Offline
W sum8e nie rozumiem tego ale wierze Ci na słwo ;)
Offline
A co tu rozumieć?
$ man discover
$ man discover.conf
$ less /etc/init.d/discover
Offline
No musialbym sie znac na programowaniu.
Offline
Acha, to olej /etc/init.d/discover. Skup się na manach. W /etc/discover.conf, /etc/discover.conf-2.6 /etc/discover.d/* i /etc/discover.conf.d/* konfigurujesz to narzędzie.
Offline