Commit Graph

745 Commits

Author SHA1 Message Date
Phil 27ff6a0121 Release 1.2.0 2007-09-14 14:03:22 +02:00
Phil 794c056f51 Fix FlagsField.i2repr() for tuples and lists 2007-09-14 14:13:07 +02:00
Phil ac887626f1 Chain C-C in Ether.dst resolution 2007-09-03 17:27:14 +02:00
Phil 38495ad5a0 Fixed linktype option handling in PcapWriter (ticket #57) 2007-08-31 18:22:54 +02:00
Phil b26e3936bd Fixes NetBIOSNameField regression due to [4154b5db1e64] (ticket #56) 2007-08-31 16:43:29 +02:00
Phil a26d86c3ec Fixes incomplete reception buffer flushing (ticket #55)
There is a race condition between the time a socket is created and the
time it is initialized (BPF filter pushed, bound to an interface). Indeed,
packets captured in between would still be delivered when reading the socket.
Setting reception buffers to 0 was part of the solution and greatly reduced
the race condition timeframe, but still, packet already captured where actually
not sweeped out. So this also need to be done. Thanks to AGR and Y.E. Jutard.
2007-08-31 13:57:39 +02:00
Phil d70052d2ce Added TFTP_RRQ_server automaton
This server is able to answer to any Read ReQuest, and provide data from
a store or from a joker if the file is not in the store
2007-08-27 17:28:50 +02:00
Phil a0816dc32f Some fixes in TFTP_read 2007-08-27 17:28:47 +02:00
Phil e429c04f4c Removed uneeded parameter to ATMT.timeout decorator 2007-08-27 17:28:41 +02:00
Phil b988b2cf91 Use BCDFloadField for STP age field (ticket #33) 2007-08-23 14:53:41 +02:00
Phil baaf96d6de Fixed DNSStrField.i2m() by truncating chunks of more than 63 bytes because they cannot be encoded (ticket #42) 2007-08-23 14:51:03 +02:00
Phil a985c832c6 Fixed typo in BluetoothL2CAPSocket.recv() (ticket #46) 2007-08-23 14:42:28 +02:00
Phil b87fe87823 Fixed StrFixedLenField.randval() (ticket #53, L. Butti) 2007-08-23 14:40:26 +02:00
Phil f799f644a5 Fixed *EnumField.i2repr_one behavior on VolatileValue (ticket #52) 2007-08-23 14:24:11 +02:00
Phil 5d3fea0132 Handle long interface names on FreeBSD (ticket #48) 2007-08-23 14:09:50 +02:00
phil@secdev.org 07fb39b1cf Added TFTP WRQ server automaton
This automaton accepts any TFTP WRQ request and returns the tranfered file
2007-08-07 19:31:20 +02:00
phil@secdev.org 723fefcdae Rewrote TFTP writer 2007-08-07 19:30:00 +02:00
phil@secdev.org 53d838d7a0 Rewrote TFTP_reader 2007-08-07 19:29:25 +02:00
Phil 9ce2aa6cdb Moved some of the initialization into a metaclass
Most of the initialization is done once for all at the class creation instead of being done at each instantiation
Now the .graph() method can become a class method and can be called directly on a class
2007-08-03 16:08:56 +02:00
Phil 4a2537af93 Moved ATMT class before Automaton class 2007-08-02 13:42:50 +02:00
Phil e3a915af68 Added keyboard interrupt handling to automaton loop 2007-08-01 18:52:34 +02:00
Phil 015f022466 Added ability for an automaton to use the same action for more than one condition 2007-07-31 18:25:07 +02:00
Phil 590c974ef7 Made it possible to change parameters when run()ing an automaton 2007-07-29 12:35:20 +02:00
Phil 10e065e6d4 Added Automaton.my_send() hook 2007-07-27 18:34:31 +02:00
phil@secdev.org 8453f7bc11 Improved Automaton.send 2007-07-24 21:42:17 +02:00
phil@secdev.org b2d1e2f3b5 Fixed Automaton state debug display 2007-07-24 11:13:38 +02:00
phil@secdev.org 2e32ed8e44 Changed Automaton.graph() to handle state switching from states 2007-07-24 00:33:52 +02:00
phil@secdev.org 9d5a005cae Added packet storing in Automaton 2007-07-24 00:10:52 +02:00
phil@secdev.org 0e5222af24 Automaton: added ability to define priorities to actions and conditions 2007-07-23 23:50:53 +02:00
phil@secdev.org 18e7735c55 Simplified automaton loop 2007-07-23 10:58:04 +02:00
Phil c2d6a07d42 Reengineered automaton to add conditions to action and to state parameters 2007-07-22 21:54:32 +02:00
Phil c564e9d127 Reengineered automaton to transmit parameters from conditions to states 2007-07-22 21:29:31 +02:00
Phil 298397732e Fixed PadField.addfield to work with list fields 2007-07-20 00:23:59 +02:00
Phil f61d8af4ed Fixed Automaton 2007-07-19 19:22:02 +02:00
Phil f1a244f50f Renamed Automaton.cond and recvcond into conditions and recv_conditions to reduce risk of name collision 2007-07-19 18:58:59 +02:00
Phil 6b68499d0f Refactored Automaton.{initial,final,error} into Automaton.{}_states to avoid name collision risks 2007-07-19 18:55:30 +02:00
Phil 1f664207ac Added error state management 2007-07-19 18:53:05 +02:00
Phil d35227b54b Removed ATMT unneeded methods 2007-07-19 18:44:08 +02:00
Phil ae53d39a6b Return values of automaton states are passed to conditions as parameters 2007-07-19 17:19:00 +02:00
Phil b7e62d20b0 Fixed stuck state detection 2007-07-19 14:17:31 +02:00
Phil d26c4028c3 Added a master_filter() hook to Automaton class 2007-07-18 20:33:17 +02:00
Phil 53f47d31d3 Added a debugging service to Automaton class 2007-07-18 20:12:12 +02:00
Phil 52305f109c Merge 2007-07-18 13:58:03 +02:00
Phil b6cca41206 Fixed and enhanced Automaton.Stuck exception raising 2007-07-17 20:12:30 +02:00
Phil 7f15efccdc Merge 2007-07-17 18:47:37 +02:00
Phil a6f82c823e Added RTP protocol (from N. Bareil patch, ticket #45) 2007-07-17 18:45:29 +02:00
Phil f911f668ea Merge 2007-07-17 17:40:52 +02:00
Phil 89795546c9 Renamed ATMTdeco class into ATMT 2007-07-17 17:36:08 +02:00
Phil e9334fe423 Removed unneeded graphvis fontsize command in automaton graphs 2007-07-17 17:15:59 +02:00
Phil 7ac9b850a6 Some improvements in do_graph()
If "string" parameter is not None, the dot string is returned
"type" parameter is deprecated and replaced by "format" parameter
"options" parameter is added
2007-07-17 16:47:55 +02:00