Taanis 1:2-1:5
Taanis1: 2
אֵין שׁוֹאֲלִין אֶת הַגְּשָׁמִים אֶלָּא סָמוּךְ לַגְּשָׁמִים.  רַבִּי יְהוּדָה אוֹמֵר: הָעוֹבֵר לִפְנֵי הַתֵּבָה בְּיוֹם טוֹב הָאַחֲרוֹן שֶׁל חַג — הָאַחֲרוֹן מַזְכִּיר, הָרִאשׁוֹן אֵינוֹ מַזְכִּיר; בְּיוֹם טוֹב הָרִאשׁוֹן שֶׁל פֶּסַח — הָרִאשׁוֹן מַזְכִּיר, הָאַחֲרוֹן אֵינוֹ מַזְכִּיר. עַד אֵימָתַי שׁוֹאֲלִין אֶת הַגְּשָׁמִים? רַבִּי יְהוּדָה אוֹמֵר: עַד שֶׁיַּעֲבֹר הַפֶּסַח; רַבִּי מֵאִיר אוֹמֵר: עַד שֶׁיֵּצֵא נִיסָן, שֶׁנֶּאֱמַר: ,,וַיּוֹרֶד לָכֶם גֶּשֶׁם, מוֹרֶה וּמַלְקוֹשׁ בָּרִאשׁוֹן”.
We do not request rain except close to the rainy season.  R' Yehudah says: Of those [chazzanim] who stand before the Ark on the last Yom Tov of the festival —- the last [chazzan] mentions [the powers of rain, but] the first [chazzan] does not mention [it]. On the first Yom Tov of Pesach, the first [chazzan] mentions [the powers of rain, but] the last [chazzan] does not mention [it].  Until when do we request rain? R' Yehudah says: Until Pesach is over; R' Meir says: Until Nissan is over, as it is said: He caused rain to fall for you —- the early rain and the late rain —- in the first month.
Taanis1: 3
בִּשְׁלֹשָׁה בְמַרְחֶשְׁוָן שׁוֹאֲלִין אֶת הַגְּשָׁמִים; רַבָּן גַּמְלִיאֵל אוֹמֵר: בְּשִׁבְעָה בוֹ, חֲמִשָּׁה עָשָׂר יוֹם אַחַר הֶחָג, כְּדֵי שֶׁיַּגִּיעַ אַחֲרוֹן שֶׁבְּיִשְׂרָאֵל לִנְהַר פְּרָת.
On the third [day] of MarCheshvan we request rain; Rabban Gamliel says: On its seventh [day], fifteen days after the festival, so that the last [pilgrim straggler] of Israel may reach the Euphrates River.
Taanis1: 4
הִגִּיעַ שִׁבְעָה עָשָׂר בְּמַרְחֶשְׁוָן וְלֹא יָרְדוּ גְשָׁמִים — הִתְחִילוּ הַיְחִידִים מִתְעַנִּין שָׁלֹשׁ תַּעֲנִיּוֹת: אוֹכְלִין וְשׁוֹתִין מִשֶּׁחָשֵׁכָה, וּמֻתָּרִין בִּמְלָאכָה, וּבִרְחִיצָה וּבְסִיכָה, וּבִנְעִילַת הַסַּנְדָּל, וּבְתַשְׁמִישׁ הַמִּטָּה.
If the seventeenth [day] of MarCheshvan arrived but rain did not fall, the [distinguished] individuals would start fasting [a series of] three fasts: They may eat and drink after dark, and they are permitted to work, bathe, anoint [themselves with oil], wear shoes, and have marital relations.
Taanis1: 5
הִגִּיעַ רֹאשׁ חֹדֶשׁ כִּסְלֵו וְלֹא יָרְדוּ גְשָׁמִים — בֵּית דִּין גּוֹזְרִין שָׁלֹשׁ תַּעֲנִיוֹת עַל הַצִּבּוּר: אוֹכְלִין וְשׁוֹתִין מִשֶּׁחָשֵׁכָה, וּמֻתָּרִין בִּמְלָאכָה, וּבִרְחִיצָה וּבְסִיכָה, וּבִנְעִילַת הַסַּנְדָּל, וּבְתַשְׁמִישׁ הַמִּטָּה.
If Rosh Chodesh Kislev arrived but rain did not fall, Beis Din decrees [a series of] three fasts upon the [entire] community. They may eat and drink after dark, and they are permitted to work, bathe, anoint [themselves with oil], wear shoes, and have marital relations.