1. 04 1月, 2006 2 次提交
  2. 30 11月, 2005 1 次提交
  3. 09 11月, 2005 2 次提交
  4. 09 10月, 2005 1 次提交
  5. 05 10月, 2005 1 次提交
  6. 15 9月, 2005 2 次提交
    • J
      [IPVS]: ip_vs_ftp breaks connections using persistence · 87375ab4
      Julian Anastasov 提交于
      ip_vs_ftp when loaded can create NAT connections with unknown client
      port for passive FTP. For such expectations we lookup with cport=0 on
      incoming packet but it matches the format of the persistence templates
      causing packets to other persistent virtual servers to be forwarded to
      real server without creating connection. Later the reply packets are
      treated as foreign and not SNAT-ed.
      
      This patch changes the connection lookup for packets from clients:
      
      * introduce IP_VS_CONN_F_TEMPLATE connection flag to mark the
        connection as template
      
      * create new connection lookup function just for templates -
        ip_vs_ct_in_get
      
      * make sure ip_vs_conn_in_get hits only connections with
        IP_VS_CONN_F_NO_CPORT flag set when s_port is 0. By this way
        we avoid returning template when looking for cport=0 (ftp)
      Signed-off-by: NJulian Anastasov <ja@ssi.bg>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      87375ab4
    • J
      [IPVS]: Really invalidate persistent templates · f5e229db
      Julian Anastasov 提交于
      Agostino di Salle noticed that persistent templates are not
      invalidated due to buggy optimization.
      Signed-off-by: NJulian Anastasov <ja@ssi.bg>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f5e229db
  7. 30 8月, 2005 5 次提交
  8. 12 7月, 2005 2 次提交
  9. 29 6月, 2005 1 次提交
    • N
      [IPVS]: Close race conditions on ip_vs_conn_tab list modification · fb3d8949
      Neil Horman 提交于
      In an smp system, it is possible for an connection timer to expire, calling
      ip_vs_conn_expire while the connection table is being flushed, before
      ct_write_lock_bh is acquired.
      
      Since the list iterator loop in ip_vs_con_flush releases and re-acquires the
      spinlock (even though it doesn't re-enable softirqs), it is possible for the
      expiration function to modify the connection list, while it is being traversed
      in ip_vs_conn_flush.
      
      The result is that the next pointer gets set to NULL, and subsequently
      dereferenced, resulting in an oops.
      Signed-off-by: NNeil Horman <nhorman@redhat.com>
      Acked-by: JulianAnastasov
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fb3d8949
  10. 27 6月, 2005 1 次提交
    • P
      [IPVS]: Fix for overflows · 4da62fc7
      pageexec 提交于
      From: <pageexec@freemail.hu>
      
      $subject was fixed in 2.4 already, 2.6 needs it as well.
      
      The impact of the bugs is a kernel stack overflow and privilege escalation
      from CAP_NET_ADMIN via the IP_VS_SO_SET_STARTDAEMON/IP_VS_SO_GET_DAEMON
      ioctls.  People running with 'root=all caps' (i.e., most users) are not
      really affected (there's nothing to escalate), but SELinux and similar
      users should take it seriously if they grant CAP_NET_ADMIN to other users.
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4da62fc7
  11. 22 6月, 2005 1 次提交
  12. 03 6月, 2005 1 次提交
  13. 20 5月, 2005 1 次提交
  14. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4