מדרש אויף בראשית 10:14

וְֽאֶת־פַּתְרֻסִ֞ים וְאֶת־כַּסְלֻחִ֗ים אֲשֶׁ֨ר יָצְא֥וּ מִשָּׁ֛ם פְּלִשְׁתִּ֖ים וְאֶת־כַּפְתֹּרִֽים׃ (ס)

און פַּתרוסים, און כַּסלוחים – פֿון װאַנען די פּלשתּים זײַנען אַרױסגעקומען – און כַּפֿתּורים.

Sefer HaYashar (midrash)

And the sons of Elishah are, the Alemania; and they also went and built for themselves cities, ‎and those cities are situated between the moun tains of Jub and of Shubtham. And these ‎families conquered Italah and they dwelt there even unto this day. And the children of Kittim ‎are the Romim that dwell in the valley of Kanphia, by the waters of Tiberu. And the sons of ‎Dodanim are the families that dwell in the cities by the sea Gihon in the land of Bordenah. ‎These are the families of the sons of Japheth and their languages, after they were scattered ‎abroad through the building of the tower; and they called their cities also after their own ‎names or after some of their occurrences. And these are the names of all their cities, named ‎after their families, which they built in those days, after the tower. And the sons of Ham are: ‎Cush and Mizraim, and Phut, and Canaan according to their families and their cities. All these ‎families went and built for themselves cities, as they found suitable localities, and they called ‎their cities after the names of their sires: Cush and Mizraim, and Phut, and Canaan. And the ‎sons of Mizraim are: Ludim, and Anamim, and Lehabim, and Naphtuhim, and Pathrusim, and ‎Casluhim, and Caph torim; seven families, and all these dwelt by the river Shihor, which is the ‎river of Egypt; and when they built their cities they called them after their own names. And the ‎sons of Pathrus and the sons of Casluh inter married with each other, and from them came the ‎Pilishtim, and the Agathim, and the Gerarim, and the Gathim, and the Ekronim, altogether five ‎families. These also built cities for themselves, calling their names after the names of their ‎sires, even to this day. And the sons of Canaan also built cities for themselves, calling them ‎after their own names, eleven cities, and suburbs beyond number. - - And four men went ‎away from the family of Ham, and they came to the land of the plain, and these are the names ‎of the four men: Sodom, and Gomorrah, and Admah, and Zeboim. And these men built unto ‎themselves four cities in the land of the plain, calling the names of the cities after their own ‎names. And they dwelt in those cities, with their children and with all that was theirs, and they ‎were very fruitful and they multiplied themselves greatly, and they dwelt securely. And Seir, ‎the son of Hori, the son of Hivi, the son of Canaan, went away and discovered a valley opposite ‎Mount Paran, and he built a city therein and he dwelt there with his seven sons and his ‎household. And he called the city which he built, Seir, after his own name; this is the land of ‎Seir even to this day. These are the families of the sons of Ham according to their tongues and ‎cities, whither they have been scattered after the destruction of the tower.‎
פֿרעגט אַ רבֿBookmarkShareCopy

Bereshit Rabbah

“And Mitzrayim begot Ludim, and Anamim, and Lehavim, and Naftuḥim” (Genesis 10:13).
“And Mitzrayim begot Ludim…” – all of the coinages of Egypt are only with yam:19All the sons of Mitzrayim had names ending in yud mem, which spells yam [the sea]. Ludim – the Ludim of the sea [Ludei yam], Anamim – the Anamim of the sea [Anamei yam], as their names imply, Lehavim – the Lahav of the sea [Lahav yam], Naftuḥim – the Naftuḥim of the sea [Naftuḥei yam].20All these nations lived by the sea.
“And Patrusim, and Kasluḥim, from which the Philistines and the Kaftorim emerged” (Genesis 10:14).
“Patrusim” – Parvitot. “Kasluḥim” – Pekusim. Rabbi Abba bar Kahana said: Patrusim and Kasluḥim produced bachelors, these would steal the wives of those, and those would steal the wives of these. What emerged from them? Philistines – mighty,21They would invade [poleshim] other lands. Kaftorim – dwarfs.22They were small and round like buttons [kaftorim].
פֿרעגט אַ רבֿBookmarkShareCopy