Packets with local spoofed address
(self, af, acl_side)
| 50 | conn1.send_through(1) |
| 51 | |
| 52 | def run_negative_conn_test(self, af, acl_side): |
| 53 | """Packets with local spoofed address""" |
| 54 | conn1 = Conn(self, self.pg0, self.pg1, af, UDP, 42001, 4242) |
| 55 | try: |
| 56 | p2 = conn1.send_through(0).command() |
| 57 | except: |
| 58 | # If we asserted while waiting, it's good. |
| 59 | # the conn should have timed out. |
| 60 | p2 = None |
| 61 | self.assert_equal(p2, None, ": packet should have been dropped") |
| 62 | |
| 63 | def test_0010_basic_conn_test(self): |
| 64 | """IPv4 basic connectivity test""" |
no test coverage detected