bsimecek Posted January 20, 2008 Report Share Posted January 20, 2008 anyone know how to determine normal torrent traffic using linux filtering? My goal is to filter all torrent traffic out to an alternate interface (iptables/ipchains?) Link to comment Share on other sites More sharing options...
jewelisheaven Posted January 20, 2008 Report Share Posted January 20, 2008 Wouldn't you want to go to an iptables tutorial for that instead of posting here? The subject matter is only marginally related (read as: not really) to uT itself... It would better belong in General. Link to comment Share on other sites More sharing options...
Firon Posted January 20, 2008 Report Share Posted January 20, 2008 The problem with that is encrypted traffic. Link to comment Share on other sites More sharing options...
Ultima Posted January 21, 2008 Report Share Posted January 21, 2008 The people who know the answer to your question best would probably have to be those ISPs that throttle BitTorrent (like Comcast's obnoxious use of Sandvine) Link to comment Share on other sites More sharing options...
n00br Posted March 3, 2008 Report Share Posted March 3, 2008 Me thinks... Your talking about "Stateful Policy Management" a.k.a "Session Management" which works by injecting forged reset packets into P2P connections, causing connections to immediately terminate and as Ultima pointed out, rests at the ISP side of the fence. Stateful deep-packet inspection and packet spoofing is integrated with standard L3 routing vectors and look's something like a man-in-the-middle dos attack.. hence why Comcast received a a harty lawsuit, which as a Tier-1 service provider... is kind of :cool:Some more infos:http://citeseer.ist.psu.edu/schmidt02gridella.htmlhttp://www.wipo.int/pctdb/en/wo.jsp?WO=2003%2F094465&IA=WO2003%2F094465&DISPLAY=DESChttp://en.wikipedia.org/wiki/Deep_packet_inspectionanyone know how to determine normal torrent traffic using linux filtering? My goal is to filter all torrent traffic out to an alternate interface (iptables/ipchains?)Wouldn't it be easy enough to assign all P2P or 'torrent' traffic to a specified port and then direct the port to the interface you require? AKA bonding or port trunking? e.g;http://www.linuxhorizon.ro/bonding.html Link to comment Share on other sites More sharing options...
bsimecek Posted March 4, 2008 Author Report Share Posted March 4, 2008 Everyone is being way too deep here...The solution to my problem was to just use iptables routines (ROPE as IPCOP addon) to just forward any p2p traffic to whereever i need it. ROPE basically uses specific packet criteria to distinguish p2p packets and then returns back to iptables a yes (the packet matched) or no so that iptables can handle the packet accordingly...Thanks for the help anyway...My next big step is to be able to create a pptp connection from the IPCOP server (From Scratch Linux) to a third party (creating an interface to forward the p2p packets to)...anyone know the steps to create a pptp connection (pptp is my only option) (probably using pptp and pppd my guess)? Link to comment Share on other sites More sharing options...
Ultima Posted March 5, 2008 Report Share Posted March 5, 2008 The problem with that is encrypted traffic.Judging by the description of ROPE, it does not get around the encryption, since it's simply inspecting the packets. Link to comment Share on other sites More sharing options...
Firon Posted March 5, 2008 Report Share Posted March 5, 2008 You can't identify torrent traffic properly with iptables if it's encrypted. Link to comment Share on other sites More sharing options...
bsimecek Posted March 5, 2008 Author Report Share Posted March 5, 2008 I agree...but since it will be a controlled situation and any incoming connections will get routed and replied to without any obstruction, I shouldn't have an issue. I am not trying to control other users, just trying to get the pptp connection on the router to effectivly route my p2p through a service such as relakks.com.my problem is i don't know much about linux in the area of initiating a pptp connection via pptp and pppd. anyone know how? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.