The present invention relates to compounds which bind to the hydrophobic pocket of the β clamp, i.e., to the surface of the β ring with which said protein interacts with other proteins of the bacterial replication complex during DNA replication. These compounds are derived from the acetylated peptide AcQLDLF (P6) to improve their affinity to their target.