Guillaume Valadon
1a8bec3b98
Fix EDNS0 live unit tests
2016-05-20 11:30:39 +02:00
Guillaume Valadon
e7dcc76cf3
Force a route to ::1 when IPv6 is disabled
2016-05-20 11:24:09 +02:00
Pierre Lalet
81f10d9bb0
Merge pull request #168 from dark-lbp/fix-streamsocket
...
Fix StreamSocket on OS X
2016-05-18 13:49:19 +00:00
dark-lbp
a37e552010
Fix StreamSocket on OS X
...
This fix #162
2016-05-18 21:38:12 +08:00
Guillaume Valadon
136b76f4fc
Merge pull request #165 from p-l-/feature-default-dns
...
DNS: follow the "default values that work" logic
2016-05-18 13:04:20 +02:00
Guillaume Valadon
4fc399a985
Merge pull request #166 from p-l-/feature-wrpcap-SndRcvList
...
wrpcap: accept packets from an `SndRcvList()` object
2016-05-18 13:00:41 +02:00
Pierre Lalet
217b865b18
Merge pull request #127 from guedou/read_routes6
...
New read_routes6() function and unit tests
2016-05-18 09:36:35 +00:00
Pierre Lalet
7a0aabf6a5
Merge pull request #126 from guedou/IPv6_routes_tests
...
Check read_routes6() output
2016-05-18 09:35:31 +00:00
Pierre LALET
5277d26cc8
DNS: follow the "default values that work" logic
...
- recursion desired (DNS.rd) defaults to 1
- question defaults to IN A for www.example.com (DNSQR.qname)
2016-05-18 11:28:47 +02:00
Pierre LALET
18bdf0c828
wrpcap: accept packets from an SndRcvList() object
2016-05-18 11:18:24 +02:00
Pierre Lalet
644d3784dd
Merge pull request #155 from sieben/dict_literal
...
Dict creation can be literal
2016-05-14 13:03:04 +00:00
Pierre Lalet
8eb9e8fa51
Merge pull request #152 from sieben/list_literal
...
List literal
2016-05-14 13:02:41 +00:00
Rémy Léone
ba60ebfb60
List creation could be rewritten by list litteral
2016-05-13 10:24:59 +02:00
Rémy Léone
2d31dd3631
Dict creation can be literal
2016-05-13 10:23:41 +02:00
Pierre Lalet
3cd2fff8f0
Merge pull request #151 from sieben/simplify_comparaisons
...
Chained comparisons can be simplified
2016-05-12 16:06:10 +00:00
Pierre Lalet
6e6d6e500a
Merge pull request #158 from sieben/default_argument_mutable
...
Default argument shouldn't be mutable
2016-05-12 16:01:38 +00:00
Rémy Léone
b529c0155f
Default argument shouldn't be mutable
2016-05-12 15:38:12 +02:00
Rémy Léone
5d711b60bf
Chained comparisons can be simplified
2016-05-12 14:47:29 +02:00
Guillaume Valadon
55f760243a
Move mocked functions to regression.uts
2016-05-06 16:54:34 +02:00
Guillaume Valadon
2066af02d4
New read_routes6() function and unit tests
2016-05-06 16:53:36 +02:00
Guillaume Valadon
1b5385d967
Merge pull request #136 from p-l-/feature-mdns
...
"Add" support for mDNS
2016-05-06 15:41:45 +02:00
Pierre LALET
90a6b3b8ac
Add default destination addresses for OSPF and HSRP
2016-05-05 12:42:57 +02:00
Pierre LALET
4ac6180c1a
Introduce a DestField() w/ binding mechanism (suggested by Guillaume VALADON)
2016-05-05 12:42:57 +02:00
Pierre LALET
c17426201d
Add regression tests for `Dest{MAC,IP,IPv6}Field`s
2016-05-05 12:42:57 +02:00
Pierre LALET
d1c18724b7
Fix regression test after DestIPField
2016-05-05 12:42:57 +02:00
Pierre LALET
104d0fd887
Add DestIPField to guess multicast addresses (IPv4 & v6)
2016-05-05 12:42:57 +02:00
Pierre LALET
1125538da4
Use existing DNS dissector for mDNS
2016-05-05 12:42:57 +02:00
Guillaume Valadon
75d334fa7e
Merge pull request #141 from dawnworld/master
...
[IGMP V3] fix number of source address
2016-05-04 15:10:53 +02:00
Guillaume Valadon
ac2d77ea82
Merge pull request #137 from p-l-/fix-ntp
...
Fix NTP TimeStampField.any2i()
2016-05-04 14:29:10 +02:00
dawnworld
763ea52e2c
[IGMP V3] fix number of source address
2016-05-03 16:56:44 +08:00
Pierre Lalet
9fce9b9647
Merge pull request #138 from hellais/fix/select_in_thread
...
Restart select when we see a EINTR
2016-04-30 07:14:04 +00:00
Arturo Filastò
78aff2eb73
Restart select when we see a EINTR
...
This fixes erratic behavior when scapy is run inside of a separate
thread or in another process.
The patch is taken from
https://bitbucket.org/secdev/scapy/issues/473/scapy-sendrecv-selects-eintr-problem-in
2016-04-29 17:32:06 +02:00
Pierre LALET
11f3a4fe2d
TimeStampField.any2i() accepts a datetime object
2016-04-28 19:16:12 +02:00
Guillaume Valadon
40045ea3e9
Merge pull request #134 from p-l-/cleanup
...
Code cleanup / optimization
2016-04-28 18:34:31 +02:00
Pierre Lalet
0edbfeaf33
Merge pull request #132 from pebble/pebble-master
...
Bluetooth: Add HCI LE Create Connection Cancel & HCI Disconnect packets
2016-04-28 09:07:56 +00:00
Pierre LALET
b9eb1fefce
Fix TimeStampField.any2i() used with a string
2016-04-28 08:22:57 +02:00
Pierre LALET
241e2c4979
Code cleanup / optimization
2016-04-27 16:46:36 +02:00
Martijn Thé
1a99f35529
Bluetooth: Add HCI Disconnect command
2016-04-25 22:33:15 +02:00
Martijn Thé
aa46295964
Bluetooth: add LE Create Connection Cancel packet
2016-04-25 16:54:06 +02:00
Pierre Lalet
fa299812a0
Merge pull request #129 from guedou/SCAPY_USE_PCAPDNET
...
Introducing the SCAPY_USE_PCAPDNET environment variable
2016-04-21 15:06:07 +00:00
Guillaume Valadon
2a15dfbf1b
Introducing the SCAPY_USE_PCAPDNET environment variable
2016-04-19 13:30:34 +02:00
Guillaume Valadon
1ec0e2977c
Check read_routes6() output
2016-04-13 17:34:18 +02:00
Pierre Lalet
bd4bf54099
Merge pull request #124 from pebble/pebble-master
...
Bluetooth: add EIR / BLE Advertising packet classes
2016-04-13 14:41:35 +00:00
Martijn Thé
db75882594
Bluetooth: add EIR / BLE Advertising packet classes
2016-04-13 16:24:21 +02:00
Pierre Lalet
98d3ff4225
PacketList.conversations(): add labels, support ARP by default ( #122 )
...
* PacketList.conversations(): include ARP packets by default
* PacketList.conversations(): accept a label instead of counting
* PacketList.conversations(): display the label in the graph
2016-04-13 11:51:24 +02:00
Guillaume Valadon
a4285ed01e
Merge pull request #120 from p-l-/fix-crypto-import
...
Python 2.5: fallback implementation for gcd() without pycrypto
2016-04-07 13:09:27 +02:00
Pierre LALET
b977886d8c
Python 2.5: fallback implementation for gcd() without pycrypto
...
This was reported by @AmedeoSapio in #68
2016-04-07 10:27:40 +02:00
Pierre Lalet
73361674b8
Merge pull request #118 from guedou/Issue_#115
...
Fix Issue #115
2016-04-06 10:41:25 +00:00
Guillaume Valadon
66439f18dc
Explicitly import the function to remove the circular dependency
2016-04-06 10:31:05 +02:00
Guillaume Valadon
2ec520aa44
Scapy can now use dumbnet
2016-04-05 11:52:49 +00:00