Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Forum italiano (Italian) Forum di discussione italiano
  • Search

[OT]creareun network tap condueschededirete e gentoo[Solved]

Tutte le discussioni direttamente correlabili all'informatica e/o a GNU/*nix.

Moderator: ago

Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Author
Message
CarloJekko
Veteran
Veteran
User avatar
Posts: 1315
Joined: Thu Mar 31, 2005 9:00 am
Location: Baia Domizia :-)
Contact:
Contact CarloJekko
Website

[OT]creareun network tap condueschededirete e gentoo[Solved]

  • Quote

Post by CarloJekko » Mon Dec 12, 2011 1:18 pm

Salve, ho un gentoo con wireshark e due schede di rete.
Il mio obbiettivo è quello di monitorare tutto quello che entra in un router. Mi spiego meglio
Ho una sottorete di classe 10.0.0.0/24 in uno switch (non managed quindi non ci posso operare sopra) con 10 pc.
Ho il router 10.0.0.1 collegato allo stesso switch. Tutti i pc hanno il gw impostato a 10.0.0.1 e non li posso toccare.
Adesso devo sapere tutto quello che entra nel router a livello di rete.
So che esistono network tap in grado di monitorare in maniera non invasiva (http://it.wikipedia.org/wiki/Network_tap)
Io vorrei fare di meglio. Ho un pc con gentoo e due schede di rete
collego una scheda al router e l'altra alla porta dello switch e per magia vorrei che sniffi tutto il traffico forwardando da una scheda all'altra trasperentemente.
Il punto è che gli host non devono cambiare indirizzo di gw e non posso aggiungere altre sottoreti (e gentoo farebbe da stateful firewall il che sarebbe perfetto poichè riuscirei a fare proprio quello che voglio)
Qualche suggerimento?
Grazie !

Risolto -
ip addr flush dev eth0
ip addr flush dev eth1
brctl addbr br0
brctl addif br0 eth0 eth1
ip link set dev br0 up
ifconfig eth0 up
ifconfig eth1 up

________monitor
wireshark br0
oppure
tcpdump -i br0
C.
Top
Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Forum di discussione italiano”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy