summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
AgeCommit message (Expand)AuthorFilesLines
2017-12-18session api: Fix Coverity Warning CID 180115Dave Wallace1-1/+1
2017-12-14session: cleanup attach flagsFlorin Coras6-39/+28
2017-12-12session: fix proxy removalFlorin Coras1-20/+68
2017-12-11session: generalize handling of network transportsFlorin Coras11-185/+241
2017-12-10make sure the very first fragment triggers an rx_callbackAndreas Schultz1-0/+1
2017-12-10VPP-1077 Add meaningful error info, when executing command with enable/disabl...Swarup Nayak1-1/+1
2017-12-06session: support for rule tags overwritingFlorin Coras2-67/+156
2017-12-01session: allocate cb messages from client ringFlorin Coras1-5/+5
2017-11-29session: fix preallocation of local endpoint tableFlorin Coras4-14/+40
2017-11-28Shut down session queue input nodes on exitDave Barach2-0/+21
2017-11-28tcp: fix retransmissions under buffer shortageFlorin Coras1-2/+1
2017-11-27session: return bound listener for proxy acceptsFlorin Coras3-1/+14
2017-11-26Fix session rule port endianness.Milan Lenco2-14/+16
2017-11-22session: do not check transport for local table bindsFlorin Coras1-9/+9
2017-11-22session: more rules unit tests and cli improvementsFlorin Coras3-17/+142
2017-11-21session: unset fifo event before reading fifo sizeFlorin Coras1-6/+4
2017-11-20session/tcp: filtering improvementsFlorin Coras5-106/+204
2017-11-19session: fix session rules api to use transport protoFlorin Coras1-0/+1
2017-11-17vppcom: improve listener session handlingFlorin Coras2-16/+36
2017-11-12session: add handle to disconnect_session_reply api msg.Dave Wallace1-1/+1
2017-11-10session: add app ns index to ns create apiFlorin Coras2-3/+31
2017-11-10session: use listener logic for proxy rulesFlorin Coras5-53/+133
2017-11-10session: use pool for segment manager propertiesFlorin Coras5-37/+83
2017-11-09session: fix app index in unbindFlorin Coras1-1/+1
2017-11-09session: lookup/rules table improvements and cleanupFlorin Coras6-206/+361
2017-11-09session: fix app ns list cli dumpFlorin Coras1-4/+8
2017-11-08session: fix show app ns table cliFlorin Coras1-10/+15
2017-11-07session: fix v6 double bindsFlorin Coras4-8/+100
2017-11-06session: add rule tagsFlorin Coras12-235/+468
2017-11-05session: add api to dump rulesFlorin Coras7-25/+253
2017-11-03session: support drop action in rules tableFlorin Coras4-36/+114
2017-11-02session/udp: init rw locksFlorin Coras1-1/+6
2017-11-01session: fix proxy coverity warningsFlorin Coras1-1/+2
2017-11-01session: add support for proxying appsFlorin Coras9-32/+344
2017-10-29session: fix coverity warningsFlorin Coras1-4/+4
2017-10-28session: rules tablesFlorin Coras19-11/+1974
2017-10-27session: instantiate appns lookup table only onceFlorin Coras2-7/+11
2017-10-26session: swap appns secret to host byte orderFlorin Coras1-1/+1
2017-10-26VCL: add session namespace support.Dave Wallace3-17/+40
2017-10-17session: fix connect corner case crash.Dave Wallace1-17/+20
2017-10-17session: return local transport endpoint in connect replyFlorin Coras3-1/+14
2017-10-16session: fix build when debugging is onFlorin Coras3-3/+3
2017-10-16udp: refactor udp codeFlorin Coras18-391/+951
2017-10-10session: add support for application namespacingFlorin Coras21-630/+2462
2017-10-09vppapigen: support per-file (major,minor,patch) version stampsDave Barach1-1/+3
2017-09-20session: store tep port in net orderFlorin Coras2-7/+7
2017-09-19session/tcp: improve preallocated segment handlingFlorin Coras4-53/+61
2017-09-18Fixes for issues Coverity has reported (VPP-972)Chris Luke3-38/+12
2017-09-12tcp: horizontal scaling improvmentsFlorin Coras2-12/+15
2017-09-07Fix session connect_* api message handling.Dave Wallace3-46/+47
pan class="n">addr_type, remote_tun_if_host) r_startaddr = r_stopaddr = cls.pg1.remote_addr_n[addr_type] cls.vapi.ipsec_spd_add_del_entry(cls.tun_spd_id, vpp_tun_sa_id, l_startaddr, l_stopaddr, r_startaddr, r_stopaddr, priority=10, policy=3, is_outbound=0, is_ipv6=is_ipv6) cls.vapi.ipsec_spd_add_del_entry(cls.tun_spd_id, scapy_tun_sa_id, r_startaddr, r_stopaddr, l_startaddr, l_stopaddr, priority=10, policy=3, is_ipv6=is_ipv6) r_startaddr = r_stopaddr = cls.pg0.local_addr_n[addr_type] cls.vapi.ipsec_spd_add_del_entry(cls.tun_spd_id, vpp_tun_sa_id, l_startaddr, l_stopaddr, r_startaddr, r_stopaddr, priority=20, policy=3, is_outbound=0, is_ipv6=is_ipv6) cls.vapi.ipsec_spd_add_del_entry(cls.tun_spd_id, scapy_tun_sa_id, r_startaddr, r_stopaddr, l_startaddr, l_stopaddr, priority=20, policy=3, is_ipv6=is_ipv6) @classmethod def config_ah_tra(cls, params): addr_type = params.addr_type is_ipv6 = params.is_ipv6 scapy_tra_sa_id = params.scapy_tra_sa_id scapy_tra_spi = params.scapy_tra_spi vpp_tra_sa_id = params.vpp_tra_sa_id vpp_tra_spi = params.vpp_tra_spi auth_algo_vpp_id = params.auth_algo_vpp_id auth_key = params.auth_key crypt_algo_vpp_id = params.crypt_algo_vpp_id crypt_key = params.crypt_key addr_any = params.addr_any addr_bcast = params.addr_bcast cls.vapi.ipsec_sad_add_del_entry(scapy_tra_sa_id, scapy_tra_spi, auth_algo_vpp_id, auth_key, crypt_algo_vpp_id, crypt_key, cls.vpp_ah_protocol, is_tunnel=0, is_tunnel_ipv6=0) cls.vapi.ipsec_sad_add_del_entry(vpp_tra_sa_id, vpp_tra_spi, auth_algo_vpp_id, auth_key, crypt_algo_vpp_id, crypt_key, cls.vpp_ah_protocol, is_tunnel=0, is_tunnel_ipv6=0) l_startaddr = r_startaddr = socket.inet_pton(addr_type, addr_any) l_stopaddr = r_stopaddr = socket.inet_pton(addr_type, addr_bcast) cls.vapi.ipsec_spd_add_del_entry(cls.tra_spd_id, vpp_tra_sa_id, l_startaddr, l_stopaddr, r_startaddr, r_stopaddr, is_ipv6=is_ipv6, protocol=socket.IPPROTO_AH) cls.vapi.ipsec_spd_add_del_entry(cls.tra_spd_id, scapy_tra_sa_id, l_startaddr, l_stopaddr, r_startaddr, r_stopaddr, is_outbound=0, is_ipv6=is_ipv6, protocol=socket.IPPROTO_AH) l_startaddr = l_stopaddr = cls.tra_if.local_addr_n[addr_type] r_startaddr = r_stopaddr = cls.tra_if.remote_addr_n[addr_type] cls.vapi.ipsec_spd_add_del_entry(cls.tra_spd_id, vpp_tra_sa_id, l_startaddr, l_stopaddr, r_startaddr, r_stopaddr, priority=10, policy=3, is_outbound=0, is_ipv6=is_ipv6) cls.vapi.ipsec_spd_add_del_entry(cls.tra_spd_id, scapy_tra_sa_id, l_startaddr, l_stopaddr, r_startaddr, r_stopaddr, priority=10, policy=3, is_ipv6=is_ipv6) def tearDown(self): super(TemplateIpsecAh, self).tearDown() if not self.vpp_dead: self.vapi.cli("show hardware") class TestIpsecAh1(TemplateIpsecAh, IpsecTraTests, IpsecTunTests): """ Ipsec AH - TUN & TRA tests """ pass class TestIpsecAh2(TemplateIpsecAh, IpsecTcpTests): """ Ipsec AH - TCP tests """ pass if __name__ == '__main__': unittest.main(testRunner=VppTestRunner)