Changeset 7907
- Timestamp:
- 01/24/08 17:02:07 (3 years ago)
- svm:headrev:
c624a6cb-57d4-0310-9736-a25a8df6d016:12498- svk:copy_cache_prev:
- 7880
- Location:
- mirror/edenwall/nulog2/trunk
- Files:
-
- 10 modified
-
TODO (modified) (1 diff)
-
nulog-core/inl.py (modified) (1 diff)
-
nulog-core/table.py (modified) (1 diff)
-
nulog-web/default.nulog.conf (modified) (1 diff)
-
nulog-web/nulog.pot (modified) (10 diffs)
-
nulog-web/nulog.py (modified) (1 diff)
-
nulog-web/po/fr/LC_MESSAGES/nulog.mo (modified) (previous)
-
nulog-web/po/fr/LC_MESSAGES/nulog.po (modified) (37 diffs)
-
nulog-web/tools.py (modified) (3 diffs)
-
tools/traffic_maker.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mirror/edenwall/nulog2/trunk/TODO
r7463 r7907 21 21 22 22 * Few features: 23 - change height of table when reloading fragment (to store the same height and show ajax load icon inside).24 - use systemgraph colours.25 23 - hide multiplicator on histogram when ords are too big. 26 24 - have pages w3c compliant. (with the IE compatibility, I think we can't) -
mirror/edenwall/nulog2/trunk/nulog-core/inl.py
r7906 r7907 545 545 pass 546 546 547 def _add_column(self, name): 548 549 self.columns += [name] 550 547 551 def _arg_int(self, args, argname): 548 552 """ Check if argname is in args, and if it is an integer -
mirror/edenwall/nulog2/trunk/nulog-core/table.py
r7906 r7907 65 65 else: 66 66 result += entry[5:10] 67 68 # Stock ACL number, if exists, in 'acl' field 69 prefix = entry[9].split(':') 70 if len(prefix) > 2: 71 # Add column if doesn't exit 72 try: 73 # If doesn't exist it will raise an exception 74 self.columns.index('acl') 75 except ValueError: 76 self._add_column('acl') 77 78 result += (prefix[1],) 67 79 68 80 if not hasattr(self, 'states'): -
mirror/edenwall/nulog2/trunk/nulog-web/default.nulog.conf
r7812 r7907 7 7 # Title displayed on top of each page. 8 8 maintitle=Log FW for EdenWall 9 10 # Link to Nuface ACLs 11 # Note: if you don't use nuface, blank this field 12 nuface_acl=https://fydelkass.inl.fr/nuface/acls.php?nulog=1&acl=%%s 9 13 10 14 [Sessions] -
mirror/edenwall/nulog2/trunk/nulog-web/nulog.pot
r7821 r7907 199 199 msgstr "" 200 200 201 #: infopage.py:232 tools.py:16 4201 #: infopage.py:232 tools.py:165 202 202 msgid "Dest port" 203 203 msgstr "" … … 259 259 msgstr "" 260 260 261 #: infopage.py:305 tools.py:18 4261 #: infopage.py:305 tools.py:185 262 262 msgid "Application" 263 263 msgstr "" … … 316 316 msgstr "" 317 317 318 #: tools.py:14 5318 #: tools.py:146 319 319 msgid "TCP ports" 320 320 msgstr "" 321 321 322 #: tools.py:14 6322 #: tools.py:147 323 323 msgid "UDP ports" 324 324 msgstr "" 325 325 326 #: tools.py:14 7326 #: tools.py:148 327 327 msgid "source IP" 328 328 msgstr "" 329 329 330 #: tools.py:14 8330 #: tools.py:149 331 331 msgid "destination IP" 332 332 msgstr "" 333 333 334 #: tools.py:1 49334 #: tools.py:150 335 335 msgid "Users" 336 336 msgstr "" 337 337 338 #: tools.py:150 default.conf:51 ,default.conf:153 338 #: tools.py:151 no_users.conf:53 ,no_users.conf:137 ,default.conf:51 339 #: ,default.conf:153 339 340 msgid "Packet list" 340 341 msgstr "" 341 342 342 #: tools.py:15 1343 #: tools.py:152 343 344 msgid "Connected users" 344 345 msgstr "" 345 346 346 #: tools.py:15 2347 #: tools.py:153 347 348 msgid "Packet info" 348 349 msgstr "" 349 350 350 #: tools.py:15 3351 #: tools.py:154 351 352 msgid "Applications" 352 353 msgstr "" 353 354 354 #: tools.py:15 4355 #: tools.py:155 355 356 msgid "Connection tracking" 356 357 msgstr "" 357 358 358 #: tools.py:1 59359 #: tools.py:160 359 360 msgid "TCP dest port" 360 361 msgstr "" 361 362 362 #: tools.py:16 0363 #: tools.py:161 363 364 msgid "TCP source port" 364 365 msgstr "" 365 366 366 #: tools.py:16 1367 #: tools.py:162 367 368 msgid "UDP dest port" 368 369 msgstr "" 369 370 370 #: tools.py:16 2371 #: tools.py:163 371 372 msgid "UDP source port" 372 373 msgstr "" 373 374 374 #: tools.py:16 3xml/search.xml:21375 #: tools.py:164 xml/search.xml:21 375 376 msgid "Source port" 376 377 msgstr "" 377 378 378 #: tools.py:16 5xml/search.xml:40379 #: tools.py:166 xml/search.xml:40 379 380 msgid "Source" 380 381 msgstr "" 381 382 382 #: tools.py:16 6383 #: tools.py:167 383 384 msgid "Destination" 384 385 msgstr "" 385 386 386 #: tools.py:16 7xml/search.xml:23387 #: tools.py:168 xml/search.xml:23 387 388 msgid "Address" 388 389 msgstr "" 389 390 390 #: tools.py:1 69 tools.py:170391 #: tools.py:170 tools.py:171 391 392 msgid "User" 392 393 msgstr "" 393 394 394 #: tools.py:17 1395 #: tools.py:172 395 396 msgid "Username contains" 396 397 msgstr "" 397 398 398 #: tools.py:17 2xml/search.xml:24399 #: tools.py:173 xml/search.xml:24 399 400 msgid "State" 400 401 msgstr "" 401 402 402 #: tools.py:17 3403 #: tools.py:174 403 404 msgid "Proto" 404 405 msgstr "" 405 406 406 #: tools.py:1 79407 #: tools.py:180 407 408 msgid "Packets" 408 409 msgstr "" 409 410 410 #: tools.py:18 0411 #: tools.py:181 411 412 msgid "First packet" 412 413 msgstr "" 413 414 414 #: tools.py:18 1415 #: tools.py:182 415 416 msgid "Last packet" 416 417 msgstr "" 417 418 418 #: tools.py:18 2419 #: tools.py:183 419 420 msgid "Time" 420 421 msgstr "" 421 422 422 #: tools.py:18 6423 #: tools.py:187 xml/search.xml:58 423 424 msgid "Prefix" 424 425 msgstr "" 425 426 426 #: tools.py:187 xml/search.xml:56 427 #: tools.py:188 428 msgid "ACL" 429 msgstr "" 430 431 #: tools.py:189 xml/search.xml:56 427 432 msgid "Begin" 428 433 msgstr "" 429 434 430 #: tools.py:1 88xml/search.xml:57435 #: tools.py:190 xml/search.xml:57 431 436 msgid "End" 432 437 msgstr "" 433 438 434 #: tools.py:1 89 xml/edennavbar.xml:4439 #: tools.py:191 xml/edennavbar.xml:10 435 440 msgid "System" 436 441 msgstr "" 437 442 438 #: tools.py:31 1443 #: tools.py:317 439 444 msgid "No sort" 440 445 msgstr "" 441 446 442 #: tools.py:31 3447 #: tools.py:319 443 448 #, python-format 444 449 msgid "Sorted by %s" 445 450 msgstr "" 446 451 447 #: tools.py: 394452 #: tools.py:400 448 453 msgid "for" 449 454 msgstr "" 450 455 451 #: tools.py:41 2 tools.py:482456 #: tools.py:418 tools.py:488 452 457 #, python-format 453 458 msgid "%s isn't a valid argument name" 454 459 msgstr "" 455 460 456 #: tools.py:4 19461 #: tools.py:425 457 462 #, python-format 458 463 msgid "'%(key)s' isn't a valid value for %(value)s argument" 459 464 msgstr "" 460 465 461 #: tools.py:43 2466 #: tools.py:438 462 467 #, python-format 463 468 msgid "%s value may be in range 1-65535" 464 469 msgstr "" 465 470 466 #: tools.py:44 2471 #: tools.py:448 467 472 #, python-format 468 473 msgid "%s value may be an integer" 469 474 msgstr "" 470 475 471 #: tools.py:4 47476 #: tools.py:453 472 477 #, python-format 473 478 msgid "%(key)s value may be tcp, udp or icmp (and not %(value)s)" 474 479 msgstr "" 475 480 476 #: tools.py:4 57481 #: tools.py:463 477 482 msgid "Please give a correct IP address or hostname" 478 483 msgstr "" … … 486 491 msgstr "" 487 492 493 #: xml/edennavbar.xml:4 494 msgid "/" 495 msgstr "" 496 488 497 #: xml/search.xml:46 489 498 msgid "Drop" 490 499 msgstr "" 491 500 492 #: xml/edennavbar.xml: 5501 #: xml/edennavbar.xml:11 493 502 msgid "Nuface" 494 503 msgstr "" … … 502 511 msgstr "" 503 512 504 #: xml/edennavbar.xml: 7513 #: xml/edennavbar.xml:13 505 514 msgid "Conntrack" 506 515 msgstr "" … … 510 519 msgstr "" 511 520 512 #: xml/edennavbar.xml: 2521 #: xml/edennavbar.xml:7 513 522 msgid "Home" 514 523 msgstr "" 515 524 516 #: xml/ nulog.xml:4525 #: xml/404.xml:4 xml/nulog.xml:4 517 526 msgid "Nulog2.0: firewall logs analysis" 518 527 msgstr "" … … 534 543 msgstr "" 535 544 536 #: xml/edennavbar.xml: 6545 #: xml/edennavbar.xml:12 537 546 msgid "Nulog" 538 547 msgstr "" … … 550 559 msgstr "" 551 560 552 #: xml/search.xml:6 2 xml/search.xml:64561 #: xml/search.xml:63 xml/search.xml:65 553 562 msgid "'dd/mm/yy' or<br/>'dd/mm/yy HH:MM:SS'" 554 563 msgstr "" … … 574 583 msgstr "" 575 584 576 #: xml/edennavbar.xml: 3585 #: xml/edennavbar.xml:9 577 586 msgid "Network" 578 587 msgstr "" 579 588 580 #: no_users.conf:107 581 msgid "Most TCP protocols:" 582 msgstr "" 583 584 #: no_users.conf:123 585 msgid "IP Sources" 586 msgstr "" 587 588 #: default.conf:97 589 #: no_users.conf:112 ,default.conf:114 590 msgid "TCP ports:" 591 msgstr "" 592 593 #: default.conf:146 594 msgid "Applications:" 595 msgstr "" 596 597 #: no_users.conf:91 ,default.conf:92 598 msgid "Bad UDP packets:" 599 msgstr "" 600 601 #: no_users.conf:120 602 msgid "Destinations IP:" 603 msgstr "" 604 605 #: no_users.conf:23 ,no_users.conf:56 606 msgid "This feature is disabled because you don't use NuFW." 607 msgstr "" 608 609 #: no_users.conf:83 610 msgid "Destinations:" 611 msgstr "" 612 613 #: no_users.conf:73 ,default.conf:80 614 msgid "Bad TCP packets:" 615 msgstr "" 616 617 #: default.conf:165 618 msgid "Users sessions:" 619 msgstr "" 620 621 #: no_users.conf:96 ,default.conf:97 589 622 msgid "Packets:" 590 623 msgstr "" 591 624 592 #: default.conf:138 625 #: default.conf:121 626 msgid "Destination IP:" 627 msgstr "" 628 629 #: no_users.conf:129 ,default.conf:138 593 630 msgid "Source IP:" 631 msgstr "" 632 633 #: default.conf:84 634 msgid "Bad Hosts packets:" 635 msgstr "" 636 637 #: no_users.conf:40 ,default.conf:40 638 msgid "Host information" 639 msgstr "" 640 641 #: default.conf:74 642 msgid "Top User connections" 594 643 msgstr "" 595 644 … … 598 647 msgstr "" 599 648 600 #: no_users.conf:80601 msgid "Destinations:"602 msgstr ""603 604 #: no_users.conf:92605 msgid "Dropped packets:"606 msgstr ""607 608 #: default.conf:121609 msgid "Destination IP:"610 msgstr ""611 612 #: no_users.conf:40 ,default.conf:40613 msgid "Host information"614 msgstr ""615 616 #: default.conf:146617 msgid "Applications:"618 msgstr ""619 620 #: no_users.conf:23 ,no_users.conf:54621 msgid "This feature is disabled because you don't use NuFW."622 msgstr ""623 624 #: no_users.conf:70 ,default.conf:80625 msgid "Bad TCP packets:"626 msgstr ""627 628 #: default.conf:164629 msgid "Users sessions:"630 msgstr ""631 632 #: default.conf:84633 msgid "Bad Hosts packets:"634 msgstr ""635 636 #: no_users.conf:87 ,default.conf:92637 msgid "Bad UDP packets:"638 msgstr ""639 640 649 #: default.conf:130 641 650 msgid "Users:" 642 651 msgstr "" 643 652 644 #: default.conf:114 645 msgid "TCP ports:" 646 msgstr "" 647 648 #: default.conf:74 649 msgid "Top User connections" 650 msgstr "" 651 652 #: no_users.conf:74 653 #: no_users.conf:77 653 654 msgid "Source dropped packets:" 654 655 msgstr "" 655 656 #: no_users.conf:114657 msgid "Destinations"658 msgstr "" -
mirror/edenwall/nulog2/trunk/nulog-web/nulog.py
r7811 r7907 306 306 307 307 tools.DATETIME_FORMAT = parser.get('Misc', 'datetime') 308 tools.NUFACE_URL = parser.get('Links', 'nuface_acl') 308 309 csv.MAX_RESULTS = int(parser.get('Misc', 'csv_max_results')) 309 310 -
mirror/edenwall/nulog2/trunk/nulog-web/po/fr/LC_MESSAGES/nulog.po
r7821 r7907 8 8 "Project-Id-Version: nulog\n" 9 9 "POT-Creation-Date: \n" 10 "PO-Revision-Date: 2008-01- 17 10:22+0100\n"11 "Last-Translator: Eric Leblond <eric@inl.fr>\n"10 "PO-Revision-Date: 2008-01-24 17:01+0100\n" 11 "Last-Translator: Romain Bignon <romain@vaginus.org>\n" 12 12 "Language-Team: <en@li.org>\n" 13 13 "MIME-Version: 1.0\n" … … 16 16 "X-Generator: KBabel 1.11.4\n" 17 17 18 #: tools.py:4 4718 #: tools.py:453 19 19 #, python-format 20 20 msgid "%(key)s value may be tcp, udp or icmp (and not %(value)s)" 21 21 msgstr "La valeur de %(key)s doit être tcp, udp ou icmp (et non %(value)s)" 22 22 23 #: tools.py:412 24 #: tools.py:482 23 #: tools.py:418 tools.py:488 25 24 #, python-format 26 25 msgid "%s isn't a valid argument name" 27 26 msgstr "%s n'est pas un nom d'argument valide" 28 27 29 #: tools.py:44 228 #: tools.py:448 30 29 #, python-format 31 30 msgid "%s value may be an integer" 32 31 msgstr "%s doit être un entier" 33 32 34 #: tools.py:43 233 #: tools.py:438 35 34 #, python-format 36 35 msgid "%s value may be in range 1-65535" 37 36 msgstr "La valeur de %s doit être compris entre 1 et 65535" 38 37 39 #: tools.py:4 1938 #: tools.py:425 40 39 #, python-format 41 40 msgid "'%(key)s' isn't a valid value for %(value)s argument" 42 41 msgstr "'%(key)s' n'est pas une valeur correcte pour l'argument '%(value)s'" 43 42 44 #: xml/search.xml:62 45 #: xml/search.xml:64 43 #: xml/search.xml:63 xml/search.xml:65 46 44 msgid "'dd/mm/yy' or<br/>'dd/mm/yy HH:MM:SS'" 47 45 msgstr "'jj/mm/aa' ou<br />'jj/mm/aa HH:MM:SS'" 46 47 #: xml/edennavbar.xml:4 48 msgid "/" 49 msgstr "/" 48 50 49 51 #: frags.py:174 … … 59 61 msgstr "Nombre ACK" 60 62 61 #: frags.py:122 62 #: table.py:219 63 #: tools.py:188 64 msgid "ACL" 65 msgstr "ACL" 66 67 #: frags.py:122 table.py:219 63 68 msgid "Active connection tracking" 64 69 msgstr "Connexions actives." … … 72 77 msgstr "Informations additionnelles" 73 78 74 #: tools.py:167 75 #: xml/search.xml:23 79 #: tools.py:168 xml/search.xml:23 76 80 msgid "Address" 77 81 msgstr "Adresse" 78 82 79 #: frags.py:104 80 #: table.py:189 81 #: table.py:209 83 #: frags.py:104 table.py:189 table.py:209 82 84 msgid "All" 83 85 msgstr "Tous" 84 86 85 #: xml/search.xml:30 86 #: xml/search.xml:45 87 #: xml/search.xml:30 xml/search.xml:45 87 88 msgid "Any" 88 89 msgstr "Tous" 89 90 90 #: infopage.py:305 91 #: tools.py:184 91 #: infopage.py:305 tools.py:185 92 92 msgid "Application" 93 93 msgstr "Application" 94 94 95 #: tools.py:15 395 #: tools.py:154 96 96 msgid "Applications" 97 97 msgstr "Applications" … … 105 105 msgstr "HÃŽtes rejetés :" 106 106 107 #: no_users.conf:70 108 #: ,default.conf:80 107 #: no_users.conf:73 ,default.conf:80 109 108 msgid "Bad TCP packets:" 110 109 msgstr "Paquets TCP rejetés :" 111 110 112 #: no_users.conf:87 113 #: ,default.conf:92 111 #: no_users.conf:91 ,default.conf:92 114 112 msgid "Bad UDP packets:" 115 113 msgstr "Paquets UDP rejetés :" 116 114 117 #: tools.py:187 118 #: xml/search.xml:56 115 #: tools.py:189 xml/search.xml:56 119 116 msgid "Begin" 120 117 msgstr "Début" … … 136 133 msgstr "Fermée" 137 134 138 #: frags.py:127 139 #: table.py:224 135 #: frags.py:127 table.py:224 140 136 msgid "Closed" 141 137 msgstr "Fermée" 142 138 143 #: tools.py:15 1139 #: tools.py:152 144 140 msgid "Connected users" 145 141 msgstr "Utilisateurs connectés" … … 149 145 msgstr "Volumétrie de la connexion" 150 146 151 #: tools.py:15 4147 #: tools.py:155 152 148 msgid "Connection tracking" 153 149 msgstr "Connexions actives" 154 150 155 #: xml/edennavbar.xml: 7151 #: xml/edennavbar.xml:13 156 152 msgid "Conntrack" 157 153 msgstr "Conntrack" … … 161 157 msgstr "Dest hÃŽte" 162 158 163 #: infopage.py:232 164 #: tools.py:164 159 #: infopage.py:232 tools.py:165 165 160 msgid "Dest port" 166 161 msgstr "Dest port" … … 170 165 msgstr "Destinataire" 171 166 172 #: tools.py:16 6167 #: tools.py:167 173 168 msgid "Destination" 174 169 msgstr "Destination" … … 182 177 msgstr "Port de destination" 183 178 184 #: no_users.conf:114 185 #, fuzzy 186 msgid "Destinations" 187 msgstr "Destinations :" 188 189 #: no_users.conf:80 179 #: no_users.conf:120 180 msgid "Destinations IP:" 181 msgstr "IP Destinations :" 182 183 #: no_users.conf:83 190 184 msgid "Destinations:" 191 185 msgstr "Destinations :" … … 200 194 msgstr "Rejeté" 201 195 202 #: frags.py:107 203 #: table.py:214 196 #: frags.py:107 table.py:214 204 197 msgid "Dropped" 205 198 msgstr "Rejeté" … … 209 202 msgstr "Paquets rejetés" 210 203 211 #: no_users.conf:92 212 #, fuzzy 213 msgid "Dropped packets:" 214 msgstr "Paquets rejetés" 215 216 #: tools.py:188 217 #: xml/search.xml:57 204 #: tools.py:190 xml/search.xml:57 218 205 msgid "End" 219 206 msgstr "Fin" … … 236 223 msgstr "Erreur : Impossible de récupérer la table." 237 224 238 #: frags.py:117 239 #: table.py:199 225 #: frags.py:117 table.py:199 240 226 msgid "Established" 241 227 msgstr "Ãtablis." … … 249 235 msgstr "Fichier introuvable" 250 236 251 #: tools.py:18 0237 #: tools.py:181 252 238 msgid "First packet" 253 239 msgstr "Premier paquet" … … 265 251 msgstr "Aide" 266 252 267 #: xml/edennavbar.xml: 2253 #: xml/edennavbar.xml:7 268 254 msgid "Home" 269 255 msgstr "Accueil" 270 256 271 #: no_users.conf:40 272 #: ,default.conf:40 257 #: no_users.conf:40 ,default.conf:40 273 258 msgid "Host information" 274 259 msgstr "Informations hÃŽte" … … 282 267 msgstr "Type ICMP" 283 268 284 #: no_users.conf:123285 #, fuzzy286 msgid "IP Sources"287 msgstr "Source"288 289 269 #: infopage.py:146 290 270 msgid "In interface" … … 295 275 msgstr "Heure d'arrivée" 296 276 297 #: tools.py:18 1277 #: tools.py:182 298 278 msgid "Last packet" 299 279 msgstr "Dernier paquet" … … 312 292 msgstr "Identifié comme %s" 313 293 314 #: nulog.py:160 315 #: pages.py:150 294 #: nulog.py:160 pages.py:150 316 295 msgid "Login" 317 296 msgstr "S'identifier" … … 337 316 msgstr "Marque" 338 317 339 #: no_users.conf:107 340 #, fuzzy 341 msgid "Most TCP protocols:" 342 msgstr "Ports TCP" 343 344 #: xml/edennavbar.xml:3 318 #: xml/edennavbar.xml:9 345 319 msgid "Network" 346 320 msgstr "Réseau" 347 321 348 #: graph.py:267 349 #: table.py:86 322 #: graph.py:267 table.py:86 350 323 msgid "No data" 351 324 msgstr "Aucune donnée" 352 325 353 #: tools.py:31 1326 #: tools.py:317 354 327 msgid "No sort" 355 328 msgstr "Aucun tri" … … 363 336 msgstr "Rien" 364 337 365 #: xml/edennavbar.xml: 5338 #: xml/edennavbar.xml:11 366 339 msgid "Nuface" 367 340 msgstr "Nuface" 368 341 369 #: xml/edennavbar.xml: 6342 #: xml/edennavbar.xml:12 370 343 msgid "Nulog" 371 344 msgstr "Nulog" 372 345 373 346 #: frags.py:175 374 msgid "Nulog can't fetch data from backend. Please check your configuration file" 375 msgstr "Nulog ne peut récupérer de donnée depuis le backend. Merci de vérifier votre fichier de configuration." 376 377 #: xml/nulog.xml:4 347 msgid "" 348 "Nulog can't fetch data from backend. Please check your configuration file" 349 msgstr "" 350 "Nulog ne peut récupérer de donnée depuis le backend. Merci de vérifier votre " 351 "fichier de configuration." 352 353 #: xml/404.xml:4 xml/nulog.xml:4 378 354 msgid "Nulog2.0: firewall logs analysis" 379 355 msgstr "Nulog2.0 : interface d'analyse des journaux du pare-feu" … … 383 359 msgstr "Ouverte" 384 360 385 #: frags.py:114 386 #: table.py:194 361 #: frags.py:114 table.py:194 387 362 msgid "Opened" 388 363 msgstr "Ouverte" … … 412 387 msgstr "ID du paquet" 413 388 414 #: tools.py:15 2389 #: tools.py:153 415 390 msgid "Packet info" 416 391 msgstr "Informations paquet" 417 392 418 #: tools.py:150 419 #: default.conf:51 393 #: tools.py:151 no_users.conf:53 ,no_users.conf:137 ,default.conf:51 420 394 #: ,default.conf:153 421 395 msgid "Packet list" 422 396 msgstr "Liste des paquets" 423 397 424 #: tools.py:1 79398 #: tools.py:180 425 399 msgid "Packets" 426 400 msgstr "Paquets" … … 434 408 msgstr "Paquets sortants" 435 409 436 #: default.conf:97410 #: no_users.conf:96 ,default.conf:97 437 411 msgid "Packets:" 438 412 msgstr "Paquets" … … 446 420 msgstr "Mot de passe :" 447 421 448 #: tools.py:4 57422 #: tools.py:463 449 423 msgid "Please give a correct IP address or hostname" 450 424 msgstr "Veuillez entrer une adresse IP ou un nom d'hÃŽte correct." … … 454 428 msgstr "Veuillez entrer un rendu correct !" 455 429 456 #: no_users.conf:26 457 #: ,default.conf:26 430 #: no_users.conf:26 ,default.conf:26 458 431 msgid "Port information" 459 432 msgstr "Informations port" 460 433 461 #: tools.py:18 6434 #: tools.py:187 xml/search.xml:58 462 435 msgid "Prefix" 463 436 msgstr "Préfixe" 464 437 465 #: tools.py:17 3438 #: tools.py:174 466 439 msgid "Proto" 467 440 msgstr "Proto" … … 504 477 msgstr "Tri" 505 478 506 #: tools.py:31 3479 #: tools.py:319 507 480 #, python-format 508 481 msgid "Sorted by %s" 509 482 msgstr "Trié par %s" 510 483 511 #: tools.py:165 512 #: xml/search.xml:40 484 #: tools.py:166 xml/search.xml:40 513 485 msgid "Source" 514 486 msgstr "Source" 515 487 516 #: default.conf:138488 #: no_users.conf:129 ,default.conf:138 517 489 msgid "Source IP:" 518 490 msgstr "Source" 519 491 520 #: no_users.conf:7 4492 #: no_users.conf:77 521 493 msgid "Source dropped packets:" 522 494 msgstr "HÃŽtes sources rejetés :" 523 495 524 #: tools.py:163 525 #: xml/search.xml:21 496 #: tools.py:164 xml/search.xml:21 526 497 msgid "Source port" 527 498 msgstr "Port source" … … 539 510 msgstr "Port source" 540 511 541 #: tools.py:172 542 #: xml/search.xml:24 512 #: tools.py:173 xml/search.xml:24 543 513 msgid "State" 544 514 msgstr "Ãtat" … … 548 518 msgstr "Ãtat :" 549 519 550 #: tools.py:189 551 #: xml/edennavbar.xml:4 520 #: tools.py:191 xml/edennavbar.xml:10 552 521 msgid "System" 553 522 msgstr "SystÚme" … … 557 526 msgstr "Fenêtre TCP" 558 527 559 #: tools.py:1 59528 #: tools.py:160 560 529 msgid "TCP dest port" 561 530 msgstr "Port dest TCP" 562 531 563 #: tools.py:14 5532 #: tools.py:146 564 533 msgid "TCP ports" 565 534 msgstr "Ports TCP" 566 535 567 #: default.conf:114536 #: no_users.conf:112 ,default.conf:114 568 537 msgid "TCP ports:" 569 538 msgstr "Ports TCP" 570 539 571 #: tools.py:16 0540 #: tools.py:161 572 541 msgid "TCP source port" 573 542 msgstr "Port source TCP" … … 581 550 msgstr "TTL" 582 551 583 #: no_users.conf:23 584 #: ,no_users.conf:54 552 #: no_users.conf:23 ,no_users.conf:56 585 553 msgid "This feature is disabled because you don't use NuFW." 586 msgstr "Cette fonctionnalité est désactivée parce que vous n'utilisez pas NuFW." 587 588 #: tools.py:182 554 msgstr "" 555 "Cette fonctionnalité est désactivée parce que vous n'utilisez pas NuFW." 556 557 #: tools.py:183 589 558 msgid "Time" 590 559 msgstr "Date" … … 606 575 msgstr "Taille totale :" 607 576 608 #: tools.py:16 1577 #: tools.py:162 609 578 msgid "UDP dest port" 610 579 msgstr "Port dest UDP" 611 580 612 #: tools.py:14 6581 #: tools.py:147 613 582 msgid "UDP ports" 614 583 msgstr "Ports UDP" 615 584 616 #: tools.py:16 2585 #: tools.py:163 617 586 msgid "UDP source port" 618 587 msgstr "Port source UDP" … … 626 595 msgstr "URGP" 627 596 628 #: graph.py:264 629 #: table.py:83 597 #: graph.py:264 table.py:83 630 598 msgid "Unable to find this table" 631 599 msgstr "Impossible de trouver cette table" 632 600 633 #: tools.py:169 634 #: tools.py:170 601 #: tools.py:170 tools.py:171 635 602 msgid "User" 636 603 msgstr "Utilisateur" 637 604 638 #: infopage.py:94 639 #: default.conf:18 605 #: infopage.py:94 default.conf:18 640 606 msgid "User information" 641 607 msgstr "Informations sur l'utilisateur" 642 608 643 #: xml/left.xml:47 644 #: default.conf:57 609 #: xml/left.xml:47 default.conf:57 645 610 msgid "User session history" 646 611 msgstr "Historique des sessions utilisateurs" … … 650 615 msgstr "UserID" 651 616 652 #: infopage.py:98 653 #: xml/search.xml:19 617 #: infopage.py:98 xml/search.xml:19 654 618 msgid "Username" 655 619 msgstr "Nom d'utilisateur" 656 620 657 #: tools.py:17 1621 #: tools.py:172 658 622 msgid "Username contains" 659 623 msgstr "Le nom d'utilisateur contient" … … 663 627 msgstr "Nom d'utilisateur:" 664 628 665 #: tools.py:1 49629 #: tools.py:150 666 630 msgid "Users" 667 631 msgstr "Utilisateurs" 668 632 669 #: default.conf:16 4633 #: default.conf:165 670 634 msgid "Users sessions:" 671 635 msgstr "Sessions des utilisateurs :" … … 679 643 msgstr "utilisateur(s) connecté(s)" 680 644 681 #: tools.py:14 8645 #: tools.py:149 682 646 msgid "destination IP" 683 647 msgstr "IP Destination" … … 691 655 msgstr "entrées dans ulog" 692 656 693 #: tools.py: 394657 #: tools.py:400 694 658 msgid "for" 695 659 msgstr "pour" … … 707 671 msgstr "précédent" 708 672 709 #: tools.py:14 7673 #: tools.py:148 710 674 msgid "source IP" 711 675 msgstr "IP source" 712 -
mirror/edenwall/nulog2/trunk/nulog-web/tools.py
r7752 r7907 45 45 46 46 DATETIME_FORMAT = '%m-%y-%d %H:%M:%S' 47 NUFACE_URL = None 47 48 48 49 def parseDatetime(gvalue, endofday=False): … … 185 186 'tiny': self.ArgType(filter=False), 186 187 'oob_prefix': self.ArgType(_('Prefix')), 188 'acl': self.ArgType(_('ACL'), self._check_int, self._data_acl), 187 189 'start_time': self.ArgType(_('Begin')), 188 190 'end_time': self.ArgType(_('End')), … … 255 257 else: 256 258 return value 259 260 def _data_acl(self, value): 261 262 return tags.a(href=NUFACE_URL % value)[tags.img(src='img/acl.png')] 257 263 258 264 def _data_ip(self, value): -
mirror/edenwall/nulog2/trunk/tools/traffic_maker.py
r7216 r7907 45 45 apps = ['/usr/bin/ssh', '/usr/bin/firefox', '/usr/bin/irssi', '/bin/zsh', '/usr/bin/menareants/', '/usr/bin/bzflag', 46 46 '/usr/local/bin/frozzen-bubble', '/home/gryzor/tachatte/tachatte.sh'] 47 prefixs = ['DROPPED', '', '', 'AUTHENTIFICATED', 'AUTHENTIFICATED'] 47 prefixs = [['DROPPED', 'FWD:5:DROPPED', 'IN:8:DROPPED'], 48 '', 49 '', 50 'AUTHENTIFICATED', 51 'AUTHENTIFICATED'] 48 52 ports = [21,22,23,80,8080,6667,6666,5130,5461,113,447,69] 49 53 … … 105 109 else: 106 110 prefix = self.prefixs[state] 111 if isinstance(prefix, list): 112 prefix = choice(prefix) 107 113 os = choice(self.OSs) 108 114 app = choice(self.apps)
