1
0

patch-src_racoon_cftoken_c 42 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026
  1. $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
  2. --- ipsec-tools-0.7.2.orig/src/racoon/cftoken.c 2008-07-23 13:49:19.000000000 +0200
  3. +++ ipsec-tools-0.7.2/src/racoon/cftoken.c 2009-05-29 15:50:16.982910033 +0200
  4. @@ -8,7 +8,7 @@
  5. #define FLEX_SCANNER
  6. #define YY_FLEX_MAJOR_VERSION 2
  7. #define YY_FLEX_MINOR_VERSION 5
  8. -#define YY_FLEX_SUBMINOR_VERSION 34
  9. +#define YY_FLEX_SUBMINOR_VERSION 35
  10. #if YY_FLEX_SUBMINOR_VERSION > 0
  11. #define FLEX_BETA
  12. #endif
  13. @@ -178,13 +178,6 @@ extern FILE *yyin, *yyout;
  14. #define unput(c) yyunput( c, (yytext_ptr) )
  15. -/* The following is because we cannot portably get our hands on size_t
  16. - * (without autoconf's help, which isn't available because we want
  17. - * flex-generated scanners to compile on their own).
  18. - * Given that the standard has decreed that size_t exists since 1989,
  19. - * I guess we can afford to depend on it. Manoj.
  20. - */
  21. -
  22. #ifndef YY_TYPEDEF_YY_SIZE_T
  23. #define YY_TYPEDEF_YY_SIZE_T
  24. typedef size_t yy_size_t;
  25. @@ -1634,6 +1627,7 @@ static struct include_stack {
  26. static int incstackp = 0;
  27. static int yy_first_time = 1;
  28. +int yywrap(void) { return 1; }
  29. /* common seciton */
  30. /*octet (([01]?{digit}?{digit})|((2([0-4]{digit}))|(25[0-5]))) */
  31. @@ -1642,7 +1636,7 @@ static int yy_first_time = 1;
  32. -#line 1646 "cftoken.c"
  33. +#line 1640 "cftoken.c"
  34. #define INITIAL 0
  35. #define S_INI 1
  36. @@ -1679,6 +1673,35 @@ static int yy_first_time = 1;
  37. static int yy_init_globals (void );
  38. +/* Accessor methods to globals.
  39. + These are made visible to non-reentrant scanners for convenience. */
  40. +
  41. +int yylex_destroy (void );
  42. +
  43. +int yyget_debug (void );
  44. +
  45. +void yyset_debug (int debug_flag );
  46. +
  47. +YY_EXTRA_TYPE yyget_extra (void );
  48. +
  49. +void yyset_extra (YY_EXTRA_TYPE user_defined );
  50. +
  51. +FILE *yyget_in (void );
  52. +
  53. +void yyset_in (FILE * in_str );
  54. +
  55. +FILE *yyget_out (void );
  56. +
  57. +void yyset_out (FILE * out_str );
  58. +
  59. +int yyget_leng (void );
  60. +
  61. +char *yyget_text (void );
  62. +
  63. +int yyget_lineno (void );
  64. +
  65. +void yyset_lineno (int line_number );
  66. +
  67. /* Macros after this point can all be overridden by user definitions in
  68. * section 1.
  69. */
  70. @@ -1814,7 +1837,7 @@ YY_DECL
  71. register char *yy_cp, *yy_bp;
  72. register int yy_act;
  73. -#line 142 "cftoken.l"
  74. +#line 143 "cftoken.l"
  75. if (yy_first_time) {
  76. @@ -1824,7 +1847,7 @@ YY_DECL
  77. /* privsep */
  78. -#line 1828 "cftoken.c"
  79. +#line 1851 "cftoken.c"
  80. if ( !(yy_init) )
  81. {
  82. @@ -1915,1028 +1938,1028 @@ do_action: /* This label is used only to
  83. case 1:
  84. YY_RULE_SETUP
  85. -#line 151 "cftoken.l"
  86. +#line 152 "cftoken.l"
  87. { BEGIN S_PRIV; YYDB; return(PRIVSEP); }
  88. YY_BREAK
  89. case 2:
  90. YY_RULE_SETUP
  91. -#line 152 "cftoken.l"
  92. +#line 153 "cftoken.l"
  93. { return(BOC); }
  94. YY_BREAK
  95. case 3:
  96. YY_RULE_SETUP
  97. -#line 153 "cftoken.l"
  98. +#line 154 "cftoken.l"
  99. { YYD; return(USER); }
  100. YY_BREAK
  101. case 4:
  102. YY_RULE_SETUP
  103. -#line 154 "cftoken.l"
  104. +#line 155 "cftoken.l"
  105. { YYD; return(GROUP); }
  106. YY_BREAK
  107. case 5:
  108. YY_RULE_SETUP
  109. -#line 155 "cftoken.l"
  110. +#line 156 "cftoken.l"
  111. { YYD; return(CHROOT); }
  112. YY_BREAK
  113. case 6:
  114. YY_RULE_SETUP
  115. -#line 156 "cftoken.l"
  116. +#line 157 "cftoken.l"
  117. { BEGIN S_INI; return(EOC); }
  118. YY_BREAK
  119. /* path */
  120. case 7:
  121. YY_RULE_SETUP
  122. -#line 159 "cftoken.l"
  123. +#line 160 "cftoken.l"
  124. { BEGIN S_PTH; YYDB; return(PATH); }
  125. YY_BREAK
  126. case 8:
  127. YY_RULE_SETUP
  128. -#line 160 "cftoken.l"
  129. +#line 161 "cftoken.l"
  130. { YYD; yylval.num = LC_PATHTYPE_INCLUDE;
  131. return(PATHTYPE); }
  132. YY_BREAK
  133. case 9:
  134. YY_RULE_SETUP
  135. -#line 162 "cftoken.l"
  136. +#line 163 "cftoken.l"
  137. { YYD; yylval.num = LC_PATHTYPE_PSK;
  138. return(PATHTYPE); }
  139. YY_BREAK
  140. case 10:
  141. YY_RULE_SETUP
  142. -#line 164 "cftoken.l"
  143. +#line 165 "cftoken.l"
  144. { YYD; yylval.num = LC_PATHTYPE_CERT;
  145. return(PATHTYPE); }
  146. YY_BREAK
  147. case 11:
  148. YY_RULE_SETUP
  149. -#line 166 "cftoken.l"
  150. +#line 167 "cftoken.l"
  151. { YYD; yylval.num = LC_PATHTYPE_SCRIPT;
  152. return(PATHTYPE); }
  153. YY_BREAK
  154. case 12:
  155. YY_RULE_SETUP
  156. -#line 168 "cftoken.l"
  157. +#line 169 "cftoken.l"
  158. { YYD; yylval.num = LC_PATHTYPE_BACKUPSA;
  159. return(PATHTYPE); }
  160. YY_BREAK
  161. case 13:
  162. YY_RULE_SETUP
  163. -#line 170 "cftoken.l"
  164. +#line 171 "cftoken.l"
  165. { YYD; yylval.num = LC_PATHTYPE_PIDFILE;
  166. return(PATHTYPE); }
  167. YY_BREAK
  168. case 14:
  169. YY_RULE_SETUP
  170. -#line 172 "cftoken.l"
  171. +#line 173 "cftoken.l"
  172. { BEGIN S_INI; YYDB; return(EOS); }
  173. YY_BREAK
  174. /* include */
  175. case 15:
  176. YY_RULE_SETUP
  177. -#line 175 "cftoken.l"
  178. +#line 176 "cftoken.l"
  179. { YYDB; return(INCLUDE); }
  180. YY_BREAK
  181. /* self information */
  182. case 16:
  183. YY_RULE_SETUP
  184. -#line 178 "cftoken.l"
  185. +#line 179 "cftoken.l"
  186. { BEGIN S_INF; YYDB; yywarn("it is obsoleted. use \"my_identifier\" in each remote directives."); return(IDENTIFIER); }
  187. YY_BREAK
  188. case 17:
  189. YY_RULE_SETUP
  190. -#line 179 "cftoken.l"
  191. +#line 180 "cftoken.l"
  192. { BEGIN S_INI; return(EOS); }
  193. YY_BREAK
  194. /* special */
  195. case 18:
  196. YY_RULE_SETUP
  197. -#line 182 "cftoken.l"
  198. +#line 183 "cftoken.l"
  199. { YYDB; return(COMPLEX_BUNDLE); }
  200. YY_BREAK
  201. /* logging */
  202. case 19:
  203. YY_RULE_SETUP
  204. -#line 185 "cftoken.l"
  205. +#line 186 "cftoken.l"
  206. { BEGIN S_LOG; YYDB; return(LOGGING); }
  207. YY_BREAK
  208. case 20:
  209. YY_RULE_SETUP
  210. -#line 186 "cftoken.l"
  211. +#line 187 "cftoken.l"
  212. { YYD; yylval.num = LLV_ERROR; return(LOGLEV); }
  213. YY_BREAK
  214. case 21:
  215. YY_RULE_SETUP
  216. -#line 187 "cftoken.l"
  217. +#line 188 "cftoken.l"
  218. { YYD; yylval.num = LLV_WARNING; return(LOGLEV); }
  219. YY_BREAK
  220. case 22:
  221. YY_RULE_SETUP
  222. -#line 188 "cftoken.l"
  223. +#line 189 "cftoken.l"
  224. { YYD; yylval.num = LLV_NOTIFY; return(LOGLEV); }
  225. YY_BREAK
  226. case 23:
  227. YY_RULE_SETUP
  228. -#line 189 "cftoken.l"
  229. +#line 190 "cftoken.l"
  230. { YYD; yylval.num = LLV_INFO; return(LOGLEV); }
  231. YY_BREAK
  232. case 24:
  233. YY_RULE_SETUP
  234. -#line 190 "cftoken.l"
  235. +#line 191 "cftoken.l"
  236. { YYD; yylval.num = LLV_DEBUG; return(LOGLEV); }
  237. YY_BREAK
  238. case 25:
  239. YY_RULE_SETUP
  240. -#line 191 "cftoken.l"
  241. +#line 192 "cftoken.l"
  242. { YYD; yylval.num = LLV_DEBUG2; return(LOGLEV); }
  243. YY_BREAK
  244. case 26:
  245. YY_RULE_SETUP
  246. -#line 192 "cftoken.l"
  247. +#line 193 "cftoken.l"
  248. { YYD; yywarn("it is obsoleted. use \"debug2\""); yylval.num = LLV_DEBUG2; return(LOGLEV); }
  249. YY_BREAK
  250. case 27:
  251. YY_RULE_SETUP
  252. -#line 193 "cftoken.l"
  253. +#line 194 "cftoken.l"
  254. { YYD; yywarn("it is obsoleted. use \"debug2\""); yylval.num = LLV_DEBUG2; return(LOGLEV); }
  255. YY_BREAK
  256. case 28:
  257. YY_RULE_SETUP
  258. -#line 194 "cftoken.l"
  259. +#line 195 "cftoken.l"
  260. { BEGIN S_INI; return(EOS); }
  261. YY_BREAK
  262. /* padding */
  263. case 29:
  264. YY_RULE_SETUP
  265. -#line 197 "cftoken.l"
  266. +#line 198 "cftoken.l"
  267. { BEGIN S_PAD; YYDB; return(PADDING); }
  268. YY_BREAK
  269. case 30:
  270. YY_RULE_SETUP
  271. -#line 198 "cftoken.l"
  272. +#line 199 "cftoken.l"
  273. { return(BOC); }
  274. YY_BREAK
  275. case 31:
  276. YY_RULE_SETUP
  277. -#line 199 "cftoken.l"
  278. +#line 200 "cftoken.l"
  279. { YYD; return(PAD_RANDOMIZE); }
  280. YY_BREAK
  281. case 32:
  282. YY_RULE_SETUP
  283. -#line 200 "cftoken.l"
  284. +#line 201 "cftoken.l"
  285. { YYD; return(PAD_RANDOMIZELEN); }
  286. YY_BREAK
  287. case 33:
  288. YY_RULE_SETUP
  289. -#line 201 "cftoken.l"
  290. +#line 202 "cftoken.l"
  291. { YYD; return(PAD_MAXLEN); }
  292. YY_BREAK
  293. case 34:
  294. YY_RULE_SETUP
  295. -#line 202 "cftoken.l"
  296. +#line 203 "cftoken.l"
  297. { YYD; return(PAD_STRICT); }
  298. YY_BREAK
  299. case 35:
  300. YY_RULE_SETUP
  301. -#line 203 "cftoken.l"
  302. +#line 204 "cftoken.l"
  303. { YYD; return(PAD_EXCLTAIL); }
  304. YY_BREAK
  305. case 36:
  306. YY_RULE_SETUP
  307. -#line 204 "cftoken.l"
  308. +#line 205 "cftoken.l"
  309. { BEGIN S_INI; return(EOC); }
  310. YY_BREAK
  311. /* listen */
  312. case 37:
  313. YY_RULE_SETUP
  314. -#line 207 "cftoken.l"
  315. +#line 208 "cftoken.l"
  316. { BEGIN S_LST; YYDB; return(LISTEN); }
  317. YY_BREAK
  318. case 38:
  319. YY_RULE_SETUP
  320. -#line 208 "cftoken.l"
  321. +#line 209 "cftoken.l"
  322. { return(BOC); }
  323. YY_BREAK
  324. case 39:
  325. YY_RULE_SETUP
  326. -#line 209 "cftoken.l"
  327. +#line 210 "cftoken.l"
  328. { YYD; return(X_ISAKMP); }
  329. YY_BREAK
  330. case 40:
  331. YY_RULE_SETUP
  332. -#line 210 "cftoken.l"
  333. +#line 211 "cftoken.l"
  334. { YYD; return(X_ISAKMP_NATT); }
  335. YY_BREAK
  336. case 41:
  337. YY_RULE_SETUP
  338. -#line 211 "cftoken.l"
  339. +#line 212 "cftoken.l"
  340. { YYD; return(X_ADMIN); }
  341. YY_BREAK
  342. case 42:
  343. YY_RULE_SETUP
  344. -#line 212 "cftoken.l"
  345. +#line 213 "cftoken.l"
  346. { YYD; return(ADMINSOCK); }
  347. YY_BREAK
  348. case 43:
  349. YY_RULE_SETUP
  350. -#line 213 "cftoken.l"
  351. +#line 214 "cftoken.l"
  352. { YYD; return(DISABLED); }
  353. YY_BREAK
  354. case 44:
  355. YY_RULE_SETUP
  356. -#line 214 "cftoken.l"
  357. +#line 215 "cftoken.l"
  358. { YYD; return(STRICT_ADDRESS); }
  359. YY_BREAK
  360. case 45:
  361. YY_RULE_SETUP
  362. -#line 215 "cftoken.l"
  363. +#line 216 "cftoken.l"
  364. { BEGIN S_INI; return(EOC); }
  365. YY_BREAK
  366. /* ldap config */
  367. case 46:
  368. YY_RULE_SETUP
  369. -#line 218 "cftoken.l"
  370. +#line 219 "cftoken.l"
  371. { BEGIN S_LDAP; YYDB; return(LDAPCFG); }
  372. YY_BREAK
  373. case 47:
  374. YY_RULE_SETUP
  375. -#line 219 "cftoken.l"
  376. +#line 220 "cftoken.l"
  377. { return(BOC); }
  378. YY_BREAK
  379. case 48:
  380. YY_RULE_SETUP
  381. -#line 220 "cftoken.l"
  382. +#line 221 "cftoken.l"
  383. { YYD; return(LDAP_PVER); }
  384. YY_BREAK
  385. case 49:
  386. YY_RULE_SETUP
  387. -#line 221 "cftoken.l"
  388. +#line 222 "cftoken.l"
  389. { YYD; return(LDAP_HOST); }
  390. YY_BREAK
  391. case 50:
  392. YY_RULE_SETUP
  393. -#line 222 "cftoken.l"
  394. +#line 223 "cftoken.l"
  395. { YYD; return(LDAP_PORT); }
  396. YY_BREAK
  397. case 51:
  398. YY_RULE_SETUP
  399. -#line 223 "cftoken.l"
  400. +#line 224 "cftoken.l"
  401. { YYD; return(LDAP_BASE); }
  402. YY_BREAK
  403. case 52:
  404. YY_RULE_SETUP
  405. -#line 224 "cftoken.l"
  406. +#line 225 "cftoken.l"
  407. { YYD; return(LDAP_SUBTREE); }
  408. YY_BREAK
  409. case 53:
  410. YY_RULE_SETUP
  411. -#line 225 "cftoken.l"
  412. +#line 226 "cftoken.l"
  413. { YYD; return(LDAP_BIND_DN); }
  414. YY_BREAK
  415. case 54:
  416. YY_RULE_SETUP
  417. -#line 226 "cftoken.l"
  418. +#line 227 "cftoken.l"
  419. { YYD; return(LDAP_BIND_PW); }
  420. YY_BREAK
  421. case 55:
  422. YY_RULE_SETUP
  423. -#line 227 "cftoken.l"
  424. +#line 228 "cftoken.l"
  425. { YYD; return(LDAP_ATTR_USER); }
  426. YY_BREAK
  427. case 56:
  428. YY_RULE_SETUP
  429. -#line 228 "cftoken.l"
  430. +#line 229 "cftoken.l"
  431. { YYD; return(LDAP_ATTR_ADDR); }
  432. YY_BREAK
  433. case 57:
  434. YY_RULE_SETUP
  435. -#line 229 "cftoken.l"
  436. +#line 230 "cftoken.l"
  437. { YYD; return(LDAP_ATTR_MASK); }
  438. YY_BREAK
  439. case 58:
  440. YY_RULE_SETUP
  441. -#line 230 "cftoken.l"
  442. +#line 231 "cftoken.l"
  443. { YYD; return(LDAP_ATTR_GROUP); }
  444. YY_BREAK
  445. case 59:
  446. YY_RULE_SETUP
  447. -#line 231 "cftoken.l"
  448. +#line 232 "cftoken.l"
  449. { YYD; return(LDAP_ATTR_MEMBER); }
  450. YY_BREAK
  451. case 60:
  452. YY_RULE_SETUP
  453. -#line 232 "cftoken.l"
  454. +#line 233 "cftoken.l"
  455. { BEGIN S_INI; return(EOC); }
  456. YY_BREAK
  457. /* mode_cfg */
  458. case 61:
  459. YY_RULE_SETUP
  460. -#line 235 "cftoken.l"
  461. +#line 236 "cftoken.l"
  462. { BEGIN S_CFG; YYDB; return(MODECFG); }
  463. YY_BREAK
  464. case 62:
  465. YY_RULE_SETUP
  466. -#line 236 "cftoken.l"
  467. +#line 237 "cftoken.l"
  468. { return(BOC); }
  469. YY_BREAK
  470. case 63:
  471. YY_RULE_SETUP
  472. -#line 237 "cftoken.l"
  473. +#line 238 "cftoken.l"
  474. { YYD; return(CFG_NET4); }
  475. YY_BREAK
  476. case 64:
  477. YY_RULE_SETUP
  478. -#line 238 "cftoken.l"
  479. +#line 239 "cftoken.l"
  480. { YYD; return(CFG_MASK4); }
  481. YY_BREAK
  482. case 65:
  483. YY_RULE_SETUP
  484. -#line 239 "cftoken.l"
  485. +#line 240 "cftoken.l"
  486. { YYD; return(CFG_DNS4); }
  487. YY_BREAK
  488. case 66:
  489. YY_RULE_SETUP
  490. -#line 240 "cftoken.l"
  491. +#line 241 "cftoken.l"
  492. { YYD; return(CFG_NBNS4); }
  493. YY_BREAK
  494. case 67:
  495. YY_RULE_SETUP
  496. -#line 241 "cftoken.l"
  497. +#line 242 "cftoken.l"
  498. { YYD; return(CFG_NBNS4); }
  499. YY_BREAK
  500. case 68:
  501. YY_RULE_SETUP
  502. -#line 242 "cftoken.l"
  503. +#line 243 "cftoken.l"
  504. { YYD; return(CFG_DEFAULT_DOMAIN); }
  505. YY_BREAK
  506. case 69:
  507. YY_RULE_SETUP
  508. -#line 243 "cftoken.l"
  509. +#line 244 "cftoken.l"
  510. { YYD; return(CFG_AUTH_SOURCE); }
  511. YY_BREAK
  512. case 70:
  513. YY_RULE_SETUP
  514. -#line 244 "cftoken.l"
  515. +#line 245 "cftoken.l"
  516. { YYD; return(CFG_AUTH_GROUPS); }
  517. YY_BREAK
  518. case 71:
  519. YY_RULE_SETUP
  520. -#line 245 "cftoken.l"
  521. +#line 246 "cftoken.l"
  522. { YYD; return(CFG_GROUP_SOURCE); }
  523. YY_BREAK
  524. case 72:
  525. YY_RULE_SETUP
  526. -#line 246 "cftoken.l"
  527. +#line 247 "cftoken.l"
  528. { YYD; return(CFG_CONF_SOURCE); }
  529. YY_BREAK
  530. case 73:
  531. YY_RULE_SETUP
  532. -#line 247 "cftoken.l"
  533. +#line 248 "cftoken.l"
  534. { YYD; return(CFG_ACCOUNTING); }
  535. YY_BREAK
  536. case 74:
  537. YY_RULE_SETUP
  538. -#line 248 "cftoken.l"
  539. +#line 249 "cftoken.l"
  540. { YYD; return(CFG_SYSTEM); }
  541. YY_BREAK
  542. case 75:
  543. YY_RULE_SETUP
  544. -#line 249 "cftoken.l"
  545. +#line 250 "cftoken.l"
  546. { YYD; return(CFG_LOCAL); }
  547. YY_BREAK
  548. case 76:
  549. YY_RULE_SETUP
  550. -#line 250 "cftoken.l"
  551. +#line 251 "cftoken.l"
  552. { YYD; return(CFG_NONE); }
  553. YY_BREAK
  554. case 77:
  555. YY_RULE_SETUP
  556. -#line 251 "cftoken.l"
  557. +#line 252 "cftoken.l"
  558. { YYD; return(CFG_RADIUS); }
  559. YY_BREAK
  560. case 78:
  561. YY_RULE_SETUP
  562. -#line 252 "cftoken.l"
  563. +#line 253 "cftoken.l"
  564. { YYD; return(CFG_PAM); }
  565. YY_BREAK
  566. case 79:
  567. YY_RULE_SETUP
  568. -#line 253 "cftoken.l"
  569. +#line 254 "cftoken.l"
  570. { YYD; return(CFG_LDAP); }
  571. YY_BREAK
  572. case 80:
  573. YY_RULE_SETUP
  574. -#line 254 "cftoken.l"
  575. +#line 255 "cftoken.l"
  576. { YYD; return(CFG_POOL_SIZE); }
  577. YY_BREAK
  578. case 81:
  579. YY_RULE_SETUP
  580. -#line 255 "cftoken.l"
  581. +#line 256 "cftoken.l"
  582. { YYD; return(CFG_MOTD); }
  583. YY_BREAK
  584. case 82:
  585. YY_RULE_SETUP
  586. -#line 256 "cftoken.l"
  587. +#line 257 "cftoken.l"
  588. { YYD; return(CFG_AUTH_THROTTLE); }
  589. YY_BREAK
  590. case 83:
  591. YY_RULE_SETUP
  592. -#line 257 "cftoken.l"
  593. +#line 258 "cftoken.l"
  594. { YYD; return(CFG_SPLIT_NETWORK); }
  595. YY_BREAK
  596. case 84:
  597. YY_RULE_SETUP
  598. -#line 258 "cftoken.l"
  599. +#line 259 "cftoken.l"
  600. { YYD; return(CFG_SPLIT_LOCAL); }
  601. YY_BREAK
  602. case 85:
  603. YY_RULE_SETUP
  604. -#line 259 "cftoken.l"
  605. +#line 260 "cftoken.l"
  606. { YYD; return(CFG_SPLIT_INCLUDE); }
  607. YY_BREAK
  608. case 86:
  609. YY_RULE_SETUP
  610. -#line 260 "cftoken.l"
  611. +#line 261 "cftoken.l"
  612. { YYD; return(CFG_SPLIT_DNS); }
  613. YY_BREAK
  614. case 87:
  615. YY_RULE_SETUP
  616. -#line 261 "cftoken.l"
  617. +#line 262 "cftoken.l"
  618. { YYD; return(CFG_PFS_GROUP); }
  619. YY_BREAK
  620. case 88:
  621. YY_RULE_SETUP
  622. -#line 262 "cftoken.l"
  623. +#line 263 "cftoken.l"
  624. { YYD; return(CFG_SAVE_PASSWD); }
  625. YY_BREAK
  626. case 89:
  627. YY_RULE_SETUP
  628. -#line 263 "cftoken.l"
  629. +#line 264 "cftoken.l"
  630. { YYD; return(COMMA); }
  631. YY_BREAK
  632. case 90:
  633. YY_RULE_SETUP
  634. -#line 264 "cftoken.l"
  635. +#line 265 "cftoken.l"
  636. { BEGIN S_INI; return(EOC); }
  637. YY_BREAK
  638. /* timer */
  639. case 91:
  640. YY_RULE_SETUP
  641. -#line 267 "cftoken.l"
  642. +#line 268 "cftoken.l"
  643. { BEGIN S_RTRY; YYDB; return(RETRY); }
  644. YY_BREAK
  645. case 92:
  646. YY_RULE_SETUP
  647. -#line 268 "cftoken.l"
  648. +#line 269 "cftoken.l"
  649. { return(BOC); }
  650. YY_BREAK
  651. case 93:
  652. YY_RULE_SETUP
  653. -#line 269 "cftoken.l"
  654. +#line 270 "cftoken.l"
  655. { YYD; return(RETRY_COUNTER); }
  656. YY_BREAK
  657. case 94:
  658. YY_RULE_SETUP
  659. -#line 270 "cftoken.l"
  660. +#line 271 "cftoken.l"
  661. { YYD; return(RETRY_INTERVAL); }
  662. YY_BREAK
  663. case 95:
  664. YY_RULE_SETUP
  665. -#line 271 "cftoken.l"
  666. +#line 272 "cftoken.l"
  667. { YYD; return(RETRY_PERSEND); }
  668. YY_BREAK
  669. case 96:
  670. YY_RULE_SETUP
  671. -#line 272 "cftoken.l"
  672. +#line 273 "cftoken.l"
  673. { YYD; return(RETRY_PHASE1); }
  674. YY_BREAK
  675. case 97:
  676. YY_RULE_SETUP
  677. -#line 273 "cftoken.l"
  678. +#line 274 "cftoken.l"
  679. { YYD; return(RETRY_PHASE2); }
  680. YY_BREAK
  681. case 98:
  682. YY_RULE_SETUP
  683. -#line 274 "cftoken.l"
  684. +#line 275 "cftoken.l"
  685. { YYD; return(NATT_KA); }
  686. YY_BREAK
  687. case 99:
  688. YY_RULE_SETUP
  689. -#line 275 "cftoken.l"
  690. +#line 276 "cftoken.l"
  691. { BEGIN S_INI; return(EOC); }
  692. YY_BREAK
  693. /* sainfo */
  694. case 100:
  695. YY_RULE_SETUP
  696. -#line 278 "cftoken.l"
  697. +#line 279 "cftoken.l"
  698. { BEGIN S_SAINF; YYDB; return(SAINFO); }
  699. YY_BREAK
  700. case 101:
  701. YY_RULE_SETUP
  702. -#line 279 "cftoken.l"
  703. +#line 280 "cftoken.l"
  704. { YYD; return(ANONYMOUS); }
  705. YY_BREAK
  706. case 102:
  707. YY_RULE_SETUP
  708. -#line 280 "cftoken.l"
  709. +#line 281 "cftoken.l"
  710. { YYD; return(PORTANY); }
  711. YY_BREAK
  712. case 103:
  713. YY_RULE_SETUP
  714. -#line 281 "cftoken.l"
  715. +#line 282 "cftoken.l"
  716. { YYD; return(ANY); }
  717. YY_BREAK
  718. case 104:
  719. YY_RULE_SETUP
  720. -#line 282 "cftoken.l"
  721. +#line 283 "cftoken.l"
  722. { YYD; return(FROM); }
  723. YY_BREAK
  724. case 105:
  725. YY_RULE_SETUP
  726. -#line 283 "cftoken.l"
  727. +#line 284 "cftoken.l"
  728. { YYD; return(GROUP); }
  729. YY_BREAK
  730. /* sainfo spec */
  731. case 106:
  732. YY_RULE_SETUP
  733. -#line 285 "cftoken.l"
  734. +#line 286 "cftoken.l"
  735. { BEGIN S_SAINFS; return(BOC); }
  736. YY_BREAK
  737. case 107:
  738. YY_RULE_SETUP
  739. -#line 286 "cftoken.l"
  740. +#line 287 "cftoken.l"
  741. { BEGIN S_INI; return(EOS); }
  742. YY_BREAK
  743. case 108:
  744. YY_RULE_SETUP
  745. -#line 287 "cftoken.l"
  746. +#line 288 "cftoken.l"
  747. { BEGIN S_INI; return(EOC); }
  748. YY_BREAK
  749. case 109:
  750. YY_RULE_SETUP
  751. -#line 288 "cftoken.l"
  752. +#line 289 "cftoken.l"
  753. { YYD; return(PFS_GROUP); }
  754. YY_BREAK
  755. case 110:
  756. YY_RULE_SETUP
  757. -#line 289 "cftoken.l"
  758. +#line 290 "cftoken.l"
  759. { YYD; return(REMOTEID); }
  760. YY_BREAK
  761. case 111:
  762. YY_RULE_SETUP
  763. -#line 290 "cftoken.l"
  764. +#line 291 "cftoken.l"
  765. { YYD; yywarn("it is obsoleted. use \"my_identifier\"."); return(IDENTIFIER); }
  766. YY_BREAK
  767. case 112:
  768. YY_RULE_SETUP
  769. -#line 291 "cftoken.l"
  770. +#line 292 "cftoken.l"
  771. { YYD; return(MY_IDENTIFIER); }
  772. YY_BREAK
  773. case 113:
  774. YY_RULE_SETUP
  775. -#line 292 "cftoken.l"
  776. +#line 293 "cftoken.l"
  777. { YYD; return(LIFETIME); }
  778. YY_BREAK
  779. case 114:
  780. YY_RULE_SETUP
  781. -#line 293 "cftoken.l"
  782. +#line 294 "cftoken.l"
  783. { YYD; return(LIFETYPE_TIME); }
  784. YY_BREAK
  785. case 115:
  786. YY_RULE_SETUP
  787. -#line 294 "cftoken.l"
  788. +#line 295 "cftoken.l"
  789. { YYD; return(LIFETYPE_BYTE); }
  790. YY_BREAK
  791. case 116:
  792. YY_RULE_SETUP
  793. -#line 295 "cftoken.l"
  794. +#line 296 "cftoken.l"
  795. { YYD; yylval.num = algclass_ipsec_enc; return(ALGORITHM_CLASS); }
  796. YY_BREAK
  797. case 117:
  798. YY_RULE_SETUP
  799. -#line 296 "cftoken.l"
  800. +#line 297 "cftoken.l"
  801. { YYD; yylval.num = algclass_ipsec_auth; return(ALGORITHM_CLASS); }
  802. YY_BREAK
  803. case 118:
  804. YY_RULE_SETUP
  805. -#line 297 "cftoken.l"
  806. +#line 298 "cftoken.l"
  807. { YYD; yylval.num = algclass_ipsec_comp; return(ALGORITHM_CLASS); }
  808. YY_BREAK
  809. case 119:
  810. YY_RULE_SETUP
  811. -#line 298 "cftoken.l"
  812. +#line 299 "cftoken.l"
  813. { YYD; return(COMMA); }
  814. YY_BREAK
  815. /* remote */
  816. case 120:
  817. YY_RULE_SETUP
  818. -#line 301 "cftoken.l"
  819. +#line 302 "cftoken.l"
  820. { BEGIN S_RMT; YYDB; return(REMOTE); }
  821. YY_BREAK
  822. case 121:
  823. YY_RULE_SETUP
  824. -#line 302 "cftoken.l"
  825. +#line 303 "cftoken.l"
  826. { YYD; return(ANONYMOUS); }
  827. YY_BREAK
  828. case 122:
  829. YY_RULE_SETUP
  830. -#line 303 "cftoken.l"
  831. +#line 304 "cftoken.l"
  832. { YYD; return(INHERIT); }
  833. YY_BREAK
  834. /* remote spec */
  835. case 123:
  836. YY_RULE_SETUP
  837. -#line 305 "cftoken.l"
  838. +#line 306 "cftoken.l"
  839. { BEGIN S_RMTS; return(BOC); }
  840. YY_BREAK
  841. case 124:
  842. YY_RULE_SETUP
  843. -#line 306 "cftoken.l"
  844. +#line 307 "cftoken.l"
  845. { BEGIN S_INI; return(EOC); }
  846. YY_BREAK
  847. case 125:
  848. YY_RULE_SETUP
  849. -#line 307 "cftoken.l"
  850. +#line 308 "cftoken.l"
  851. { YYD; return(EXCHANGE_MODE); }
  852. YY_BREAK
  853. case 126:
  854. YY_RULE_SETUP
  855. -#line 308 "cftoken.l"
  856. +#line 309 "cftoken.l"
  857. { YYD; /* XXX ignored, but to be handled. */ ; }
  858. YY_BREAK
  859. case 127:
  860. YY_RULE_SETUP
  861. -#line 309 "cftoken.l"
  862. +#line 310 "cftoken.l"
  863. { YYD; yylval.num = ISAKMP_ETYPE_BASE; return(EXCHANGETYPE); }
  864. YY_BREAK
  865. case 128:
  866. YY_RULE_SETUP
  867. -#line 310 "cftoken.l"
  868. +#line 311 "cftoken.l"
  869. { YYD; yylval.num = ISAKMP_ETYPE_IDENT; return(EXCHANGETYPE); }
  870. YY_BREAK
  871. case 129:
  872. YY_RULE_SETUP
  873. -#line 311 "cftoken.l"
  874. +#line 312 "cftoken.l"
  875. { YYD; yylval.num = ISAKMP_ETYPE_AGG; return(EXCHANGETYPE); }
  876. YY_BREAK
  877. case 130:
  878. YY_RULE_SETUP
  879. -#line 312 "cftoken.l"
  880. +#line 313 "cftoken.l"
  881. { YYD; return(DOI); }
  882. YY_BREAK
  883. case 131:
  884. YY_RULE_SETUP
  885. -#line 313 "cftoken.l"
  886. +#line 314 "cftoken.l"
  887. { YYD; yylval.num = IPSEC_DOI; return(DOITYPE); }
  888. YY_BREAK
  889. case 132:
  890. YY_RULE_SETUP
  891. -#line 314 "cftoken.l"
  892. +#line 315 "cftoken.l"
  893. { YYD; return(SITUATION); }
  894. YY_BREAK
  895. case 133:
  896. YY_RULE_SETUP
  897. -#line 315 "cftoken.l"
  898. +#line 316 "cftoken.l"
  899. { YYD; yylval.num = IPSECDOI_SIT_IDENTITY_ONLY; return(SITUATIONTYPE); }
  900. YY_BREAK
  901. case 134:
  902. YY_RULE_SETUP
  903. -#line 316 "cftoken.l"
  904. +#line 317 "cftoken.l"
  905. { YYD; yylval.num = IPSECDOI_SIT_SECRECY; return(SITUATIONTYPE); }
  906. YY_BREAK
  907. case 135:
  908. YY_RULE_SETUP
  909. -#line 317 "cftoken.l"
  910. +#line 318 "cftoken.l"
  911. { YYD; yylval.num = IPSECDOI_SIT_INTEGRITY; return(SITUATIONTYPE); }
  912. YY_BREAK
  913. case 136:
  914. YY_RULE_SETUP
  915. -#line 318 "cftoken.l"
  916. +#line 319 "cftoken.l"
  917. { YYD; yywarn("it is obsoleted. use \"my_identifier\"."); return(IDENTIFIER); }
  918. YY_BREAK
  919. case 137:
  920. YY_RULE_SETUP
  921. -#line 319 "cftoken.l"
  922. +#line 320 "cftoken.l"
  923. { YYD; return(MY_IDENTIFIER); }
  924. YY_BREAK
  925. case 138:
  926. YY_RULE_SETUP
  927. -#line 320 "cftoken.l"
  928. +#line 321 "cftoken.l"
  929. { YYD; return(XAUTH_LOGIN); /* formerly identifier type login */ }
  930. YY_BREAK
  931. case 139:
  932. YY_RULE_SETUP
  933. -#line 321 "cftoken.l"
  934. +#line 322 "cftoken.l"
  935. { YYD; return(PEERS_IDENTIFIER); }
  936. YY_BREAK
  937. case 140:
  938. YY_RULE_SETUP
  939. -#line 322 "cftoken.l"
  940. +#line 323 "cftoken.l"
  941. { YYD; return(VERIFY_IDENTIFIER); }
  942. YY_BREAK
  943. case 141:
  944. YY_RULE_SETUP
  945. -#line 323 "cftoken.l"
  946. +#line 324 "cftoken.l"
  947. { YYD; return(CERTIFICATE_TYPE); }
  948. YY_BREAK
  949. case 142:
  950. YY_RULE_SETUP
  951. -#line 324 "cftoken.l"
  952. +#line 325 "cftoken.l"
  953. { YYD; return(CA_TYPE); }
  954. YY_BREAK
  955. case 143:
  956. YY_RULE_SETUP
  957. -#line 325 "cftoken.l"
  958. +#line 326 "cftoken.l"
  959. { YYD; yylval.num = ISAKMP_CERT_X509SIGN; return(CERT_X509); }
  960. YY_BREAK
  961. case 144:
  962. YY_RULE_SETUP
  963. -#line 326 "cftoken.l"
  964. +#line 327 "cftoken.l"
  965. { YYD; yylval.num = ISAKMP_CERT_PLAINRSA; return(CERT_PLAINRSA); }
  966. YY_BREAK
  967. case 145:
  968. YY_RULE_SETUP
  969. -#line 327 "cftoken.l"
  970. +#line 328 "cftoken.l"
  971. { YYD; return(PEERS_CERTFILE); }
  972. YY_BREAK
  973. case 146:
  974. YY_RULE_SETUP
  975. -#line 328 "cftoken.l"
  976. +#line 329 "cftoken.l"
  977. { YYD; return(DNSSEC); }
  978. YY_BREAK
  979. case 147:
  980. YY_RULE_SETUP
  981. -#line 329 "cftoken.l"
  982. +#line 330 "cftoken.l"
  983. { YYD; return(VERIFY_CERT); }
  984. YY_BREAK
  985. case 148:
  986. YY_RULE_SETUP
  987. -#line 330 "cftoken.l"
  988. +#line 331 "cftoken.l"
  989. { YYD; return(SEND_CERT); }
  990. YY_BREAK
  991. case 149:
  992. YY_RULE_SETUP
  993. -#line 331 "cftoken.l"
  994. +#line 332 "cftoken.l"
  995. { YYD; return(SEND_CR); }
  996. YY_BREAK
  997. case 150:
  998. YY_RULE_SETUP
  999. -#line 332 "cftoken.l"
  1000. +#line 333 "cftoken.l"
  1001. { YYD; return(DH_GROUP); }
  1002. YY_BREAK
  1003. case 151:
  1004. YY_RULE_SETUP
  1005. -#line 333 "cftoken.l"
  1006. +#line 334 "cftoken.l"
  1007. { YYD; return(NONCE_SIZE); }
  1008. YY_BREAK
  1009. case 152:
  1010. YY_RULE_SETUP
  1011. -#line 334 "cftoken.l"
  1012. +#line 335 "cftoken.l"
  1013. { YYD; return(GENERATE_POLICY); }
  1014. YY_BREAK
  1015. case 153:
  1016. YY_RULE_SETUP
  1017. -#line 335 "cftoken.l"
  1018. +#line 336 "cftoken.l"
  1019. { YYD; yylval.num = GENERATE_POLICY_UNIQUE; return(GENERATE_LEVEL); }
  1020. YY_BREAK
  1021. case 154:
  1022. YY_RULE_SETUP
  1023. -#line 336 "cftoken.l"
  1024. +#line 337 "cftoken.l"
  1025. { YYD; yylval.num = GENERATE_POLICY_REQUIRE; return(GENERATE_LEVEL); }
  1026. YY_BREAK
  1027. case 155:
  1028. YY_RULE_SETUP
  1029. -#line 337 "cftoken.l"
  1030. +#line 338 "cftoken.l"
  1031. { YYD; yywarn("it is obsoleted. use \"support_proxy\"."); return(SUPPORT_PROXY); }
  1032. YY_BREAK
  1033. case 156:
  1034. YY_RULE_SETUP
  1035. -#line 338 "cftoken.l"
  1036. +#line 339 "cftoken.l"
  1037. { YYD; return(SUPPORT_PROXY); }
  1038. YY_BREAK
  1039. case 157:
  1040. YY_RULE_SETUP
  1041. -#line 339 "cftoken.l"
  1042. +#line 340 "cftoken.l"
  1043. { YYD; return(INITIAL_CONTACT); }
  1044. YY_BREAK
  1045. case 158:
  1046. YY_RULE_SETUP
  1047. -#line 340 "cftoken.l"
  1048. +#line 341 "cftoken.l"
  1049. { YYD; return(NAT_TRAVERSAL); }
  1050. YY_BREAK
  1051. case 159:
  1052. YY_RULE_SETUP
  1053. -#line 341 "cftoken.l"
  1054. +#line 342 "cftoken.l"
  1055. { YYD; return(REMOTE_FORCE_LEVEL); }
  1056. YY_BREAK
  1057. case 160:
  1058. YY_RULE_SETUP
  1059. -#line 342 "cftoken.l"
  1060. +#line 343 "cftoken.l"
  1061. { YYD; return(PROPOSAL_CHECK); }
  1062. YY_BREAK
  1063. case 161:
  1064. YY_RULE_SETUP
  1065. -#line 343 "cftoken.l"
  1066. +#line 344 "cftoken.l"
  1067. { YYD; yylval.num = PROP_CHECK_OBEY; return(PROPOSAL_CHECK_LEVEL); }
  1068. YY_BREAK
  1069. case 162:
  1070. YY_RULE_SETUP
  1071. -#line 344 "cftoken.l"
  1072. +#line 345 "cftoken.l"
  1073. { YYD; yylval.num = PROP_CHECK_STRICT; return(PROPOSAL_CHECK_LEVEL); }
  1074. YY_BREAK
  1075. case 163:
  1076. YY_RULE_SETUP
  1077. -#line 345 "cftoken.l"
  1078. +#line 346 "cftoken.l"
  1079. { YYD; yylval.num = PROP_CHECK_EXACT; return(PROPOSAL_CHECK_LEVEL); }
  1080. YY_BREAK
  1081. case 164:
  1082. YY_RULE_SETUP
  1083. -#line 346 "cftoken.l"
  1084. +#line 347 "cftoken.l"
  1085. { YYD; yylval.num = PROP_CHECK_CLAIM; return(PROPOSAL_CHECK_LEVEL); }
  1086. YY_BREAK
  1087. case 165:
  1088. YY_RULE_SETUP
  1089. -#line 347 "cftoken.l"
  1090. +#line 348 "cftoken.l"
  1091. { YYD; return(KEEPALIVE); }
  1092. YY_BREAK
  1093. case 166:
  1094. YY_RULE_SETUP
  1095. -#line 348 "cftoken.l"
  1096. +#line 349 "cftoken.l"
  1097. { YYD; return(PASSIVE); }
  1098. YY_BREAK
  1099. case 167:
  1100. YY_RULE_SETUP
  1101. -#line 349 "cftoken.l"
  1102. +#line 350 "cftoken.l"
  1103. { YYD; return(LIFETIME); }
  1104. YY_BREAK
  1105. case 168:
  1106. YY_RULE_SETUP
  1107. -#line 350 "cftoken.l"
  1108. +#line 351 "cftoken.l"
  1109. { YYD; return(LIFETYPE_TIME); }
  1110. YY_BREAK
  1111. case 169:
  1112. YY_RULE_SETUP
  1113. -#line 351 "cftoken.l"
  1114. +#line 352 "cftoken.l"
  1115. { YYD; return(LIFETYPE_BYTE); }
  1116. YY_BREAK
  1117. case 170:
  1118. YY_RULE_SETUP
  1119. -#line 352 "cftoken.l"
  1120. +#line 353 "cftoken.l"
  1121. { YYD; return(DPD); }
  1122. YY_BREAK
  1123. case 171:
  1124. YY_RULE_SETUP
  1125. -#line 353 "cftoken.l"
  1126. +#line 354 "cftoken.l"
  1127. { YYD; return(DPD_DELAY); }
  1128. YY_BREAK
  1129. case 172:
  1130. YY_RULE_SETUP
  1131. -#line 354 "cftoken.l"
  1132. +#line 355 "cftoken.l"
  1133. { YYD; return(DPD_RETRY); }
  1134. YY_BREAK
  1135. case 173:
  1136. YY_RULE_SETUP
  1137. -#line 355 "cftoken.l"
  1138. +#line 356 "cftoken.l"
  1139. { YYD; return(DPD_MAXFAIL); }
  1140. YY_BREAK
  1141. case 174:
  1142. YY_RULE_SETUP
  1143. -#line 356 "cftoken.l"
  1144. +#line 357 "cftoken.l"
  1145. { YYD; return(PH1ID); }
  1146. YY_BREAK
  1147. case 175:
  1148. YY_RULE_SETUP
  1149. -#line 357 "cftoken.l"
  1150. +#line 358 "cftoken.l"
  1151. { YYD; return(IKE_FRAG); }
  1152. YY_BREAK
  1153. case 176:
  1154. YY_RULE_SETUP
  1155. -#line 358 "cftoken.l"
  1156. +#line 359 "cftoken.l"
  1157. { YYD; return(ESP_FRAG); }
  1158. YY_BREAK
  1159. case 177:
  1160. YY_RULE_SETUP
  1161. -#line 359 "cftoken.l"
  1162. +#line 360 "cftoken.l"
  1163. { YYD; return(SCRIPT); }
  1164. YY_BREAK
  1165. case 178:
  1166. YY_RULE_SETUP
  1167. -#line 360 "cftoken.l"
  1168. +#line 361 "cftoken.l"
  1169. { YYD; return(PHASE1_UP); }
  1170. YY_BREAK
  1171. case 179:
  1172. YY_RULE_SETUP
  1173. -#line 361 "cftoken.l"
  1174. +#line 362 "cftoken.l"
  1175. { YYD; return(PHASE1_DOWN); }
  1176. YY_BREAK
  1177. case 180:
  1178. YY_RULE_SETUP
  1179. -#line 362 "cftoken.l"
  1180. +#line 363 "cftoken.l"
  1181. { YYD; return(MODE_CFG); }
  1182. YY_BREAK
  1183. case 181:
  1184. YY_RULE_SETUP
  1185. -#line 363 "cftoken.l"
  1186. +#line 364 "cftoken.l"
  1187. { YYD; return(WEAK_PHASE1_CHECK); }
  1188. YY_BREAK
  1189. /* remote proposal */
  1190. case 182:
  1191. YY_RULE_SETUP
  1192. -#line 365 "cftoken.l"
  1193. +#line 366 "cftoken.l"
  1194. { BEGIN S_RMTP; YYDB; return(PROPOSAL); }
  1195. YY_BREAK
  1196. case 183:
  1197. YY_RULE_SETUP
  1198. -#line 366 "cftoken.l"
  1199. +#line 367 "cftoken.l"
  1200. { return(BOC); }
  1201. YY_BREAK
  1202. case 184:
  1203. YY_RULE_SETUP
  1204. -#line 367 "cftoken.l"
  1205. +#line 368 "cftoken.l"
  1206. { BEGIN S_RMTS; return(EOC); }
  1207. YY_BREAK
  1208. case 185:
  1209. YY_RULE_SETUP
  1210. -#line 368 "cftoken.l"
  1211. +#line 369 "cftoken.l"
  1212. { YYD; return(LIFETIME); }
  1213. YY_BREAK
  1214. case 186:
  1215. YY_RULE_SETUP
  1216. -#line 369 "cftoken.l"
  1217. +#line 370 "cftoken.l"
  1218. { YYD; return(LIFETYPE_TIME); }
  1219. YY_BREAK
  1220. case 187:
  1221. YY_RULE_SETUP
  1222. -#line 370 "cftoken.l"
  1223. +#line 371 "cftoken.l"
  1224. { YYD; return(LIFETYPE_BYTE); }
  1225. YY_BREAK
  1226. case 188:
  1227. YY_RULE_SETUP
  1228. -#line 371 "cftoken.l"
  1229. +#line 372 "cftoken.l"
  1230. { YYD; yylval.num = algclass_isakmp_enc; return(ALGORITHM_CLASS); }
  1231. YY_BREAK
  1232. case 189:
  1233. YY_RULE_SETUP
  1234. -#line 372 "cftoken.l"
  1235. +#line 373 "cftoken.l"
  1236. { YYD; yylval.num = algclass_isakmp_ameth; return(ALGORITHM_CLASS); }
  1237. YY_BREAK
  1238. case 190:
  1239. YY_RULE_SETUP
  1240. -#line 373 "cftoken.l"
  1241. +#line 374 "cftoken.l"
  1242. { YYD; yylval.num = algclass_isakmp_hash; return(ALGORITHM_CLASS); }
  1243. YY_BREAK
  1244. case 191:
  1245. YY_RULE_SETUP
  1246. -#line 374 "cftoken.l"
  1247. +#line 375 "cftoken.l"
  1248. { YYD; return(DH_GROUP); }
  1249. YY_BREAK
  1250. case 192:
  1251. YY_RULE_SETUP
  1252. -#line 375 "cftoken.l"
  1253. +#line 376 "cftoken.l"
  1254. { YYD; return(GSS_ID); }
  1255. YY_BREAK
  1256. case 193:
  1257. YY_RULE_SETUP
  1258. -#line 376 "cftoken.l"
  1259. +#line 377 "cftoken.l"
  1260. { YYD; return(GSS_ID); } /* for back compatibility */
  1261. YY_BREAK
  1262. /* GSS ID encoding type (global) */
  1263. case 194:
  1264. YY_RULE_SETUP
  1265. -#line 379 "cftoken.l"
  1266. +#line 380 "cftoken.l"
  1267. { BEGIN S_GSSENC; YYDB; return(GSS_ID_ENC); }
  1268. YY_BREAK
  1269. case 195:
  1270. YY_RULE_SETUP
  1271. -#line 380 "cftoken.l"
  1272. +#line 381 "cftoken.l"
  1273. { YYD; yylval.num = LC_GSSENC_LATIN1;
  1274. return(GSS_ID_ENCTYPE); }
  1275. YY_BREAK
  1276. case 196:
  1277. YY_RULE_SETUP
  1278. -#line 382 "cftoken.l"
  1279. +#line 383 "cftoken.l"
  1280. { YYD; yylval.num = LC_GSSENC_UTF16LE;
  1281. return(GSS_ID_ENCTYPE); }
  1282. YY_BREAK
  1283. case 197:
  1284. YY_RULE_SETUP
  1285. -#line 384 "cftoken.l"
  1286. +#line 385 "cftoken.l"
  1287. { BEGIN S_INI; YYDB; return(EOS); }
  1288. YY_BREAK
  1289. /* parameter */
  1290. case 198:
  1291. YY_RULE_SETUP
  1292. -#line 387 "cftoken.l"
  1293. +#line 388 "cftoken.l"
  1294. { YYD; yylval.num = TRUE; return(SWITCH); }
  1295. YY_BREAK
  1296. case 199:
  1297. YY_RULE_SETUP
  1298. -#line 388 "cftoken.l"
  1299. +#line 389 "cftoken.l"
  1300. { YYD; yylval.num = FALSE; return(SWITCH); }
  1301. YY_BREAK
  1302. /* prefix */
  1303. case 200:
  1304. YY_RULE_SETUP
  1305. -#line 391 "cftoken.l"
  1306. +#line 392 "cftoken.l"
  1307. {
  1308. YYD;
  1309. yytext++;
  1310. @@ -2947,7 +2970,7 @@ YY_RULE_SETUP
  1311. /* port number */
  1312. case 201:
  1313. YY_RULE_SETUP
  1314. -#line 399 "cftoken.l"
  1315. +#line 400 "cftoken.l"
  1316. {
  1317. char *p = yytext;
  1318. YYD;
  1319. @@ -2961,7 +2984,7 @@ YY_RULE_SETUP
  1320. /* address range */
  1321. case 202:
  1322. YY_RULE_SETUP
  1323. -#line 410 "cftoken.l"
  1324. +#line 411 "cftoken.l"
  1325. {
  1326. YYD;
  1327. yytext++;
  1328. @@ -2977,318 +3000,318 @@ YY_RULE_SETUP
  1329. /* upper protocol */
  1330. case 203:
  1331. YY_RULE_SETUP
  1332. -#line 423 "cftoken.l"
  1333. +#line 424 "cftoken.l"
  1334. { YYD; yylval.num = IPPROTO_ESP; return(UL_PROTO); }
  1335. YY_BREAK
  1336. case 204:
  1337. YY_RULE_SETUP
  1338. -#line 424 "cftoken.l"
  1339. +#line 425 "cftoken.l"
  1340. { YYD; yylval.num = IPPROTO_AH; return(UL_PROTO); }
  1341. YY_BREAK
  1342. case 205:
  1343. YY_RULE_SETUP
  1344. -#line 425 "cftoken.l"
  1345. +#line 426 "cftoken.l"
  1346. { YYD; yylval.num = IPPROTO_IPCOMP; return(UL_PROTO); }
  1347. YY_BREAK
  1348. case 206:
  1349. YY_RULE_SETUP
  1350. -#line 426 "cftoken.l"
  1351. +#line 427 "cftoken.l"
  1352. { YYD; yylval.num = IPPROTO_ICMP; return(UL_PROTO); }
  1353. YY_BREAK
  1354. case 207:
  1355. YY_RULE_SETUP
  1356. -#line 427 "cftoken.l"
  1357. +#line 428 "cftoken.l"
  1358. { YYD; yylval.num = IPPROTO_ICMPV6; return(UL_PROTO); }
  1359. YY_BREAK
  1360. case 208:
  1361. YY_RULE_SETUP
  1362. -#line 428 "cftoken.l"
  1363. +#line 429 "cftoken.l"
  1364. { YYD; yylval.num = IPPROTO_TCP; return(UL_PROTO); }
  1365. YY_BREAK
  1366. case 209:
  1367. YY_RULE_SETUP
  1368. -#line 429 "cftoken.l"
  1369. +#line 430 "cftoken.l"
  1370. { YYD; yylval.num = IPPROTO_UDP; return(UL_PROTO); }
  1371. YY_BREAK
  1372. /* algorithm type */
  1373. case 210:
  1374. YY_RULE_SETUP
  1375. -#line 432 "cftoken.l"
  1376. +#line 433 "cftoken.l"
  1377. { YYD; yylval.num = algtype_des_iv64; return(ALGORITHMTYPE); }
  1378. YY_BREAK
  1379. case 211:
  1380. YY_RULE_SETUP
  1381. -#line 433 "cftoken.l"
  1382. +#line 434 "cftoken.l"
  1383. { YYD; yylval.num = algtype_des; return(ALGORITHMTYPE); }
  1384. YY_BREAK
  1385. case 212:
  1386. YY_RULE_SETUP
  1387. -#line 434 "cftoken.l"
  1388. +#line 435 "cftoken.l"
  1389. { YYD; yylval.num = algtype_3des; return(ALGORITHMTYPE); }
  1390. YY_BREAK
  1391. case 213:
  1392. YY_RULE_SETUP
  1393. -#line 435 "cftoken.l"
  1394. +#line 436 "cftoken.l"
  1395. { YYD; yylval.num = algtype_rc5; return(ALGORITHMTYPE); }
  1396. YY_BREAK
  1397. case 214:
  1398. YY_RULE_SETUP
  1399. -#line 436 "cftoken.l"
  1400. +#line 437 "cftoken.l"
  1401. { YYD; yylval.num = algtype_idea; return(ALGORITHMTYPE); }
  1402. YY_BREAK
  1403. case 215:
  1404. YY_RULE_SETUP
  1405. -#line 437 "cftoken.l"
  1406. +#line 438 "cftoken.l"
  1407. { YYD; yylval.num = algtype_cast128; return(ALGORITHMTYPE); }
  1408. YY_BREAK
  1409. case 216:
  1410. YY_RULE_SETUP
  1411. -#line 438 "cftoken.l"
  1412. +#line 439 "cftoken.l"
  1413. { YYD; yylval.num = algtype_blowfish; return(ALGORITHMTYPE); }
  1414. YY_BREAK
  1415. case 217:
  1416. YY_RULE_SETUP
  1417. -#line 439 "cftoken.l"
  1418. +#line 440 "cftoken.l"
  1419. { YYD; yylval.num = algtype_3idea; return(ALGORITHMTYPE); }
  1420. YY_BREAK
  1421. case 218:
  1422. YY_RULE_SETUP
  1423. -#line 440 "cftoken.l"
  1424. +#line 441 "cftoken.l"
  1425. { YYD; yylval.num = algtype_des_iv32; return(ALGORITHMTYPE); }
  1426. YY_BREAK
  1427. case 219:
  1428. YY_RULE_SETUP
  1429. -#line 441 "cftoken.l"
  1430. +#line 442 "cftoken.l"
  1431. { YYD; yylval.num = algtype_rc4; return(ALGORITHMTYPE); }
  1432. YY_BREAK
  1433. case 220:
  1434. YY_RULE_SETUP
  1435. -#line 442 "cftoken.l"
  1436. +#line 443 "cftoken.l"
  1437. { YYD; yylval.num = algtype_null_enc; return(ALGORITHMTYPE); }
  1438. YY_BREAK
  1439. case 221:
  1440. YY_RULE_SETUP
  1441. -#line 443 "cftoken.l"
  1442. +#line 444 "cftoken.l"
  1443. { YYD; yylval.num = algtype_null_enc; return(ALGORITHMTYPE); }
  1444. YY_BREAK
  1445. case 222:
  1446. YY_RULE_SETUP
  1447. -#line 444 "cftoken.l"
  1448. +#line 445 "cftoken.l"
  1449. { YYD; yylval.num = algtype_aes; return(ALGORITHMTYPE); }
  1450. YY_BREAK
  1451. case 223:
  1452. YY_RULE_SETUP
  1453. -#line 445 "cftoken.l"
  1454. +#line 446 "cftoken.l"
  1455. { YYD; yylval.num = algtype_aes; return(ALGORITHMTYPE); }
  1456. YY_BREAK
  1457. case 224:
  1458. YY_RULE_SETUP
  1459. -#line 446 "cftoken.l"
  1460. +#line 447 "cftoken.l"
  1461. { YYD; yylval.num = algtype_twofish; return(ALGORITHMTYPE); }
  1462. YY_BREAK
  1463. case 225:
  1464. YY_RULE_SETUP
  1465. -#line 447 "cftoken.l"
  1466. +#line 448 "cftoken.l"
  1467. { YYD; yylval.num = algtype_camellia; return(ALGORITHMTYPE); }
  1468. YY_BREAK
  1469. case 226:
  1470. YY_RULE_SETUP
  1471. -#line 448 "cftoken.l"
  1472. +#line 449 "cftoken.l"
  1473. { YYD; yylval.num = algtype_non_auth; return(ALGORITHMTYPE); }
  1474. YY_BREAK
  1475. case 227:
  1476. YY_RULE_SETUP
  1477. -#line 449 "cftoken.l"
  1478. +#line 450 "cftoken.l"
  1479. { YYD; yylval.num = algtype_hmac_md5; return(ALGORITHMTYPE); }
  1480. YY_BREAK
  1481. case 228:
  1482. YY_RULE_SETUP
  1483. -#line 450 "cftoken.l"
  1484. +#line 451 "cftoken.l"
  1485. { YYD; yylval.num = algtype_hmac_sha1; return(ALGORITHMTYPE); }
  1486. YY_BREAK
  1487. case 229:
  1488. YY_RULE_SETUP
  1489. -#line 451 "cftoken.l"
  1490. +#line 452 "cftoken.l"
  1491. { YYD; yylval.num = algtype_hmac_sha2_256; return(ALGORITHMTYPE); }
  1492. YY_BREAK
  1493. case 230:
  1494. YY_RULE_SETUP
  1495. -#line 452 "cftoken.l"
  1496. +#line 453 "cftoken.l"
  1497. { YYD; yylval.num = algtype_hmac_sha2_256; return(ALGORITHMTYPE); }
  1498. YY_BREAK
  1499. case 231:
  1500. YY_RULE_SETUP
  1501. -#line 453 "cftoken.l"
  1502. +#line 454 "cftoken.l"
  1503. { YYD; yylval.num = algtype_hmac_sha2_384; return(ALGORITHMTYPE); }
  1504. YY_BREAK
  1505. case 232:
  1506. YY_RULE_SETUP
  1507. -#line 454 "cftoken.l"
  1508. +#line 455 "cftoken.l"
  1509. { YYD; yylval.num = algtype_hmac_sha2_384; return(ALGORITHMTYPE); }
  1510. YY_BREAK
  1511. case 233:
  1512. YY_RULE_SETUP
  1513. -#line 455 "cftoken.l"
  1514. +#line 456 "cftoken.l"
  1515. { YYD; yylval.num = algtype_hmac_sha2_512; return(ALGORITHMTYPE); }
  1516. YY_BREAK
  1517. case 234:
  1518. YY_RULE_SETUP
  1519. -#line 456 "cftoken.l"
  1520. +#line 457 "cftoken.l"
  1521. { YYD; yylval.num = algtype_hmac_sha2_512; return(ALGORITHMTYPE); }
  1522. YY_BREAK
  1523. case 235:
  1524. YY_RULE_SETUP
  1525. -#line 457 "cftoken.l"
  1526. +#line 458 "cftoken.l"
  1527. { YYD; yylval.num = algtype_des_mac; return(ALGORITHMTYPE); }
  1528. YY_BREAK
  1529. case 236:
  1530. YY_RULE_SETUP
  1531. -#line 458 "cftoken.l"
  1532. +#line 459 "cftoken.l"
  1533. { YYD; yylval.num = algtype_kpdk; return(ALGORITHMTYPE); }
  1534. YY_BREAK
  1535. case 237:
  1536. YY_RULE_SETUP
  1537. -#line 459 "cftoken.l"
  1538. +#line 460 "cftoken.l"
  1539. { YYD; yylval.num = algtype_md5; return(ALGORITHMTYPE); }
  1540. YY_BREAK
  1541. case 238:
  1542. YY_RULE_SETUP
  1543. -#line 460 "cftoken.l"
  1544. +#line 461 "cftoken.l"
  1545. { YYD; yylval.num = algtype_sha1; return(ALGORITHMTYPE); }
  1546. YY_BREAK
  1547. case 239:
  1548. YY_RULE_SETUP
  1549. -#line 461 "cftoken.l"
  1550. +#line 462 "cftoken.l"
  1551. { YYD; yylval.num = algtype_tiger; return(ALGORITHMTYPE); }
  1552. YY_BREAK
  1553. case 240:
  1554. YY_RULE_SETUP
  1555. -#line 462 "cftoken.l"
  1556. +#line 463 "cftoken.l"
  1557. { YYD; yylval.num = algtype_sha2_256; return(ALGORITHMTYPE); }
  1558. YY_BREAK
  1559. case 241:
  1560. YY_RULE_SETUP
  1561. -#line 463 "cftoken.l"
  1562. +#line 464 "cftoken.l"
  1563. { YYD; yylval.num = algtype_sha2_256; return(ALGORITHMTYPE); }
  1564. YY_BREAK
  1565. case 242:
  1566. YY_RULE_SETUP
  1567. -#line 464 "cftoken.l"
  1568. +#line 465 "cftoken.l"
  1569. { YYD; yylval.num = algtype_sha2_384; return(ALGORITHMTYPE); }
  1570. YY_BREAK
  1571. case 243:
  1572. YY_RULE_SETUP
  1573. -#line 465 "cftoken.l"
  1574. +#line 466 "cftoken.l"
  1575. { YYD; yylval.num = algtype_sha2_384; return(ALGORITHMTYPE); }
  1576. YY_BREAK
  1577. case 244:
  1578. YY_RULE_SETUP
  1579. -#line 466 "cftoken.l"
  1580. +#line 467 "cftoken.l"
  1581. { YYD; yylval.num = algtype_sha2_512; return(ALGORITHMTYPE); }
  1582. YY_BREAK
  1583. case 245:
  1584. YY_RULE_SETUP
  1585. -#line 467 "cftoken.l"
  1586. +#line 468 "cftoken.l"
  1587. { YYD; yylval.num = algtype_sha2_512; return(ALGORITHMTYPE); }
  1588. YY_BREAK
  1589. case 246:
  1590. YY_RULE_SETUP
  1591. -#line 468 "cftoken.l"
  1592. +#line 469 "cftoken.l"
  1593. { YYD; yylval.num = algtype_oui; return(ALGORITHMTYPE); }
  1594. YY_BREAK
  1595. case 247:
  1596. YY_RULE_SETUP
  1597. -#line 469 "cftoken.l"
  1598. +#line 470 "cftoken.l"
  1599. { YYD; yylval.num = algtype_deflate; return(ALGORITHMTYPE); }
  1600. YY_BREAK
  1601. case 248:
  1602. YY_RULE_SETUP
  1603. -#line 470 "cftoken.l"
  1604. +#line 471 "cftoken.l"
  1605. { YYD; yylval.num = algtype_lzs; return(ALGORITHMTYPE); }
  1606. YY_BREAK
  1607. case 249:
  1608. YY_RULE_SETUP
  1609. -#line 471 "cftoken.l"
  1610. +#line 472 "cftoken.l"
  1611. { YYD; yylval.num = algtype_modp768; return(ALGORITHMTYPE); }
  1612. YY_BREAK
  1613. case 250:
  1614. YY_RULE_SETUP
  1615. -#line 472 "cftoken.l"
  1616. +#line 473 "cftoken.l"
  1617. { YYD; yylval.num = algtype_modp1024; return(ALGORITHMTYPE); }
  1618. YY_BREAK
  1619. case 251:
  1620. YY_RULE_SETUP
  1621. -#line 473 "cftoken.l"
  1622. +#line 474 "cftoken.l"
  1623. { YYD; yylval.num = algtype_modp1536; return(ALGORITHMTYPE); }
  1624. YY_BREAK
  1625. case 252:
  1626. YY_RULE_SETUP
  1627. -#line 474 "cftoken.l"
  1628. +#line 475 "cftoken.l"
  1629. { YYD; yylval.num = algtype_ec2n155; return(ALGORITHMTYPE); }
  1630. YY_BREAK
  1631. case 253:
  1632. YY_RULE_SETUP
  1633. -#line 475 "cftoken.l"
  1634. +#line 476 "cftoken.l"
  1635. { YYD; yylval.num = algtype_ec2n185; return(ALGORITHMTYPE); }
  1636. YY_BREAK
  1637. case 254:
  1638. YY_RULE_SETUP
  1639. -#line 476 "cftoken.l"
  1640. +#line 477 "cftoken.l"
  1641. { YYD; yylval.num = algtype_modp2048; return(ALGORITHMTYPE); }
  1642. YY_BREAK
  1643. case 255:
  1644. YY_RULE_SETUP
  1645. -#line 477 "cftoken.l"
  1646. +#line 478 "cftoken.l"
  1647. { YYD; yylval.num = algtype_modp3072; return(ALGORITHMTYPE); }
  1648. YY_BREAK
  1649. case 256:
  1650. YY_RULE_SETUP
  1651. -#line 478 "cftoken.l"
  1652. +#line 479 "cftoken.l"
  1653. { YYD; yylval.num = algtype_modp4096; return(ALGORITHMTYPE); }
  1654. YY_BREAK
  1655. case 257:
  1656. YY_RULE_SETUP
  1657. -#line 479 "cftoken.l"
  1658. +#line 480 "cftoken.l"
  1659. { YYD; yylval.num = algtype_modp6144; return(ALGORITHMTYPE); }
  1660. YY_BREAK
  1661. case 258:
  1662. YY_RULE_SETUP
  1663. -#line 480 "cftoken.l"
  1664. +#line 481 "cftoken.l"
  1665. { YYD; yylval.num = algtype_modp8192; return(ALGORITHMTYPE); }
  1666. YY_BREAK
  1667. case 259:
  1668. YY_RULE_SETUP
  1669. -#line 481 "cftoken.l"
  1670. +#line 482 "cftoken.l"
  1671. { YYD; yylval.num = algtype_psk; return(ALGORITHMTYPE); }
  1672. YY_BREAK
  1673. case 260:
  1674. YY_RULE_SETUP
  1675. -#line 482 "cftoken.l"
  1676. +#line 483 "cftoken.l"
  1677. { YYD; yylval.num = algtype_rsasig; return(ALGORITHMTYPE); }
  1678. YY_BREAK
  1679. case 261:
  1680. YY_RULE_SETUP
  1681. -#line 483 "cftoken.l"
  1682. +#line 484 "cftoken.l"
  1683. { YYD; yylval.num = algtype_dsssig; return(ALGORITHMTYPE); }
  1684. YY_BREAK
  1685. case 262:
  1686. YY_RULE_SETUP
  1687. -#line 484 "cftoken.l"
  1688. +#line 485 "cftoken.l"
  1689. { YYD; yylval.num = algtype_rsaenc; return(ALGORITHMTYPE); }
  1690. YY_BREAK
  1691. case 263:
  1692. YY_RULE_SETUP
  1693. -#line 485 "cftoken.l"
  1694. +#line 486 "cftoken.l"
  1695. { YYD; yylval.num = algtype_rsarev; return(ALGORITHMTYPE); }
  1696. YY_BREAK
  1697. case 264:
  1698. YY_RULE_SETUP
  1699. -#line 486 "cftoken.l"
  1700. +#line 487 "cftoken.l"
  1701. { YYD; yylval.num = algtype_gssapikrb; return(ALGORITHMTYPE); }
  1702. YY_BREAK
  1703. case 265:
  1704. YY_RULE_SETUP
  1705. -#line 487 "cftoken.l"
  1706. +#line 488 "cftoken.l"
  1707. {
  1708. #ifdef ENABLE_HYBRID
  1709. YYD; yylval.num = algtype_hybrid_rsa_s; return(ALGORITHMTYPE);
  1710. @@ -3299,7 +3322,7 @@ YY_RULE_SETUP
  1711. YY_BREAK
  1712. case 266:
  1713. YY_RULE_SETUP
  1714. -#line 494 "cftoken.l"
  1715. +#line 495 "cftoken.l"
  1716. {
  1717. #ifdef ENABLE_HYBRID
  1718. YYD; yylval.num = algtype_hybrid_dss_s; return(ALGORITHMTYPE);
  1719. @@ -3310,7 +3333,7 @@ YY_RULE_SETUP
  1720. YY_BREAK
  1721. case 267:
  1722. YY_RULE_SETUP
  1723. -#line 501 "cftoken.l"
  1724. +#line 502 "cftoken.l"
  1725. {
  1726. #ifdef ENABLE_HYBRID
  1727. YYD; yylval.num = algtype_hybrid_rsa_c; return(ALGORITHMTYPE);
  1728. @@ -3321,7 +3344,7 @@ YY_RULE_SETUP
  1729. YY_BREAK
  1730. case 268:
  1731. YY_RULE_SETUP
  1732. -#line 508 "cftoken.l"
  1733. +#line 509 "cftoken.l"
  1734. {
  1735. #ifdef ENABLE_HYBRID
  1736. YYD; yylval.num = algtype_hybrid_dss_c; return(ALGORITHMTYPE);
  1737. @@ -3332,7 +3355,7 @@ YY_RULE_SETUP
  1738. YY_BREAK
  1739. case 269:
  1740. YY_RULE_SETUP
  1741. -#line 515 "cftoken.l"
  1742. +#line 516 "cftoken.l"
  1743. {
  1744. #ifdef ENABLE_HYBRID
  1745. YYD; yylval.num = algtype_xauth_psk_s; return(ALGORITHMTYPE);
  1746. @@ -3343,7 +3366,7 @@ YY_RULE_SETUP
  1747. YY_BREAK
  1748. case 270:
  1749. YY_RULE_SETUP
  1750. -#line 522 "cftoken.l"
  1751. +#line 523 "cftoken.l"
  1752. {
  1753. #ifdef ENABLE_HYBRID
  1754. YYD; yylval.num = algtype_xauth_psk_c; return(ALGORITHMTYPE);
  1755. @@ -3354,7 +3377,7 @@ YY_RULE_SETUP
  1756. YY_BREAK
  1757. case 271:
  1758. YY_RULE_SETUP
  1759. -#line 529 "cftoken.l"
  1760. +#line 530 "cftoken.l"
  1761. {
  1762. #ifdef ENABLE_HYBRID
  1763. YYD; yylval.num = algtype_xauth_rsa_s; return(ALGORITHMTYPE);
  1764. @@ -3365,7 +3388,7 @@ YY_RULE_SETUP
  1765. YY_BREAK
  1766. case 272:
  1767. YY_RULE_SETUP
  1768. -#line 536 "cftoken.l"
  1769. +#line 537 "cftoken.l"
  1770. {
  1771. #ifdef ENABLE_HYBRID
  1772. YYD; yylval.num = algtype_xauth_rsa_c; return(ALGORITHMTYPE);
  1773. @@ -3377,105 +3400,105 @@ YY_RULE_SETUP
  1774. /* identifier type */
  1775. case 273:
  1776. YY_RULE_SETUP
  1777. -#line 546 "cftoken.l"
  1778. +#line 547 "cftoken.l"
  1779. { YYD; yywarn("it is obsoleted."); return(VENDORID); }
  1780. YY_BREAK
  1781. case 274:
  1782. YY_RULE_SETUP
  1783. -#line 547 "cftoken.l"
  1784. +#line 548 "cftoken.l"
  1785. { YYD; yylval.num = IDTYPE_USERFQDN; return(IDENTIFIERTYPE); }
  1786. YY_BREAK
  1787. case 275:
  1788. YY_RULE_SETUP
  1789. -#line 548 "cftoken.l"
  1790. +#line 549 "cftoken.l"
  1791. { YYD; yylval.num = IDTYPE_FQDN; return(IDENTIFIERTYPE); }
  1792. YY_BREAK
  1793. case 276:
  1794. YY_RULE_SETUP
  1795. -#line 549 "cftoken.l"
  1796. +#line 550 "cftoken.l"
  1797. { YYD; yylval.num = IDTYPE_KEYID; return(IDENTIFIERTYPE); }
  1798. YY_BREAK
  1799. case 277:
  1800. YY_RULE_SETUP
  1801. -#line 550 "cftoken.l"
  1802. +#line 551 "cftoken.l"
  1803. { YYD; yylval.num = IDTYPE_ADDRESS; return(IDENTIFIERTYPE); }
  1804. YY_BREAK
  1805. case 278:
  1806. YY_RULE_SETUP
  1807. -#line 551 "cftoken.l"
  1808. +#line 552 "cftoken.l"
  1809. { YYD; yylval.num = IDTYPE_SUBNET; return(IDENTIFIERTYPE); }
  1810. YY_BREAK
  1811. case 279:
  1812. YY_RULE_SETUP
  1813. -#line 552 "cftoken.l"
  1814. +#line 553 "cftoken.l"
  1815. { YYD; yylval.num = IDTYPE_ASN1DN; return(IDENTIFIERTYPE); }
  1816. YY_BREAK
  1817. case 280:
  1818. YY_RULE_SETUP
  1819. -#line 553 "cftoken.l"
  1820. +#line 554 "cftoken.l"
  1821. { YYD; yywarn("certname will be obsoleted in near future."); yylval.num = IDTYPE_ASN1DN; return(IDENTIFIERTYPE); }
  1822. YY_BREAK
  1823. /* identifier qualifier */
  1824. case 281:
  1825. YY_RULE_SETUP
  1826. -#line 556 "cftoken.l"
  1827. +#line 557 "cftoken.l"
  1828. { YYD; yylval.num = IDQUAL_TAG; return(IDENTIFIERQUAL); }
  1829. YY_BREAK
  1830. case 282:
  1831. YY_RULE_SETUP
  1832. -#line 557 "cftoken.l"
  1833. +#line 558 "cftoken.l"
  1834. { YYD; yylval.num = IDQUAL_FILE; return(IDENTIFIERQUAL); }
  1835. YY_BREAK
  1836. /* units */
  1837. case 283:
  1838. YY_RULE_SETUP
  1839. -#line 560 "cftoken.l"
  1840. +#line 561 "cftoken.l"
  1841. { YYD; return(UNITTYPE_BYTE); }
  1842. YY_BREAK
  1843. case 284:
  1844. YY_RULE_SETUP
  1845. -#line 561 "cftoken.l"
  1846. +#line 562 "cftoken.l"
  1847. { YYD; return(UNITTYPE_KBYTES); }
  1848. YY_BREAK
  1849. case 285:
  1850. YY_RULE_SETUP
  1851. -#line 562 "cftoken.l"
  1852. +#line 563 "cftoken.l"
  1853. { YYD; return(UNITTYPE_MBYTES); }
  1854. YY_BREAK
  1855. case 286:
  1856. YY_RULE_SETUP
  1857. -#line 563 "cftoken.l"
  1858. +#line 564 "cftoken.l"
  1859. { YYD; return(UNITTYPE_TBYTES); }
  1860. YY_BREAK
  1861. case 287:
  1862. YY_RULE_SETUP
  1863. -#line 564 "cftoken.l"
  1864. +#line 565 "cftoken.l"
  1865. { YYD; return(UNITTYPE_SEC); }
  1866. YY_BREAK
  1867. case 288:
  1868. YY_RULE_SETUP
  1869. -#line 565 "cftoken.l"
  1870. +#line 566 "cftoken.l"
  1871. { YYD; return(UNITTYPE_MIN); }
  1872. YY_BREAK
  1873. case 289:
  1874. YY_RULE_SETUP
  1875. -#line 566 "cftoken.l"
  1876. +#line 567 "cftoken.l"
  1877. { YYD; return(UNITTYPE_HOUR); }
  1878. YY_BREAK
  1879. /* boolean */
  1880. case 290:
  1881. YY_RULE_SETUP
  1882. -#line 569 "cftoken.l"
  1883. +#line 570 "cftoken.l"
  1884. { YYD; yylval.num = TRUE; return(BOOLEAN); }
  1885. YY_BREAK
  1886. case 291:
  1887. YY_RULE_SETUP
  1888. -#line 570 "cftoken.l"
  1889. +#line 571 "cftoken.l"
  1890. { YYD; yylval.num = FALSE; return(BOOLEAN); }
  1891. YY_BREAK
  1892. case 292:
  1893. YY_RULE_SETUP
  1894. -#line 572 "cftoken.l"
  1895. +#line 573 "cftoken.l"
  1896. {
  1897. char *bp;
  1898. @@ -3486,7 +3509,7 @@ YY_RULE_SETUP
  1899. YY_BREAK
  1900. case 293:
  1901. YY_RULE_SETUP
  1902. -#line 580 "cftoken.l"
  1903. +#line 581 "cftoken.l"
  1904. {
  1905. char *p;
  1906. @@ -3512,7 +3535,7 @@ YY_RULE_SETUP
  1907. case 294:
  1908. /* rule 294 can match eol */
  1909. YY_RULE_SETUP
  1910. -#line 602 "cftoken.l"
  1911. +#line 603 "cftoken.l"
  1912. {
  1913. char *p = yytext;
  1914. @@ -3532,7 +3555,7 @@ YY_RULE_SETUP
  1915. YY_BREAK
  1916. case 295:
  1917. YY_RULE_SETUP
  1918. -#line 619 "cftoken.l"
  1919. +#line 620 "cftoken.l"
  1920. {
  1921. YYD;
  1922. @@ -3566,7 +3589,7 @@ case YY_STATE_EOF(S_RMTS):
  1923. case YY_STATE_EOF(S_RMTP):
  1924. case YY_STATE_EOF(S_SA):
  1925. case YY_STATE_EOF(S_GSSENC):
  1926. -#line 632 "cftoken.l"
  1927. +#line 633 "cftoken.l"
  1928. {
  1929. yy_delete_buffer(YY_CURRENT_BUFFER);
  1930. incstackp--;
  1931. @@ -3594,36 +3617,36 @@ case YY_STATE_EOF(S_GSSENC):
  1932. /* ... */
  1933. case 296:
  1934. YY_RULE_SETUP
  1935. -#line 657 "cftoken.l"
  1936. +#line 658 "cftoken.l"
  1937. { ; }
  1938. YY_BREAK
  1939. case 297:
  1940. /* rule 297 can match eol */
  1941. YY_RULE_SETUP
  1942. -#line 658 "cftoken.l"
  1943. +#line 659 "cftoken.l"
  1944. { incstack[incstackp].lineno++; }
  1945. YY_BREAK
  1946. case 298:
  1947. YY_RULE_SETUP
  1948. -#line 659 "cftoken.l"
  1949. +#line 660 "cftoken.l"
  1950. { YYD; }
  1951. YY_BREAK
  1952. case 299:
  1953. YY_RULE_SETUP
  1954. -#line 660 "cftoken.l"
  1955. +#line 661 "cftoken.l"
  1956. { return(EOS); }
  1957. YY_BREAK
  1958. case 300:
  1959. YY_RULE_SETUP
  1960. -#line 661 "cftoken.l"
  1961. +#line 662 "cftoken.l"
  1962. { yymore(); }
  1963. YY_BREAK
  1964. case 301:
  1965. YY_RULE_SETUP
  1966. -#line 663 "cftoken.l"
  1967. +#line 664 "cftoken.l"
  1968. ECHO;
  1969. YY_BREAK
  1970. -#line 3627 "cftoken.c"
  1971. +#line 3650 "cftoken.c"
  1972. case YY_END_OF_BUFFER:
  1973. {
  1974. @@ -4171,9 +4194,19 @@ static void yy_load_buffer_state (void)
  1975. yyfree((void *) b );
  1976. }
  1977. -#ifndef __cplusplus
  1978. +#ifndef _UNISTD_H /* assume unistd.h has isatty() for us */
  1979. +#ifdef __cplusplus
  1980. +extern "C" {
  1981. +#endif
  1982. +#ifdef __THROW /* this is a gnuism */
  1983. +extern int isatty (int ) __THROW;
  1984. +#else
  1985. extern int isatty (int );
  1986. -#endif /* __cplusplus */
  1987. +#endif
  1988. +#ifdef __cplusplus
  1989. +}
  1990. +#endif
  1991. +#endif
  1992. /* Initializes or reinitializes a buffer.
  1993. * This function is sometimes called more than once on the same buffer,
  1994. @@ -4619,7 +4652,7 @@ void yyfree (void * ptr )
  1995. #define YYTABLES_NAME "yytables"
  1996. -#line 663 "cftoken.l"
  1997. +#line 664 "cftoken.l"