Re: [pox-dev] dec_ttl not working
Have you tried looking at the table on the switch and verifying that you see the entry as you expect (e.g., including the decrement action)? The easiest way to do this is probably using ovs-ofctl. -- Murphy On Feb 28, 2015, at 12:28 PM, AMER amer7...@hotmail.com wrote: Hello, Dear I am using mininet v 2.0 and OVS 1,10 I run wireshatk in the background to check the IP-TTL value, however it isn't decremented I have used the following commands in riplpox to decrement the IP_TTL in reactive mode def install(self, port, packet, buf = None, idle_timeout = 0, hard_timeout = 0, priority = of.OFP_DEFAULT_PRIORITY): #msg = of.ofp_flow_mod() msg = nx.nx_flow_mod() # msg.match = match msg.match.eth_src = packet.src msg.match.eth_dst = packet.dst msg.idle_timeout = idle_timeout msg.hard_timeout = hard_timeout msg.priority = priority msg.actions.append(nx.nx_action_dec_ttl()) msg.actions.append(of.ofp_action_output(port = port)) msg.buffer_id = buf self.connection.send(msg) Best regards, Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA
Re: [pox-dev] dec_ttl not working
However, I tried it with proactive mode, unfortunately noting decremented Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA From: amer7...@hotmail.com To: murphy.mccau...@gmail.com; pox-dev@lists.noxrepo.org Date: Sat, 28 Feb 2015 20:28:49 + Subject: [pox-dev] dec_ttl not working Hello, Dear I am using mininet v 2.0 and OVS 1,10 I run wireshatk in the background to check the IP-TTL value, however it isn't decremented I have used the following commands in riplpox to decrement the IP_TTL in reactive mode def install(self, port, packet, buf = None, idle_timeout = 0, hard_timeout = 0, priority = of.OFP_DEFAULT_PRIORITY): #msg = of.ofp_flow_mod() msg = nx.nx_flow_mod() # msg.match = match msg.match.eth_src = packet.src msg.match.eth_dst = packet.dst msg.idle_timeout = idle_timeout msg.hard_timeout = hard_timeout msg.priority = priority msg.actions.append(nx.nx_action_dec_ttl()) msg.actions.append(of.ofp_action_output(port = port)) msg.buffer_id = buf self.connection.send(msg) Best regards, Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA
[pox-dev] dec_ttl not working
Hello, Dear I am using mininet v 2.0 and OVS 1,10 I run wireshatk in the background to check the IP-TTL value, however it isn't decremented I have used the following commands in riplpox to decrement the IP_TTL in reactive mode def install(self, port, packet, buf = None, idle_timeout = 0, hard_timeout = 0, priority = of.OFP_DEFAULT_PRIORITY): #msg = of.ofp_flow_mod() msg = nx.nx_flow_mod() # msg.match = match msg.match.eth_src = packet.src msg.match.eth_dst = packet.dst msg.idle_timeout = idle_timeout msg.hard_timeout = hard_timeout msg.priority = priority msg.actions.append(nx.nx_action_dec_ttl()) msg.actions.append(of.ofp_action_output(port = port)) msg.buffer_id = buf self.connection.send(msg) Best regards, Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA
Re: [pox-dev] dec_ttl not working
Thank you Murphy I dump the flow table of one of the switches, I found the dec_ttl there. I used the following command: sh ovs-ofctl dump-flows 0_0_1 Best regards, Sent from my iPhone On ٠١/٠٣/٢٠١٥, at ٣:٠٧ ص, Murphy McCauley murphy.mccau...@gmail.com wrote: Have you tried looking at the table on the switch and verifying that you see the entry as you expect (e.g., including the decrement action)? The easiest way to do this is probably using ovs-ofctl. -- Murphy On Feb 28, 2015, at 12:28 PM, AMER amer7...@hotmail.com wrote: Hello, Dear I am using mininet v 2.0 and OVS 1,10 I run wireshatk in the background to check the IP-TTL value, however it isn't decremented I have used the following commands in riplpox to decrement the IP_TTL in reactive mode def install(self, port, packet, buf = None, idle_timeout = 0, hard_timeout = 0, priority = of.OFP_DEFAULT_PRIORITY): #msg = of.ofp_flow_mod() msg = nx.nx_flow_mod() # msg.match = match msg.match.eth_src = packet.src msg.match.eth_dst = packet.dst msg.idle_timeout = idle_timeout msg.hard_timeout = hard_timeout msg.priority = priority msg.actions.append(nx.nx_action_dec_ttl()) msg.actions.append(of.ofp_action_output(port = port)) msg.buffer_id = buf self.connection.send(msg) Best regards, Eng Amer Alghadhban COE SANS-GCFW CEH, SCNP, CCNA